/* ==========================================
   FIXED PREMIUM NAVBAR STYLES (LOGO FIXED)
========================================== */

header {
    background: #071A2F; /* Header background matching theme */
    padding: 10px 0;    /* Padding thodi kam ki taaki responsive lage */
    position: fixed;
    top: 45px;          /* Adjusted to leave space for moving top-bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Flex layout spacing divide karne ke liye */
header .container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* LEFT: Logo aur Text ko ek line mein lane ke liye */
header .logo-group {
    display: flex;
    align-items: center;
    gap: 15px; /* Logo image aur text ke beech ka gap */
}

/* LOGO IMAGE SIZE FIX */
header .logo-group img {
    width: 50px;       /* Logo ka size yahan se control hoga */
    height: 50px;      /* Perfect square ratio */
    object-fit: contain;
    border-radius: 8px; /* Agar logo rounded corners mein achha lage */
}

header .logo-text h2 {
    color: #fff;
    font-size: 22px;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

header .logo-text p {
    color: #00D4FF;
    font-size: 12px;
    margin: 0;
    font-weight: 400;
}

/* CENTER: Navigation Links horizontally linear */
header ul, .nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

header ul li a {
    color: #d6d6d6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

header ul li a:hover {
    color: #00D4FF;
}

/* RIGHT: Auth Buttons layout rearrangement */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

/* Login button transparent border design */
.btn-login {
    color: #fff !important;
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid #00D4FF;
    border-radius: 50px;
    font-size: 15px;
    transition: background 0.3s;
    background: transparent;
}

.btn-login:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* Register button solid cyan tone */
.btn-register {
    color: #fff !important;
    background: #00D4FF;
    text-decoration: none;
    padding: 11px 26px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s, background 0.3s;
}

.btn-register:hover {
    background: #00b8dd;
    transform: translateY(-2px);
}

/* Navbar gap cover karne ke liye hero section padding fix */
.about-hero {
    padding-top: 150px; 
}

/* Mobile responsive navigation hidden setup */
@media (max-width: 768px) {
    header {
        position: fixed;
        top: 45px;
    }
    header .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    header ul, .nav-links {
        display: flex !important;
        gap: 15px;
        justify-content: center;
    }
    header ul li a {
        font-size: 14px;
    }
    .nav-auth {
        gap: 10px;
    }
    .btn-login, .btn-register {
        padding: 6px 16px;
        font-size: 13px;
    }
    .about-hero {
        padding-top: 180px;
    }
}

/* ==========================================
   ABOUT PAGE - MODEL 4 INTEGRATED
========================================== */

/* Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
    0% { opacity: 0.12; }
    50% { opacity: 0.22; }
    100% { opacity: 0.12; }
}

/* TOP BAR CONTINUOUS MOVING MARQUEE SYSTEM */
.top-bar {
    background: #00bfff;
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    height: 45px;
    display: flex;
    align-items: center;
}
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}
.marquee-content {
    display: inline-block;
    animation: continuousScrollMarquee 25s linear infinite;
    font-size: 14px;
    font-weight: 600;
    padding-left: 100%;
}
.marquee-content a {
    color: #071A2F;
    background: #ffffff;
    padding: 2px 14px;
    border-radius: 50px;
    text-decoration: none;
    margin-left: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
}
.marquee-content a:hover {
    background: #071A2F;
    color: #ffffff;
}
@keyframes continuousScrollMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #071A2F;
    padding: 80px 0;
    overflow: hidden;
}

/* Background Animated Neon Glow */
.about-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, transparent 70%);
    z-index: 1;
    animation: pulseGlow 6s ease-in-out infinite;
}

/* THE GLASS CARD WRAPPER */
.about-glass-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 65px 50px; /* Vertical height badhane ke liye padding badha di */
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    /* Pure card par dynamic floating animation */
    animation: float 5s ease-in-out infinite; 
}

.about-hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    width: 100%;
}

/* Text Block balanced space */
.about-left {
    flex: 0.9;
}

/* Slider Box space and size fix */
.about-right {
    flex: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* AUTOMATIC IMAGE SLIDER (Height Fixed) */
.slider {
    width: 100%;
    max-width: 650px; 
    height: 380px; /* Aspect-ratio hata kar direct standard height de di taaki box daba na lage */
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Photo box ke andar bina kharab huye poori fill hogi */
    object-position: center;
    opacity: 0;
    transition: opacity .8s ease;
}

.slide.active {
    opacity: 1;
}

/* TYPOGRAPHY */
.about-left h1 {
    font-size: 54px;
    color: #fff;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 800;
}

.about-left h1 span {
    color: #00D4FF;
}

.about-left p {
    color: #d6d6d6;
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 25px;
}

.section-tag {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(0, 212, 255, .15);
    border: 1px solid rgba(0, 212, 255, .35);
    color: #00D4FF;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Badges Grid style inside Glass Card */
.glass-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.glass-badges span {
    background: rgba(0, 212, 255, 0.08);
    color: #00D4FF;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    font-size: 14px;
    font-weight: 500;
}

/* BUTTONS IN ABOUT HERO */
.about-left .hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.about-left .btn-blue, .about-left .btn-white {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.about-left .btn-blue {
    background: #00D4FF;
    color: #071A2F !important;
}
.about-left .btn-white {
    border: 2px solid #fff;
    color: #fff !important;
}
.about-left .btn-blue:hover, .about-left .btn-white:hover {
    transform: translateY(-3px);
}

/* ==========================================
   MISSION SECTION
========================================== */
.mission {
    padding: 100px 0;
    background: #036ef0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mission-card {
    background: rgba(255, 255, 255, .05);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: .3s;
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-card i {
    font-size: 45px;
    color: #00D4FF;
    margin-bottom: 20px;
}

.mission-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.mission-card p {
    color: #d6d6d6;
}

/* ==========================================
   FOUNDER SECTION
========================================== */
.founder {
    padding: 100px 0;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.founder-image,
.founder-content {
    flex: 1;
}

.founder-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.founder-content h2 {
    color: #0c7ceb;
    font-size: 45px;
}

.founder-content h4 {
    color: #00D4FF;
    margin: 15px 0;
}

.founder-content p {
    color: #0978e8;
    line-height: 1.9;
}

.founder-info {
    margin: 35px 0;
}

.info-box {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
}

.info-box i {
    color: #2143f0;
    font-size: 30px;
}

.info-box h3 {
    color: #213ee3;
    margin-bottom: 5px;
}

.info-box p {
    color: #1f42cc;
}

.founder-content .btn-blue {
    padding: 14px 30px;
    background: #00D4FF;
    color: #071A2F !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}
.founder-content .btn-blue:hover {
    transform: translateY(-3px);
}

/* ==========================================
   CTA SECTION (CYAN BANNER BUTTON ADJUSTMENT)
========================================== */
.about-cta {
    padding: 90px 0;
    background: #00CFFF;
    text-align: center;
}

.about-cta h2 {
    color: #fff;
    font-size: 45px;
}

.about-cta p {
    color: #fff;
    margin: 20px auto 40px;
    max-width: 750px;
    line-height: 1.9;
}

.about-cta .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons inside the cyan wrapper adjusted cleanly */
.about-cta .btn-blue {
    background: #071A2F;
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.about-cta .btn-blue:hover {
    background: #112946;
    transform: translateY(-3px);
}

.about-cta .btn-white {
    background: transparent;
    border: 2px solid #071A2F;
    color: #071A2F !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.about-cta .btn-white:hover {
    background: #071A2F;
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* ==========================================
   FOOTER SECTION (CONTACT LOGOS & WHATSAPP)
========================================== */
.footer {
    background: #081826;
    padding: 70px 0 20px;
    color: #fff;
}

.footer .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    align-items: flex-start;
}

.footer img {
    width: 90px;
    margin-bottom: 15px;
}

.footer h3,
.footer h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

.footer p {
    color: #d6d6d6;
    line-height: 28px;
}

/* Contact List Icons Fixing Integration */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d6d6d6;
}
.footer-contact-list i {
    color: #00D4FF;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 14px 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #00d4ff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons a:nth-child(1) { background: #E1306C; }
.social-icons a:nth-child(2) { background: #FF0000; }
.social-icons a:nth-child(3) { background: #2CA5E0; }
.social-icons a:nth-child(4) { background: #25D366; } /* WhatsApp Perfect Green Background */

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

.text-center {
    text-align: center;
}

/* ==========================================
   RESPONSIVE & MOBILE QUERIES
========================================== */
@media (max-width: 991px) {
    .footer .row {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .about-glass-card {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .about-left, .about-right {
        flex: unset;
        width: 100%;
    }

    /* Slider mobile pe text ke upar aayega jisse clean dikhe */
    .about-right {
        order: -1; 
    }
    .slider {
        height: 280px; /* Daba na lage isliye standard adaptive aspect mobile control */
    }

    .about-left h1 {
        font-size: 36px;
    }
    .about-left .hero-buttons {
        justify-content: center;
    }

    .glass-badges {
        justify-content: center;
    }

    .founder-container {
        flex-direction: column;
        text-align: center;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .footer .row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
    .about-left h1 {
        font-size: 30px;
    }
    .about-cta h2 {
        font-size: 32px;
    }
}
/* ===================================================
   MOBILE HAMBURGER & FOOTER ALIGNMENT FIX (FINAL COMBINED)
=================================================== */

/* Desktop defaults and Resets */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 35px;
}

/* FOOTER INLINE LOGO + TEXT (Universal Desktop & Mobile Style) */
.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.footer-logo-group img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 6px;
}
.footer-logo-text h3 {
    color: #fff;
    font-size: 20px;
    margin: 0 !important;
    font-weight: 700;
}
.footer-tagline {
    color: #b8c7d9;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

/* ================= Mobile Responsive Media Query ================= */
@media screen and (max-width: 768px) {
    header .container {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 0 20px !important;
    }

    .menu-toggle {
        display: flex !important; /* Mobile par 3-lines visible */
        z-index: 1002;
    }

    /* Burger transforms to Cross 'X' on Active */
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Sliding Drawer Navigation setup */
    .nav-menu-wrapper {
        position: fixed;
        top: 100px;
        left: -100%; /* Initially hidden off-screen */
        flex-direction: column;
        background: #071A2F;
        width: 100%;
        height: auto;
        padding: 35px 0;
        gap: 25px;
        text-align: center;
        transition: 0.4s ease-in-out;
        border-bottom: 2px solid rgba(0, 212, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    }

    /* Pull drawer into view when active */
    .nav-menu-wrapper.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column !important;
        gap: 20px !important;
        display: flex !important;
    }

    .nav-auth {
        flex-direction: row !important;
        justify-content: center !important;
        width: 100%;
        gap: 15px;
    }

    /* FOOTER MOBILE FIXES */
    .footer .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 35px;
    }

    .footer-brand-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-group {
        justify-content: center;
        width: 100%;
    }

    .footer-links, .contact-info-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .contact-info-list li {
        justify-content: center !important;
        width: 100%;
    }

    .social-icons {
        justify-content: center !important;
    }

    /* Founder section: readable, app-like layout for narrow screens. */
    .founder {
        padding: 58px 0 72px;
        background: #071a2f;
    }

    .founder-container {
        gap: 26px;
        padding: 0 18px;
    }

    .founder-image,
    .founder-content {
        width: 100%;
    }

    .founder-image img {
        display: block;
        width: min(100%, 320px);
        margin: 0 auto;
        border-radius: 18px;
    }

    .founder-content {
        text-align: left;
        padding: 24px 20px;
        border: 1px solid rgba(0, 212, 255, 0.2);
        border-radius: 18px;
        background: rgba(12, 39, 66, 0.92);
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.24);
        box-sizing: border-box;
    }

    .founder-content .section-tag {
        margin-bottom: 12px;
        padding: 7px 13px;
        font-size: 12px;
    }

    .founder-content h2 {
        color: #ffffff;
        font-size: 31px;
        line-height: 1.18;
        margin: 0 0 8px;
    }

    .founder-content h4 {
        color: #25d8ff;
        font-size: 15px;
        margin: 0 0 18px;
    }

    .founder-content p,
    .info-box p {
        color: #d1e0ee;
        font-size: 15px;
        line-height: 1.75;
        margin: 0 0 16px;
    }

    .founder-info {
        margin: 24px 0;
    }

    .info-box {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .info-box i {
        color: #22d4ff;
        font-size: 25px;
        line-height: 1.35;
    }

    .info-box h3 {
        color: #ffffff;
        font-size: 19px;
        line-height: 1.3;
        margin: 0 0 5px;
    }

    .info-box p {
        margin: 0;
    }

    .founder-content .btn-blue {
        display: block;
        width: 100%;
        padding: 14px 16px;
        text-align: center;
        box-sizing: border-box;
    }
}
