/* 
   RADHE SWITCHGEAR - CSS Styling
   Premium, Minimalist, White/Light Aesthetics with Blue & Orange Accents
*/

:root {
    /* Color Palette matching RS Logo (Blue and Orange Waves) */
    --primary-color: #009edb;    /* Wave Blue */
    --secondary-color: #f8971d;  /* Wave Orange */
    --dark-color: #1a1e24;       /* Slate Charcoal */
    --text-color: #333a42;       /* Slate Grey for copy */
    --text-light: #6b7785;       /* Subtitles */
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: rgba(0, 0, 0, 0.05);
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color), #0077b6);
    --secondary-gradient: linear-gradient(135deg, var(--secondary-color), #d97706);
    --mixed-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gray-gradient: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.25;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

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

.topmargin_30 {
    margin-top: 30px;
}

.text-highlight {
    background: var(--mixed-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 158, 219, 0.2);
}

.btn-primary:hover {
    background-color: #0087bd;
    border-color: #0087bd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 158, 219, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-group {
    display: flex;
    gap: 16px;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */

.top-bar {
    background: rgba(15, 23, 42, 0.32);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: rgba(241, 245, 249, 0.95);
    position: relative;
    z-index: 1001;
}

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

.top-left a, .top-right a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(241, 245, 249, 0.85);
    transition: var(--transition-fast);
}

.top-left a:hover, .top-right a:hover {
    color: var(--primary-color);
}

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

.social-icons a {
    color: rgba(241, 245, 249, 0.85);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: scale(1.15);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px var(--glass-shadow);
    padding: 16px 0;
    transition: var(--transition-smooth);
}

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

.logo-area .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mixed-gradient);
    transition: var(--transition-smooth);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.nav-toggle span {
    width: 100%;
    height: 2.5px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    height: calc(100vh - 120px);
    min-height: 550px;
    background-color: #010b18; /* Rich dark blue theme matching header/nav */
    background-image: url('assets/cargo_logistics_hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    perspective: 1200px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 0.65; /* Blends cleanly with background */
    display: none; /* Disabled in favor of interactive 3D particle canvas */
}

#threejs-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 11, 24, 0.7) 0%, rgba(1, 11, 24, 0.3) 50%, rgba(1, 11, 24, 0.75) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.hero-content {
    max-width: 860px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Hero Badge ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 158, 219, 0.15);
    border: 1px solid rgba(0, 158, 219, 0.4);
    color: #7dd3fc;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    animation: badgeFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@keyframes badgeFade {
    from { opacity: 0; transform: translateY(-20px); filter: blur(5px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ── Hero Title (Premium Metallic Light Sweep Reveal) ── */
.hero-title {
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: 800;
    letter-spacing: 6px;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 35%, var(--secondary-color) 48%, #ffffff 52%, var(--primary-color) 65%, var(--primary-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 35px rgba(0, 158, 219, 0.35));
    animation: titleReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both,
               shimmerSweep 6s linear infinite;
}

@keyframes titleReveal {
    0% { 
        opacity: 0; 
        transform: translateY(50px) scale(0.96); 
        filter: blur(12px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
        filter: blur(0);
    }
}

@keyframes shimmerSweep {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ── Hero Tagline ── */
.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.65rem);
    font-weight: 300;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    animation: taglineFade 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

@keyframes taglineFade {
    from { opacity: 0; transform: translateY(20px); filter: blur(5px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-tagline::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: var(--mixed-gradient);
    border-radius: 2px;
}

/* ── CTA Buttons ── */
.hero-cta-row {
    display: flex;
    gap: 18px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    justify-content: center;
    animation: ctaFade 1s ease 1.1s both;
}

@keyframes ctaFade {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-btn {
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

/* ── Interact Hint ── */
.interact-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: ctaFade 1s ease 1.4s both;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
    animation: pulseDot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
    70%  { box-shadow: 0 0 0 14px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}



.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    50% { top: 16px; opacity: 0.3; }
    100% { top: 8px; opacity: 1; }
}

/* ==========================================================================
   GRIDS
   ========================================================================== */

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

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

/* ==========================================================================
   GOALS & VISION SECTION
   ========================================================================== */

.goals-section {
    position: relative;
    background-color: var(--bg-light);
    margin-top: -60px;
    z-index: 10;
    padding-top: 0;
}

.goal-card, .vision-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 1;
}

.goal-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(-3deg) scale(1.025);
    border-color: rgba(248, 151, 29, 0.45);
    box-shadow: 0 25px 55px rgba(248, 151, 29, 0.12), 0 5px 15px rgba(0, 0, 0, 0.2);
}

.vision-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(3deg) scale(1.025);
    border-color: rgba(0, 158, 219, 0.45);
    box-shadow: 0 25px 55px rgba(0, 158, 219, 0.12), 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 3D Depth translation for content layers */
.goal-card h2, .goal-card p, .goal-card .card-icon,
.vision-card h2, .vision-card p, .vision-card .card-icon {
    transform: translateZ(32px);
}

/* Premium Animated Grid Background Overlay */
.card-grid-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.5s ease;
    animation: gridScroll 16s linear infinite;
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-24px, -24px); }
}

.goal-card:hover .card-grid-bg {
    background-image: 
        linear-gradient(rgba(248, 151, 29, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 151, 29, 0.07) 1px, transparent 1px);
    opacity: 0.85;
}

.vision-card:hover .card-grid-bg {
    background-image: 
        linear-gradient(rgba(0, 158, 219, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 158, 219, 0.07) 1px, transparent 1px);
    opacity: 0.85;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 1;
}

.goal-card:hover .card-glow {
    opacity: 0.06;
    background: radial-gradient(circle at 50% 50%, var(--primary-color) 0%, transparent 70%);
}

.vision-card:hover .card-glow {
    opacity: 0.06;
    background: radial-gradient(circle at 50% 50%, var(--secondary-color) 0%, transparent 70%);
}

.card-icon {
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition-smooth);
    z-index: 2;
}

.goal-card:hover .card-icon {
    transform: translateZ(40px) scale(1.08) rotate(-4deg);
}

.vision-card:hover .card-icon {
    transform: translateZ(40px) scale(1.08) rotate(4deg);
}

.goal-card h2, .vision-card h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    z-index: 2;
}

.goal-card p, .vision-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    z-index: 2;
}

/* ==========================================================================
   WELCOME SECTION
   ========================================================================== */

.welcome-section {
    background-color: var(--bg-color);
    position: relative;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding: 4px 12px;
    background-color: rgba(0, 158, 219, 0.08);
    border-radius: 4px;
}

.welcome-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.lead-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.description-text {
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.welcome-image-area {
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.interactive-3d-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    height: 380px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.interactive-3d-card:hover {
    transform: translateY(-8px) rotateY(6deg) rotateX(4deg);
    box-shadow: 0 30px 60px rgba(0, 158, 219, 0.25);
    border-color: rgba(0, 158, 219, 0.4);
}

.card-mesh-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(var(--primary-color) 1px, transparent 1px),
        radial-gradient(var(--secondary-color) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.15;
    animation: rotate-mesh 60s linear infinite;
    pointer-events: none;
}

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

.card-3d-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.interactive-3d-card:hover .card-3d-text {
    color: #ffffff;
    -webkit-text-stroke: 1px transparent;
    filter: drop-shadow(0 0 15px var(--primary-color));
}

.card-status {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary-color);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* ==========================================================================
   FEATURES SECTION (4 COLUMN)
   ========================================================================== */

.feature-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--dark-color);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.feature-img-wrapper {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    border: 1px solid var(--border-color);
    background-color: #f1f5f9;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-img-wrapper img {
    transform: scale(1.06);
}

/* ==========================================================================
   BRANDS SECTION (MARQUEE)
   ========================================================================== */

.brands-marquee-section {
    background-color: var(--bg-color);
    overflow: hidden;
}

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

.section-header h2 {
    font-size: 2.2rem;
    margin-top: 10px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--mixed-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

.brands-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.brands-marquee-container::before,
.brands-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.brands-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

.brand-item {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: var(--transition-fast);
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 25px)); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background-color: var(--dark-color);
    color: #d1d5db;
    padding-top: 80px;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

#footer-interactive-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
}

.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #2d3748;
}

.footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-line {
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 8px;
}

.contact-col p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.contact-col i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.address-text {
    line-height: 1.5;
}

.footer-map-btn {
    margin-top: 16px;
}

.social-col p {
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.footer-social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links a:hover i {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-bottom {
    background-color: rgba(15, 19, 25, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px 0;
    font-size: 0.85rem;
    color: #9ca3af;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.design-text {
    font-family: var(--font-heading);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   ANIMATIONS & SCROLL EFFECT CLASSES
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(8px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    filter: blur(8px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    filter: blur(8px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.show-element {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
    filter: blur(0) !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner header */
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .goals-section {
        margin-top: 0;
        padding-top: 60px;
    }
    
    .goal-card, .vision-card {
        padding: 30px;
    }
    
    .welcome-content {
        order: 2;
    }
    
    .welcome-image-area {
        order: 1;
        margin-bottom: 30px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--glass-bg);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px var(--glass-shadow);
        padding: 20px 24px;
        clip-path: circle(0px at 100% 0%);
        transition: clip-path 0.5s ease-in-out;
    }
    
    .nav-menu.active {
        clip-path: circle(1200px at 100% 0%);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .grid-4-col {
        grid-template-columns: 1fr;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .interactive-3d-card {
        height: 300px;
    }
    
    .card-3d-text {
        font-size: 1.8rem;
    }
}
