/* ==========================================================================
   ACSORE Technologies - Premium Corporate Styles
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Colors - Clean Surfaces */
    --color-navy: #0B1F4D;
    --color-navy-light: #1A3475;
    --color-blue: #1677FF;
    --color-orange: #FF7A00;
    --color-purple: #6C35D9;
    --color-white: #FFFFFF;
    --color-light-bg: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-surface-hover: #F1F5F9;
    --color-text-main: #0F172A;
    --color-text-light: #475569;
    --color-border: #E2E8F0;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.15s ease-in-out;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Borders & Shadows (Restrained) */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.02);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
}

/* --- Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-blue), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(90deg, var(--color-purple), var(--color-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.mt-4 {
    margin-top: 2rem;
}

/* --- Buttons & Labels --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--color-blue);
    color: var(--color-white);
    box-shadow: 0 4px 14px var(--color-blue-glow);
}

.btn-primary:hover {
    background-color: #0F5FD9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-blue-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn-outline:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-blue);
    font-family: var(--font-heading);
}

.btn-text:hover {
    gap: 12px;
}

.label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.label-navy { background: rgba(11, 31, 77, 0.1); color: var(--color-navy); }
.label-orange { background: rgba(255, 122, 0, 0.1); color: var(--color-orange); }
.label-purple { background: rgba(108, 53, 217, 0.1); color: var(--color-purple); }

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-light-bg);
}

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

.dark-section h2, .dark-section h3 {
    color: var(--color-white);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

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

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    mix-blend-mode: multiply; /* Removes white background on light header */
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
    margin-bottom: 16px;
    filter: grayscale(1) invert(1) brightness(2); /* Turns black/blue to white, white bg to black */
    mix-blend-mode: screen; /* Removes the now-black background on dark footer */
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
    background: radial-gradient(circle at top right, rgba(22, 119, 255, 0.05), transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    padding-right: 40px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-main-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin-bottom: 32px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 90%;
}

.hero-labels {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* --- Subtle Orbit (Hero Visual) --- */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 100vw;
}

.innovation-orbit {
    position: relative;
    width: 500px;
    height: 500px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-navy), var(--color-blue));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(22, 119, 255, 0.4);
    z-index: 10;
}

.orbit-center-text {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(11, 31, 77, 0.2);
    border-radius: 50%;
}

.ring-1 { width: 250px; height: 250px; animation: rotate 20s linear infinite; }
.ring-2 { width: 380px; height: 380px; animation: rotate 30s linear infinite reverse; }
.ring-3 { width: 500px; height: 500px; animation: rotate 40s linear infinite; }

.orbit-node {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid transparent;
    cursor: default;
    transition: var(--transition-smooth);
}

.node-academic { border-color: rgba(11, 31, 77, 0.3); color: var(--color-navy); }
.node-software { border-color: rgba(255, 122, 0, 0.3); color: var(--color-orange); }
.node-research { border-color: rgba(108, 53, 217, 0.3); color: var(--color-purple); }

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Ensure nodes counter-rotate to stay upright */
.ring-1 .orbit-node { animation: counter-rotate 20s linear infinite; }
.ring-2 .orbit-node { animation: counter-rotate-reverse 30s linear infinite; }
.ring-3 .orbit-node { animation: counter-rotate 40s linear infinite; }

@keyframes counter-rotate {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(-360deg); }
}

@keyframes counter-rotate-reverse {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .ring-1, .ring-2, .ring-3, .orbit-node {
        animation: none !important;
    }
}


/* --- Three Pillars Section --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

/* Connecting line */
.pillars-grid::before {
    content: '';
    position: absolute;
    top: 40px; /* Align with icons */
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-navy), var(--color-orange), var(--color-purple));
    z-index: 0;
    opacity: 0.3;
}

.pillar-card {
    background: var(--color-surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(22, 119, 255, 0.2);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-navy);
    background: var(--color-surface-hover);
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--color-border);
}

.card-navy .pillar-icon { border-color: rgba(11, 31, 77, 0.2); color: var(--color-navy); }
.card-orange .pillar-icon { border-color: rgba(255, 122, 0, 0.2); color: var(--color-orange); }
.card-purple .pillar-icon { border-color: rgba(108, 53, 217, 0.2); color: var(--color-purple); }

.pillar-title {
    text-align: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.pillar-desc {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.pillar-list {
    text-align: center;
    margin-top: auto;
}

.pillar-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--color-border);
    font-weight: 500;
    font-size: 0.95rem;
}

.pillar-list li:last-child {
    border-bottom: none;
}

/* --- Why ACSORE Section --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why-card {
    background: var(--color-surface);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(22, 119, 255, 0.2);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-light-bg);
    color: var(--color-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
    background: var(--color-navy);
    color: white;
}

.why-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.why-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--color-surface);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(22, 119, 255, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.service-features {
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--color-text-main);
    padding: 6px 0 6px 24px;
    position: relative;
    border-bottom: 1px solid var(--color-light-bg);
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-blue);
    font-size: 0.9rem;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
    margin-top: auto;
}

.service-card:hover .service-link {
    color: var(--color-blue);
    gap: 12px;
}

/* --- Academic Journey Section --- */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    padding-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--color-border);
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.timeline-dot {
    width: 32px;
    height: 32px;
    background: var(--color-white);
    border: 4px solid var(--color-navy);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition-smooth);
    z-index: 2;
}

.timeline-item:hover .timeline-dot,
.timeline-item.active .timeline-dot {
    background: var(--color-blue);
    border-color: var(--color-blue-glow);
    box-shadow: 0 0 0 10px rgba(22, 119, 255, 0.2);
}

.timeline-content {
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content,
.timeline-item.active .timeline-content {
    opacity: 1;
    transform: translateY(-5px);
}

.timeline-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--color-blue);
}

/* --- Research & Innovation Flow --- */
.research-flow {
    background-image: radial-gradient(circle at center, var(--color-navy-light) 0%, var(--color-navy) 100%);
    position: relative;
    overflow: hidden;
}

/* Digital Grid Background */
.research-flow::before, .cta-bg-grid {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.flow-container {
    position: relative;
    width: 100%;
    margin: 60px 0;
    padding: 0 40px;
}

.flow-track {
    position: absolute;
    top: 24px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.flow-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.flow-dot {
    width: 48px;
    height: 48px;
    background: var(--color-navy);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.flow-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.flow-step:hover .flow-dot {
    background: var(--color-blue);
    border-color: var(--color-white);
    transform: scale(1.1);
}

.flow-step:hover .flow-label {
    color: var(--color-white);
}

.flow-final .flow-dot {
    background: var(--color-purple);
    border-color: var(--color-white);
}

.pulse {
    animation: pulseNode 2s infinite;
}

@keyframes pulseNode {
    0% { box-shadow: 0 0 0 0 rgba(108, 53, 217, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(108, 53, 217, 0); }
    100% { box-shadow: 0 0 0 0 rgba(108, 53, 217, 0); }
}

/* --- Technology Universe --- */
.tech-universe {
    background-color: #FAFCFF;
    overflow: hidden;
}

.universe-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    overflow: hidden;
    max-width: 100vw;
}

.universe-center {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-navy);
    box-shadow: 0 15px 35px rgba(11, 31, 77, 0.1);
    z-index: 10;
    position: relative;
}

.universe-center::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 119, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.8; }
}

.tech-node {
    position: absolute;
    background: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    z-index: 5;
    /* Transformation handled by JS */
}

.tech-node:hover {
    box-shadow: 0 12px 30px rgba(22, 119, 255, 0.2);
    border-color: var(--color-blue);
    color: var(--color-blue);
    z-index: 20;
}

/* --- Projects Section --- */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border-radius: var(--radius-full);
    background: transparent;
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-navy);
    color: white;
    border-color: var(--color-navy);
}

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

.project-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.project-image {
    height: 200px;
    width: 100%;
    /* Gradient placeholder is inline in HTML */
}

.project-content {
    padding: 24px;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.project-tags {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.project-link {
    font-weight: 600;
    color: var(--color-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-link:hover {
    gap: 12px;
}

/* --- Why ACSORE --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

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

.why-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-blue-glow);
    line-height: 1;
    margin-bottom: 16px;
}

.why-title {
    font-size: 1.25rem;
}

.why-statement {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--color-navy);
}

/* --- CTA Section --- */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: var(--color-orange);
    margin-bottom: 16px;
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

/* --- Footer --- */
.footer {
    background: #061129;
    color: white;
    padding: 80px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-main {
    color: white;
}

.footer-tagline {
    margin-top: 16px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

.footer-pillars {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--color-blue);
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-labels, .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        transform: scale(0.8);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 40px;
    }
    
    .hero-main-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-labels, .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 450px;
    }
    
    .innovation-orbit {
        transform: scale(0.75);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .universe-container {
        height: 450px;
    }

    .universe-center {
        width: 140px;
        height: 140px;
    }

    .universe-container .tech-node {
        transform: scale(0.9);
    }
}

/* Mobile Menu & Action Styles (Defaults) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-navy);
    cursor: pointer;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    /* Header & Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .d-none-mobile {
        display: none !important;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        transform: translateY(-20px);
    }
    
    .nav.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    /* Layouts */
    .pillars-grid, .services-grid, .projects-grid, .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pillars-grid::before {
        display: none;
    }
    
    /* Hero Orbit Scaling */
    .hero-visual {
        height: 300px;
        margin-left: -24px;
        margin-right: -24px;
        max-width: 100vw;
    }
    
    .innovation-orbit {
        transform: scale(0.5);
    }
    
    /* Academic Timeline */
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding-left: 20px;
    }
    
    .timeline::before {
        left: 36px;
        top: 0; bottom: 0;
        width: 2px;
        height: 100%;
    }
    
    .timeline-item {
        text-align: left;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    .timeline-dot {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 0;
    }
    
    /* CTA Actions */
    .cta-actions {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    /* Research Flow Vertical Mode */
    .flow-container {
        padding: 0;
    }
    
    .flow-track {
        top: 0;
        bottom: 0;
        left: 24px;
        width: 2px;
        height: auto;
    }
    
    .flow-nodes {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        margin-left: 0;
    }
    
    .flow-step {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Tech Universe Scale */
    .universe-container {
        height: 350px;
    }
    
    .universe-center {
        width: 120px;
        height: 120px;
        font-size: 1.2rem;
    }
    
    .universe-container .tech-node {
        transform: scale(0.8);
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo-img {
        margin: 0 auto 16px auto;
    }
    
    .hero-visual {
        height: 250px;
        margin-left: -24px;
        margin-right: -24px;
    }
    
    .innovation-orbit {
        transform: scale(0.4);
    }
    
    .universe-container {
        height: 300px;
        margin-left: -24px;
        margin-right: -24px;
    }
    
    .universe-center {
        width: 100px;
        height: 100px;
        font-size: 1rem;
    }
    
    .universe-container .tech-node {
        transform: scale(0.7);
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
