/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ===== DARK MODE ===== */
.dark-mode {
    background: linear-gradient(135deg, #0a0f2c 0%, #1a1a2e 100%);
    color: #fff;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #0a0f2c, #081b61, #0047ff);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 15px 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo-title {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10001;
}

.header-logo-image {
    height: 45px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.header-logo-image:hover {
    transform: scale(1.05);
}

.header-blog-title {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 230, 255, 0.5);
    margin: 0;
}

.blog-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-title-link:hover {
    color: #00e6ff;
    text-shadow: 0 0 15px rgba(0, 230, 255, 0.8);
}

/* Navigation */
.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.nav-menu li a i {
    font-size: 14px;
    color: #00e6ff;
    transition: all 0.3s ease;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.nav-menu li a:hover::before {
    left: 100%;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 71, 255, 0.4);
    transform: translateY(-2px);
}

.nav-menu li a:hover i {
    color: white;
    transform: scale(1.1);
}

/* Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    z-index: 10002;
    line-height: 1;
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Desktop Hover Effect */
@media (min-width: 769px) {
    .nav-menu li a::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: #00e6ff;
        transition: width 0.3s ease;
    }
    
    .nav-menu li a:hover::after {
        width: 30px;
    }
}

/* ===== HERO SECTION ===== */
.premium-intro {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at 20% 80%, rgba(0, 71, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 230, 255, 0.08) 0%, transparent 50%);
}

.dark-mode .premium-intro {
    background: radial-gradient(circle at 20% 80%, rgba(0, 71, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 230, 255, 0.12) 0%, transparent 50%);
}

.intro-container {
    max-width: 1200px;
    width: 100%;
    z-index: 2;
}

.brand-heading {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    color: #0b5cff;
    padding-top: 90px;
}

.letter { color: #000; }
.expand {
    display: inline-block;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    transition: max-width 0.6s ease, opacity 0.4s ease;
    opacity: 0;
}
.tech { color: #0b5cff; }

/* Founder Highlight */
.founder-highlight {
    background: linear-gradient(135deg, rgba(0, 71, 255, 0.1), rgba(0, 230, 255, 0.1));
    border: 1px solid rgba(0, 71, 255, 0.3);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.founder-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 71, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.founder-highlight:hover::before { left: 100%; }

.founder-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.dark-mode .founder-text { color: #e0e0e0; }
.highlight { color: #0047ff; font-weight: 600; }
.dark-mode .highlight { color: #00e6ff; }
.location { color: #b8860b; font-weight: 500; }
.dark-mode .location { color: #ffd700; }

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.mission-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 71, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-mode .mission-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0047ff, #00e6ff);
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 71, 255, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.mission-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0047ff;
}
.dark-mode .mission-title { color: #00e6ff; }
.mission-text {
    color: #666;
    line-height: 1.6;
}
.dark-mode .mission-text { color: #ccc; }

/* ===== STORIES SECTION ===== */
.stories-container {
    position: relative;
    width: 100%;
    max-width: 80vw;
    height: 512px;
    overflow: hidden;
    margin: 0 auto;
}

.story-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.story-card.active {
    opacity: 1;
    transform: translateX(0);
}

.story-card.prev {
    transform: translateX(-100%);
}

.story-img {
    width: 100%;
    height: 100%;
    background: #000;
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

/* ===== UNITS SLIDER ===== */
.units-container {
    max-width: 1200px;
    margin: 0 auto;
}

.units-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #0047ff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.units-stage-wrapper {
    width: 100%;
    min-height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

.units-grid {
    width: 100%;
    max-width: 1200px;
    min-height: 320px;
    position: relative;
}

.unit-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.35;
    filter: blur(4px);
    transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
    border-radius: 18px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #222;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.unit-card.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: blur(0);
    z-index: 4;
}

.unit-card.left {
    transform: translate(calc(-50% - 240px), -50%) scale(0.8);
    z-index: 3;
    opacity: 0.7;
    filter: blur(1px);
}

.unit-card.right {
    transform: translate(calc(-50% + 240px), -50%) scale(0.8);
    z-index: 3;
    opacity: 0.7;
    filter: blur(1px);
}

.unit-card.left2 {
    transform: translate(calc(-50% - 400px), -50%) scale(0.6);
    z-index: 2;
}

.unit-card.right2 {
    transform: translate(calc(-50% + 400px), -50%) scale(0.6);
    z-index: 2;
}

.unit-card.off {
    opacity: 0;
    pointer-events: none;
}

.unit-link {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 5;
}

.unit-thumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.unit-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333;
    opacity: 0.45;
    transition: 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.unit-thumb.active {
    opacity: 1;
    border-color: #fff;
}


/* ===== CONTACT SECTION ===== */
.contacts {
    padding: 6px 5px;
    background: rgba(10, 15, 44, 0.9);
    backdrop-filter: blur(10px);
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.contact-title {
    color: #999;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-details h3 { color: #666; margin: 0 0 5px; }
.contact-details p { color: #666; margin: 0; font-size: 14px; }
.contact-details a { color: #667eea; text-decoration: none; font-weight: 500; }

.dark-mode .contact-title,
.dark-mode .contact-details h3 { color: #00e6ff !important; }
.dark-mode .contact-subtitle,
.dark-mode .contact-details p { color: #e0e0e0 !important; }
.dark-mode .contact-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.dark-mode .contact-details a { color: #00e6ff !important; }

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #0a0f2c, #081b61, #0047ff);
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 14px;
    color: #00e6ff;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #00e6ff;
}

.separator { color: rgba(255, 255, 255, 0.3); user-select: none; }

.footer-info {
    text-align: center;
    margin-bottom: 25px;
}

.footer-info p {
    margin: 12px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-info p i { color: #00e6ff; width: 20px; }
.footer-info strong { color: #00e6ff; font-weight: 600; }

.gstin {
    background: rgba(0, 230, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid rgba(0, 230, 255, 0.2);
}

.founded {
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 15px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 230, 255, 0.4);
}

.social-icon:nth-child(1):hover { background: #1DA1F2; }
.social-icon:nth-child(2):hover { background: #333; }
.social-icon:nth-child(3):hover { background: #0077B5; }
.social-icon:nth-child(4):hover { background: #FF0000; }
.social-icon:nth-child(5):hover { background: #E4405F; }

/* ===== DARK MODE BUTTON ===== */
.dark-mode-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 50px;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.dark-mode .dark-mode-btn {
    background: #333;
    border-color: #555;
    color: white;
}

.moon { display: none; }
.dark-mode .sun { display: none; }
.dark-mode .moon { display: inline; }

/* ===== AI ASSISTANT ===== */
.ai-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 80px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.ai-popup-window {
    position: fixed;
    bottom: 80px;
    right: 40px;
    width: 850px;
    height: 500px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    z-index: 10001;
    display: none;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.ai-popup-window.active { display: flex; animation: popupSlide 0.25s ease; }

.ai-popup-header {
    background: linear-gradient(135deg, #0047ff, #0a0f2c);
    color: #fff;
    padding: 14px 18px;
}

.ai-close-btn {
    position: absolute;
    top: 15px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.ai-message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 85%;
    animation: fadeIn 0.3s;
}

.ai-message.bot {
    background: rgba(0, 71, 255, 0.15);
    margin-right: auto;
    border-bottom-left-radius: 6px;
}

.ai-message.user {
    background: rgba(10, 15, 44, 0.15);
    margin-left: auto;
    border-bottom-right-radius: 6px;
}

.ai-input-container {
    background: rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 10px;
}

.ai-suggestions {
    max-height: 120px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.28);
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.suggestion-chip {
    background: rgba(0, 71, 255, 0.1);
    color: #0047ff;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid rgba(0, 71, 255, 0.3);
}

.ai-input {
    display: flex;
    gap: 8px;
}

.ai-input input {
    flex: 1;
    padding: 10px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.4);
    outline: none;
}

.ai-input button {
    padding: 10px 16px;
    border-radius: 25px;
    background: #0047ff;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* ===== ANIMATIONS ===== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow {
    from { box-shadow: 0 0 10px var(--accent-color, #00bfff); }
    to { box-shadow: 0 0 30px var(--accent-color, #00bfff); }
}
@keyframes pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.8; }
}
@keyframes float {
    0%,100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(180deg); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes popupSlide {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 2s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PAGINATION ===== */
.blog-pager { text-align: center; padding: 20px 0; }
.blog-pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    margin: 10px;
    border-radius: 25px;
    background: rgba(0, 230, 255, 0.08);
    color: #0a0f2c;
    border: 2px solid #0a0f2c;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 150px;
}

.blog-pager a:hover {
    background: #0a0f2c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 15, 44, 0.25);
}

.dark-mode .blog-pager a {
    border-color: #e0e0e0;
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

/* ===== LOADER ===== */
.cool-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.spinner-glow {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top: 4px solid #00bfff;
    animation: spin 1.2s linear infinite, glow 1.6s ease-in-out infinite alternate;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    position: absolute;
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px #00bfff);
    animation: pulse 1.8s ease-in-out infinite;
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.dark-mode .floating-element { opacity: 0.2; }

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 60%; left: 85%; animation-delay: 1s; }
.floating-element:nth-child(3) { top: 80%; left: 15%; animation-delay: 2s; }
.floating-element:nth-child(4) { top: 30%; left: 90%; animation-delay: 3s; }
.floating-element:nth-child(5) { top: 70%; left: 5%; animation-delay: 4s; }

/* ===== MOBILE RESPONSIVE (Consolidated) ===== */
@media (max-width: 768px) {
    /* Header */
    header { padding: 10px 0; }
    .header-wrapper { flex-direction: column; }
    .header-logo-title { width: 100%; justify-content: space-between; }
    .header-logo-image { height: 40px; }
    .header-blog-title { font-size: 1.3rem; }
    .nav-toggle { display: block; }
    
    .navbar {
        width: 100%;
        display: none;
        margin-top: 15px;
        background: rgba(10, 15, 44, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 10px 0;
    }
    .navbar.active { display: block; animation: slideDown 0.3s ease; }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-menu { flex-direction: column; width: 100%; }
    .nav-menu li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-menu li:last-child { border-bottom: none; }
    .nav-menu li a { width: 100%; padding: 14px 20px; border-radius: 0; }
    
    /* Hero */
    .brand-heading { font-size: 20px; padding-top: 90px; }
    
    /* Stories */
    .stories-container { max-width: 95vw; height: 300px; }
    .story-title { font-size: 16px; padding: 10px; }
    
    /* Units */
    .units-title { font-size: 2rem; }
    .unit-card { width: 250px; height: 250px; }
    .unit-card.left { transform: translate(calc(-50% - 190px), -50%) scale(0.75); }
    .unit-card.right { transform: translate(calc(-50% + 190px), -50%) scale(0.75); }
    .unit-card.left2 { transform: translate(calc(-50% - 320px), -50%) scale(0.55); }
    .unit-card.right2 { transform: translate(calc(-50% + 320px), -50%) scale(0.55); }
    
    /* Contact */
    .contact-container { display: block; }
    
    /* Footer */
    footer { padding: 40px 0 25px; }
    .footer-links { gap: 8px; }
    .footer-links a { font-size: 13px; padding: 8px 12px; background: rgba(255,255,255,0.05); border-radius: 25px; }
    .separator { display: none; }
    .footer-social { gap: 12px; }
    .social-icon { width: 40px; height: 40px; font-size: 18px; }
    
    /* AI */
    .ai-popup-window { width: 90vw; left: 5vw; right: 5vw; height: 75vh; }
    .ai-suggestions { max-height: 100px; }
    
    /* Related Posts */
    .related-posts-grid { grid-template-columns: 1fr; }
    
    /* Comments */
    .comment-form, .comments { padding: 15px; }
}

@media (max-width: 750px) {
    .units-title { font-size: 1.8rem; }
    .units-stage-wrapper { min-height: 150px; }
    .unit-card { width: 160px; height: 160px; transform: translate(-50%, -50%) scale(0.5); }
    .unit-card.left { transform: translate(calc(-50% - 150px), -50%) scale(0.65); }
    .unit-card.right { transform: translate(calc(-50% + 150px), -50%) scale(0.65); }
    .unit-card.left2,
    .unit-card.right2 { transform: translate(-50%, -50%) scale(0.4); opacity: 0.2; filter: blur(2px); }
    .unit-link { padding: 6px 12px; font-size: 0.8rem; }
    .unit-thumb { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .header-logo-image { height: 35px; }
    .header-blog-title { font-size: 1.1rem; }
    .nav-toggle { font-size: 1.5rem; }
    
    footer { padding: 35px 0 20px; }
    .footer-links { flex-direction: column; }
    .footer-links a { width: 100%; justify-content: center; }
    .footer-info p { font-size: 13px; }
    .copyright { font-size: 14px; }
    .gstin { width: 100%; }
    .footer-social { flex-wrap: wrap; }
    .social-icon { width: 45px; height: 45px; }
}

@media (max-width: 400px) {
    .unit-card { width: 160px; height: 160px; }
    .unit-card.left { transform: translate(calc(-50% - 130px), -50%) scale(0.6); }
    .unit-card.right { transform: translate(calc(-50% + 130px), -50%) scale(0.6); }
    .unit-card.left2,
    .unit-card.right2 { transform: translate(-50%, -50%) scale(0.35); }
}

/* ===== UTILITY CLASSES ===== */
header.header-hidden { transform: translateY(-100%); }
.dark-mode header { background: linear-gradient(135deg, #0a0f2c, #081b61, #0047ff); }
.dark-mode footer { background: linear-gradient(135deg, #0a0f2c, #081b61, #0047ff); }
.dark-mode .mission-card:hover { border-color: rgba(0, 230, 255, 0.5); }
.dark-mode .read-more { border-color: #e0e0e0; background: rgba(255,255,255,0.1); color: #e0e0e0; }
.dark-mode .read-more:hover { background: #e0e0e0; color: #0a0f2c; }

/* ===== PRINT STYLES ===== */
@media print {
    header, footer, .nav-toggle, .navbar, .ai-floating-btn, .dark-mode-btn {
        display: none;
    }
    body { background: white; color: black; }
}