* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    background: #131313;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: relative;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.navbar-logo {
    max-height: 100px; /* Adjust height */
    width: auto;     /* Maintain aspect ratio */
    display: block;  /* Ensure proper alignment */
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #ffc40c;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #006db0;
    color: #ffc40c;
}

.button:hover {
    background: #4837ff;
    transition: 0.3s ease;
}

.navbar__links:hover {
    color: #006db0;
    transition: 0.3s ease; 
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 1; 
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background: #131313;
    }

    .navbar__menu.active {
        background: #131313;
        top: 100%;
        opacity: 1;
        transition: all o.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding: 25px;
    }
    

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 8px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero Section CSS */
.main {
    background-color: #141414;
}

.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: 90vh;
    background-color: #141414;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
}

.main__content h1 {
    font-size: 4rem;
    background-color: #ff8c00;
    background-image: linear-gradient(to top, #ff8c00 0%, #006db0 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content h2 {
    font-size: 4rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #b721ff 0%, #21d4fd 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent; 
}

.main__content p {
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.main__btn {
    font-size: 1rem;
    background-image: linear-gradient(to top, #006db0 0%, #ff8c00 0%);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
}  

.main__btn a {
    position: relative;
    z-index: 2;
    color: #fff;
    text-decoration: none;
}

.main__btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #4837ff;
    transition: all 0.35s;
    border-radius: 4px;
}

.main__btn:hover {
    color: #fff;
}

.main__btn:hover:after {
    width: 100%;
}

.main__img--container {
    text-align: center;
}

#main__img {
    height: 80%;
    width: 80%;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;
    }

    .main__content {
        text-align: center;
        margin-bottom: 4rem;
    }

    .main__content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main__content h2 {
        font-size: 3rem;
    }

    .main__content p {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2 {
        font-size: 2rem;
    }

    .main__content p  {
        margin-top: 2rem;
        font-size: 1.5rem;
    }

    .main__btn {
        padding: 12px 36px;
        margin: 2.5rem 0;
    }
}

/* Services  Section CSS */
.services {
    background: #141414;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

.services__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem; /* Smaller gap between cards */
}

.services__card {
    margin: 0.5rem;  /* Reduced margin */
    height: 250px;   /* Smaller height */
    width: 200px;    /* Smaller width */
    border-radius: 4px;
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 1.png); /* Default image */
    background-size: cover;
    background-position: center; /* Ensures the image looks good even when resized */
    position: relative;
    color: #fff;
}

.services__card:nth-child(2) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0,0,0,0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 2.png);
}

.services__card:nth-child(3) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 3.jpeg);
}

/* Add more unique background images for each card */
.services__card:nth-child(4) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 4.png);
}

.services__card:nth-child(5) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 5.jpg);
}

.services__card:nth-child(6) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 6.jpg);
}

.services__card:nth-child(7) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 7.jpg);
}

.services__card:nth-child(8) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 8.JPG);
}

.services__card:nth-child(9) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 9.jpg);
}

.services__card:nth-child(10) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 10.jpg);
}

.services__card:nth-child(11) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 11.jpg);
}

.services__card:nth-child(12) {
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(17, 17, 17, 0.6) 100%
        ),
        url(Unit\ 12.jpg);
}

.services h2 {
    position: absolute;
    top: 140px; /* Moved slightly lower */
    left: 10px;
    font-size: 1rem; /* Scaled-down text size */
}

.services__card p {
    position: absolute;
    top: 170px; /* Moved slightly lower */
    left: 10px;
    font-size: 0.8rem; /* Scaled-down text size */
}

.services__card:hover {
    transform: scale(1.075);
    transition: transform 0.2s ease-in; /* Smooth zoom-in */
}

.services__card button {
    color: #fff;
    padding: 6px 12px; /* Smaller button size */
    border: none;
    outline: none;
    border-radius: 4px;
    background-image: linear-gradient(to top, #006db0 0%, #ff8c00 0%);
    position: absolute;
    bottom: 10px; /* Positioned at the bottom of the card */
    left: 10px;
    font-size: 0.8rem; /* Scaled-down text size */
    cursor: pointer;
    transition: all 0.35s;
    z-index: 2; /* Ensure it's above the other content */
}

.services__card button span {
    position: relative;
    z-index: 3; /* Ensure text stays above the :after pseudo-element */
}

.services__card button:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #4837ff;
    transition: all 0.35s;
    border-radius: 4px;
    z-index: 1; /* Ensure it stays behind the text */
}

.services__card button:hover {
    color: #fff;
}

.services__card button:hover:after {
    width: 100%;
}

@media screen and (max-width: 960px) {
    .services {
        height: 1600px;
    }

    .services h1 {
        font-size: 2rem;
        margin-top: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .services {
        height: 1400px;
    }

    .services h1 {
        font-size: 1.2rem;
    }

    .services__card {
        width: 300px;
    }
}

/* Footer Section CSS */
.footer__container {
    background-color: #141414;  /* Dark background for the whole footer */
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.footer__link--wrapper {
    display: flex;
    width: 100%;  /* Ensure full width for About Us */
}

.footer__link--items {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px;
    text-align: center;  /* Center the text */
    width: 100%;
    max-width: 1000px;
    color: #fff;
    box-sizing: border-box;
}

.footer__link--items h2 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: #fff;
}

.footer__link--items p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #e9e9e9;
    text-align: justify;
    text-indent: 2rem;
}

.footer__link--items p:last-child {
    margin-bottom: 0; /* Removes extra space after the last paragraph */
}

.footer__link--items a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__link--items a:hover {
    color: #e9e9e9;
    transition: 0.3s ease-out;
}

/* Social Icon */
.social__icon--link {
    font-size: 32px; /* Larger size */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Individual Icon Colors */
.social__icon--link .fa-facebook {
    color: #006db0; /* Blue */
}

.social__icon--link .fa-instagram {
    color: #ff8c00; /* Orange */
}

.social__icon--link .fa-globe {
    color: #ffc40c; /* Yellow */
}

/* Optional Hover Effect: Slightly Darker */
.social__icon--link:hover .fa-facebook {
    color: #004b80;
}

.social__icon--link:hover .fa-instagram {
    color: #cc7000;
}

.social__icon--link:hover .fa-globe {
    color: #d9a900;
}

.social__media {
    width: 100%;  /* Ensure it stretches across the page */
    background-color: #141414;  /* Same background color */
    padding: 2rem 0;
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: center; /* Centers content vertically */
}

.social__media--wrap {
    display: flex;
    flex-direction: column; /* Stacks social icons and rights text vertically */
    justify-content: center; /* Centers the items vertically within the container */
    align-items: center; /* Centers horizontally */
    width: 90%; /* Keeps content within a max width */
    max-width: 1000px;
}

.social__icons {
    display: flex;
    justify-content: center; /* Centers icons horizontally */
    gap: 15px; /* Spacing between icons */
    margin-bottom: 10px; /* Space between icons and website rights */
}

.social__logo {
    color: #fff;
    justify-self: flex-start;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.website__rights {
    color: #fff;
    text-align: center; /* Centers the website rights text */
    font-size: 14px; /* Optional: Adjust font size */
}

@media screen and (max-width: 820px) {
    .footer__links {
        padding-top: 2rem;
    }

    #footer__logo {
        margin-bottom: 2rem;
    }

    .website__rights {
        margin-bottom: 2rem;
    }

    .footer__links--wrapper {
        flex-direction: column;
    }

    .social__media--wrap {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .footer__link--items {
        margin: 0;
        padding: 10px;
        width: 100%;
    }
}
