
@import url('https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html,body{
    width: 100%;
    height: 100%;
}

header{
    position: relative;
}

.top-bar {
            background-color: #f16202;
            color: white;
            padding: 5px 0;
        }

        .top-bar-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }


        .contact-info {
            display: flex;
            gap: 30px;
            align-items: center;
            flex-wrap: wrap;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
        }
        .contact-item>a{
            text-decoration: none;
            color: #fff !important;
        }
        .social-icons {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .social-icon {
            width: 25px;
            height: 25px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #092439;
            text-decoration: none;
            font-weight: bold;
            transition: transform 0.3s;
        }

        .social-icon:hover {
            transform: scale(1.1);
        }


        .nav-container {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.658);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            padding: 10px 0;
        }

        .logo img {
            height: 90px;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 5px;
        }

        .nav-item {
            position: relative;
        }
.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 10px; 
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    position: relative; 
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden; /* Lines ko container ke bahar jane se rokne ke liye */
}

    .nav-link{
        font-weight: 500;
        font-size: 15px;
    }
/* Hover/Active State */
.nav-link:hover, 
.nav-item.active .nav-link {
    background-color: rgba(22, 58, 100, 0.05); /* Halka background color */
    color: #fd6806 !important;
}

/* Common Line Styling */
.nav-link::before,
.nav-link::after {
    content: "";
    position: absolute;
    width: 0; 
    height: 2px;
    background-color: #fd6806;
    transition: width 0.4s ease; /* Thoda slow transition zyada premium lagta hai */
}

/* Upar wali line - Left se start hogi */
.nav-link::before {
    top: 0;
    left: 0;
}

/* Niche wali line - Right se start hogi */
.nav-link::after {
    bottom: 0;
    right: 0;
}

/* Hover aur Active par width 100% ho jayegi */
.nav-link:hover::before,
.nav-link:hover::after,
.nav-item.active .nav-link::before,
.nav-item.active .nav-link::after {
    width: 100%;
}

.becomebtn{
    background-color: #860500;
    padding: .3rem 1.3rem;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    color: #ffffff;
    transition: all .3s ease-in-out;
}
.becomebtn a{
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    letter-spacing: -.5px;
}
.becomebtn:hover{
    transform: scale(1.03);
    
}


@media (max-width: 768px) {
    .nav-link:hover::after,
    .nav-item.active .nav-link::after {
        display: none;
    }
}
      
       


        .arrow {
            font-size: 12px;
        }

        /* Mega Menu */
        .mega-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: white;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            min-width: 270px;
            max-width: 800px;
            display: none;
            padding: 15px;
            z-index: 1000;
        }

        .mega-menu.active {
            display: block;
        }

        .mega-menu-grid {
            display: grid;
            grid-template-columns: repeat( 1fr);
            gap: 30px;
        }

        .mega-menu-column h3 {
            color: #163a64 ;
            margin-bottom: 15px;
            font-size: 16px;
            border-bottom: 2px solid #163a64 ;
            padding-bottom: 10px;
        }

        .mega-menu-column ul {
            list-style: none;
            
        }

        .mega-menu-column li {
            margin-bottom: 10px;
            
            border-bottom: 1px solid #163a64;
        }

        .mega-menu-column a {
            text-decoration: none;
            color: #555;
            font-size: 14px;
            transition: color 0.3s;
            display: block;
            padding: 5px 0;
            transition: all .2s ease-in-out;
        }

        .mega-menu-column a:hover {
            color: #fff ;
            padding-left: 10px;
            background-color: #fd6806;
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            width: 40px;
            height: 40px;
            position: relative;
            z-index: 1001;
        }

        .mobile-menu-btn.active {
            position: fixed;
            right: 20px;
            top: 20px;
        }

        .hamburger {
            position: relative;
            width: 30px;
            height: 20px;
        }

        .hamburger span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: #333;
            border-radius: 3px;
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: .25s ease-in-out;
        }

        .hamburger span:nth-child(1) {
            top: 0px;
        }

        .hamburger span:nth-child(2) {
            top: 9px;
        }

        .hamburger span:nth-child(3) {
            top: 18px;
        }

        .mobile-menu-btn.active .hamburger span:nth-child(1) {
            top: 9px;
            transform: rotate(135deg);
        }

        .mobile-menu-btn.active .hamburger span:nth-child(2) {
            opacity: 0;
            left: -60px;
        }

        .mobile-menu-btn.active .hamburger span:nth-child(3) {
            top: 9px;
            transform: rotate(-135deg);
        }

        .close-menu {
            display: none;
        }



        /* Responsive Design */
        @media (max-width: 1024px) {
           
            .logo img{
                height: 50px;
            }
            .nav-link {
                padding: 0px 5px;
                font-size: 13px;
            }


            .mega-menu {
                min-width: 500px;
            }
        }

        @media (max-width: 900px) {
            .top-bar-content {
                justify-content: center;
                text-align: center;
            }

            .contact-info {
                justify-content: center;
                gap: 15px;
            }

            .contact-item {
                font-size: 12px;
            }

            .social-icons {
                margin-top: 10px;
            }

            .mobile-menu-btn {
                display: block;
            }

            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 300px;
                height: 100vh;
                background-color: white;
                flex-direction: column;
                padding: 80px 0 20px;
                box-shadow: -2px 0 10px rgba(0,0,0,0.1);
                transition: right 0.3s;
                overflow-y: auto;
                gap: 0;
            }

            .nav-menu.active {
                right: 0;
            }

            .nav-link {
                padding: 15px 30px;
                width: 100%;
                border-bottom: 1px solid #eee;
            }

            

            .mega-menu {
                min-width: 100%;
                box-shadow: none;
                padding: 0 30px 20px;
                background-color: #f8f8f8;
            }

            .mega-menu-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .close-menu {
                display: block;
                position: absolute;
                top: 20px;
                right: 20px;
                background: none;
                border: none;
                font-size: 32px;
                cursor: pointer;
                color: #333;
            }
            .logo{
                padding: 2px 0;
            }
            .logo img {
                height: 80px;
            }
        }

        @media (max-width: 480px) {
            .contact-info {
                /* flex-direction: column; */
                gap: 10px;
            }
            .logo{
                padding: 5px;
            }
            .logo img{
                height: 60px;
            }
            .nav-menu {
                width: 100%;
            }

            .mega-menu {
                padding: 0 20px 20px;
            }
            .iconbtn{
                display: none;
            }
            .becomebtn a{
                font-size: .8rem;
            }
        }


        /* Overlay for mobile menu */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 999;
        }

        .overlay.active {
            display: block;
        }




