/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* all similar content styling codes */
section{
    padding: 60px 0;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.about, .services, .skills, .teams, .contact, .footer, .Bookdemo{
    font-family: 'Poppins', sans-serif;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content
.Bookdemo{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}


section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}
section .title::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: crimson;
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}

  /* Styles for the popup container */
  .popup-container {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 999; /* Ensure it appears on top of other content */
}

/* Styles for the popup content */
.popup-content {
    background: #ffffff;
    padding: 20px; /* Add some padding to give content some space */
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    width: 78%;
    max-width: 400px; /* Limit the maximum width for readability */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center both horizontally and vertically */
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.popup-content h2 {
    
    padding: 5px;

}

/* Style for the close icon */
.fa-times-circle{
    color: rgb(220, 20, 60);
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 1;
}

/* Pop up Button */
.popup-container .popup-content .Button{
display: flex;
padding: 8px 20px;
background-color: rgb(220, 20, 60);
color: white;
border: none;
text-decoration: none; /* Remove underlines from links */
cursor: pointer;
font-family: 'Poppins', 'sans-serif';
font-size: 22px;
font-weight: 500;
border-radius: 6px;
justify-content: center;
}



/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: crimson;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}
.navbar .logo a span{
    color: crimson;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: #fff;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: crimson;
}
.navbar.sticky .menu li a:hover{
    color: #fff;
}

/* menu btn styling */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    bottom: 10px;
    color: #fff;
    z-index: 9999;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-up-btn .my-button {
    position: absolute;
    height: 90px;
    width: 40px;
    right: 10px;
    bottom: 10px;
    padding: 10px 15px;
    background-color: rgb(220, 20, 60);
    font-size: 15px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


.my-button span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1; /* Ensure single-line height for letters */
}

.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    filter: brightness(90%);
}

/* home section styling */
.home{
    display: flex;
    background: url("images/BG.jpg") no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}


.home .max-width{
  width: 100%;
  display: flex;
}
.home .max-width .row{
  margin-right: 0;
}
/* Traditional Vs Smart section styling */
.about .title::after{
    content: "Cooking";
}

.home .home-content .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52%; /* Change height to 100% */
    background-color: rgba(0, 0, 0, 0.7);
    display: flex; /* Add this line to make it a flex container */
    justify-content: center; /* Horizontally center the content */
    align-items: center; /* Vertically center the content */
}

.home .home-content .overlay .overlay-content {
    text-align: center;
    padding: 0px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.centered-content {
    text-align: center;
}

.home .home-content .overlay p {
    font-size: 35px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.home .home-content .overlay .blinking-button {
    display: flex;
    padding: 10px 20px; /* Increase padding for better button visibility */
    background-color: rgb(220, 20, 60);
    color: white;
    border: none;
    text-decoration: none;
    cursor: pointer;
    animation: blink 1s infinite alternate;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 35px;
    font-weight: 500;
    border-radius: 6px;
    margin-top: 20px;
    justify-content: center;
}

@keyframes blink {
    0% { transform: skewX(-15deg); }
    5% { transform: skewX(15deg); }
    10% { transform: skewX(-15deg); }
    15% { transform: skewX(15deg); }
    20% { transform: skewX(0deg); }
    100% { transform: skewX(0deg); }
}

.home .home-content .overlay #timer {
    font-size: 30px;
    color: rgb(255, 255, 255);
    margin-top: 20px;
}

.about .about-content 
table
{
    padding: 8px 16px;
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    }
  
  td, th {
    border: 1px solid #000000;
    padding: 8px;
    text-align: center;
  }
  
  tr:nth-child(even) {
    background-color: #dddddd;
  }
.about p{
    display: flex;
    padding: 8px 16px;
    font-size: 15px;
    height: 2vh;
    text-align: left;
    color: rgb(220, 20, 60);
}

/* Influncers section styling */
 .teams{
    color:#fff;
    background: #111;
    padding: 20px 0px;
}


.teams .title::before{
    background: #fff;
}

.teams .title::after{
    background: #111;
    content: " OF AMC ";
}

/* Flexbox styles */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.column {
    width: calc(33.33% - 10px); /* Adjust width and margin */
    margin-bottom: 20px; /* Space between rows */
}

/* To have equal spacing between columns */
.column:nth-child(1),
.column:nth-child(2) {
    margin-right: 15px;
}

/* To adjust the last column's margin */
.column:nth-child(3) {
    margin-right: 0;
}

.teams .card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
  }
  
  /* On mouse-over, add a deeper shadow */
  .teams .card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  }
  
  /* Add some padding inside the card container */
  .teams .container {
    padding: 8px 16px;
    text-align: center;
  }

  .teams .card{
    margin-bottom: 40px;
  }
  .teams .card
  img {
    border: 3px solid #ffffff;
  }

/* Contact section styling */

.contact {
    background: #000000;
    color: #ffffff;
    padding: 20px 0px;
    text-align: center;
}

.social-media-icons ul {
    list-style: none;
    padding: 0;
}

.social-media-icons a {
    display: inline-block;
    text-decoration: none;
    padding: 10px;
    color: #fff;
}

.social-media-icons a:nth-child(1) i {
    color: rgb(220, 20, 60);
}

.social-media-icons a:nth-child(2) i {
    color: #3B5998;
}

.social-media-icons a:nth-child(3) i {
    color: #ff6600;
}

.social-media-icons a:hover i {
    color: #fff;
}

.contact .contact-content .column {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.contact .contact-content .text {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    align-items: center;
}

.contact .contact-content .icons {
    margin: 20px 0;
}

.contact .contact-content .row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact .contact-content .row a {
    margin-right: 10px;
}

.contact .contact-content .info .sub-title {
    font-weight: 500;
    font-size: 16px;
}
footer{
    background: #ffffff;
    padding: 15px 23px;
    color: #000000;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img{
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width{
        padding: 0 50px;
    }
}
@media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2{
        font-size: 70px;
    }
    .home .home-content .text-3{
        font-size: 35px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .max-width{
        max-width: 930px;
    }
    .about .about-content .column{
        width: 100%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .services .serv-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width{
        padding: 0 23px;
    }
    .home .home-content .text-2{
        font-size: 60px;
    }
    .home .home-content .text-3{
        font-size: 32px;
    }
    .home .home-content a{
        font-size: 20px;
    }
    .services .serv-content .card{
        width: 100%;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .column {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }

    .column:nth-child(1),
    .column:nth-child(2) {
        margin-right: 15px;
    }

    .column:nth-child(odd) {
        margin-right: 0;
    }
}

@media (max-width: 500px) {
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 27px;
    }
    .about .about-content .right .text,
    .skills .skills-content .left .text{
        font-size: 19px;
    }
    .contact .right form .fields{
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email{
        margin: 0;
    }
    .right form .error-box{
       width: 150px;
    }
    .scroll-up-btn{
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }

    .column {
        width: 100%;
        margin-right: 0;
    }

    .column:nth-child(odd) {
        margin-right: 0;
    }

}

@media (max-width: 414px) {

    .home{
        display: flex;
        background: url("images/BG.jpg") no-repeat center;
        height: 100vh;
        color: #fff;
        min-height: 500px;
        background-size: cover;
        background-attachment: scroll;
        font-family: 'Ubuntu', sans-serif;
    }
    

    .home .home-content .overlay 
    p {
        font-size: 28px;
        margin-bottom: 20px;
    }



    .home .home-content .overlay {
        position: absolute;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 55%; /* Change height to 100% */
        background-color: rgba(0, 0, 0, 0.7);
        display: flex; /* Add this line to make it a flex container */
        justify-content: center; /* Horizontally center the content */
        align-items: center; /* Vertically center the content */
    }
    .column {
        width: 100%;
        margin-right: 0;
    }

    .column:nth-child(odd) {
        margin-right: 0;
    }
}
    

  @media (max-width: 375px) {

    .home .home-content .overlay 
    p {
        font-size: 27px;
        margin-bottom: 20px;
    }

      /* Add your specific styles for smaller screens here */
  .overlay {
    position: static; /* Reset position to normal flow */
    transform: translateY(0); /* Reset any transformation */
  }
    .home .home-content .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55%; /* Change height to 100% */
        background-color: rgba(0, 0, 0, 0.7);
        display: flex; /* Add this line to make it a flex container */
        justify-content: center; /* Horizontally center the content */
        align-items: center; /* Vertically center the content */
    }
    .column {
        width: 100%;
        margin-right: 0;
    }

    .column:nth-child(odd) {
        margin-right: 0;
    }

  }

  
  @media (max-width: 350px) {

    .home .home-content .overlay 
    p {
        font-size: 22px;
        margin-bottom: 20px;
    }

      /* Add your specific styles for smaller screens here */
  .overlay {
    position: static; /* Reset position to normal flow */
    transform: translateY(0); /* Reset any transformation */
  }
    .home .home-content .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55%; /* Change height to 100% */
        background-color: rgba(0, 0, 0, 0.7);
        display: flex; /* Add this line to make it a flex container */
        justify-content: center; /* Horizontally center the content */
        align-items: center; /* Vertically center the content */
    }
    .column {
        width: 100%;
        margin-right: 0;
    }

    .column:nth-child(odd) {
        margin-right: 0;
    }

  }

  @media (max-width: 360px) {

    .home .home-content .overlay 
    p {
        font-size: 24px;
        margin-bottom: 20px;
    }

      /* Add your specific styles for smaller screens here */
  .overlay {
    position: static; /* Reset position to normal flow */
    transform: translateY(0); /* Reset any transformation */
  }
    .home .home-content .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55%; /* Change height to 100% */
        background-color: rgba(0, 0, 0, 0.7);
        display: flex; /* Add this line to make it a flex container */
        justify-content: center; /* Horizontally center the content */
        align-items: center; /* Vertically center the content */
    }
    .column {
        width: 100%;
        margin-right: 0;
    }

    .column:nth-child(odd) {
        margin-right: 0;
    }

  }