/* FILE: assets/css/main.css */

/* ==========================================================================
   1. DESIGN VARIABLES & LIGHT THEME SETTINGS
   ========================================================================== */
:root {
    /* Brand Colors (Light Theme Optimized) */
    --color-navy:       #FFFFFF;   /* Clean white page background */
    --color-steel:      #2E6CA4;   /* Primary steel blue brand accent */
    --color-sky:        #4A9FD4;   /* Sky blue hover/highlights */
    --color-slate:      #F8FAFC;   /* Very light slate - alternate section backgrounds */
    --color-white:      #0F172A;   /* Deep slate/navy for heading text */
    --color-silver:     #475569;   /* Muted slate-grey for body/paragraph text */
    --color-accent:     #2E6CA4;   /* Steel blue for links/actions */
    --color-danger:     #E84545;   /* Danger alert red */
    --color-border:     #E2E8F0;   /* Light grey divider borders */
    
    /* Gradients (Light-themed) */
    --grad-primary:     linear-gradient(135deg, var(--color-steel), var(--color-sky));
    --grad-bg:          radial-gradient(circle at 50% 50%, #FFFFFF 0%, #F8FAFC 100%);
    --grad-mesh:        linear-gradient(120deg, #FFFFFF, #F1F5F9, #F8FAFC);
    
    /* Typography Font Stacks */
    --font-heading:     'Syne', sans-serif;
    --font-body:        'Inter', sans-serif;
    --font-mono:        'JetBrains Mono', monospace;
    
    /* Typography Font Sizes (Scaled up for comfortable reading) */
    --fs-xs:            0.825rem;
    --fs-sm:            0.925rem;
    --fs-base:          1.0625rem;
    --fs-lg:            1.3rem;
    --fs-xl:            1.6rem;
    --fs-2xl:           2.15rem;
    --fs-3xl:           2.9rem;
    --fs-4xl:           3.75rem;
    
    /* Spacings */
    --space-xs:         0.5rem;
    --space-sm:         1rem;
    --space-md:         1.5rem;
    --space-lg:         3rem;
    --space-xl:         5rem;
    
    /* Borders & Shadow Utilities */
    --border-glass:     1px solid rgba(46, 108, 164, 0.12);
    --border-glass-light: 1px solid rgba(46, 108, 164, 0.2);
    --radius-sm:        6px;
    --radius-md:        12px;
    --radius-lg:        20px;
    --shadow-glow:      0 0 15px rgba(46, 108, 164, 0.2);
    --shadow-card:      0 8px 30px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. GLOBAL STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 17px; /* Scaled from 16px for comfortable reading */
}

body {
    background-color: var(--color-navy);
    background-image: var(--grad-mesh);
    color: var(--color-silver);
    font-family: var(--font-body);
    line-height: 1.65; /* Scaled line-height up for extra readability space */
    overflow-x: hidden;
    position: relative;
}

/* Canvas tech background layer (light theme) */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.25;
}

/* Base Headings styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

p {
    color: var(--color-silver);
    font-size: var(--fs-base);
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-sky);
}

ul {
    list-style: none;
}

/* Container limits */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.mt-lg { margin-top: var(--space-lg); }
.mt-sm { margin-top: var(--space-sm); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ==========================================================================
   3. DESIGN PATTERNS: LIGHT GLASSMORPHISM & GRADIENTS
   ========================================================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(46, 108, 164, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 108, 164, 0.08);
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons System */
.btn-primary, .btn-ghost, .btn-danger, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: var(--fs-base);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: var(--space-xs);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: var(--fs-lg);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--fs-sm);
}

.btn-primary {
    background: var(--grad-primary);
    color: #FFFFFF !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(46, 108, 164, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.05);
}

.btn-ghost {
    background: rgba(46, 108, 164, 0.05);
    color: var(--color-white) !important;
    border: 1px solid rgba(46, 108, 164, 0.1);
}

.btn-ghost:hover {
    background: rgba(46, 108, 164, 0.1);
    border-color: var(--color-steel);
}

.btn-outline {
    background: transparent;
    color: var(--color-steel) !important;
    border: 1px solid var(--color-steel);
}

.btn-outline:hover {
    background: var(--color-steel);
    color: #FFFFFF !important;
    box-shadow: var(--shadow-glow);
}

.btn-danger {
    background: var(--color-danger);
    color: #FFFFFF !important;
}

.btn-danger:hover {
    filter: brightness(1.05);
    box-shadow: 0 0 15px rgba(232, 69, 69, 0.2);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   4. NAVIGATION SYSTEM & TOP BAR
   ========================================================================== */
.top-bar {
    background: #0D1B2A;   /* Keep deep navy for anchor */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0;
    font-size: var(--fs-xs);
    position: relative;
    z-index: 100;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 1.5rem;
}

.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #A8BBCC;
}

.top-bar-info a {
    color: #A8BBCC;
}

.top-bar-info a:hover {
    color: #00C2FF;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-social a {
    color: #A8BBCC;
    font-size: var(--fs-sm);
}

.top-bar-social a:hover {
    color: #00C2FF;
}

.admin-login-link {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 1rem;
}

.navbar-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 99;
    transition: var(--transition-smooth);
}

.navbar-header.sticky {
    padding: 0.25rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.nav-hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-steel);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-steel);
}

/* Dropdown styling */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: var(--fs-xs);
    margin-left: 3px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--color-silver);
    font-size: var(--fs-sm);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: rgba(46, 108, 164, 0.05);
    color: var(--color-steel);
    padding-left: 1.5rem;
}

.nav-btn-verify {
    background: rgba(46, 108, 164, 0.05);
    border: 1px dashed var(--color-steel);
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
}

.nav-btn-verify::after { display: none; }

.nav-btn-verify:hover {
    background: var(--color-steel);
    color: #FFFFFF !important;
}

.nav-btn-cta {
    background: var(--grad-primary);
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-sm);
}

.nav-btn-cta::after { display: none; }

.nav-btn-cta:hover {
    box-shadow: var(--shadow-glow);
    filter: brightness(1.05);
}

/* Mobile responsive menu */
@media (max-width: 992px) {
    .top-bar-info { display: none; }
    
    .nav-hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #FFFFFF;
        border-left: 1px solid var(--color-border);
        padding: 80px 2rem 2rem;
        z-index: 100;
        transition: right var(--transition-smooth);
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0,0,0,0.05);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }
    
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    
    .nav-hamburger.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-hamburger.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ==========================================================================
   5. HERO SECTION & MARQUEE TICKER
   ========================================================================== */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: var(--space-lg) 0;
    position: relative;
    overflow: hidden;
}

/* Hero Background Slide Images */
.hero-bg-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 0.15; /* Maintain high text contrast */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.hero-slider {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    align-items: center;
}

.hero-slide {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 992px) {
    .hero-slide {
        align-items: center;
    }
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

/* Slider Indicators styling */
.slider-indicators {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    z-index: 5;
}

.slider-indicators .indicator {
    width: 24px;
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-indicators .indicator:hover {
    background: var(--color-sky);
}

.slider-indicators .indicator.active {
    background: var(--grad-primary);
    width: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(46, 108, 164, 0.08);
    border: 1px solid rgba(46, 108, 164, 0.15);
    color: var(--color-steel);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: var(--fs-xs);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-steel);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--color-steel);
}

.hero-headline {
    font-size: var(--fs-4xl);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-desc {
    font-size: var(--fs-lg);
    color: var(--color-silver);
    max-width: 550px;
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--color-steel);
}

.stat-label {
    font-size: var(--fs-xs);
    color: var(--color-silver);
}

.stat-divider {
    width: 1px;
    height: 35px;
    background: var(--color-border);
}

/* Hero Globe visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-globe-container {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(46, 108, 164, 0.08) 0%, transparent 70%);
    position: relative;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-sphere {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px dashed rgba(46, 108, 164, 0.25);
    position: relative;
    animation: rotateGlobe 25s linear infinite;
}

.globe-sphere::before, .globe-sphere::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 1px solid rgba(46, 108, 164, 0.15);
}

.globe-sphere::before {
    transform: rotateX(75deg);
}

.globe-sphere::after {
    transform: rotateY(75deg);
}

.globe-core {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--grad-primary);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(46, 108, 164, 0.25);
}

@keyframes rotateGlobe {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Seamless Marquee Ticker */
.ticker-wrap {
    background: var(--color-slate);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    padding: 1rem 0;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.ticker span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-base);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 2rem;
}

.ticker .sep {
    color: var(--color-steel);
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   6. SECTIONS & GENERAL GRIDS
   ========================================================================== */
.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-dark {
    background: var(--color-slate);
}

.section-circuit {
    position: relative;
}

/* Background grid nodes style (light theme) */
.section-circuit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(46, 108, 164, 0.06) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: -1;
}

.section-label {
    color: var(--color-steel);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xs);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background-color: var(--color-steel);
}

.section-title {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: var(--fs-lg);
    color: var(--color-silver);
    max-width: 800px;
    margin-bottom: var(--space-lg);
}

/* General Grids */
.feature-grid, .services-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

/* Feature & Service Cards */
.feature-card, .service-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.feature-card:hover, .service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46, 108, 164, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.feature-icon, .service-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 108, 164, 0.05);
    border: 1px solid rgba(46, 108, 164, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-steel);
    margin-bottom: var(--space-sm);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--color-steel);
    color: #FFFFFF;
}

.service-arrow {
    display: inline-block;
    margin-top: 1rem;
    font-size: var(--fs-lg);
    color: var(--color-steel);
    transition: var(--transition-fast);
}

.service-card:hover .service-arrow {
    transform: translateX(8px);
}

/* CTA Banner (Light gradient design) */
.cta-banner {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid rgba(46, 108, 164, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md);
    margin: var(--space-xl) auto;
    max-width: 1100px;
    box-shadow: var(--shadow-card);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

@media (max-width: 768px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Team Grid */
.team-card {
    text-align: center;
    padding: var(--space-md);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 108, 164, 0.3);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: var(--space-sm);
    box-shadow: 0 4px 15px rgba(46, 108, 164, 0.15);
}

.team-role {
    font-size: var(--fs-sm);
    color: var(--color-steel);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-exp {
    font-size: var(--fs-xs);
    color: var(--color-silver);
}

/* ==========================================================================
   7. FORM CONTROL STYLING
   ========================================================================== */
.form-group {
    margin-bottom: var(--space-md);
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

label {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-steel);
    box-shadow: 0 0 10px rgba(46, 108, 164, 0.1);
}

.input-mono {
    font-family: var(--font-mono) !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   8. PUBLIC PAGES (ABOUT, SERVICES, PORTFOLIO, BLOG, CAREERS, CONTACT)
   ========================================================================== */
.inner-hero {
    background: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--color-border);
    padding: 5rem 0 3rem;
    text-align: center;
}

.inner-hero h1 {
    font-size: var(--fs-4xl);
}

.inner-hero p {
    font-size: var(--fs-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio grid card */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-md);
}

.portfolio-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46, 108, 164, 0.3);
}

.portfolio-img-box {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-img-box i {
    font-size: 48px;
    color: var(--color-steel);
    opacity: 0.7;
}

.portfolio-tags {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 0.5rem;
}

.portfolio-tag {
    background: #FFFFFF;
    color: var(--color-steel);
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: 1px solid var(--color-border);
}

.portfolio-info {
    padding: var(--space-md);
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: var(--space-lg);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-card-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(46, 108, 164, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-steel);
    font-size: 20px;
}

.contact-info-details h3 {
    font-size: var(--fs-lg);
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   9. STUDENT CERTIFICATE VERIFICATION PORTAL STYLING
   ========================================================================== */
.verify-page {
    min-height: calc(100vh - 250px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
}

.verify-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.verify-hero h1 {
    font-size: var(--fs-4xl);
}

.verify-container {
    max-width: 760px;
}

.verify-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.verify-icon {
    font-size: 48px;
    color: var(--color-steel);
    margin-bottom: var(--space-sm);
}

.verify-form {
    text-align: left;
    margin-top: 2rem;
}

.verify-form small {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-silver);
    font-size: var(--fs-xs);
}

/* Certificate Display Styling (Authentic Card Layout) */
.verify-result {
    margin-top: 3rem;
}

.result-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.result-valid {
    border-color: rgba(46, 204, 113, 0.3);
}

.result-invalid {
    border-color: rgba(232, 69, 69, 0.3);
    background: rgba(232, 69, 69, 0.02);
    text-align: center;
}

.result-status {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.status-icon {
    font-size: 32px;
}

.certificate-display {
    background: #FCFBF7;   /* Authentic off-white parchment feel */
    border: 4px double rgba(46, 108, 164, 0.3);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

/* Tech watermark inside certificate */
.certificate-display::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: url('/assets/images/logo.png') no-repeat center/contain;
    opacity: 0.04;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.cert-header h3 {
    font-size: var(--fs-lg);
    margin-bottom: 0.25rem;
    color: var(--color-white);
}

.cert-header p {
    font-size: var(--fs-xs);
    margin-bottom: 0;
}

.cert-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: 2rem;
    text-align: left;
}

@media (max-width: 576px) {
    .cert-body {
        grid-template-columns: 1fr;
    }
}

.cert-field {
    display: flex;
    flex-direction: column;
}

.cert-field label {
    font-size: var(--fs-xs);
    color: var(--color-silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.cert-field strong {
    font-size: var(--fs-sm);
    color: #1E293B;
}

.cert-field strong.mono {
    font-family: var(--font-mono);
    color: var(--color-steel);
}

.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
    font-size: var(--fs-xs);
    color: var(--color-silver);
}

.cert-seal {
    border: 2px solid rgba(46, 204, 113, 0.5);
    color: #2ecc71;
    font-family: var(--font-heading);
    font-weight: 800;
    padding: 0.25rem 1rem;
    transform: rotate(-5deg);
    border-radius: 4px;
    letter-spacing: 0.1em;
}

.report-section {
    margin-top: 2.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    text-align: left;
}

.report-prompt {
    font-size: var(--fs-sm);
    color: var(--color-silver);
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--color-danger);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.report-form {
    margin-top: 1.5rem;
    background: var(--color-slate);
    border: 1px solid rgba(232, 69, 69, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.report-form h4 {
    color: var(--color-danger);
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
}

.alert-success {
    background: rgba(46, 204, 113, 0.06);
    border: 1px solid rgba(46, 204, 113, 0.2);
    color: #27ae60;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1.5rem;
    font-size: var(--fs-sm);
}

/* ==========================================================================
   10. INTERSECTION OBSERVER ANIMATION REVEALS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   11. FOOTER LAYOUT (Anchor Brand block)
   ========================================================================== */
.footer {
    background: #0D1B2A;   /* Classic professional dark navy anchor */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
    color: #A8BBCC;
}

.footer h4, .footer a {
    color: #FFFFFF;
}

.footer a:hover {
    color: #00C2FF;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    align-self: flex-start;
}

.footer-brand-desc {
    font-size: var(--fs-sm);
    color: #A8BBCC;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social-links a:hover {
    background: #00C2FF;
    color: #0D1B2A;
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.4);
    transform: translateY(-3px);
}

.footer-title {
    font-size: var(--fs-lg);
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-sky);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #A8BBCC;
    font-size: var(--fs-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #00C2FF;
    transform: translateX(5px);
}

.footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: var(--fs-sm);
    color: #A8BBCC;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.address-item i {
    color: #00C2FF;
    margin-top: 3px;
}

.address-item a {
    color: #A8BBCC;
}

.address-item a:hover {
    color: #00C2FF;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 3rem 0 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: var(--fs-xs);
    color: #A8BBCC;
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-heart {
    color: var(--color-danger);
    animation: pulseHeart 1.5s infinite;
}

@keyframes pulseHeart {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   9. RESPONSIVE TYPOGRAPHY & OVERRIDES
   ========================================================================== */
@media (max-width: 992px) {
    :root {
        --fs-3xl: 2.25rem;
        --fs-4xl: 2.75rem;
        --space-xl: 4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-2xl: 1.75rem;
        --fs-3xl: 2rem;
        --fs-4xl: 2.35rem;
        --space-xl: 3.5rem;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .inner-hero {
        padding: 3.5rem 0 2rem;
    }
}

@media (max-width: 576px) {
    :root {
        --fs-xs: 0.75rem;
        --fs-sm: 0.825rem;
        --fs-base: 0.95rem;
        --fs-lg: 1.05rem;
        --fs-xl: 1.2rem;
        --fs-2xl: 1.4rem;
        --fs-3xl: 1.75rem;
        --fs-4xl: 2rem;
        --space-lg: 2rem;
        --space-xl: 2.5rem;
    }
    
    /* Hero CTA button stacking */
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-cta .btn-lg {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Hero Badge sizing protection */
    .hero-badge {
        font-size: 0.725rem;
        padding: 0.25rem 0.65rem;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Responsive Globe size reduction to prevent overflow */
    .globe-sphere {
        width: 200px !important;
        height: 200px !important;
    }
    
    .globe-core {
        width: 50px !important;
        height: 50px !important;
    }
    
    .hero-globe-container {
        max-width: 260px !important;
        margin: 0 auto;
    }
    
    /* Glass card padding inside mobile grids */
    .glass-card {
        padding: 1.5rem 1.25rem !important;
    }
    
    /* Certificate displays */
    .verify-card {
        padding: 2rem 1.25rem !important;
    }
    
    .result-card {
        padding: 1.5rem 1rem !important;
    }
    
    .certificate-display {
        padding: 1.5rem 1rem !important;
    }
    
    .cert-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        text-align: left;
    }
    
    .cert-seal {
        align-self: flex-start;
        transform: rotate(-3deg);
    }
    
    .cert-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }
}

/* ==========================================================================
   INTERNSHIP TECH SHOWCASE & BADGES
   ========================================================================== */
.tech-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.75rem 0 1.25rem;
}

.tech-badge {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: rgba(0, 194, 255, 0.06);
    border: 1px solid rgba(0, 194, 255, 0.15);
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.internship-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.internship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 194, 255, 0.08);
    border-color: rgba(0, 194, 255, 0.3);
}

.internship-card:hover .tech-badge {
    background: rgba(0, 194, 255, 0.12);
    border-color: rgba(0, 194, 255, 0.3);
}

/* Pulse Highlight for Registration Form */
.pulse-highlight {
    animation: formPulse 1.5s ease-in-out 2;
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.3) !important;
}

@keyframes formPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 194, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 194, 255, 0);
    }
}

/* ==========================================================================
   14. POPUP DIALOG / MODAL STYLING
   ========================================================================== */
.demo-modal {
    border: none;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(46, 108, 164, 0.15);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    margin: auto;
    color: var(--color-white);
    outline: none;
}

/* Modal Open Animation */
.demo-modal[open] {
    animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Modal Backdrop */
.demo-modal::backdrop {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Close button styling */
.modal-container {
    position: relative;
    padding: 2.5rem;
}

@media (max-width: 576px) {
    .modal-container {
        padding: 1.5rem 1rem;
    }
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(46, 108, 164, 0.05);
    border: 1px solid rgba(46, 108, 164, 0.1);
    color: var(--color-silver);
    font-size: 1.75rem;
    font-weight: 300;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    line-height: 1;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(232, 69, 69, 0.1);
    border-color: rgba(232, 69, 69, 0.2);
    color: var(--color-danger);
    transform: rotate(90deg);
}

/* Modal body adjustments */
.modal-body select,
.modal-body textarea,
.modal-body input {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    color: var(--color-white);
}

.modal-body select:focus,
.modal-body textarea:focus,
.modal-body input:focus {
    border-color: var(--color-steel);
    box-shadow: 0 0 0 3px rgba(46, 108, 164, 0.15);
    outline: none;
}

@media (max-width: 576px) {
    .modal-close-btn {
        top: 0.5rem;
        right: 0.5rem;
        width: 2rem;
        height: 2rem;
        font-size: 1.5rem;
    }
}
