/* =========================================
   1. BRAND COLOR PALETTE
========================================= */
:root {
    --navy: #0B2447;        /* Deep Navy Blue */
    --gold: #D4AF37;        /* Royal Gold */
    --orange: #FF8C00;      /* Tech Yellow / Soft Orange */
    --white: #FFFFFF;       /* White */
    --cream: #F2E8C9;       /* Light Cream */
    --red: #FF0000;       /* red  */
    

    /* Gradients */
    --navy-gradient: linear-gradient(135deg, #051020 0%, #0B2447 100%);
    --orange-gradient: linear-gradient(135deg, #FF8C00 0%, #FF4500 100%);
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(11, 36, 71, 0.08);
}

/* =========================================
   2. TOP NOTIFICATION BAR
========================================= */
.top-bar {
    background-color: var(--gold);
    color: var(--navy);
    height: 30px;
    width: 100%;
    position: fixed; top: 0; left: 0; z-index: 1002;
    display: flex; justify-content: center; align-items: center;
    font-size: 12px; font-family: var(--font-heading); font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.top-bar a { color: var(--red); text-decoration: underline; margin-left: 5px; font-weight: 900; }
.top-bar a:hover { color: var(--navy); text-decoration: none; }

/* =========================================
   3. GLOBAL SETTINGS
========================================= */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    margin: 0; padding: 0; color: #333; line-height: 1.6;
    background-color: var(--white);
    padding-top: 110px; /* 30px TopBar + 80px Header */
}
h1, h2, h3, h4 {
    font-family: var(--font-heading); color: var(--navy);
    font-weight: 700; text-transform: uppercase; margin-top: 0;
}
p { margin-bottom: 1.5rem; font-size: 16px; color: #444; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   4. HEADER (Sandwich Style)
========================================= */
header {
    background: rgba(11, 36, 71, 0.95); backdrop-filter: blur(10px);
    padding: 0 30px; display: flex; align-items: center; justify-content: flex-start;
    gap: 40px; position: fixed; top: 30px; left: 0;
    width: 100%; height: 80px; z-index: 1000;
    border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.logo-text { color: var(--white); font-size: 24px; font-family: var(--font-heading); font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.logo-sub { color: var(--gold); font-size: 10px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; display: block; }

nav { display: flex; align-items: center; margin-left: 0; }
nav a {
    color: rgba(255,255,255,0.9); text-decoration: none;
    margin-right: 25px; font-size: 14px; font-weight: 500;
    text-transform: uppercase; transition: all 0.3s ease; white-space: nowrap;
}
nav a:hover { color: var(--gold); }
.nav-cta {
    background: var(--white); color: var(--navy) !important;
    padding: 10px 20px; border-radius: 30px; font-weight: 700 !important; font-size: 13px;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; transform: scale(1.05); }

/* =========================================
   5. HERO SECTION
========================================= */
.hero {
    background: linear-gradient(rgba(11, 36, 71, 0.85), rgba(11, 36, 71, 0.7)), url('https://images.unsplash.com/photo-1509062522246-3755977927d7?q=80&w=1600&auto=format&fit=crop');
    background-size: cover; background-position: center;
    min-height: 85vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    color: var(--white); padding: 20px;
}
.hero h1 { color: var(--white); font-size: 48px; margin-bottom: 15px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.sub-hero { font-size: 20px; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.hero-desc { max-width: 700px; font-size: 18px; font-weight: 400; opacity: 0.95; color: var(--white); margin-bottom: 40px; }
.btn-primary {
    background: var(--orange-gradient); color: var(--white);
    padding: 12px 30px; border: none; font-family: var(--font-heading);
    font-weight: 700; text-decoration: none; border-radius: 5px;
    display: inline-block; transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); text-transform: uppercase;
}
.btn-primary:hover { transform: translateY(-3px); background: var(--navy); color: var(--gold); }

/* =========================================
   6. COMMON SECTION STYLES
========================================= */
.about-section { padding: 80px 10%; background-color: var(--white); display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; }
.about-image { flex: 1; }
.about-image img { border-radius: 10px; border: 3px solid var(--gold); box-shadow: 15px 15px 0px var(--navy); }
.highlight-text { color: var(--orange); font-size: 14px; letter-spacing: 1px; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 10px; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding-left: 25px; position: relative; margin-bottom: 10px; font-weight: 500; color: var(--navy); }
.feature-list li::before { content: '✔'; color: var(--orange); position: absolute; left: 0; font-weight: bold; }

/* Philosophy Strip (Home Page) */
.philosophy-strip { background-color: var(--cream); padding: 60px 20px; text-align: center; border-bottom: 5px solid var(--navy); }
.philosophy-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.phil-card {
    background: var(--white); padding: 25px 20px; border-top: 5px solid var(--navy);
    width: 200px; border-radius: 5px; box-shadow: var(--shadow-soft); transition: all 0.3s ease;
}
.phil-card:hover { transform: translateY(-5px); border-top-color: var(--orange); }
.phil-word { color: var(--navy); font-weight: 800; display: block; margin-bottom: 5px; font-size: 18px; }
.phil-card small { color: #555; font-weight: 500; }

/* =========================================
   7. PHILOSOPHY PAGE STYLES (3D CARDS)
========================================= */
.process-section { 
    padding: 100px 5%; 
    background: linear-gradient(to bottom, var(--cream), #fff); 
}

.process-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.process-step {
    background: var(--white); 
    padding: 30px 20px; 
    border-radius: 15px; 
    position: relative;
    display: flex; 
    flex-direction: column; 
    align-items: center;
    text-align: center;
    border-bottom: 5px solid var(--navy); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    overflow: hidden;
    z-index: 1;
}

.process-step:hover { 
    transform: translateY(-15px); 
    border-bottom-color: var(--orange); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute; 
    top: -15px; 
    right: -10px; 
    font-size: 100px; 
    font-weight: 900; 
    color: rgba(11, 36, 71, 0.03); 
    font-family: var(--font-heading);
    z-index: -1;
    transition: 0.4s;
}

.process-step:hover .step-number {
    color: rgba(255, 140, 0, 0.1); 
    transform: scale(1.1) rotate(-10deg); 
}

.process-step h3 { 
    margin: 15px 0 10px 0; 
    color: var(--navy); 
    font-size: 20px;
    letter-spacing: 1px;
}

.process-step p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.process-step h3::before {
    display: block;
    font-size: 40px;
    margin-bottom: 10px;
}

/* =========================================
   8. WHY CHOOSE US
========================================= */
.why-section { background: var(--navy-gradient); padding: 80px 20px; text-align: center; color: var(--white); border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }
.why-grid { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.why-card {
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 20px; width: 200px; border-radius: 12px; transition: 0.3s ease; backdrop-filter: blur(5px);
}
.why-card:hover { background: var(--white); transform: translateY(-10px); }
.why-card:hover h4, .why-card:hover p { color: var(--navy); }
.why-card .icon { font-size: 30px; display: block; margin-bottom: 10px; }
.why-card h4 { color: var(--gold); font-size: 16px; margin-bottom: 5px; }
.why-card p { color: #ddd; font-size: 13px; margin: 0; line-height: 1.4; }

/* =========================================
   9. LABS PAGE STYLES
========================================= */
.lab-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.lab-card {
    flex: 1; min-width: 300px; background: #fff; padding: 30px; border-radius: 10px;
    border-bottom: 5px solid var(--orange); box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.3s;
}
.lab-card:hover { transform: translateY(-5px); border-bottom-color: var(--navy); }
.lab-card h3 { color: var(--navy); margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.lab-card ul { padding-left: 20px; color: #555; }

.benefits-container { display: flex; flex-wrap: wrap; gap: 40px; background: var(--navy); color: var(--white); padding: 80px 10%; border-top: 4px solid var(--gold); }
.benefit-box { flex: 1; min-width: 300px; }
.benefit-box h3 { color: var(--gold); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; }
.check-list { list-style: none; padding: 0; }
.check-list li { margin-bottom: 15px; position: relative; padding-left: 30px; }
.check-list li::before { content: '✔'; color: var(--orange); position: absolute; left: 0; font-weight: bold; }

/* =========================================
   10. ABOUT PAGE STYLES
========================================= */
.mission-vision-section { display: flex; flex-wrap: wrap; padding: 80px 10%; gap: 40px; background-color: var(--white); }
.mv-box {
    flex: 1; min-width: 300px; padding: 30px; border-left: 5px solid var(--orange);
    background: #fafafa; box-shadow: var(--shadow-soft); border-radius: 0 10px 10px 0;
}
.mv-box h3 { color: var(--navy); margin-bottom: 15px; }
.mv-box ul { padding-left: 20px; }
.mv-box li { margin-bottom: 10px; color: #555; }
.philosophy-list { list-style: none; padding: 0; }
.philosophy-list li {
    background: var(--cream); margin-bottom: 10px; padding: 15px;
    border-radius: 5px; border-left: 4px solid var(--navy); font-weight: 500;
}
.philosophy-list strong { color: var(--navy); font-size: 18px; }

/* =========================================
   11. CONTACT PAGE STYLES
========================================= */
.contact-container { display: flex; padding: 80px 10%; gap: 50px; flex-wrap: wrap; background: #fff; }
.contact-info { flex: 1; min-width: 300px; }
.info-item { margin-bottom: 25px; }
.info-item h4 { color: var(--orange); margin-bottom: 5px; font-size: 16px; }
.info-item p { margin: 0; font-size: 15px; }
.info-item a { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-form-box {
    flex: 1; min-width: 300px; background: #fafafa; padding: 40px;
    border-radius: 10px; border: 1px solid #eee; border-top: 5px solid var(--navy); box-shadow: var(--shadow-soft);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: var(--font-body); font-size: 14px;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--orange); outline: none; }
.submit-btn {
    width: 100%; background: var(--navy); color: var(--white); padding: 15px;
    border: none; border-radius: 5px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s;
}
.submit-btn:hover { background: var(--orange); }

/* =========================================
   12. CHAIRMAN SECTION
========================================= */
.chairman-section { background: var(--navy); color: var(--white); padding: 80px 20px; text-align: center; border-top: 4px solid var(--gold); }
.quote-box { background: rgba(255, 255, 255, 0.05); padding: 30px; border-left: 5px solid var(--orange); margin: 30px auto; max-width: 800px; font-style: italic; font-size: 18px; }
.gold-text { color: var(--gold); font-size: 32px; }

/* =========================================
   13. HIGH PROFESSIONAL FOOTER (PREMIUM)
========================================= */
.interactive-footer {
    background: radial-gradient(circle at 90% 10%, #0e2a52, #020812); /* Deep Gradient */
    color: #e0e0e0; 
    border-top: 4px solid var(--gold); 
    padding-top: 80px; 
    font-size: 14px; 
    position: relative; 
    overflow: hidden;
}

.interactive-footer::before {
    content: ''; 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png'); 
    opacity: 0.03; pointer-events: none;
}

.footer-container { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    gap: 40px; 
    position: relative; 
    z-index: 2; 
}

.footer-col { flex: 1; min-width: 250px; margin-bottom: 20px; }

.footer-col h3 {
    color: var(--white); font-family: var(--font-heading); font-size: 18px; font-weight: 700;
    margin-bottom: 25px; letter-spacing: 1px; position: relative; display: inline-block;
}

.footer-col h3::after {
    content: ''; position: absolute; left: 0; bottom: -8px; width: 30px; height: 3px; background: var(--gold); transition: width 0.3s ease;
}
.footer-col:hover h3::after { width: 100%; }

.footer-desc { color: #aab6c7; line-height: 1.8; margin-bottom: 25px; }

/* Footer Links */
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.03); padding-bottom: 10px; }
.footer-links a { color: #ccc; text-decoration: none; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; align-items: center; }
.footer-links a::before { content: '›'; margin-right: 8px; color: var(--orange); font-weight: bold; font-size: 18px; line-height: 1; transition: 0.3s; }
.footer-links a:hover { color: var(--gold); padding-left: 10px; }

/* Contact & Social */
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 20px; display: flex; align-items: flex-start; gap: 15px; color: #aab6c7; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 500; transition: 0.3s; }
.contact-list a:hover { color: var(--gold); text-decoration: underline; }

.newsletter-form { position: relative; margin-top: 20px; }
.newsletter-form input {
    width: 100%; padding: 15px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px; color: #fff; outline: none; transition: 0.3s;
}
.newsletter-form input:focus { background: rgba(255, 255, 255, 0.1); border-color: var(--gold); }
.newsletter-form button {
    margin-top: 10px; width: 100%; background: var(--gold); color: var(--navy); border: none; padding: 12px;
    border-radius: 5px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: 0.3s;
}
.newsletter-form button:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; font-size: 14px; transition: 0.3s;
}
.social-icon:hover { background: var(--orange); border-color: var(--orange); color: white; transform: rotate(360deg); }

.footer-bottom {
    background: #000; text-align: center; padding: 25px 20px; margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: #666; letter-spacing: 0.5px;
}

/* =========================================
   14. MOBILE & RESPONSIVE RULES (FINAL UPDATED)
========================================= */
@media (max-width: 768px) {
    
    /* --- Header & Top Bar --- */
    header { 
        justify-content: space-between; 
        gap: 0; 
        padding: 0 15px; 
    }

    .hamburger { 
        display: block; 
        cursor: pointer; 
        
        /* 3-Lines shifted 30px Left */
        margin-right: 30px; 
    }
    
    .bar { 
        display: block; width: 25px; height: 3px; margin: 5px auto; 
        background-color: var(--white); transition: all 0.3s; 
    }

    /* Top Bar Height Adjustment (Text Wrap ke liye) */
    .top-bar { 
        height: 40px; 
        font-size: 10px; 
        padding: 0 5px; 
        line-height: 1.2; 
        text-align: center; 
        white-space: normal; 
    }

    /* Header ko Top Bar ke neeche push karein */
    header { top: 40px; }

    /* --- Navigation Menu --- */
    nav {
        position: fixed; left: -100%; 
        /* TopBar (40px) + Header (80px) = 120px start */
        top: 120px; 
        flex-direction: column; 
        background-color: var(--navy); 
        width: 100%; 
        padding-bottom: 20px; 
        margin-left: 0;
        border-top: 1px solid rgba(255,255,255,0.1); 
        transition: 0.4s; 
        height: calc(100vh - 120px); 
        overflow-y: auto;
    }
    
    nav.active { left: 0; }
    
    nav a { 
        margin: 15px 0; 
        margin-right: 0; 
        color: white; 
        font-size: 18px; 
    }

    /* --- Body & Layout --- */
    body { padding-top: 130px; }

    /* --- Hero Section --- */
    .hero h1 { font-size: 32px; line-height: 1.2; }
    .hero-desc { font-size: 16px; padding: 0 10px; }

    /* --- Common Sections --- */
    .about-section { flex-direction: column; padding: 60px 20px; }
    .about-text { text-align: center; }
    .about-image { margin-top: 30px; }
    .about-image img { box-shadow: 10px 10px 0px var(--navy); }
    
    /* Cards Full Width */
    .why-card, .lab-card, .benefit-box, .phil-card { 
        width: 100%; 
        margin-bottom: 20px; 
    }

   /* --- Philosophy Page Fix --- */
    .process-container { 
        display: grid;
        grid-template-columns: 1fr; /* Mobile par 1 column */
        gap: 20px;
    } 

    .process-step { 
        /* ERROR FIX: width: 100% hata diya, ab ye grid ke hisab se adjust hoga */
        width: auto; 
        margin-bottom: 20px; 
    }

    /* --- About Us Page (Mission/Vision) Fix --- */
    .mission-vision-section { padding: 60px 20px; }
    .mv-card { min-width: 100%; padding: 30px 20px; }

    /* --- Contact Page Fix --- */
    .contact-container { flex-direction: column; padding: 60px 20px; }
    .contact-info, .contact-form-box { min-width: 100%; }

    /* --- Footer Mobile Fix --- */
    .interactive-footer { text-align: center; padding-top: 40px; }
    .footer-container { flex-direction: column; gap: 30px; }
    
    /* Center Footer Elements */
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .footer-links a { justify-content: center; }
    .contact-list li { justify-content: center; }
    .social-links { justify-content: center; }
}

/* --- Laptop Adjustments (769px to 1280px) --- */
@media (min-width: 769px) and (max-width: 1280px) {
    header { gap: 20px; }
    nav a { margin-right: 15px; font-size: 13px; }
}

/* =========================================
   15. WHATSAPP FLOATING BUTTON
========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px; /* Right side corner */
    background-color: #25d366; /* Official WhatsApp Green */
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999; /* Sabse upar dikhega */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite; /* Pulse Animation */
}

.whatsapp-float:hover {
    background-color: #1ebe57; /* Darker green on hover */
    transform: scale(1.1); /* Thoda bada hoga */
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Pulse Animation Keyframes */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustment (Thoda chhota aur side mein) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}