/* ===================================
   CIRVION TECHNOLOGIES - VSIS-STYLE DESIGN
   Professional Corporate Theme
   =================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ===================================
   CSS CUSTOM PROPERTIES
   =================================== */
/* ===================================
   PRELOADER
   =================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    /* Updated to Black */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    width: 500px;
    /* Even larger */
    max-width: 90%;
    /* Responsive safeguard */
    height: auto;
    animation: pulseLogo 2s infinite ease-in-out;
}

.loading-bar {
    width: 200px;
    /* Slightly wider */
    height: 3px;
    background: #333333;
    /* Darker track for black bg */
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--color-accent);
    animation: loadingBar 1.5s infinite ease-in-out;
}

@keyframes pulseLogo {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes loadingBar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

:root {
    /* VSIS Corporate Color Scheme */
    --color-primary: #001A33;
    /* Deep Navy Blue */
    --color-primary-light: #003366;
    /* Lighter Navy */
    --color-primary-dark: #000F1F;
    /* Very Dark Navy */
    --color-secondary: #0056b3;
    /* Bright Blue for interactions */
    --color-accent: #E31E24;
    /* VSIS Red */

    /* Background Colors */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #F8F9FA;
    /* Light Grey Section Background */
    --color-bg-light: #F8F9FA;
    --color-bg-dark: #111111;
    /* Dark details */
    --color-bg-footer: #0a0d1f;

    /* Text Colors */
    --color-text-primary: #333333;
    --color-text-secondary: #555555;
    --color-text-muted: #999999;
    --color-text-light: #ffffff;

    /* Utility Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* Z-Index */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-4xl) 0;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
    overflow: hidden;
    /* Contain the pseudo-elements */
}

/* Moving distinct background shapes */
.section:not(.section-alt):not(.hero)::before,
.section:not(.section-alt):not(.hero)::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    /* Heavy blur for smooth effect */
    opacity: 0.04;
    /* Very subtle */
    z-index: 0;
    animation: drift 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.section:not(.section-alt):not(.hero)::before {
    background: var(--color-primary);
    top: -100px;
    left: -100px;
}

.section:not(.section-alt):not(.hero)::after {
    background: var(--color-accent);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.section-alt {
    background: var(--color-bg-light);
    /* VSIS alternating grey sections */
}

/* ===================================
   VSIS-STYLE SCROLL ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.scroll-reveal.revealed {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Staggered animation delays for multiple items */
.scroll-reveal:nth-child(1) {
    animation-delay: 0s;
}

.scroll-reveal:nth-child(2) {
    animation-delay: 0.1s;
}

.scroll-reveal:nth-child(3) {
    animation-delay: 0.2s;
}

.scroll-reveal:nth-child(4) {
    animation-delay: 0.3s;
}

.scroll-reveal:nth-child(5) {
    animation-delay: 0.4s;
}

.scroll-reveal:nth-child(6) {
    animation-delay: 0.5s;
}

.section-alt {
    background: var(--color-bg-secondary);
}

/* ===================================
   TOP INFO BAR (VSIS Style)
   =================================== */
.top-bar {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: var(--space-lg);
}

.top-bar-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-social {
    display: flex;
    gap: var(--space-md);
}

.top-bar-social a {
    color: inherit;
    transition: color var(--transition-fast);
}

.top-bar-social a:hover {
    color: var(--color-white);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    /* Overlay on top of hero */
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.1);
    /* Transparent for glass effect */
    backdrop-filter: blur(12px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    padding: 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    height: 80px;
    /* Fixed height for consistency */
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    /* Slightly larger logo */
    width: auto;
    object-fit: contain;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    /* More space between items */
    list-style: none;
}

.navbar-link {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    /* White text for dark hero */
    transition: color var(--transition-base);
    position: relative;
    padding: 10px 0;
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--color-accent);
    /* Red accent on hover */
}

/* SCROLLED STATE (Added for readability on white sections) */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-link {
    color: var(--color-text-primary);
    /* Dark text on scroll */
}

.navbar.scrolled .navbar-link:hover {
    color: var(--color-accent);
}

/* Underline effect for links */
.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform var(--transition-base);
    opacity: 0.6;
}

.navbar-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-top: 3px solid var(--color-primary);
    /* Accent border */
    padding: var(--space-sm) 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
    margin-top: 0;
}

.navbar-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
    padding-left: 30px;
    /* Slight shift on hover */
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-xs);
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-base);
}

/* ===================================
   HERO SECTION (VSIS Style)
   =================================== */
/* ===================================
   HERO SECTION (VSIS Style)
   =================================== */
.hero {
    height: 100vh;
    /* Full viewport height */
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Background moved to .hero-bg-image for blur effect */
    padding-top: 0;
    /* Remove padding since navbar is now overlay */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 26, 51, 0.85) 0%, rgba(0, 26, 51, 0.6) 60%, rgba(0, 10, 20, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    color: var(--color-white);
    max-width: 650px;
    padding: 0 var(--space-md);
    opacity: 0;
    /* Hidden initially */
    transition: opacity 0.5s ease;
}

.hero-animate .hero-content {
    opacity: 1;
    /* Fade in container first */
}

.hero-animate .hero-logo {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: var(--space-lg);
    line-height: 1.15;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-animate .hero-title {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 550px;
}

.hero-animate .hero-description {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-animate .hero-cta {
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

/* ===================================
   BUTTONS (VSIS Style - High End)
   =================================== */
.btn {
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    /* More rectangular */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Smooth spring-like */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    /* For ripple/shine effect */
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.btn-primary:hover {
    background: #c91a20;
    border-color: #c91a20;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.5);
    /* Stronger glow */
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    backdrop-filter: blur(4px);
    /* Glassy touch */
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ===================================
   ABOUT SECTION (High End Glass)
   =================================== */
#about {
    /* Using background-attachment: fixed for smooth parallax transition from hero */
    background: linear-gradient(rgba(0, 10, 20, 0.85), rgba(0, 10, 20, 0.8)), url('assets/server.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    position: relative;
    padding: var(--space-4xl) 0;
    /* Ensure it overrides .section-alt background */
    z-index: 1;
}

#about .section-header {
    margin-bottom: var(--space-lg);
    /* Reduced from 3xl */
    padding-bottom: 0;
    /* Remove padding */
}

#about .section-header::after {
    display: none;
    /* Optional: Remove the underline if it clashes with the close layout, or keep it */
}

#about .section-title,
#about .section-description {
    color: var(--color-white);
}

#about .section-description {
    opacity: 0.9;
}

#about .about-content {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    transform: translateZ(0);
}

#about .about-text {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff !important;
    /* Force pure white */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    /* Stronger shadow for contrast */
}

.about-text strong {
    color: var(--color-white);
    font-weight: 600;
}

/* ===================================
   SECTION HEADERS
   =================================== */
/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    padding-bottom: var(--space-lg);
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Subtle lift */
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin-bottom: var(--space-lg);
}

.about-cta {
    margin-top: var(--space-xl);
}

/* ===================================
   SOLUTIONS/PRODUCTS GRID (VSIS Style)
   =================================== */
.products-grid-image {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: var(--space-lg);
}

.product-card-image {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card-image:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

/* Background image layer */
.product-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow), opacity 0.3s ease;
    z-index: 1;
}

.product-card-image:hover .product-card-bg {
    transform: scale(1.08);
}

/* Hide background image when expanded */
.product-card-image.expanded .product-card-bg {
    opacity: 0;
    pointer-events: none;
}

/* Dark gradient overlay */
.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 30, 60, 0.75), rgba(0, 20, 40, 0.92));
    z-index: 2;
    transition: background var(--transition-base), opacity 0.3s ease;
}

.product-card-image:hover .product-card-overlay {
    background: linear-gradient(to bottom, rgba(0, 30, 60, 0.7), rgba(0, 20, 40, 0.88));
}

/* Hide overlay when expanded */
.product-card-image.expanded .product-card-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Content layer (always visible) */
.product-card-content {
    position: relative;
    z-index: 3;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.product-card-image.expanded .product-card-content {
    min-height: 120px;
    /* Further reduced height for title area */
    justify-content: flex-end;
    /* Align title/button to bottom of header area */
    padding-bottom: 0;
}

.product-card-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    line-height: var(--line-height-tight);
    transition: color 0.3s ease;
}

.product-card-image.expanded .product-card-title {
    color: var(--color-text-primary);
    font-size: var(--font-size-xl);
    /* Slightly smaller title when expanded */
    margin-bottom: var(--space-xs);
}

.product-card-subtitle {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-relaxed);
    transition: color 0.3s ease;
}

.product-card-image.expanded .product-card-subtitle {
    display: none;
    /* Hide subtitle when expanded to save space */
}

.btn-read-more {
    align-self: flex-start;
    padding: var(--space-sm) var(--space-xl);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-image.expanded .btn-read-more {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: transparent;
    margin-bottom: var(--space-sm);
}

.product-card-image.expanded .btn-read-more:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-read-more:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Expandable details section */
.product-card-details {
    position: relative;
    z-index: 3;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: var(--color-white);
    transition: all 0.5s ease-out;
    /* Slower smooth transition */
    text-align: left;
    /* Ensure text is left-aligned */
}

.product-card-image.expanded .product-card-details {
    max-height: 2000px;
    /* Increased max-height to prevent clipping */
    opacity: 1;
    padding: var(--space-md);
    /* Reduced padding for more space */
    padding-top: var(--space-sm);
    padding-bottom: var(--space-xl);
    /* Add extra padding at bottom */
}

/* IMPORTANT: Allow card to grow when expanded */
.product-card-image.expanded {
    overflow: visible !important;
    /* Allow content to flow out if needed, but mainly let height grow */
    height: auto !important;
    z-index: 10;
    /* Ensure it stays above neighbors */
}

/* ===================================
   FEATURES / WHY CHOOSE US
   =================================== */
#why-choose {
    background: linear-gradient(rgba(0, 26, 51, 0.9), rgba(0, 26, 51, 0.9)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    position: relative;
}

#why-choose .section-title,
#why-choose .section-description {
    color: var(--color-white);
}

.features-grid {
    display: grid;
    /* Force 4 columns on desktop, auto-fit on smaller screens handled by media query */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy float */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    /* Significant float */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 1);
    /* Ensure solid white on hover */
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--color-primary);
    /* Add corporate blue color */
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--color-primary);
    /* Add corporate blue color */
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.feature-description {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   PARTNER SLIDER (VSIS Style)
   =================================== */
.partners-slider {
    overflow: hidden;
    padding: var(--space-lg) 0;
    position: relative;
    background: var(--color-white);
    white-space: nowrap;
    /* Ensure buttons are positioned relative to this */
}

/* Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    /* Hidden by default, shown on hover */
}

.partners-slider:hover .slider-nav-btn {
    opacity: 1;
}

.slider-nav-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.partners-track {
    display: inline-block;
    /* animation: scroll 40s linear infinite; REMOVED for JS control */
    will-change: transform;
    /* Optimize for JS animation */
}

/* .partners-track:hover {
    animation-play-state: paused;
} REMOVED */

.partner-logo {
    height: 60px;
    width: auto;
    margin: 0 40px;
    display: inline-block;
    opacity: 1;
    /* Always fully visible */
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: none;
    /* Always colored */
}

.partner-logo:hover {
    opacity: 1;
    filter: none;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   SERVICE OFFERINGS SECTION
   =================================== */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.services-grid .service-card {
    /* 3 columns on desktop: (100% - 2 gaps) / 3 */
    flex: 0 0 calc((100% - (2 * var(--space-lg))) / 3);
    max-width: calc((100% - (2 * var(--space-lg))) / 3);
}

@media (max-width: 992px) {
    .services-grid .service-card {
        /* 2 columns on tablet: (100% - 1 gap) / 2 */
        flex: 0 0 calc((100% - var(--space-lg)) / 2);
        max-width: calc((100% - var(--space-lg)) / 2);
    }
}

@media (max-width: 600px) {
    .services-grid .service-card {
        /* 1 column on mobile */
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.service-card {
    background: var(--color-white);
    padding: var(--space-lg);
    /* Reduced padding */
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    /* Aligned left for a more modern look */
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Subtle starting shadow */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    /* Reduced icon size */
    margin-bottom: var(--space-sm);
    /* Reduced margin */
    color: var(--color-primary);
    display: inline-block;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.5px;
}

.service-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
    /* Pushes content down if needed */
}

.service-microsoft-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    justify-content: center;
}

.microsoft-product {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* ===================================
   SUPPORT OFFERINGS SECTION
   =================================== */
.support-intro {
    max-width: 900px;
    margin: var(--space-xl) auto var(--space-2xl);
    text-align: center;
}

.support-intro p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-lg);
}

.support-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.support-tier {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    overflow: hidden;
    transition: all var(--transition-base);
}

.support-tier.highlighted {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.support-tier:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.support-tier.highlighted:hover {
    transform: scale(1.05) translateY(-5px);
}

.support-tier-header {
    padding: var(--space-lg);
    text-align: center;
}

.support-tier-header.standard {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf3 100%);
}

.support-tier-header.premium {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.support-tier-header.enterprise {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.support-tier-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin: 0;
}

.support-tier-header.standard .support-tier-title {
    color: var(--color-primary);
}

.support-tier-header.premium .support-tier-title,
.support-tier-header.enterprise .support-tier-title {
    color: var(--color-white);
}

.support-tier-features {
    list-style: none;
    padding: var(--space-xl);
}

.support-tier-features li {
    padding: var(--space-sm) 0;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    position: relative;
    padding-left: var(--space-lg);
}

.support-tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.support-coverage {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    margin-bottom: var(--space-xl);
}

.support-coverage-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.coverage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.coverage-tag {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

.support-conclusion {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.support-contact {
    background: var(--color-bg-light);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.support-contact h3 {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.support-contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 600px;
    margin: 0 auto;
}

.support-contact-item {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

.support-contact-item strong {
    color: var(--color-primary);
    margin-right: var(--space-xs);
}

/* ===================================
   WHY CHOOSE US
   =================================== */


.feature-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.feature-description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ===================================
   DIRECTORS SECTION
   =================================== */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.director-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.director-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.director-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--color-gray-100);
}

.director-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.director-content {
    padding: var(--space-xl);
    text-align: center;
}

.director-name {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.director-title {
    font-size: var(--font-size-base);
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
}

.director-message {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.simple-services-list {
    max-width: 1000px;
    margin: 0 auto;
}

.services-intro {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.service-card {
    flex: 1 1 300px;
    /* Grow, Shrink, Basis */
    background: var(--color-white);
    padding: var(--space-lg);
    /* Reduced padding for more content space */
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    /* Let content dictate height if needed, or stick to flex stretch */
    min-height: 100%;
    width: auto;
    max-width: 400px;
    z-index: 10;
    /* Ensure it sits above background shapes */
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    display: block;
    color: var(--color-text-primary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    font-weight: 700;
    line-height: 1.3;
}

.service-description {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
}

.services-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--color-bg-dark);
    color: var(--color-white);
}

.contact .section-title {
    color: var(--color-white);
}

.contact .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    color: var(--color-text-primary);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    width: 100%;
    margin-top: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
    font-weight: 700;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-submit:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.contact-card {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
    display: inline-block;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.contact-label {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: var(--space-xs);
}

.contact-value {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

/* Form Messages */
.form-message {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgb(34, 197, 94);
    color: rgb(34, 197, 94);
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgb(239, 68, 68);
    color: rgb(239, 68, 68);
}

.message-icon {
    width: 20px;
    height: 20px;
}

/* ===================================
   FOOTER (VSIS Style)
   =================================== */
.footer {
    background: var(--color-bg-footer);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-md);
    border-top: 4px solid var(--color-primary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    margin-bottom: var(--space-md);
    /* Removed filter to show original logo colors */
    display: block;
    /* Ensure it behaves as a block element */
    object-fit: contain;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    color: var(--color-white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-accent);
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-white);
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.mt-3 {
    margin-top: 1rem;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* ===================================
   PRODUCT BRANDS
   =================================== */
.product-brands-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.product-brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.product-brand-text {
    padding: var(--space-xs) var(--space-md);
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-md);
}

/* ===================================
   ANIMATIONS
   =================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    /* Start slightly smaller and lower */
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    /* "Out Quart" smooth easing */
    will-change: opacity, transform;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered Delays for Grid Items */
.scroll-reveal.delay-100 {
    transition-delay: 0.1s;
}

.scroll-reveal.delay-200 {
    transition-delay: 0.2s;
}

.scroll-reveal.delay-300 {
    transition-delay: 0.3s;
}

.scroll-reveal.delay-400 {
    transition-delay: 0.4s;
}

.scroll-reveal.delay-500 {
    transition-delay: 0.5s;
}

/* Optional: Different entry animations */
.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-base);
        border-left: 1px solid var(--color-gray-200);
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
        display: none;
        border: none;
    }

    .navbar-dropdown.active .dropdown-menu {
        display: block;
    }

    .hero {
        min-height: 500px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .solutions-grid-unified {
        grid-template-columns: 1fr;
    }

    .directors-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* VSIS Mobile Mobile Optimization */
    #about {
        background-attachment: scroll;
        /* Disable parallax on mobile for performance/bugs */
        padding: var(--space-xl) 0;
    }

    #about .about-content {
        padding: 30px;
        /* Reduce padding from 60px */
    }

    /* Mobile Text Sizes */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: var(--space-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--font-size-sm);
    }

    .solution-card-expandable {
        height: 250px;
    }
}

/* ===================================
   COMPUTER REPAIR MODAL
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Prevent body scroll interaction */
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    /* Vertical Center */
    justify-content: center;
    /* Horizontal Center */
}

.modal-content {
    background-color: var(--color-white);
    margin: 0;
    /* Centered by flex parent */
    padding: var(--space-xl);
    border: none;
    width: 90%;
    max-width: 550px;
    /* Slightly tighter */
    max-height: 90vh;
    /* Prevent overflowing screen */
    overflow-y: auto;
    /* Internal scroll */
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    color: var(--color-text-secondary);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.close-modal:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    font-weight: 700;
    padding-right: 30px;
    /* Space for close button */
}

.modal-subtitle {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.repair-form .form-group {
    margin-bottom: var(--space-md);
}

.repair-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

.repair-form input[type='text'],
.repair-form input[type='tel'],
.repair-form textarea,
.repair-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--color-bg-light);
}

.repair-form input:focus,
.repair-form textarea:focus,
.repair-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Custom File Input Styling */
.repair-form input[type="file"] {
    padding: 10px;
    background: var(--color-bg-light);
    border: 1px dashed var(--color-gray-300);
    border-radius: var(--radius-md);
    cursor: pointer;
}

.repair-form input[type="file"]::file-selector-button {
    margin-right: 15px;
    border: none;
    background: var(--color-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--color-white);
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
    font-size: 0.85rem;
}

.repair-form input[type="file"]::file-selector-button:hover {
    background: var(--color-primary-dark);
}

.repair-form .btn-block {
    width: 100%;
    margin-top: var(--space-md);
    padding: 14px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}



.form-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Update Repair Form Button to Navy Blue (User Request) */
#repairForm button[type="submit"] {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    border: 1px solid var(--color-primary) !important;
    transition: all 0.3s ease;
}

#repairForm button[type="submit"]:hover {
    background-color: var(--color-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 26, 51, 0.3);
}

/* Admin Dashboard Resolved Button */
.btn-resolve {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.btn-resolve:hover {
    background-color: #218838;
}

.btn-resolve:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* ===================================
   AUTH MODAL STYLES (Glassmorphism)
   =================================== */
.auth-modal {
    background-color: rgba(0, 0, 0, 0.4);
    /* Darker backdrop for contrast */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.auth-modal-content {
    background: rgba(255, 255, 255, 0.75) !important;
    /* Semi-transparent white */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
    color: var(--color-text-primary);
    max-width: 420px;
    width: 90%;
    margin: auto;
    /* Fallback for flex centering */
    border-radius: 16px;
}

.auth-form-container {
    padding: 10px;
}

.modal-title {
    text-align: center;
    margin-bottom: 5px;
    font-weight: 700;
}

.modal-subtitle {
    text-align: center;
    margin-bottom: 25px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.auth-form {
    gap: 15px;
}

.auth-form .form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.auth-form .form-group input {
    background: rgba(255, 255, 255, 0.5);
    /* Slightly transparent inputs */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px;
}

.auth-form .form-group input:focus {
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 26, 51, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}

.auth-divider {
    margin: 15px 0;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-google {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e1e1e1;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.auth-switch-text {
    margin-top: 15px;
    font-size: 0.85rem;
}

/* User Request: Change Auth Buttons to Navy Blue */
.auth-form .btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    box-shadow: 0 4px 15px rgba(0, 26, 51, 0.3) !important;
}

.auth-form .btn-primary:hover {
    background-color: var(--color-primary-light) !important;
    border-color: var(--color-primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 26, 51, 0.4) !important;
}