@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@400;600&family=Roboto&family=Ubuntu:wght@400;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}
:root{
    --main-color:#ff702a;
    --text-color:#fff;
    --bg-color:#1e1c2a;
    --big-font:5rem;
    --h2-font:2.25rem;
    --p-font:0.9rem;
}
*::selection{
    background:var(--main-color);
    color: #fff;
}
body{
    color: var(--text-color);
    background-color: var(--bg-color);
}

header{
    position: fixed;
    top: -9;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 100px;
    background: var(--bg-color);
}
.logo{
    color: var(--main-color);
    font-weight: 600;
    font-size:2.4rem;
}
.navbar{
    display: flex;
    gap: 1rem;
}
.navbar li a{
   color: var(--text-color);
   font-size: 1.1rem;
   padding: 10px 20px;
   font-weight: 500;
}
.navbar li a:hover{
    color: var(--main-color);
    transition: 2s;
}
#menu-icon{
    font-size: 2rem;
    cursor: pointer;
    display: none;
}
section{
    padding: 70px 17%;
}
/* Home section  */
.home{
width: 100%;
min-height: 90vh;
display: grid;
grid-template-columns: repeat(2,1fr);
grid-gap: 2.2rem;
align-items: center;
}
.home-img img{
    max-width: 100%;
    width:400px;
    height: auto;
}
.home-text{
  margin: 2px auto;
}
.home-text h1{
    color: var(--main-color);
    font-size: var(--big-font);
}
.home-text h2{
    font-size: var(--h2-font);
    margin: 1rem 0 2rem;
}
.btn{
    display: inline-block;
    padding:10px 20px;
    background-color: var(--main-color);
    color: #fff;
    border-radius: 0.5rem;
    transition: 1s;
}
.btn:hover{
    background-color: transparent;
    border: 2px solid #ff702a;
}

/* about */

.about{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:5rem;
    align-items: center;
}
.about-img img{
    width: 100%;
}
.about-text span{
    color: var(--main-color);
    font-weight: 800;
    font-size: 2rem;
}
.about-text h1{
    font-size: 2rem;
}
.about-text p{
    margin: 15px 0;
}

/* Menu  */

.heading{
    text-align: center;
}
.heading span{
    color: var(--main-color);
    font-weight: 600;
    font-size: 2rem;
}
.heading h1{
    font-size: var(--h2-font);
}

.menu-container{
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(220px,auto)); */
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
    align-items: center;

}
.box{
    position: relative;
    margin-top: 4rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #feeee7;
    padding: 20px;
    border-radius: 0.5rem;
}
.box-img{
    width: 220px;
    height: 220px;
}
.box-img img{
    width: 100%;
    height: 100%;
}
.box h2{
    color: var(--bg-color);
    font-size: 1.3rem;
}
.box h3{
    color: var(--bg-color);
    font-size: 1rem;
    font-weight: 400;
    padding: 4px 0 10px;
}
.box span{
    font-size:var(--p-font);
    color: var(--main-color);
    font-weight: 600;
}
.box .bx{
    background: var(--main-color);
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    padding: 7px 10px;
    border-radius: 0 0.5rem 0 0.5rem;
}
 
/* Service  */
.service-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
   margin-top: 4rem;
}
.s-box{
    text-align: center;
    padding: 20px 30px;
}
.s-box img {
    width: 90px;
}
.s-box h3{
    margin: 4px 0 10px;
    color: var(--main-color);
    font-size: 1.2rem;
}
.s-box p{
    line-height: 1.7;
}
/* styles.css */

/* Style for mobile screens (less than 768px) */
@media (max-width: 768px) {
    .btn {
        display: block; /* Stack buttons vertically */
        margin-bottom: 10px; /* Add spacing between stacked buttons */
    }
}

/* Style for desktop/laptop screens (768px and above) */
@media (min-width: 768px) {
    .btn {
        display: inline-block; /* Display buttons side by side */
        margin-right: 10px; /* Add spacing between inline buttons */
    }
}
/* link button home section  */

/* Style for the button container */
.button-container {
    text-align: center;
    margin-top: 20px;
}

/* Style for Button Pair 1 */
.button-pair:nth-child(1) .button {
    background-color: #3498db; /* Blue */
}

/* Style for Button Pair 2 */
.button-pair:nth-child(2) .button {
    background-color: #e74c3c; /* Red */
}

/* Style for Button Pair 3 */
.button-pair:nth-child(3) .button {
    background-color: #2ecc71; /* Green */
}

/* Style for Button 5 */
.button5 {
    background-color: #9b59b6; /* Purple */
    animation: pulse -1s infinite alternate; /* Add animation to Button 5 */
}

/* Animation for Button 5 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Common button styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    filter: brightness(90%); /* Slight darkening on hover */
}

/* ctn section  */
.cta{
    background: #feeee7;
    padding: 30px 0;
    text-align: center;
    width: 100%;
    margin: 20px auto;
    border-radius: 10px;
    margin-bottom: 10px;

}
.cta h2{
    font-size: 2rem;
    color: var(--bg-color);
    margin-bottom: 20px;
}

/* contact section  */

.footer{
    padding: 10px 0;
    margin-top: -110px;
}
.main{
    display: flex;
    flex-wrap: wrap;
}
.col{
    width: 25%;
}
.col h4{
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
}
.col h4::before{
    content: "";
    position: absolute;
    height: 2px;
    width: 50px;
    left: 0;
    bottom: -8px;
    background: var(--main-color);
}

.col ul li:not(last-child){
    margin-bottom: 13px;
}
.col ul li a{
    color: #9897a9;
    font-size: 1.1rem;
    display: block;
    text-transform: capitalize;
    transition: 1s;
}
.col ul li a:hover{
    color: var(--text-color);
    transform: translateX(-12px)
}

.col .social{
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: space-between;  
}
.col .social a{
    margin-top: 10px;
    height: 40px;
    width: 40px;
    background:var(--main-color);
    color: var(--text-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius:50%;
    font-size: 1.5rem;
    transition: 1s;
}
.col .social a:hover{
    transform: scale(1.2);
    color: var(--bg-color);
    background: var(--text-color);
}


/* media querry for responsivenesss  */

@media (max-width:1560px) {
    header{
        padding: 15px 40px;
    }
    :root{
        --big-font:3.5rem;
        --h2-font:2rem;
    }
}

@media (max-width:1140px){
    section{
        padding: 50px 8%;
    }
    #menu-icon{
        display: initial;
        color: var(--text-color);
    }
    header .navbar{
        position: absolute;
        top: -400px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        /* margin: 0px auto; */
        text-align: center;
        background: #2b2640;
        transition: 2s;
    }
    header .navbar.active{
        top: 70px;
    }
     .navbar a{
        padding: 1.5rem;
        display: block;
     }
     .menu-container{
        grid-template-columns: 1fr 1fr;
        text-align: center;
     }
     .service-container{
        grid-template-columns: 1fr 1fr;
       text-align: center;
     }
     .ext{
        margin-bottom: 100px;
     }
     .col{
        width: 50%;
        margin-bottom: 20px;
     }
}

@media (max-width:720px) {
    header{
        padding: 10px 16px;
    }
    .home{
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about{
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-img{
        order: 2;
    }
    .menu{
        text-align: center;
    }
    .menu-container{
        grid-template-columns: 1fr;
        text-align: center;
    }
    .service-container{
        grid-template-columns: 1fr;
        text-align:center;
    }
    .ext{
        text-align: center;
    }
    section{
        padding: 100px 7%;
    }
}


@media (max-width:575px) {
      .col{
        width:100%;
      }
}


/* Contact Form Styles */
.ext {
    background-color: #1e1c2a;
    padding: 40px 0;
    text-align: center;
  }
  
  .ext .cta {
    max-width: 600px;
    margin: 0 auto;
    background-color: #57f7d400;
    padding: 20px;
    box-shadow: 10px 10px 10px 10px rgb(255, 128, 2);
    border-radius: 45px;
   
  }
  
  .ext .cta h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffffff;
  }
  
  .ext .form-group {
    margin-bottom: 20px;
    text-align: left;
    
  }
  
  .ext .form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
  }
  
  .ext .form-group input[type="text"],
  .ext .form-group input[type="email"],
  .ext .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
  }
  
  .ext .form-group textarea {
    resize: vertical;
  }
  
  .ext .btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .ext .btn:hover {
    background-color: #555;
  }
  

