* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* nav bar css starts*/
.navbar-custom {
    display: flex;
    align-items: center;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 12, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.containers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding-left: 80px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: 10rem;
}

.nav-link-custom {
    position: relative;
    overflow: hidden;
    height: 1.5rem;
    color: #fff;
    text-decoration: none;
}

.nav-link-custom span {
    display: block;
    transition: transform 0.3s ease;
    /* left: 0; */
    z-index: 1;
}

.nav-link-custom .hover-text {
    position: absolute;
    top: 100%;
    left: 0;
    color: #fff;
}

.nav-link-custom:hover .original-text {
    transform: translateY(-100%);
}

.nav-link-custom:hover .hover-text {
    transform: translateY(-100%);
}

.btn-wrapper {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

/* Background layer */
/* .nav-link-custom::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background-color: #272626;
    
    z-index: 0;
    transition: bottom 0.2s ease 0.3s;
} */
/* 👇 Delay added here */

/* Background moves after 1 second */
.nav-link-custom:hover::before {
    bottom: 0;
}

.contact-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 130px;
    height: 40px;
    gap: 1.5rem;
    line-height: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 13px 18px;
    text-align: center;
    font-size: 0.939rem;
    font-weight: 500;
    color: rgb(51, 51, 51);
    font-family: system-ui, sans-serif;
    background: linear-gradient(135deg, #ff6a4d, #ff4b2b);
}

/* Background layer */
.contact-btn::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* 👇 Delay added here */
    transition: bottom 0.2s ease 0.3s;
    z-index: 0;
}

/* Text */
.contact-btn span {
    /* display: block; */
    position: absolute;
    transition: transform 0.3s ease;
    width: 100%;
    left: 0;
    z-index: 1;
}

.contact-btn .original-text {
    top: 0;
}

.contact-btn .hover-text {
    color: #000;
    position: absolute;
    top: 100%;
    left: 0;
}

.contact-btn:hover .original-text {
    transform: translateY(-100%);
}

.contact-btn:hover .hover-text {
    transform: translateY(-100%);
}

/* Background moves after 1 second */
.contact-btn:hover::before {
    bottom: 0;
}



/* nav bar css ends*/


/* --------------------------------------------------------------------------------------------- */

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 12, 0.488);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    z-index: 999;

    /* Animation base state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    padding: 2rem 0;
}

.mobile-menu>* {
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0s;
}

.mobile-menu.show>* {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.show>*:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.show>*:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.show>*:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.show>*:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.show>*:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu.show>*:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu.show>*:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-menu.show>*:nth-child(8) {
    transition-delay: 0.45s;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #4f46e5;
    /* Equivalent to hover:text-indigo-600 */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .nav-items {
        margin-left: 2rem;
    }

    .containers {
        gap: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 992px) {

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .navbar-custom {
        width: 100%;
    }

    .containers {
        width: 100%;
        justify-content: space-between;
        padding: 0 20px;
    }

    .menu-toggle {
        display: block;
    }
    
    .headers1 {
        padding-top: 80px;
    }
}

@media (max-width: 767px) {
    .text-logo {
        font-size: 2.5rem;
    }

    .text-logo:hover {
        font-size: 3rem;
        -webkit-text-stroke: 1px #fc5b5b;
    }

    .title {
        font-size: 1.8rem;
    }

    .title:hover {
        font-size: 2.2rem;
        -webkit-text-stroke: 1px #fff;
    }

    .group-logo {
        margin-top: 50px;
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .text-logo {
        font-size: 2rem;
    }

    .text-logo:hover {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .title:hover {
        font-size: 1.8rem;
    }

    .group-logo {
        margin-top: 60px;
        transform: scale(0.6);
    }
}

/* -------------------------------------------------------------------------------------------- */

/* HERO SECTION */
.headers1 {
    height: 100vh;
    background-image: url('../images/bg1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Keep parallax effect for the hero */
    position: relative;
    display: flex;
    align-items: center;
}

/* Content above overlay */
.hero-contents1 {
    position: relative;
    z-index: 2;
}

/* TEXT */
.text-logo {
    font-size: 3rem;
    /* letter-spacing: 3px; */
    font-style: italic;
    color: #ff6a4d;
    font-family: system-ui;
    margin-bottom: 5px;
    transition: 0.5s;
}

.text-logo:hover {
    -webkit-text-stroke: 2px #fc5b5b;
    color: transparent;
    font-weight: 600;
    font-size: 4rem;
}

.title {
    font-size: 2.5rem;
    line-height: 1.3;
    font-style: italic;
    font-family: system-ui;
    transition: 0.5s;
}

.title:hover {
    -webkit-text-stroke: 2px #fff;
    color: transparent;
    font-weight: 600;
    font-size: 3rem;
}

/* LOGOS */
/* .group-logo {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
} */

.group-logo img {
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* ===================== */
/* ✨ ANIMATIONS */
/* ===================== */

/* Fade Up */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scale animation */
.fade-scale {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* -------------- */
.group-logo {
    position: relative;
    width: 320px;
    height: 320px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Orbit Path (Dashed Circle) - Added for modern look */
.group-logo::before {
    content: "";
    position: absolute;
    width: 260px;
    /* Orbit radius 130px * 2 */
    height: 260px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spinPath 20s linear infinite;
    pointer-events: none;
}

@keyframes spinPath {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Center logo */
.group-logo img:nth-child(1) {
    position: absolute;
    width: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    filter: drop-shadow(0 0 15px rgba(255, 106, 77, 0.4));
}

.group-logo img:nth-child(1):hover {
    filter: drop-shadow(0 0 25px rgba(255, 106, 77, 0.8));
    transform: translate(-50%, -50%) scale(1.1);
    cursor: pointer;
}

/* Orbiting logos */
.group-logo img:not(:nth-child(1)) {
    position: absolute;
    width: 55px;
    height: 55px;
    top: 50%;
    left: 50%;
    margin-top: -27.5px;
    margin-left: -27.5px;
    animation: rotateOrbit 12s linear infinite;
    z-index: 5;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

/* Removed hover effect for orbiting logos as requested */

/* Different positions perfectly spaced for 6 items in 12s */
.group-logo img:nth-child(2) {
    animation-delay: 0s;
}

.group-logo img:nth-child(3) {
    animation-delay: -2s;
}

.group-logo img:nth-child(4) {
    animation-delay: -4s;
}

.group-logo img:nth-child(5) {
    animation-delay: -6s;
}

.group-logo img:nth-child(6) {
    animation-delay: -8s;
}

.group-logo img:nth-child(7) {
    animation-delay: -10s;
}

/* Rotation animation with dual-rotate to keep elements upright */
@keyframes rotateOrbit {
    from {
        transform: rotate(0deg) translateY(-130px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateY(-130px) rotate(-360deg);
    }
}

