/*
==================================================
Theme Name: AppCase Theme by Daron
Theme URI: https://www.appcase.com.ph/
Author: AppCase Inc. - Daron F. Mangaoang
Author URI: https://www.appcase.com.ph/
Description: Custom WordPress theme for AppCase Inc. Responsive, modern, and animated.
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: appcase-theme-by-daron
Tags: responsive, custom, business, animated
==================================================
*/

/* ========================= */
/* 1. IMPORTS                */
/* ========================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap");

/* ========================= */
/* 2. ROOT VARIABLES         */
/* ========================= */
:root {
    /* Modern Design System Variables - Standard RGB for maximum compatibility */
    --background: #000000;
    --foreground: #f8fafc;
    --card: #1e293b;
    --card-foreground: #e2e8f0;
    --popover: #000000;
    --popover-foreground: #f8fafc;
    --primary: #3b82f6;
    --primary-rgb: 59, 130, 246; /* RGB equivalent for tech patterns */
    --primary-foreground: #ffffff;
    --secondary: #f1f5f9;
    --secondary-foreground: #0f172a;
    --muted: #1e293b;
    --muted-foreground: #94a3b8;
    --accent: #1e40af;
    --accent-foreground: #3b82f6;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --border: #334155;
    --input: #475569;
    --ring: #2563eb;
    --chart-1: #3b82f6;
    --chart-2: #10b981;
    --chart-3: #f59e0b;
    --chart-4: #8b5cf6;
    --chart-5: #ef4444;
    --sidebar: #1e293b;
    --sidebar-foreground: #e2e8f0;
    --sidebar-primary: #2563eb;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #1e40af;
    --sidebar-accent-foreground: #3b82f6;
    --sidebar-border: #475569;
    --sidebar-ring: #2563eb;
    --font-sans: Poppins, sans-serif;
    --font-serif: Lora, serif;
    --font-mono: JetBrains Mono, monospace;
    --radius: 1.3rem;
    --shadow-2xs: 0px 2px 0px 0px rgba(59, 130, 246, 0);
    --shadow-xs: 0px 2px 0px 0px rgba(59, 130, 246, 0);
    --shadow-sm: 0px 2px 0px 0px rgba(59, 130, 246, 0),
        0px 1px 2px -1px rgba(59, 130, 246, 0);
    --shadow: 0px 2px 0px 0px rgba(59, 130, 246, 0),
        0px 1px 2px -1px rgba(59, 130, 246, 0);
    --shadow-md: 0px 2px 0px 0px rgba(59, 130, 246, 0),
        0px 2px 4px -1px rgba(59, 130, 246, 0);
    --shadow-lg: 0px 2px 0px 0px rgba(59, 130, 246, 0),
        0px 4px 6px -1px rgba(59, 130, 246, 0);
    --shadow-xl: 0px 2px 0px 0px rgba(59, 130, 246, 0),
        0px 8px 10px -1px rgba(59, 130, 246, 0);
    --shadow-2xl: 0px 2px 0px 0px rgba(59, 130, 246, 0);
    --tracking-normal: 0.025em;
    --spacing: 0.25rem;

    /* RGB values for rgba usage */
    --primary-rgb: 59, 130, 246;
    --accent-rgb: 147, 51, 234;

    /* Legacy variables for backward compatibility */
    --font-primary: var(--font-sans);
    --font-secondary: var(--font-sans);
    --bg-primary: var(--background);
    --bg-secondary: var(--card);
    --bg-tertiary: var(--muted);
    --border-primary: var(--border);
    --border-secondary: var(--sidebar-border);
    --text-primary: var(--foreground);
    --text-secondary: var(--muted-foreground);
    --text-muted: var(--muted-foreground);
    --accent-primary: var(--primary);
    --accent-secondary: var(--accent-foreground);
    --accent-muted: var(--accent);
    --accent-light: var(--accent);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --radius-2xl: calc(var(--radius) + 8px);

    /* Legacy compatibility layer for old variable names */
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-card: var(--card);
    --color-card-foreground: var(--card-foreground);
    --color-popover: var(--popover);
    --color-popover-foreground: var(--popover-foreground);
    --color-primary: var(--primary);
    --color-primary-foreground: var(--primary-foreground);
    --color-secondary: var(--secondary);
    --color-secondary-foreground: var(--secondary-foreground);
    --color-muted: var(--muted);
    --color-muted-foreground: var(--muted-foreground);
    --color-accent: var(--accent);
    --color-accent-foreground: var(--accent-foreground);
    --color-destructive: var(--destructive);
    --color-destructive-foreground: var(--destructive-foreground);
    --color-border: var(--border);
    --color-input: var(--input);
    --color-ring: var(--ring);
    --color-chart-1: var(--chart-1);
    --color-chart-2: var(--chart-2);
    --color-chart-3: var(--chart-3);
    --color-chart-4: var(--chart-4);
    --color-chart-5: var(--chart-5);
    --color-sidebar: var(--sidebar);
    --color-sidebar-foreground: var(--sidebar-foreground);
    --color-sidebar-primary: var(--sidebar-primary);
    --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
    --color-sidebar-accent: var(--sidebar-accent);
    --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
    --color-sidebar-border: var(--sidebar-border);
    --color-sidebar-ring: var(--sidebar-ring);

    --tracking-tighter: calc(var(--tracking-normal) - 0.05em);
    --tracking-tight: calc(var(--tracking-normal) - 0.025em);
    --tracking-wide: calc(var(--tracking-normal) + 0.025em);
    --tracking-wider: calc(var(--tracking-normal) + 0.05em);
    --tracking-widest: calc(var(--tracking-normal) + 0.1em);
}

/* ========================= */
/* 3. RESETS & BASE STYLES   */
/* ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ========================= */
/* 4. GLOBAL LAYOUT & UTILS  */
/* ========================= */
body,
html {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: var(--tracking-normal);
    min-height: 100vh;
}

/* Main content positioning to account for fixed navbar */
main {
    margin-top: 70px; /* Navbar height */
    min-height: calc(100vh - 70px);
    position: relative;
    z-index: 1;
}

/* Responsive main margin adjustments */
@media (max-width: 768px) {
    main {
        margin-top: 60px; /* Smaller navbar height on mobile */
        min-height: calc(100vh - 60px);
    }
}

@media (max-width: 480px) {
    main {
        margin-top: 56px; /* Even smaller navbar height on small mobile */
        min-height: calc(100vh - 56px);
    }
}

/* ========================= */
/* MODERN NAVBAR STYLES      */
/* ========================= */

.modern-navbar {
    /* Modern dark background with new design tokens */
    background: linear-gradient(90deg, var(--card) 0%, var(--background) 100%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modern-navbar.scrolled {
    background: linear-gradient(90deg, var(--muted) 0%, var(--card) 100%);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow-xl);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Brand/Logo Styles */
.nav-brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.2s ease;
}

.brand-link:hover {
    opacity: 0.8;
}

.brand-logo {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    background: linear-gradient(
        135deg,
        var(--text-primary),
        var(--accent-secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Menu */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

/* Dropdown Styles */
.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    gap: 6px;
    font-family: var(--font-sans); /* Ensure Poppins font is used */
}

.dropdown-icon {
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.dropdown-toggle.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    overflow: hidden;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Simple Dropdowns (Projects, DRRM Platform) - Modern styling */
.dropdown-menu:not(.services-dropdown) {
    min-width: 280px;
    max-width: 350px;
}

.dropdown-menu:not(.services-dropdown) .submenu-section {
    padding: 12px;
}

.dropdown-menu:not(.services-dropdown) .submenu-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.dropdown-menu:not(.services-dropdown) .submenu-links li:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.dropdown-menu:not(.services-dropdown) .submenu-link {
    display: block;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 400;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    line-height: 1.4;
    text-align: left;
}

.dropdown-menu:not(.services-dropdown) .submenu-link:hover {
    color: var(--foreground);
    background-color: var(--accent);
    transform: translateY(-1px);
}

/* Services Dropdown - Visual Grid Layout */
.services-dropdown {
    min-width: 680px;
    max-width: 820px;
}

.services-content {
    padding: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: start;
    position: relative;
}

.service-column {
    display: flex;
    flex-direction: column;
    min-height: 100px;
    position: relative;
}

/* Add vertical separator lines between service columns - only for dropdown menu */
.services-dropdown .services-grid::before,
.services-dropdown .services-grid::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(59, 130, 246, 0.4) 10%,
        rgba(59, 130, 246, 0.6) 50%,
        rgba(59, 130, 246, 0.4) 90%,
        transparent 100%
    );
    opacity: 0.7;
    z-index: 1;
}

.services-dropdown .services-grid::before {
    left: calc(33.33% - 0.5px); /* First separator line */
}

.services-dropdown .services-grid::after {
    left: calc(66.66% - 0.5px); /* Second separator line */
}

.service-category {
    color: var(--foreground);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    padding: 0 0 6px 0;
    text-align: left;
    letter-spacing: 0.5px;
    position: relative;
}

.service-category::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--primary);
    opacity: 0.6;
}

.service-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-grow: 1;
}

.service-items li:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.service-link {
    display: block;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 400;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    line-height: 1.4;
}

.service-link:hover {
    color: var(--foreground);
    background-color: var(--accent);
    transform: translateY(-1px);
}

/* New Submenu Styles */
.submenu-section {
    margin-bottom: 16px;
}

.submenu-section:last-child {
    margin-bottom: 0;
}

.submenu-title {
    color: var(--foreground);
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px 0;
    padding: 8px 12px 4px 12px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submenu-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.submenu-link {
    display: block;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 400;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    line-height: 1.4;
}

.submenu-link:hover {
    color: var(--foreground);
    background-color: var(--accent);
    transform: translateX(2px);
}

/* CTA Button */
.nav-cta {
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    border: none;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--ring);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
}

.cta-button:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    gap: 4px;
    padding: 8px;
}

.mobile-toggle:hover {
    background: var(--card);
    color: var(--foreground);
    border-color: var(--sidebar-border);
}

.hamburger {
    width: 20px;
    height: 2px;
    background-color: var(--muted-foreground);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1001; /* Higher than navbar z-index (1000) */
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    max-height: 100vh;
    box-shadow: var(--shadow-xl);
}

.mobile-menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background: var(--accent);
    color: var(--foreground);
    border-color: var(--border);
    transform: translateX(4px);
}

.mobile-nav-link.has-dropdown {
    cursor: pointer;
}

.mobile-dropdown-icon {
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.mobile-nav-link.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

/* Mobile Dropdown Menus */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-left: 20px;
    border-left: 2px solid var(--border);
}

.mobile-dropdown.active {
    max-height: 500px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.mobile-dropdown-content {
    padding: 12px 0 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-submenu-link {
    display: block;
    padding: 12px 16px;
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    line-height: 1.4;
}

.mobile-submenu-link:hover {
    background: var(--accent);
    color: var(--foreground);
    transform: translateX(4px);
}

/* Mobile CTA Button */
.mobile-cta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.mobile-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.3);
}

.mobile-cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

.mobile-cta-button:hover::before {
    left: 100%;
}

.mobile-cta-button:hover {
    background: var(--ring);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
}

.mobile-cta-button:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.mobile-cta-button svg {
    transition: transform 0.3s ease;
}

.mobile-cta-button:hover svg {
    transform: translateX(2px);
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .modern-navbar {
        backdrop-filter: blur(8px);
    }

    .nav-container {
        height: 60px;
        padding: 0 12px;
    }

    .brand-logo {
        height: 38px;
        max-width: 140px;
    }

    .brand-text {
        font-size: 1.5rem;
    }

    .mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .mobile-menu {
        top: 60px;
    }

    .mobile-menu-content {
        padding: 16px;
    }

    .mobile-nav-link {
        padding: 14px 16px;
        font-size: 15px;
    }

    .mobile-submenu-link {
        padding: 10px 14px;
        font-size: 13px;
    }

    .mobile-cta-button {
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 56px;
        padding: 0 10px;
    }

    .brand-logo {
        height: 32px;
        max-width: 120px;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .mobile-toggle {
        width: 36px;
        height: 36px;
    }

    .hamburger {
        width: 18px;
    }

    .mobile-menu {
        top: 56px;
    }

    .mobile-menu-content {
        padding: 12px;
    }

    .mobile-nav-link {
        padding: 12px 14px;
        font-size: 14px;
    }

    .mobile-submenu-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .mobile-cta-button {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ========================= */
/* HERO SECTION STYLES       */
/* ========================= */

.hero {
    min-height: calc(100vh - 70px);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;

    /* Responsive radial gradient with refined blue focus */
    background: radial-gradient(
            ellipse clamp(400px, 80vw, 900px) clamp(300px, 60vw, 700px) at 50%
                50%,
            rgba(59, 130, 246, 0.35) 0%,
            rgba(59, 130, 246, 0.18) 25%,
            rgba(59, 130, 246, 0.08) 50%,
            transparent 75%
        ),
        radial-gradient(
            ellipse clamp(300px, 60vw, 600px) clamp(200px, 45vw, 450px) at 50%
                50%,
            rgba(14, 165, 233, 0.25) 0%,
            rgba(14, 165, 233, 0.12) 35%,
            transparent 70%
        ),
        radial-gradient(
            ellipse clamp(200px, 40vw, 400px) clamp(150px, 30vw, 300px) at 50%
                50%,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(59, 130, 246, 0.06) 40%,
            transparent 80%
        ),
        linear-gradient(
            135deg,
            #000000 0%,
            #0a0a0f 25%,
            #050508 50%,
            #0a0a0f 75%,
            #000000 100%
        );
}

/* Hero animated background elements - responsive and refined */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            ellipse clamp(250px, 50vw, 500px) clamp(200px, 40vw, 400px) at 50%
                50%,
            rgba(59, 130, 246, 0.2) 0%,
            rgba(59, 130, 246, 0.1) 30%,
            rgba(59, 130, 246, 0.04) 60%,
            transparent 80%
        ),
        radial-gradient(
            ellipse clamp(175px, 35vw, 350px) clamp(125px, 25vw, 250px) at 50%
                50%,
            rgba(14, 165, 233, 0.15) 0%,
            rgba(14, 165, 233, 0.06) 40%,
            transparent 70%
        );
    animation: heroGlow 12s ease-in-out infinite alternate;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            ellipse clamp(150px, 30vw, 300px) clamp(100px, 20vw, 200px) at 50%
                50%,
            rgba(59, 130, 246, 0.12) 0%,
            rgba(59, 130, 246, 0.05) 40%,
            transparent 75%
        ),
        radial-gradient(
            ellipse clamp(225px, 45vw, 450px) clamp(150px, 30vw, 300px) at 50%
                50%,
            rgba(14, 165, 233, 0.08) 0%,
            rgba(14, 165, 233, 0.03) 50%,
            transparent 80%
        );
    animation: heroShift 18s ease-in-out infinite;
    z-index: 1;
}

@keyframes heroGlow {
    0% {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05) rotate(1deg);
    }
    100% {
        opacity: 0.4;
        transform: scale(1.02) rotate(-0.5deg);
    }
}

@keyframes heroShift {
    0% {
        transform: translateX(-2%) translateY(-1%);
    }
    33% {
        transform: translateX(1%) translateY(2%);
    }
    66% {
        transform: translateX(-1%) translateY(-1%);
    }
    100% {
        transform: translateX(2%) translateY(1%);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: min(800px, 90vw);
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
    gap: clamp(0.5rem, 1.5vw, 1rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 132, 254, 0.3);
    border-radius: calc(var(--radius) + 8px);
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.75rem, 3vw, 1.25rem);
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    width: fit-content;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    /* Improved gradient with better contrast */
    background: linear-gradient(135deg, #f8fafc 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-secondary);
    max-width: min(900px, 95vw);
    /* Add text shadow for better readability */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 3;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: clamp(1rem, 2.5vw, 1.25rem);
    max-width: min(700px, 90vw);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
}

.hero-buttons {
    display: flex;
    gap: clamp(0.75rem, 2.5vw, 1.25rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.primary-btn {
    background: var(--primary);
    border: none;
    color: var(--primary-foreground);
    padding: clamp(12px, 3vw, 16px) clamp(24px, 6vw, 32px);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    font-weight: 700;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.primary-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-2px);
    background: var(--ring);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.primary-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.primary-btn svg {
    transition: transform 0.3s ease;
}

.primary-btn:hover svg {
    transform: translateX(3px);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--primary);
    color: var(--foreground);
    padding: clamp(10px, 2.5vw, 14px) clamp(22px, 5.5vw, 30px);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    font-weight: 700;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    min-width: fit-content;
}

.secondary-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.secondary-btn:hover::before {
    opacity: 1;
}

.secondary-btn:hover {
    border-color: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.secondary-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

/* Service Cards in Hero Section */
.hero .services-preview {
    margin-top: clamp(0.75rem, 2vw, 1.25rem);
    width: 100%;
    max-width: min(1100px, 95vw);
    position: relative;
    z-index: 2;
}

.hero .services-preview .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(0.75rem, 2.5vw, 1.5rem);
    margin-bottom: 0;
}

.service-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 4vw, 2rem);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent-foreground) 50%,
        var(--primary) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.3);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-header {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    position: relative;
    z-index: 2;
}

.service-icon {
    width: clamp(48px, 8vw, 56px);
    height: clamp(48px, 8vw, 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--accent-foreground) 100%
    );
    border-radius: var(--radius-lg);
    color: var(--primary-foreground);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: var(--radius-lg);
}

.service-icon svg {
    width: clamp(24px, 5vw, 32px);
    height: clamp(24px, 5vw, 32px);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card:hover .service-icon {
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
}

.service-title {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    opacity: 0.9;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

/* Service Cards Responsive Design */
@media (max-width: 1024px) {
    .hero {
        padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1rem, 3vw, 1.5rem);
    }

    .hero .services-preview {
        max-width: 95vw;
        margin-top: clamp(0.75rem, 2vw, 1rem);
    }

    .hero .services-preview .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
        gap: clamp(0.75rem, 2vw, 1.25rem);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: clamp(1rem, 3.5vw, 2rem) clamp(1rem, 4vw, 1.5rem);
        gap: clamp(0.5rem, 2vw, 1rem);
    }

    .hero .services-preview {
        margin-top: clamp(0.75rem, 2.5vw, 1rem);
        max-width: 100%;
    }

    .hero .services-preview .services-grid {
        grid-template-columns: 1fr;
        gap: clamp(0.75rem, 1.5vw, 1rem);
        max-width: 100%;
    }

    .service-card {
        padding: clamp(1rem, 3vw, 1.5rem);
        min-height: 160px;
        border-radius: var(--radius-md);
    }

    .service-header {
        gap: clamp(0.75rem, 2vw, 1rem);
        margin-bottom: clamp(0.75rem, 2vw, 1rem);
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .service-icon {
        width: clamp(44px, 6vw, 52px);
        height: clamp(44px, 6vw, 52px);
        flex-shrink: 0;
    }

    .service-icon svg {
        width: clamp(22px, 4vw, 28px);
        height: clamp(22px, 4vw, 28px);
    }

    .service-title {
        font-size: clamp(1.05rem, 2.2vw, 1.2rem);
        line-height: 1.3;
        margin: 0;
    }

    .service-description {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
        line-height: 1.6;
        margin: 0;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
        width: 100%;
        max-width: 300px;
        margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
        padding: clamp(14px, 3.5vw, 16px) clamp(24px, 6vw, 32px);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: clamp(0.75rem, 3vw, 1.5rem) clamp(0.75rem, 4vw, 1rem);
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .hero .services-preview {
        margin-top: clamp(0.5rem, 2vw, 0.75rem);
    }

    .service-card {
        min-height: 180px;
        padding: clamp(0.75rem, 3vw, 1.25rem);
    }

    .service-header {
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
        margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        width: clamp(40px, 10vw, 48px);
        height: clamp(40px, 10vw, 48px);
    }

    .service-icon svg {
        width: clamp(20px, 5vw, 24px);
        height: clamp(20px, 5vw, 24px);
    }

    .hero-buttons {
        max-width: 280px;
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
        margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .primary-btn,
    .secondary-btn {
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        padding: clamp(12px, 3vw, 14px) clamp(20px, 5vw, 24px);
    }
}

@media (max-width: 360px) {
    .hero {
        padding: clamp(0.5rem, 2.5vw, 1rem) clamp(0.5rem, 3vw, 0.75rem);
        gap: clamp(0.25rem, 1vw, 0.5rem);
    }

    .service-card {
        min-height: 160px;
    }

    .hero-buttons {
        max-width: 260px;
        gap: clamp(0.5rem, 1vw, 0.75rem);
        margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
    }

    .hero .services-preview {
        margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
    }
}

/* ========================= */
/* HOMEPAGE SECTIONS STYLES  */
/* ========================= */

/* Common Section Styles */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(
        135deg,
        var(--foreground) 0%,
        var(--primary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Videos Section */
.featured-videos {
    padding: 120px 0;
    background: linear-gradient(
        135deg,
        var(--background) 0%,
        var(--muted) 100%
    );
    position: relative;
    overflow: hidden;
}

.featured-videos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 30% 20%,
            rgba(59, 130, 246, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 80%,
            rgba(147, 51, 234, 0.08) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.featured-videos .container {
    position: relative;
    z-index: 2;
}

.featured-videos .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.featured-videos .section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(
        135deg,
        var(--foreground) 0%,
        var(--primary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-videos .section-description {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Video Showcase - Main Player Area */
.video-showcase {
    margin-bottom: 80px;
}

.main-video-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    background: var(--card);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-video-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
}

.main-video-player {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(59, 130, 246, 0.05) 100%
    );
}

.main-video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.main-video-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
}

.video-category.active {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.main-video-details .video-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.2;
    margin: 0;
}

.main-video-details .video-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

.main-video-details .video-meta {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.main-video-details .meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.main-video-details .meta-label {
    font-size: 13px;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.main-video-details .meta-value {
    font-size: 16px;
    color: var(--foreground);
    font-weight: 600;
}

.main-video-details .video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.main-video-details .tag {
    background: var(--muted);
    color: var(--muted-foreground);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.main-video-details .tag:hover {
    background: var(--accent);
    color: var(--foreground);
    transform: translateY(-2px);
}

.video-actions {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.watch-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.watch-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.share-btn {
    background: transparent;
    color: var(--muted-foreground);
    border: 2px solid var(--border);
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    color: var(--foreground);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

/* Video Playlist */
.video-playlist {
    margin-top: 80px;
}

.playlist-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 32px;
    text-align: center;
}

.playlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.playlist-item {
    background: var(--card);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.playlist-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.02) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.playlist-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.playlist-item:hover::before {
    opacity: 1;
}

.playlist-item.active {
    border-color: var(--primary);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.05) 0%,
        var(--card) 100%
    );
}

.playlist-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--muted);
}

.playlist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.playlist-item:hover .playlist-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.playlist-item:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.playlist-info {
    position: relative;
    z-index: 2;
}

.playlist-category {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.playlist-category.latest {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.playlist-title-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.playlist-client {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin: 0;
}

/* Animation for AOS */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-video-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .main-video-player {
        height: 500px;
    }

    .main-video-details .video-meta {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .featured-videos {
        padding: 80px 0;
    }

    .main-video-container {
        padding: 24px;
        gap: 24px;
    }

    .main-video-player {
        height: 400px;
    }

    .main-video-details .video-title {
        font-size: 1.8rem;
    }

    .playlist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-actions {
        flex-direction: column;
    }

    .featured-videos .section-header {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .main-video-container {
        padding: 20px;
        margin: 0 16px;
    }

    .main-video-player {
        height: 300px;
    }

    .main-video-details .video-title {
        font-size: 1.5rem;
    }

    .main-video-details .video-meta {
        flex-direction: column;
        gap: 16px;
    }

    .playlist-item {
        margin: 0 16px;
    }

    .playlist-thumbnail {
        height: 140px;
    }

    .watch-btn,
    .share-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* Company Overview Section - Bento Style Layout */
.company-overview {
    padding: 120px 0;
    background: linear-gradient(
        135deg,
        var(--background) 0%,
        var(--muted) 100%
    );
    position: relative;
    overflow: hidden;
}

.company-overview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 70% 30%,
            rgba(147, 51, 234, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 30% 70%,
            rgba(59, 130, 246, 0.08) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.company-overview .container {
    position: relative;
    z-index: 2;
}

.company-overview .section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.company-overview .section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(
        135deg,
        var(--foreground) 0%,
        var(--primary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-overview .section-description {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 24px;
    margin-top: 80px;
}

/* Grid Positioning */
.story-card {
    grid-column: 1 / 3;
    grid-row: 1;
}

.stats-card {
    grid-column: 3;
    grid-row: 1;
}

.mission-card {
    grid-column: 1;
    grid-row: 2;
}

.values-card {
    grid-column: 2 / 4;
    grid-row: 3;
}

.partnership-card {
    grid-column: 3;
    grid-row: 2;
}

.mission-vision-card {
    grid-column: 1 / 3;
    grid-row: 2;
}

.tech-card {
    grid-column: 1;
    grid-row: 3;
}

/* Base Card Styles */
.bento-card {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.03) 0%,
        rgba(147, 51, 234, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.card-content {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    flex-shrink: 0;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    line-height: 1.2;
}

.card-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
    margin: 0;
}

/* Specific Card Styles */

/* Story Card */
.story-card .card-content {
    padding: 48px;
}

.story-card .card-title {
    font-size: 2rem;
    margin-bottom: 32px;
    position: relative;
}

.story-card .card-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-text {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

/* Stats Card */
.stats-card .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.stats-card .stat-item {
    text-align: center;
    padding: 20px 16px;
    background: var(--muted);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stats-card .stat-item:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    display: block;
}

.stat-label {
    color: var(--muted-foreground);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Values Card */
.values-card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.values-list {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 24px;
    flex: 1;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: var(--muted);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    height: 100%;
}

.value-item:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.value-icon {
    width: 32px;
    height: 32px;
       color: var(--primary);
    flex-shrink: 0;
    margin-bottom: 0;
}

.value-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.value-description {
    color: var(--muted-foreground);
    line-height: 1.4;
    font-size: 0.95rem;
    margin: 0;
}

/* Partnership Card */
.partnership-card .card-description {
    margin-bottom: 1rem;
}

.partnership-flags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding: 16px;
    background: var(--muted);
    border-radius: 12px;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.flag {
    font-size: 2rem;
    line-height: 1;
}

.flag-label {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.plus-icon {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Mission-Vision Combined Card */
.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: 100%;
}

.mission-section,
.vision-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mission-section .card-header,
.vision-section .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mission-section .card-icon,
.vision-section .card-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.mission-section .card-title,
.vision-section .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.mission-section .card-description,
.vision-section .card-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

/* Vision Card */
.vision-card .card-content {
    padding: 48px;
}

.vision-card .card-title {
    font-size: 1.8rem;
}

.vision-card .card-description {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Tech Card */
.tech-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.tech-item {
    padding: 12px 16px;
    background: var(--muted);
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: var(--accent);
    color: var(--foreground);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 20px;
    }

    .story-card {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .stats-card {
        grid-column: 1;
        grid-row: 2;
    }

    .mission-card {
        grid-column: 2;
        grid-row: 2;
    }

    .values-card {
        grid-column: 1;
        grid-row: 3;
    }

    .partnership-card {
        grid-column: 2;
        grid-row: 3;
    }

    .vision-card {
        grid-column: 1 / 3;
        grid-row: 4;
    }

    .tech-card {
        grid-column: 1 / 3;
        grid-row: 5;
    }

    .card-content {
        padding: 32px;
    }

    .story-card .card-content,
    .vision-card .card-content {
        padding: 40px 32px;
    }

    /* Mission-Vision responsive on tablet */
    .mission-vision-container {
        gap: 1.5rem;
    }

    .mission-section .card-title,
    .vision-section .card-title {
        font-size: 1.1rem;
    }

    /* Values list responsive adjustments */
    .values-list {
        gap: 12px;
    }

    .value-item {
        padding: 14px 12px;
    }

    .value-title {
        font-size: 1rem;
    }

    .value-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    /* Better medium breakpoint for mission-vision */
    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-section,
    .vision-section {
        padding: 20px;
        background: var(--muted);
        border-radius: 12px;
        border: 1px solid var(--border);
    }

    /* Values list stacks vertically on smaller tablets */
    .values-list {
        flex-direction: column;
        gap: 12px;
    }

    .value-item {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        gap: 16px;
    }

    .value-content {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .company-overview {
        padding: 80px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 60px;
    }

    .story-card,
    .stats-card,
    .mission-card,
    .values-card,
    .partnership-card,
    .vision-card,
    .tech-card,
    .mission-vision-card {
        grid-column: 1;
        grid-row: auto;
    }

    .card-content {
        padding: 24px;
    }

    .story-card .card-content,
    .vision-card .card-content {
        padding: 28px 24px;
    }

    .stats-card .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .company-overview .section-header {
        margin-bottom: 60px;
    }

    /* Mission-Vision full mobile layout */
    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .mission-section,
    .vision-section {
        padding: 18px;
    }

    .mission-section .card-title,
    .vision-section .card-title {
        font-size: 1.1rem;
    }

    .mission-section .card-description,
    .vision-section .card-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Values full mobile layout */
    .values-list {
        flex-direction: column;
        gap: 10px;
    }

    .value-item {
        flex-direction: row;
        text-align: left;
        padding: 14px 16px;
        gap: 14px;
    }

    .value-content {
        align-items: flex-start;
        text-align: left;
    }

    /* Story content improvements */
    .story-card .card-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .story-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .story-content {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: 18px;
    }

    .story-card .card-content,
    .vision-card .card-content {
        padding: 20px 18px;
    }

    .stats-card .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .story-card .card-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .vision-card .card-title {
        font-size: 1.3rem;
    }

    /* Mission-Vision ultra mobile */
    .mission-vision-container {
        gap: 1rem;
    }

    .mission-section,
    .vision-section {
        padding: 16px;
    }

    .mission-section .card-header,
    .vision-section .card-header {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .mission-section .card-icon,
    .vision-section .card-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .mission-section .card-title,
    .vision-section .card-title {
        font-size: 1rem;
    }

    .mission-section .card-description,
    .vision-section .card-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Values ultra mobile */
    .value-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .value-icon {
        width: 28px;
        height: 28px;
    }

    .value-title {
        font-size: 0.95rem;
    }

    .value-description {
        font-size: 0.8rem;
    }

    /* Story improvements */
    .story-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .story-content {
        gap: 14px;
    }

    /* Partnership flags */
    .partnership-flags {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }

    .flag-item {
        gap: 6px;
    }

    .flag {
        font-size: 1.5rem;
    }

    .plus-icon {
        transform: rotate(90deg);
        font-size: 1rem;
    }
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.05) 0%,
        rgba(147, 51, 234, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.values-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 32px;
    position: relative;
}

.values-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 48px;
}

.value-card {
    background: var(--card);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.05) 0%,
        rgba(147, 51, 234, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.partnership-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partnership-highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.partnership-content {
    position: relative;
    z-index: 2;
}

.partnership-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.partnership-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 24px 16px;
    }
}

@media (max-width: 768px) {
    .company-overview {
        padding: 80px 0;
    }

    .overview-content {
        gap: 48px;
        margin-top: 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .company-overview .section-header {
        margin-bottom: 60px;
    }

    .partnership-highlight {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .value-card {
        padding: 20px;
    }

    .story-title,
    .values-title {
        font-size: 1.5rem;
    }
}

/* Services Highlight Section - Simplified Design */
.services-highlight {
    padding: 100px 0;
    background: var(--background);
    position: relative;
}

.services-highlight .container {
    position: relative;
    z-index: 2;
}

.services-highlight .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-highlight .section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--foreground);
}

.services-highlight .section-description {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Services List - Clean Layout */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-item-simple {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-item-simple:last-child {
    border-bottom: none;
}

.service-item-simple:hover {
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

/* Service Header */
.service-header-simple {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.service-icon-simple {
    width: 60px;
    height: 60px;
    color: var(--primary);
    flex-shrink: 0;
    padding: 16px;
    background: var(--muted);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-item-simple:hover .service-icon-simple {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.service-header-content-simple {
    flex: 1;
}

.service-title-simple {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-description-simple {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Service Details */
.service-details-simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-left: 84px;
}

.service-features-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
}

.feature-item-simple {
    background: var(--muted);
    color: var(--muted-foreground);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-item-simple:hover .feature-item-simple {
    background: var(--accent);
    color: var(--foreground);
    border-color: var(--primary);
}

.service-link-simple {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid var(--primary);
    background: transparent;
    white-space: nowrap;
}

.service-link-simple:hover {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
}

.service-link-simple svg {
    transition: transform 0.3s ease;
}

.service-link-simple:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-highlight {
        padding: 80px 0;
    }

    .services-list {
        gap: 40px;
        margin-top: 50px;
    }

    .service-item-simple {
        padding: 30px 0;
        gap: 20px;
    }

    .service-item-simple:hover {
        padding-left: 16px;
    }

    .service-header-simple {
        gap: 20px;
    }

    .service-icon-simple {
        width: 50px;
        height: 50px;
        padding: 12px;
    }

    .service-title-simple {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .service-details-simple {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-left: 70px;
    }

    .service-features-simple {
        gap: 12px;
    }

    .feature-item-simple {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .service-link-simple {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .service-header-simple {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .service-icon-simple {
        align-self: center;
        width: 48px;
        height: 48px;
    }

    .service-details-simple {
        margin-left: 0;
        gap: 16px;
    }

    .service-features-simple {
        justify-content: center;
        gap: 8px;
    }

    .feature-item-simple {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .service-link-simple {
        align-self: center;
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

/* News Articles Section - Simple & User-Friendly Design */
.news-articles {
    padding: 100px 0;
    background: var(--background);
    position: relative;
}

.news-articles .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.news-articles .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-articles .section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.news-articles .section-description {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.article-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--muted);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.03);
}

.article-content {
    padding: 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.article-date {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-date::before {
    content: "📅";
    font-size: 0.8rem;
}

.article-source {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-source::before {
    content: "📰";
    font-size: 0.8rem;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.3;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .article-title {
    color: var(--primary);
}

.article-excerpt {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.article-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.article-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.article-link:hover svg {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-articles {
        padding: 80px 0;
    }
    
    .news-articles .container {
        padding: 0 16px;
    }
    
    .articles-grid {
        gap: 32px;
    }
    
    .article-content {
        padding: 24px;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Featured Projects Section */
.featured-projects {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--card) 100%);
    position: relative;
    overflow: hidden;
}

.featured-projects::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 30% 20%,
            rgba(59, 130, 246, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 80%,
            rgba(147, 51, 234, 0.02) 0%,
            transparent 50%
        );
    pointer-events: none;
    z-index: 1;
}

.featured-projects .container {
    position: relative;
    z-index: 2;
}

.projects-slider {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
}

.project-slide {
    display: none;
    background: linear-gradient(135deg, var(--background) 0%, var(--card) 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide.active {
    display: block;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--muted) 0%, var(--card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    position: relative;
}

.project-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-slide:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-slide:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 40px;
    position: relative;
    z-index: 2;
}

.project-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 16px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.project-slide:hover .project-title {
    color: var(--primary);
}

.project-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.project-meta {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    align-items: center;
}

.project-client,
.project-year {
    color: var(--primary);
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.project-year {
    background: rgba(147, 51, 234, 0.08);
    color: var(--accent);
    border-color: rgba(147, 51, 234, 0.1);
}

.project-slide:hover .project-client {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.project-slide:hover .project-year {
    background: rgba(147, 51, 234, 0.12);
    border-color: rgba(147, 51, 234, 0.2);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.slider-btn {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    color: var(--foreground);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.slider-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(147, 51, 234, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3);
}

.slider-btn:hover::before {
    opacity: 1;
}

.slider-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.slider-btn:hover svg {
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

.dot.active::before {
    width: 100%;
    height: 100%;
}

.dot:hover {
    background: rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
    transform: scale(1.1);
}

/* Founding Partners Section - Ultra Compact & Organized */
.founding-partners {
    padding: 40px 0;
    background: var(--background);
    position: relative;
}

.founding-partners::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(59, 130, 246, 0.01) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.founding-partners .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Section Header - Very Minimal */
.founding-partners .section-header {
    text-align: center;
    margin-bottom: 35px;
}

.founding-partners .section-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--foreground);
    letter-spacing: -0.02em;
}

/* Main Layout - Tight & Organized */
.founding-partners-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
    max-width: 100%;
}

/* Welcome Message - Super Compact */
.welcome-content-compact {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    text-align: left;
}

.welcome-content-compact::before {
    display: none;
}

.welcome-header {
    margin-bottom: 20px;
}

.welcome-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    opacity: 0.9;
}

.welcome-title {
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--foreground);
    letter-spacing: -0.01em;
}

.welcome-text {
    max-width: 100%;
}

.welcome-text p {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 400;
}

.welcome-text .welcome-intro {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 20px;
}

.welcome-text .welcome-closing {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
    font-style: italic;
}

/* Partners Grid - Clean List Style */
.partners-showcase {
    width: 100%;
}

.partners-grid-compact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
}

/* Partner Items - Simple List Style */
.partner-card-compact {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: none;
    position: static;
    overflow: visible;
    border-bottom: 1px solid var(--border);
}

.partner-card-compact:last-child {
    border-bottom: none;
}

.partner-card-compact::before {
    display: none;
}

/* Partner Images - More Visible & Clean */
.partner-image-compact {
    width: 85px;
    height: 85px;
    margin: 0 20px 0 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--muted);
    transition: none;
    flex-shrink: 0;
}

.partner-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

/* Partner Info - Compact Text */
.partner-info-compact {
    position: static;
    flex: 1;
}

.partner-name-compact {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2px;
    line-height: 1.3;
    transition: none;
}

.partner-title-compact {
    color: var(--muted-foreground);
    font-weight: 500;
    margin-bottom: 0;
    font-size: 0.8rem;
    transition: none;
    letter-spacing: 0.02em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .founding-partners {
        padding: 35px 0;
    }

    .founding-partners-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .welcome-content-compact {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .partners-grid-compact {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .founding-partners {
        padding: 30px 0;
    }

    .founding-partners-layout {
        gap: 25px;
    }

    .partner-card-compact {
        padding: 10px 0;
    }

    .partner-image-compact {
        width: 75px;
        height: 75px;
        margin-right: 16px;
    }

    .welcome-text p {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }

    .partner-name-compact {
        font-size: 0.9rem;
    }

    .partner-title-compact {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .founding-partners .container {
        padding: 0 16px;
    }

    .founding-partners .section-header {
        margin-bottom: 25px;
    }

    .partner-image-compact {
        width: 65px;
        height: 65px;
    }

    .welcome-text p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .partner-card-compact {
        padding: 8px 0;
    }
}

/* Clients & Partners Section - Enhanced Layout */
.clients-partners {
    padding: 90px 0;
    background: linear-gradient(
        135deg,
        var(--background) 0%,
        var(--card) 30%,
        var(--background) 70%,
        var(--card) 100%
    );
    position: relative;
    overflow: hidden;
}

.clients-partners::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 20%,
            rgba(59, 130, 246, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(147, 51, 234, 0.02) 0%,
            transparent 50%
        );
    pointer-events: none;
    z-index: 1;
}

.clients-partners .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

/* Enhanced Section Header */
.clients-partners .section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.clients-partners .section-title {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        var(--foreground) 0%,
        var(--primary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.clients-partners .section-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin: 0;
    font-weight: 400;
}

/* Section Structure - Simple Clean Design */
.partners-section,
.clients-section {
    margin-bottom: 80px;
    text-align: center;
}

.partners-section:last-child,
.clients-section:last-child {
    margin-bottom: 0;
}

/* Enhanced Typography */
.subsection-title {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 45px;
    text-align: center;
    color: var(--foreground);
    letter-spacing: 0.02em;
    text-transform: none;
    font-family: inherit;
    position: relative;
}

.subsection-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

/* Enhanced Logos Grid */
.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Partners grid - Enhanced spacing */
.partners-grid {
    gap: 50px;
}

/* Simple Logo Items - No Cards */
.logo-item {
    background: transparent;
    padding: 0;
    border: none;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    position: relative;
    overflow: visible;
}

.logo-item:hover {
    transform: translateY(-6px);
}

/* Tooltip Styles - Restored */
.logo-item[data-tooltip] {
    position: relative;
}

.logo-item[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    pointer-events: none;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo-item[data-tooltip]:after {
    content: "";
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    pointer-events: none;
}

.logo-item:hover[data-tooltip]:before,
.logo-item:hover[data-tooltip]:after {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Logo Images */
.logo-item img {
    max-width: 120px;
    max-height: 55px;
    object-fit: contain;
    filter: opacity(0.85);
    transition: all 0.4s ease;
}

.logo-item:hover img {
    filter: opacity(1);
    transform: scale(1.08);
}

/* Partners get larger logos */
.partners-grid .logo-item img {
    max-width: 140px;
    max-height: 65px;
}

/* Responsive Enhancements */
@media (max-width: 1024px) {
    .logos-grid {
        gap: 30px;
    }

    .partners-grid {
        gap: 35px;
    }

    .partners-section,
    .clients-section {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .clients-partners {
        padding: 60px 0;
    }

    .logos-grid {
        gap: 20px;
    }

    .partners-grid {
        gap: 25px;
    }

    .logo-item img {
        max-width: 100px;
        max-height: 45px;
    }

    .partners-grid .logo-item img {
        max-width: 110px;
        max-height: 50px;
    }

    .partners-section,
    .clients-section {
        margin-bottom: 40px;
    }

    .clients-partners .section-header {
        margin-bottom: 50px;
    }
}

/* Company Timeline Section - Horizontal Scrollable Design */
.company-timeline {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        var(--card) 0%,
        var(--background) 50%,
        var(--card) 100%
    );
    position: relative;
    overflow: hidden;
}

.company-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 30% 30%,
            rgba(59, 130, 246, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(147, 51, 234, 0.02) 0%,
            transparent 50%
        );
    pointer-events: none;
    z-index: 1;
}

.company-timeline .container {
    position: relative;
    z-index: 2;
}

.company-timeline .section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.company-timeline .section-title {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        var(--foreground) 0%,
        var(--primary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.company-timeline .section-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin: 0;
}

/* Timeline Container - Horizontal Scroll */
.timeline {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 40px 0 60px;
    margin-top: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--muted);
}

.timeline::-webkit-scrollbar {
    height: 8px;
}

.timeline::-webkit-scrollbar-track {
    background: var(--muted);
    border-radius: 10px;
}

.timeline::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
}

.timeline::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Timeline Track */
.timeline-track {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 0 40px;
    min-width: fit-content;
    position: relative;
}

.timeline-track::before {
    content: "";
    position: absolute;
    top: 140px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent) 50%,
        var(--primary) 100%
    );
    border-radius: 2px;
    z-index: 1;
}

/* Timeline Items */
.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(even) {
    flex-direction: column;
}

/* Timeline Year Badge */
.timeline-year {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 3;
    border: 3px solid var(--background);
    min-width: 120px;
    text-align: center;
}

/* Timeline Content Card */
.timeline-content {
    background: var(--card);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.timeline-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary) 20%,
        var(--accent) 80%,
        transparent 100%
    );
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 12px;
    line-height: 1.3;
}

.timeline-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Navigation Hints */
.timeline-navigation {
    text-align: center;
    margin-top: 30px;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.timeline-navigation::before {
    content: "←";
    font-size: 1.2rem;
    color: var(--primary);
}

.timeline-navigation::after {
    content: "→";
    font-size: 1.2rem;
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .timeline-track {
        gap: 40px;
        padding: 0 30px;
    }

    .timeline-item {
        min-width: 280px;
    }

    .timeline-content {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .company-timeline {
        padding: 70px 0;
    }

    /* Remove horizontal scroll and switch to vertical layout */
    .timeline {
        padding: 30px 0 50px;
        overflow-x: visible;
        overflow-y: visible;
    }

    .timeline-track {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
        align-items: center;
        min-width: auto;
    }

    /* Remove all lines on mobile */
    .timeline-track::before {
        display: none;
    }

    .timeline-item {
        min-width: 100%;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    /* Ensure year is above content */
    .timeline-year {
        position: relative;
        left: auto;
        transform: none;
        margin-bottom: 15px;
        margin-top: 0;
    }

    .timeline-content {
        margin: 0;
        width: 100%;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .timeline-track {
        gap: 30px;
        padding: 0 16px;
    }

    .timeline-item {
        max-width: 100%;
        flex-direction: column;
    }

    .timeline-content {
        padding: 18px;
    }

    .timeline-year {
        padding: 8px 14px;
        font-size: 0.85rem;
        min-width: 90px;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .timeline-title {
        font-size: 1rem;
    }

    .timeline-description {
        font-size: 0.85rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .videos-grid,
    .services-highlight .services-grid,
    .articles-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        gap: 32px;
        margin-top: 64px;
    }

    .partner-card {
        padding: 36px 28px;
        border-radius: 24px;
    }

    .partner-image {
        width: 140px;
        height: 140px;
        margin-bottom: 28px;
    }

    .partner-name {
        font-size: 1.375rem;
    }

    .partner-title {
        font-size: 1rem;
    }

    .partner-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .welcome-message {
        margin-top: 64px;
    }

    .welcome-quote {
        padding: 32px;
        border-radius: 24px;
    }

    .welcome-quote p {
        font-size: 1.05rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 64px;
    }

    .article-card {
        margin-bottom: 0;
        padding: 32px;
    }

    .article-image {
        height: 180px;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .article-date,
    .article-source {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .article-title {
        font-size: 1.35rem;
    }

    .article-excerpt {
        font-size: 1.05rem;
    }

    .article-link {
        padding: 14px 20px;
    }

    .projects-slider {
        max-width: 100%;
        margin-top: 64px;
    }

    .project-slide {
        border-radius: 20px;
    }

    .project-image {
        height: 250px;
    }

    .project-content {
        padding: 28px;
    }

    .project-title {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .project-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .project-meta {
        flex-wrap: wrap;
        gap: 12px;
    }

    .project-client,
    .project-year {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .slider-controls {
        gap: 20px;
        margin-top: 32px;
    }

    .slider-btn {
        width: 48px;
        height: 48px;
    }

    .slider-dots {
        gap: 8px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .featured-videos,
    .company-overview,
    .services-highlight,
    .news-articles,
    .featured-projects,
    .founding-partners,
    .clients-partners,
    .company-timeline {
        padding: 40px 0;
    }

    /* Clients & Partners Mobile - Single Row Design */
    .partners-section,
    .clients-section {
        margin-bottom: 40px;
        padding: 0 16px;
    }

    .subsection-title {
        font-size: 0.85rem;
        margin-bottom: 30px;
        letter-spacing: 0.03em;
    }

    .logos-grid {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 10px;
    }

    .partners-grid {
        gap: 40px;
    }

    .logo-item img {
        max-width: 90px;
        max-height: 40px;
    }

    .partners-grid .logo-item img {
        max-width: 100px;
        max-height: 45px;
    }

    .services-highlight .section-header,
    .news-articles .section-header {
        margin-bottom: 48px;
    }

    .founding-partners .welcome-message {
        margin-bottom: 32px;
    }

    .welcome-content {
        text-align: center;
        padding: 20px 16px;
        border-radius: 14px;
        margin: 0 16px;
    }

    .welcome-content p {
        font-size: 0.85rem;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .welcome-content p:first-child {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .services-highlight .services-grid {
        gap: 20px;
        margin-top: 48px;
    }

    .services-highlight .service-card {
        padding: 24px 20px;
    }

    .services-highlight .service-icon {
        width: 56px;
        height: 56px;
        padding: 14px;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .services-highlight .service-title {
        font-size: 1.375rem;
        margin-bottom: 14px;
    }

    .services-highlight .service-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .service-features {
        margin-bottom: 28px;
    }

    .service-features li {
        font-size: 0.9rem;
        margin-bottom: 8px;
        padding-left: 22px;
    }

    .service-features li::before {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }

    .services-highlight .service-link {
        padding: 10px 16px;
        font-size: 0.95rem;
        gap: 8px;
    }

    .founding-partners .welcome-message {
        margin-bottom: 28px;
    }

    .welcome-title {
        font-size: 1.8rem;
    }

    .welcome-content {
        padding: 20px 16px;
        border-radius: 14px;
        margin: 0 16px;
    }

    .welcome-content p {
        font-size: 0.85rem;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .welcome-content p:first-child {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .partners-grid {
        gap: 16px;
        padding: 0 16px;
    }

    .partner-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .partner-image {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .partner-name {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .partner-title {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 8px;
        padding: 0 8px;
    }

    .client-category.single-item .logos-grid {
        max-width: 200px;
        grid-template-columns: 1fr;
    }

    .logo-item {
        height: 45px;
        padding: 8px;
        border-radius: 6px;
    }

    .subsection-title {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
        margin-bottom: 16px;
    }

    .subsection-title::after {
        width: 30px;
        bottom: -5px;
    }

    .category-title {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .client-category {
        margin-bottom: 16px;
        padding: 0 8px;
    }

    .clients-partners {
        padding: 30px 0;
    }
}

/* About Page Styles */
/* ========================= */

/* About Page Main Container */
.about-page-main {
    min-height: 100vh;
    background: var(--background);
}

/* Page Header Section */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-description {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content Section */
.page-content {
    padding: 80px 0;
    background: var(--background);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper > * {
    color: var(--foreground);
    line-height: 1.8;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--foreground);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.content-wrapper h3 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--accent-foreground);
}

.content-wrapper p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-wrapper li {
    font-family: 'Lora', serif;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.content-wrapper blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--card);
    font-style: italic;
    color: var(--card-foreground);
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* WordPress Block Editor Compatibility */
.content-wrapper .wp-block-group {
    margin: 2rem 0;
}

.content-wrapper .wp-block-columns {
    margin: 2rem 0;
}

.content-wrapper .wp-block-column {
    padding: 0 1rem;
}

.content-wrapper .wp-block-image {
    text-align: center;
    margin: 2rem 0;
}

.content-wrapper .wp-block-quote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--card);
    color: var(--card-foreground);
}

.content-wrapper .wp-block-button {
    margin: 1rem 0;
}

.content-wrapper .wp-block-button__link {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.content-wrapper .wp-block-button__link:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* About Custom Sections */
.about-custom-sections {
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-content {
        padding: 60px 0;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1.1rem;
    }
    
    .content-wrapper h2 {
        font-size: 2rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.5rem;
    }
    
    .content-wrapper .wp-block-column {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-content {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
}

/* ========================= */
/* FOOTER STYLES             */
/* ========================= */
.modern-footer {
    background: linear-gradient(
        135deg,
        var(--background) 0%,
        var(--card) 50%,
        var(--muted) 100%
    );
    color: var(--foreground);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.modern-footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.modern-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 50%,
            var(--primary) 0%,
            transparent 50%
        ),
        radial-gradient(circle at 80% 20%, var(--accent) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, var(--chart-2) 0%, transparent 50%);
    opacity: 0.1;
    pointer-events: none;
}

.footer-main {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    align-items: flex-start;
}

/* Company Info Section */
.footer-section.company-info {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 45px;
       width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.footer-brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: 0.5px;
    background: linear-gradient(
        135deg,
        var(--foreground) 0%,
        var(--primary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--card-foreground);
    font-size: 0.9rem;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.footer-section .contact-item:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.contact-icon {
    color: var(--primary);
    flex-shrink: 0;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: var(--foreground);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    position: relative;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-foreground);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    position: relative;
}

.footer-links a,
.footer-links li {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    padding: 4px 0;
    position: relative;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
    transform: translateY(-50%);
}

.footer-links a:hover::before {
    width: 4px;
}

/* Social Media */
.social-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 12px 16px;
    background: var(--accent);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.social-link:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer Bottom */
.footer-bottom {
    background: var(--accent);
    padding: 24px 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.copyright p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-section.company-info {
        max-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .social-media {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .social-link {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 32px 0 24px;
    }

    .footer-logo-img {
        height: 36px;
        max-width: 150px;
    }

    .footer-brand-text {
        font-size: 1.5rem;
    }

    .company-description {
        font-size: 0.9rem;
    }

    .footer-section .contact-item {
        font-size: 0.85rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-links a,
    .footer-links li {
        font-size: 0.85rem;
    }

    .social-link {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 20px 0;
    }
}

/* =============================================
   CONTACT PAGE STYLES
   ============================================= */

/* Main Contact Section - Side by Side Layout */
.contact-page-main .contact-main-section {
    padding: 80px 0;
    background: var(--background);
}

.contact-page-main .contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Map Side - No Card Styling */
.contact-page-main .contact-map-side {
    /* No background or border - clean layout */
}

.contact-page-main .contact-map-side h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-page-main .map-container {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
}

.contact-page-main .map-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.contact-page-main .map-info {
    margin-top: 20px;
}

.contact-page-main .map-info p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-page-main .map-info strong {
    color: var(--foreground);
}

/* Contact Form Wrapper */
.contact-page-main .contact-form-wrapper {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-page-main .contact-form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.05) 0%,
        transparent 50%
    );
    border-radius: var(--radius);
}

.contact-page-main .contact-form-wrapper h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-page-main .contact-form-wrapper p {
    color: var(--muted-foreground);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

/* Form Styles */
.contact-page-main .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-page-main .form-group {
    position: relative;
    z-index: 2;
}

.contact-page-main .form-group:not(.form-row .form-group) {
    margin-bottom: 20px;
}

.contact-page-main .form-group label {
    display: block;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-page-main .form-group input,
.contact-page-main .form-group select,
.contact-page-main .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 0.6);
    font-size: 1rem;
    color: var(--foreground);
    background: var(--input);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-sans);
}

.contact-page-main .form-group input:focus,
.contact-page-main .form-group select:focus,
.contact-page-main .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.contact-page-main .form-group input::placeholder,
.contact-page-main .form-group textarea::placeholder {
    color: var(--muted-foreground);
}

.contact-page-main .form-group select {
    cursor: pointer;
}

.contact-page-main .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-page-main .btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.contact-page-main .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: calc(var(--radius) * 0.6);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-sans);
    position: relative;
    z-index: 2;
    padding: 14px 28px;
    font-size: 1rem;
}

.contact-page-main .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--primary-foreground);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.contact-page-main .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--primary-rgb), 0.4);
}

/* Alert Messages */
.contact-page-main .alert {
    padding: 16px 20px;
    border-radius: calc(var(--radius) * 0.6);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    border: 1px solid;
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
}

.contact-page-main .alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--chart-2);
    border-color: rgba(16, 185, 129, 0.2);
}

.contact-page-main .alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--destructive);
    border-color: rgba(239, 68, 68, 0.2);
}

.contact-page-main .alert i {
    font-size: 16px;
}

/* Page Header and Content Spacing Fix */
.contact-page-main .page-header {
    padding: 80px 0 40px 0;
    background: var(--background);
}

.contact-page-main .page-content {
    padding: 0 0 40px 0;
    background: var(--background);
}

.contact-page-main .page-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-page-main .page-description {
    font-size: 1.2rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 600px;
}

.contact-page-main .content-wrapper {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
    .contact-page-main .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-page-main .contact-main-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .contact-page-main .contact-main-section {
        padding: 50px 0;
    }

    .contact-page-main .contact-form-wrapper {
        padding: 30px;
    }

    .contact-page-main .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-page-main .map-container iframe {
        height: 350px;
    }

    .contact-page-main .contact-map-side h2,
    .contact-page-main .contact-form-wrapper h3 {
        font-size: 1.75rem;
    }

    .contact-page-main .page-header {
        padding: 60px 0 30px 0;
    }

    .contact-page-main .page-content {
        padding: 0 0 30px 0;
    }
}

@media (max-width: 480px) {
    .contact-page-main .contact-main-section {
        padding: 40px 0;
    }

    .contact-page-main .contact-form-wrapper {
        padding: 24px;
    }

    .contact-page-main .map-container iframe {
        height: 300px;
    }

    .contact-page-main .contact-map-side h2,
    .contact-page-main .contact-form-wrapper h3 {
        font-size: 1.5rem;
    }

    .contact-page-main .page-header {
        padding: 50px 0 25px 0;
    }

    .contact-page-main .page-content {
        padding: 0 0 25px 0;
    }
}

/* Print Styles */
@media print {
    .nav-menu,
    .mobile-toggle {
        display: none !important;
    }
}
