@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=devanagari,latin-ext');


/* Navbar styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e8e8e8;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 23px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(10, 10, 20, 0.4);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 20px;
    transition: all 0.3s ease;
}

.logo img {
    height: 70px;
    transition: all 0.3s ease;
}

.logo p {
    color: transparent;
    font-size: 15px;
    position: absolute;
    left: 70px;
    padding-bottom: 0;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: 'Poppins', sans-serif;
}

.logo:hover img {
    transform: translateX(-20px) scale(1.1);
    filter: drop-shadow(0 0 10px black);
}

.logo:hover p {
    color: white;
    text-shadow: 0 0 10px black;
    transform: translateX(0);
    opacity: 1;
    padding: 8px;
    font-weight: bold;
    top: -15px;
    left: 50px;
    animation: popIn 0.5s ease forwards;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 80px; /* Further increased gap between navigation items */
    margin: 0;
    padding: 0;

}

.nav-links li {
    position: relative;
    left: 550px; /* Remove or adjust this for better alignment */
    top:-5px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    padding: 3px 3px;
    font-weight: bold;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: white;
    text-shadow: 0 0 10px black;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px white);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(10, 10, 20, 0.9);
    min-width: 160px;
    max-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: none;
    flex-direction: column; /* Ensure the menu items stack vertically */
    margin-top:10px;
}

.dropdown-menu li {
    display: flex;
    align-items: center; /* Ensures icons and text are aligned vertically */
    padding: 20px; /* Adjusts space around each item */
    left:-50px;
}

.dropdown-menu li i {
    margin-right: 10px; /* Consistent spacing between icon and text */
    font-size: 16px; /* Adjust icon size if necessary */
    line-height: 1; /* Ensures icons and text are aligned on the baseline */
}

.dropdown-menu li a {
    color: #fff;
    font-size: 16px; /* Adjust text size */
    text-decoration: none;
    line-height: 1; /* Ensures icons and text are aligned on the baseline */
    display: flex;
    align-items: center; /* Ensures icons and text are aligned vertically */
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    display: flex; /* Flexbox for vertical alignment */
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.nav-links li:hover .dropdown-menu {
    display: block;
}

.character {
    position: absolute;
    right:240px; /* Adjust this value to position it where you want within the navbar */
    top: 50%;
    transform: translateY(-50%); /* Centers the character vertically in the navbar */
    cursor: pointer; /* Changes the cursor to a pointer, indicating it's clickable */
    z-index: 1001; /* Ensures it is above other elements in the navbar */
}

/* Style for the character image */
.character img {

    width: 40px; /* Adjust the size as needed */
    height: auto;
    transition: transform 0.3s ease; /* Smooth transition effect */
}

/* Hover effect for the character image */
.character img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px white);
    transform: scale(1.1); /* Slightly increase size on hover */
    animation: popIn 0.5s ease forwards;
}

/* Clickable effect */
.character:active img {
    transform: scale(0.95); /* Slightly shrinks the character when clicked */
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between icons */
    position: relative; /* Ensure the left positioning works as expected */
    left: 480px; /* Adjust this value to move the icons slightly to the left */
}
.social-icons a img {
    width: 32px; /* Increased size for all icons */
    height: 32px; /* Increased size for all icons */
    filter: brightness(0) invert(1); /* Make the icons white */
    transition: filter 0.3s ease, transform 0.3s ease;

}

.social-icons a img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px white);
    transform: scale(1.1); /* Slightly increase size on hover */
    animation: popIn 0.5s ease forwards;
}
.shopping-cart {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between icons */
    position: relative; /* Ensure the left positioning works as expected */
    left: -400px; /* Adjust this value to move the icons slightly to the left */
}

.shopping-cart a img {
    width: 32px; /* Increased size for all icons */
    height: 32px; /* Increased size for all icons */
    filter: brightness(0) invert(1); /* Make the icons white */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.shopping-cart p {
    color: transparent;
    font-size: 15px;
    position: absolute;
    left: 70px;

    padding-bottom: 0;
    opacity: 0;
    transform: translateX(-50px); /* Text initially positioned to the left */
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: 'Poppins', sans-serif;
}

.shopping-cart:hover img {
    transform: translateX(-20px) scale(1.1);
    filter: drop-shadow(0 0 10px black);
}

.shopping-cart:hover p {
    color: white;
    text-shadow: 0 0 10px black;
    transform: translateX(0);
    opacity: 1;
    padding: 8px;
    font-weight: bold;
    width: 200px;
    top: -20px;
    left: 30px;
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* About Us section styling */
.about-us-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0;
    padding: 100px 20px 20px; /* Adjust padding to account for fixed navbar */
    margin-top:98px;
}

.grid-item {
    background-color: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.grid-item img {
    width: 100%;
    max-width: 700px;
    height: 700px;
    object-fit: cover;
}

.text-content {
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.story {
    background-color: #f2f2f2;
}

.mission {
    background-color: #ffffff;
}

.who-we-are {
    background-color: #FBECED;
}

.text-content h2 {
    margin-top: 0;
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-us-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .navbar {
        padding: 10px 20px;
        height: auto;
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        margin-top: 10px;
    }

    .social-icons {
        margin-top: 10px;
    }

    .character {
        margin-top: 10px;
    }
}

.about-us-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0;  /* Remove gaps between grid items */
    padding: 20px;
    position: relative;
}

.grid-item {
    background-color: white; /* Ensure the grid items match the background color */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.grid-item img {
    width: 100%;
    max-width: 700px;  /* Set max width to make images bigger */
    height: 700px;     /* Set height to make images bigger */
    object-fit: cover;
}

/* Shared Styles for Text Content */
.text-content {
    padding: 40px; /* Original padding to keep the box size consistent */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%; /* Make text content take up full height of its grid cell */
    box-sizing: border-box; /* Ensure padding doesn't affect the size */
}

/* Specific Styles for Each Section */
.story {
    background-color: #f2f2f2; /* Background color for the story section */
    width: 100%;  /* Ensure it takes up the full grid space */
    height: 100%; /* Ensure it takes up the full grid space */
}

.mission {
    background-color: #ffffff; /* Background color for the mission section */
    width: 100%;  /* Ensure it takes up the full grid space */
    height: 100%; /* Ensure it takes up the full grid space */
}

.who-we-are {
    background-color: #FBECED; /* Background color for the who-we-are section */
    width: 100%;  /* Ensure it takes up the full grid space */
    height: 100%; /* Ensure it takes up the full grid space */
}

.text-content h2 {
    margin-top: 0;
    font-size: 32px; /* Original font size for the header */
    color: #333;
    margin-bottom: 20px; /* Original spacing between the header and the paragraph */
    text-align: center; /* Ensure the header is centered */
}

.text-content p {
    font-size: 18px; /* Original font size for the paragraph */
    color: #666;
    line-height: 1.8;
    margin: 0; /* Remove any margin around the paragraph */
    text-align: center; /* Ensure the paragraph is centered */
}

/* Specific grid placement */
.top-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    z-index: 2;
}

.top-middle {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    z-index: 1;
}

.top-right {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    z-index: 2;
}

.bottom-left {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.bottom-center {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    z-index: 3;
}

.bottom-right {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.footer-section {
    position: relative;
    top:10vh;
    background-color:rgba(10, 10, 20, 0.8);
    color: white;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
    margin-top:-111px;

}

.footer-section h6 {
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 15px;
}

.footer-section p,
.footer-section a {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ddd;
    text-decoration: underline;
}

.footer-section hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.footer-section .container {
    max-width: 1200px;
    margin: 0 auto;

}

.footer-section .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section .col-md-3,
.footer-section .col-md-2,
.footer-section .col-md-4 {
    margin-bottom: 20px;
    width:200px;
}

.footer-section .social-icons {
    display: flex;
    justify-content: flex-end;
    left:-10px;
}

.footer-section .social-icons .btn {
    border-radius: 50%;
    font-size: 14px;
    line-height: 35px;
    height: 25px;
    width: 25px;
    margin-left: 20px;
    border-color: white;

}

.footer-section .social-icons .btn i {
    color: white;
}



@media (max-width: 768px) {
    .footer-section .row {
        text-align: center;
        flex-direction: column;
    }

    .footer-section .col-md-3,
    .footer-section .col-md-2,
    .footer-section .col-md-4 {
        margin-bottom: 20px;
    }

    .footer-section .social-icons {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .about-us-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bottom-center {
        transform: none;
    }

    .top-left img, .top-right img, .bottom-left img, .bottom-right img {
        transform: none;
    }
}
