/* ========================================
   CSS VARIABLES - Colors & Fonts
   Change these values to update entire website
   ======================================== */

:root {
    /* ========================================
       FONTS
       ======================================== */
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Oswald', sans-serif;

    /* Font Sizes */
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 1.875rem;
    /* 30px */
    --font-size-4xl: 2.25rem;
    /* 36px */

    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* ========================================
       COLORS - Electric (Primary Brand Color)
       ======================================== */
    --color-electric-50: #eff6ff;
    --color-electric-100: #dbeafe;
    --color-electric-200: #bfdbfe;
    --color-electric-300: #93c5fd;
    --color-electric-400: #60a5fa;
    --color-electric-500: #3b82f6;
    /* Primary - CHANGE THIS FOR MAIN COLOR */
    --color-electric-600: #2563eb;
    --color-electric-700: #1d4ed8;
    --color-electric-800: #1e40af;
    --color-electric-900: #1e3a8a;
    --color-electric-950: #172554;

    /* ========================================
       COLORS - Steel (Neutral/Gray)
       ======================================== */
    --color-steel-50: #f8fafc;
    --color-steel-100: #f1f5f9;
    --color-steel-200: #e2e8f0;
    --color-steel-300: #cbd5e1;
    --color-steel-400: #94a3b8;
    --color-steel-500: #64748b;
    --color-steel-600: #475569;
    --color-steel-700: #334155;
    --color-steel-800: #1e293b;
    --color-steel-900: #0f172a;
    --color-steel-950: #0c121f;

    /* ========================================
       COLORS - Accent Colors
       ======================================== */
    --color-accent-purple: #8B5CF6;
    --color-accent-cyan: #06B6D4;
    --color-accent-green: #10b981;

    /* ========================================
       COLORS - Backgrounds
       ======================================== */
    --color-bg-light: #ffffff;
    --color-bg-dark: #0f172a;
    --color-bg-surface-light: #f1f5f9;
    --color-bg-surface-dark: #1e293b;
    --color-bg-topbar: #0c121f;
    --color-bg-footer: #0c121f;

    /* ========================================
       COLORS - Text Colors
       ======================================== */
    --color-text-primary: #1e293b;
    --color-text-secondary: #64748b;
    --color-text-light: #94a3b8;
    --color-text-dark: #0f172a;
    --color-text-white: #ffffff;
    --color-text-topbar: #cbd5e1;

    /* ========================================
       COLORS - Border Colors
       ======================================== */
    --color-border-light: #e2e8f0;
    --color-border-medium: #cbd5e1;
    --color-border-dark: #1e293b;
    --color-border-footer: #1e293b;

    /* ========================================
       COLORS - Hover Colors
       ======================================== */
    --color-hover-primary: var(--color-electric-500);
    --color-hover-secondary: var(--color-electric-600);
    --color-hover-text: var(--color-electric-500);

    /* ========================================
       COLORS - Active/Selected Colors
       ======================================== */
    --color-active: var(--color-electric-500);
    --color-active-text: var(--color-electric-500);

    /* ========================================
       COLORS - Shadow Colors
       ======================================== */
    --color-shadow-electric: rgba(59, 130, 246, 0.1);
    --color-shadow-dark: rgba(0, 0, 0, 0.1);
    --color-shadow-text: rgba(0, 0, 0, 0.4);

    /* ========================================
       TRANSITIONS
       ======================================== */
    --transition-fast: 0.15s;
    --transition-base: 0.3s;
    --transition-slow: 0.5s;
    --transition-timing: ease;

    /* ========================================
       SPACING
       ======================================== */
    --spacing-xs: 0.25rem;
    /* 4px */
    --spacing-sm: 0.5rem;
    /* 8px */
    --spacing-md: 1rem;
    /* 16px */
    --spacing-lg: 1.5rem;
    /* 24px */
    --spacing-xl: 2rem;
    /* 32px */
    --spacing-2xl: 3rem;
    /* 48px */

    /* ========================================
       BORDER RADIUS
       ======================================== */
    --radius-sm: 0.25rem;
    --radius-base: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* ========================================
       MARQUEE SPEED
       ======================================== */
    --marquee-speed: 70s;
    --marquee-speed-mobile: 70s;
}


/* ========================================
   COMMON STYLES - Header and Footer
   ======================================== */

/* ========================================
   GLOBAL / COMMON UTILITIES
   ======================================== */

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-electric-50);
}

::-webkit-scrollbar-thumb {
    background: var(--color-electric-500);
    border-radius: var(--radius-base);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-electric-700);
}

/* Text Shadow Utility */
.text-shadow-light {
    text-shadow: 1px 1px 3px var(--color-shadow-text);
}

/* Asymmetrical Clip Paths */
.asymmetrical-clip {
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0% 90%);
}

.asymmetrical-clip-alt {
    clip-path: polygon(0% 10%, 100% 0%, 100% 90%, 0% 100%);
}

/* Common Utility Classes */
.body-padding-top {
    padding-top: 4rem;
}

@media (min-width: 1024px) {
    .body-padding-top {
        padding-top: 5rem;
    }
}


/* ========================================
   HEADER STYLES
   ======================================== */

/* Top Bar (Contact Info Bar) */
.top-bar {
    background-color: var(--color-bg-topbar);
    color: var(--color-text-topbar);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-xs);
    font-family: var(--font-primary);
}

@media (min-width: 768px) {
    .top-bar {
        font-size: var(--font-size-sm);
    }
}

.top-bar a:hover {
    color: var(--color-hover-primary);
    transition: color var(--transition-base) var(--transition-timing);
}

/* Main Navigation */
#mainNav {
    transition: all var(--transition-base) var(--transition-timing);
    font-family: var(--font-primary);
}

#mainNav .container {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}

#mainNav.scrolled .container,
#mainNav.nav-scrolled .container {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}

#mainNav.scrolled {
    box-shadow: 0 4px 20px var(--color-shadow-electric);
}

/* Header Logo Styles */
.logo-container {
    transition: all var(--transition-base) var(--transition-timing);
}

.logo-container:hover {
    transform: scale(1.1);
}

/* Logo – use .logo class on img; change here to update all pages */
.logo {
    height: 120px;
    max-width: 250px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo {
        height: 70px;
        max-width: 180px;
    }
    
    #mainNav .container,
    #mainNav.scrolled .container,
    #mainNav.nav-scrolled .container {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* Navigation Link Styles */
nav a[href^="#"]:not(.bg-gradient-to-r),
nav a[href$=".html"]:not(.bg-gradient-to-r) {
    position: relative;
    font-family: var(--font-primary);
}

nav a[href^="#"]:not(.bg-gradient-to-r):hover,
nav a[href$=".html"]:not(.bg-gradient-to-r):hover {
    color: var(--color-hover-primary);
}

/* Active Navigation Link */
nav a.nav-active {
    color: rgb(59, 130, 246) !important;
    /* Electric-500 */
    font-weight: 700 !important;
    /* Bold */
}

nav a.nav-active.dark,
.dark nav a.nav-active {
    color: rgb(96, 165, 250) !important;
    /* Electric-400 for dark mode */
}

nav a.nav-active::after {
    width: 100% !important;
    background-color: rgb(59, 130, 246) !important;
    /* Electric-500 */
}

/* Navigation Link Underline Animation */
nav a.relative::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-active);
    transition: width var(--transition-base) var(--transition-timing);
}

nav a.relative:hover::after {
    width: 100%;
}

/* Navigation Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--color-electric-700);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base) var(--transition-timing);
    z-index: 1000;
    min-width: 200px;
    padding: 0.5rem 0;
}

.dark .dropdown-menu {
    background: var(--color-electric-800);
}

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

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: white !important;
    text-decoration: none;
    transition: background-color var(--transition-base) var(--transition-timing);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-menu a:hover {
    background-color: var(--color-electric-600);
}

.dark .dropdown-menu a:hover {
    background-color: var(--color-electric-700);
}

/* Ensure dropdown stays visible when hovering over it */
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Styles */
@media (max-width: 1023px) {
    #mainNav {
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .dark #mainNav {
        background: rgba(15, 23, 42, 0.98) !important;
    }
}

/* Mobile side navigation (common for all pages) */
/* ────────────────────────────────────────────────
   Modern Professional Mobile Navigation 2025
   Electric Blue Theme + Dark Mode
──────────────────────────────────────────────── */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    pointer-events: none;
    overflow: hidden;
}

.mobile-menu.hidden {
    display: none;
}

.mobile-menu-overlay {
    flex: 1 1 auto;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.mobile-menu-drawer {
    width: 82%;
    max-width: 340px;
    height: 100vh;
    max-height: 100vh;
    background: white;
    color: var(--color-text-primary);
    border-radius: 24px 0 0 24px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.22);
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.dark .mobile-menu-drawer {
    background: var(--color-steel-950);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.55);
}

.mobile-menu.open {
    pointer-events: auto;
}

.mobile-menu.open .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu.open .mobile-menu-drawer {
    transform: translateX(0);
}

/* Prevent white flash + better transition feel */
.mobile-menu:not(.open) .mobile-menu-drawer {
    visibility: hidden;
}

.mobile-menu.open .mobile-menu-drawer {
    visibility: visible;
}

/* Prevent horizontal scroll when menu is open */
body.menu-open,
html.menu-open {
    overflow-x: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

body.menu-open {
    overflow-y: hidden;
}

/* ── Header ─────────────────────────────────────── */
.mobile-menu-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--color-electric-600), var(--color-electric-800));
    color: white;
    border-radius: 24px 0 0 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shine 6s infinite linear;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.mobile-menu-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: rotate(90deg);
}

/* ── Body ───────────────────────────────────────── */
.mobile-menu-body {
    padding: 1.25rem 1.25rem;
    flex: 1 1 auto;
    overflow-y: auto;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    margin-bottom: 0.45rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-steel-700);
    font-size: 0.96rem;
    font-weight: 500;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .mobile-menu-link {
    color: var(--color-steel-200);
}

.mobile-menu-link-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--color-electric-50);
    color: var(--color-electric-600);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dark .mobile-menu-link-icon {
    background: rgba(59, 130, 246, 0.12);
    color: var(--color-electric-400);
}

.mobile-menu-link:hover {
    background: rgba(59, 130, 246, 0.09);
    transform: translateX(6px);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12);
}

.dark .mobile-menu-link:hover {
    background: rgba(59, 130, 246, 0.16);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.18);
}

.mobile-menu-link.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.08));
    color: var(--color-electric-600);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.18);
}

.dark .mobile-menu-link.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.32), rgba(59, 130, 246, 0.16));
    color: var(--color-electric-400);
}

.mobile-menu-link.active .mobile-menu-link-icon {
    background: var(--color-electric-600);
    color: white;
    transform: scale(1.08);
}

.dark .mobile-menu-link.active .mobile-menu-link-icon {
    background: var(--color-electric-500);
}

/* Mobile Submenu Styles */
.mobile-menu-link.has-submenu {
    position: relative;
    padding-right: 3rem;
}

.mobile-menu-link.has-submenu::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--color-steel-500);
}

.dark .mobile-menu-link.has-submenu::after {
    color: var(--color-steel-400);
}

.mobile-menu-link.has-submenu.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-left: 0;
    margin-top: 0;
}

.mobile-submenu.open {
    max-height: 500px;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-submenu-item {
    margin-bottom: 0.35rem;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    padding-left: 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-steel-600);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
}

.dark .mobile-submenu-link {
    color: var(--color-steel-300);
}

.mobile-submenu-link::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-electric-400);
    opacity: 0.6;
}

.mobile-submenu-link:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--color-electric-600);
    transform: translateX(4px);
}

.dark .mobile-submenu-link:hover {
    background: rgba(59, 130, 246, 0.14);
    color: var(--color-electric-400);
}

.mobile-submenu-link.active {
    background: rgba(59, 130, 246, 0.12);
    color: var(--color-electric-600);
    font-weight: 600;
}

.dark .mobile-submenu-link.active {
    background: rgba(59, 130, 246, 0.22);
    color: var(--color-electric-400);
}

/* ── Footer CTA ─────────────────────────────────── */
.mobile-menu-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
}

.dark .mobile-menu-footer {
    border-top-color: var(--color-steel-800);
    background: rgba(15, 23, 42, 0.4);
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.mobile-menu-cta-primary {
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--color-electric-500), var(--color-electric-700));
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.38);
}

.mobile-menu-cta-primary:hover {
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--color-electric-400), var(--color-electric-600));
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(59, 130, 246, 0.45);
}

.mobile-menu-cta-secondary {
    background: transparent;
    color: var(--color-electric-600);
    border: 1.5px solid rgba(59, 130, 246, 0.45);
}

.dark .mobile-menu-cta-secondary {
    color: var(--color-electric-400);
    border-color: rgba(59, 130, 246, 0.55);
}

.mobile-menu-cta-secondary:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.dark .mobile-menu-cta-secondary:hover {
    background: rgba(59, 130, 246, 0.14);
}

/* Header Hover Effects */
#mainNav .group:hover .logo-container {
    transform: scale(1.1);
}


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

/* Footer Base Styles */
footer {
    background-color: var(--color-bg-footer);
    border-top: 1px solid var(--color-border-footer);
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

/* Footer Links */
footer a {
    transition: color var(--transition-base);
}

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

/* Footer Headings */
footer h4 {
    color: var(--color-text-white);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-lg);
}

/* Footer Text */
footer p,
footer span,
footer li {
    color: var(--color-text-light);
    font-family: var(--font-primary);
}

/* Footer Social Icons */
footer .social-icon,
footer a i {
    font-size: var(--font-size-xl);
    color: var(--color-text-light);
    transition: color var(--transition-base);
}

footer .social-icon:hover,
footer a:hover i {
    color: var(--color-hover-primary);
}

/* Footer Logo Section */
footer .logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Footer List Styles */
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: var(--spacing-md);
}

footer ul li a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-base);
    font-family: var(--font-primary);
}

footer ul li a:hover {
    color: var(--color-hover-primary);
}

footer ul li a i {
    font-size: var(--font-size-xs);
}

/* Footer Contact Info */
footer .contact-info li {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

footer .contact-info li i {
    color: var(--color-active);
    margin-top: var(--spacing-xs);
}

/* Footer Copyright Section */
footer .copyright {
    border-top: 1px solid var(--color-border-footer);
    padding-top: var(--spacing-xl);
    text-align: center;
}

footer .copyright p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

/* Responsive Footer */
@media (max-width: 767px) {
    footer .grid {
        grid-template-columns: 1fr !important;
    }

    footer .grid>div {
        margin-bottom: var(--spacing-xl);
    }
}

/* Footer Hover Effects */
footer a,
footer .social-icon {
    cursor: pointer;
}

footer a:focus,
footer .social-icon:focus {
    outline: 2px solid var(--color-active);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ========================================
   FIXED SIDEBAR STYLES
   ======================================== */

/* Fixed Social Sidebar */
.fixed-social-sidebar {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-40%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0.75rem;
}

/* Social Icon Container */
.social-sidebar-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all var(--transition-base) var(--transition-timing);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    position: relative;
    overflow: visible;
    text-decoration: none;
}

.social-sidebar-icon:hover {
    transform: translateX(-8px) scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.social-sidebar-icon:active {
    transform: translateX(-5px) scale(1.02);
}

/* Icon Colors */
.social-sidebar-icon.linkedin {
    background-color: #0077b5;
}

.social-sidebar-icon.linkedin:hover {
    background-color: #005885;
}

.social-sidebar-icon.youtube {
    background-color: #FF0000;
}

.social-sidebar-icon.youtube:hover {
    background-color: #cc0000;
}

.social-sidebar-icon.info {
    background-color: #1e40af;
}

.social-sidebar-icon.info:hover {
    background-color: #1e3a8a;
}

.social-sidebar-icon.whatsapp {
    background-color: #25D366;
}

.social-sidebar-icon.whatsapp:hover {
    background-color: #128C7E;
}

.social-sidebar-icon.twitter {
    background-color: #1da1f2;
}

.social-sidebar-icon.twitter:hover {
    background-color: #0d8bd9;
}

.social-sidebar-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-sidebar-icon.instagram:hover {
    background: linear-gradient(45deg, #d0842b 0%, #ce5a34 25%, #c4213d 50%, #b41f5a 75%, #a41678 100%);
}

.social-sidebar-icon i,
.social-sidebar-icon span.material-symbols-outlined {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Tooltip on hover */
.social-sidebar-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-steel-900);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base) var(--transition-timing);
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-sidebar-icon:hover::before {
    opacity: 1;
}

/* Responsive - Mobile Styles */
@media (max-width: 768px) {
    .fixed-social-sidebar {
        padding: 1rem 0.5rem;
        gap: 0.75rem;
    }

    .social-sidebar-icon {
        width: 44px;
        height: 44px;
    }

    .social-sidebar-icon i,
    .social-sidebar-icon span.material-symbols-outlined {
        font-size: 1.25rem;
    }

    .social-sidebar-icon:hover {
        transform: translateX(-5px) scale(1.03);
    }

    .social-sidebar-icon::before {
        right: 50px;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .fixed-social-sidebar {
        padding: 0.75rem 0.375rem;
        gap: 0.5rem;
    }

    .social-sidebar-icon {
        width: 40px;
        height: 40px;
    }

    .social-sidebar-icon i,
    .social-sidebar-icon span.material-symbols-outlined {
        font-size: 1.125rem;
    }

    .social-sidebar-icon::before {
        right: 45px;
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Left Animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right Animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Slide In Bottom Animation */
@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rotate In Animation */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.95);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-bottom {
    animation: slideInBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.rotate-in {
    animation: rotateIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger Delay Utilities */
.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}

/* ========================================
   ENHANCED HOVER EFFECTS
   ======================================== */

/* Card Hover Effects */
.hover-lift {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.hover-scale {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

/* Service/Product Card Enhanced Hover */
.service-card,
.product-card {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before,
.product-card:hover::before {
    left: 100%;
}

.service-card:hover,
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.2);
    border-color: var(--color-electric-500);
}

.service-card:hover .material-symbols-outlined,
.product-card:hover .material-symbols-outlined {
    transform: scale(1.2) rotate(5deg);
    color: var(--color-electric-500);
}

.service-card .material-symbols-outlined,
.product-card .material-symbols-outlined {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

/* Team Card Hover */
.team-card {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 48px rgba(59, 130, 246, 0.25);
}

.team-card:hover .w-20 {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.team-card .w-20 {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

/* Expertise Card Hover */
.expertise-card {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card:hover {
    transform: translateY(-6px) translateX(4px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--color-electric-500);
}

.expertise-card:hover .material-symbols-outlined {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--color-electric-500), var(--color-electric-700));
}

.expertise-card .material-symbols-outlined {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pipeline Repair Card Hover */
.pipeline-card {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pipeline-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.pipeline-card:hover::after {
    border-color: var(--color-electric-500);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.pipeline-card:hover {
    transform: translateY(-8px) scale(1.03);
}

.pipeline-card:hover img {
    transform: scale(1.1);
}

/* Gallery Image Hover */
.gallery-image {
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gallery-image:hover {
    transform: scale(1.05) rotate(1deg);
}

.gallery-image:hover .overlay {
    opacity: 1;
}

.gallery-image .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.8));
    opacity: 0;
    transition: opacity var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Button Hover Enhancements */
.btn-gradient {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-gradient:hover::before {
    width: 300px;
    height: 300px;
}

/* Section Header Animations */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Icon Hover Effects */
.icon-hover {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-hover:hover {
    transform: rotate(360deg) scale(1.1);
    color: var(--color-electric-500);
}

/* Text Gradient Hover */
.text-gradient-hover {
    background: linear-gradient(135deg, var(--color-electric-500), var(--color-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.text-gradient-hover:hover {
    background: linear-gradient(135deg, var(--color-electric-400), var(--color-accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse Animation for Icons */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ========================================
   GALLERY PAGE STYLES
   ======================================== */

/* Staggered Grid Layout */
.staggered-grid {
    columns: 1;
    column-gap: 1.5rem;
    transition: height 0.6s ease, margin-top 0.6s ease;
}

@media (min-width: 640px) {
    .staggered-grid {
        columns: 2;
    }
}

@media (min-width: 1024px) {
    .staggered-grid {
        columns: 3;
    }
}

@media (min-width: 1280px) {
    .staggered-grid {
        columns: 4;
    }
}

.staggered-grid-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.staggered-grid-item:nth-child(3n+1) .staggered-image {
    height: 350px;
}

.staggered-grid-item:nth-child(3n+2) .staggered-image {
    height: 280px;
}

.staggered-grid-item:nth-child(3n+3) .staggered-image {
    height: 420px;
}

@media (min-width: 1280px) {
    .staggered-grid-item:nth-child(4n+1) .staggered-image {
        height: 380px;
    }

    .staggered-grid-item:nth-child(4n+2) .staggered-image {
        height: 300px;
    }

    .staggered-grid-item:nth-child(4n+3) .staggered-image {
        height: 450px;
    }

    .staggered-grid-item:nth-child(4n+4) .staggered-image {
        height: 250px;
    }
}

.staggered-image {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 639px) {
    .staggered-grid-item .staggered-image {
        height: 250px;
    }
}

/* Gallery Filter Button Active State */
.filter-btn.active {
    background: linear-gradient(to right, var(--color-electric-500), var(--color-electric-700)) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4) !important;
    transform: scale(1.05);
}

.filter-btn:not(.active):hover {
    border-color: var(--color-electric-500) !important;
    background-color: rgba(59, 130, 246, 0.05) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}

/* Gallery Item Hide/Show Animation */
.gallery-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    opacity: 0 !important;
    transform: scale(0.85) !important;
    pointer-events: none;
    margin-bottom: 0 !important;
    overflow: hidden;
    max-height: 0;
}

.gallery-item.visible {
    opacity: 1 !important;
    transform: scale(1) !important;
    max-height: none;
}

/* ========================================
   PROJECTS PAGE STYLES
   ======================================== */

/* Project Card Unique Styles */
.project-card-1 {
    position: relative;
    overflow: hidden;
}

.project-card-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-electric-500), transparent);
    transition: left 0.5s ease;
    z-index: 10;
}

.project-card-1:hover::before {
    left: 100%;
}

.project-card-2 {
    position: relative;
    overflow: hidden;
}

.project-card-2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-electric-600), transparent);
    transition: height 0.5s ease;
    z-index: 10;
}

.project-card-2:hover::after {
    height: 100%;
}

.project-card-3 {
    position: relative;
}

.project-card-3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-electric-700), transparent);
    transition: width 0.5s ease;
    z-index: 10;
}

.project-card-3:hover::before {
    width: 100%;
}

.project-card-4 {
    position: relative;
}

.project-card-4::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-electric-600), var(--color-electric-700));
    transition: width 0.5s ease;
    z-index: 10;
}

.project-card-4:hover::after {
    width: 100%;
}

.project-card-5 {
    position: relative;
}

.project-card-5::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, transparent, var(--color-electric-500), transparent);
    transform: translateY(-50%);
    transition: height 0.5s ease;
    z-index: 10;
}

.project-card-5:hover::before {
    height: 100%;
}

.project-card-6 {
    position: relative;
}

.project-card-6::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-electric-500), transparent);
    transform: translateX(-50%);
    transition: width 0.5s ease;
    z-index: 10;
}

.project-card-6:hover::after {
    width: 100%;
}

.project-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image-overlay {
    opacity: 1;
}

.project-info-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(59, 130, 246, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 5;
}

.project-card:hover .project-info-badge {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   PRODUCTS PAGE STYLES
   ======================================== */

/* Product Card Unique Styles */
.product-card-1 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-left: 4px solid var(--color-electric-500);
}

.product-card-2 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-left: 4px solid var(--color-electric-600);
}

.product-card-3 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-left: 4px solid var(--color-electric-700);
}

.product-card-1:hover,
.product-card-2:hover,
.product-card-3:hover {
    transform: translateY(-8px) translateX(4px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.product-image-wrapper-1,
.product-image-wrapper-2,
.product-image-wrapper-3 {
    position: relative;
    overflow: hidden;
}

.product-image-wrapper-1::before,
.product-image-wrapper-2::before,
.product-image-wrapper-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card-1:hover .product-image-wrapper-1::before,
.product-card-2:hover .product-image-wrapper-2::before,
.product-card-3:hover .product-image-wrapper-3::before {
    opacity: 1;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Contact Card Unique Styles */
.contact-card-1 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-left: 4px solid var(--color-electric-500);
}

.contact-card-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-card-1:hover::before {
    left: 100%;
}

.contact-card-2 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-left: 4px solid var(--color-electric-600);
}

.contact-card-2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-electric-600), transparent);
    transition: height 0.5s ease;
}

.contact-card-2:hover::after {
    height: 100%;
}

.contact-card-3 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-left: 4px solid var(--color-electric-700);
}

.contact-card-3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-electric-700), transparent);
    transition: width 0.5s ease;
}

.contact-card-3:hover::before {
    width: 100%;
}

.contact-card:hover {
    transform: translateY(-8px) translateX(4px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.contact-icon-wrapper {
    position: relative;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
}

.map-container {
    position: relative;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.map-container:hover::before {
    opacity: 1;
}

/* ========================================
   DARK MODE SUPPORT (Optional)
   ======================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --color-bg-light: var(--color-bg-dark);
        --color-text-primary: var(--color-steel-200);
        --color-text-secondary: var(--color-steel-400);
    }
}

/* ========================================
   CONTACT FORM STYLES
   ======================================== */

/* Form Container */
.contact-form-container {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Form Field Styles */
.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: var(--color-electric-500);
}

.form-group label {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left top;
}

.form-group.focused label {
    transform: translateY(-8px) scale(0.9);
    color: var(--color-electric-500);
}

/* Form Field Hover Effects */
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--color-electric-400);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Form Field Icons */
.form-group label i {
    color: var(--color-electric-500);
    margin-right: 0.5rem;
}

/* Submit Button Enhanced */
.form-submit-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-electric-500), var(--color-electric-700));
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.form-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.form-submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.form-submit-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Form Validation Styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group textarea.success,
.form-group select.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Contact Methods Cards */
.contact-method-card {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.contact-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.contact-method-card:hover .contact-method-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--color-electric-500), var(--color-electric-700));
}

.contact-method-card:hover .contact-method-icon i {
    color: white;
}

.contact-method-icon {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

/* Notification Styles */
.notification {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification.info {
    background: linear-gradient(135deg, var(--color-electric-500), var(--color-electric-700));
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
        font-size: 1rem;
    }

    .contact-method-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .notification {
        left: 1rem;
        right: 1rem;
        transform: translateY(-100%);
    }

    .notification.show {
        transform: translateY(0);
    }
}

/* Form Loading State */
.form-loading {
    pointer-events: none;
    opacity: 0.7;
}

.form-loading .form-submit-btn {
    background: var(--color-steel-400);
    cursor: not-allowed;
}

/* Form Field Focus Ring */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
    outline: 2px solid var(--color-electric-500);
    outline-offset: 2px;
}

/* Custom Select Arrow */
.form-group select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

/* Dark mode select arrow */
.dark .form-group select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%9ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Form Success State */
.form-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.form-success::before {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ========================================
   INTERACTIVE MAP STYLES
   ======================================== */

/* Ensure map iframe interactions work properly */
.map-container iframe {
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Map container hover effects that don't interfere with map */
.map-container {
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

/* Map interaction hint */
.map-container::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 2rem;
    height: 2rem;
    background: rgba(59, 130, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.map-container::after {
    content: '🔍';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 0.875rem;
    z-index: 6;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.map-container:hover::before,
.map-container:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Mobile map interactions */
@media (max-width: 768px) {
    .map-container iframe {
        min-height: 400px;
    }

    /* Show interaction hint on mobile */
    .map-container::before,
    .map-container::after {
        opacity: 1;
        transform: scale(1);
    }
}

/* Map loading state */
.map-container iframe[src=""] {
    background: linear-gradient(90deg, var(--color-steel-200), var(--color-steel-100), var(--color-steel-200));
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

    100% {
        background-position: -200% 0;
    }
}

/* Ensure map info card doesn't interfere with map interactions */
.map-container .absolute {
    pointer-events: none;
}

.map-container .absolute a,
.map-container .absolute button {
    pointer-events: auto;
}

/* ========================================
   SCROLL RESTORATION FIXES
   ======================================== */

/* Prevent layout shifts during page load */
html {
    scroll-behavior: smooth;
}

/* Ensure page loads at top when no hash */
body {
    scroll-behavior: smooth;
}

/* Fix for scroll restoration issues */
.page-loading {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.page-loaded {
    opacity: 1;
}

/* Prevent flash of unstyled content */
.animate-on-scroll {
    will-change: transform, opacity;
}



/* Fix for mobile scroll issues */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* ========================================
   CLIENTS MARQUEE STYLES
   ======================================== */

.clients-marquee-container {
    position: relative;
    padding: 1rem 0;
    overflow: visible;
}

.clients-marquee-row {
    overflow: visible;
    white-space: nowrap;
    position: relative;
    padding: 1rem 0;
    margin: 0 -1rem;
}

.clients-marquee-track {
    display: inline-flex;
    gap: 1rem;
    animation: marquee-scroll var(--marquee-speed, 30s) linear infinite;
    will-change: transform;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    padding: 0 1rem;
}

.clients-marquee-track:active {
    cursor: grabbing;
}

.clients-marquee-track-reverse {
    animation: marquee-scroll-reverse var(--marquee-speed, 30s) linear infinite;
}

.clients-marquee-item {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--color-electric-500);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    overflow: visible;
}

.dark .clients-marquee-item {
    background: var(--color-steel-800);
}

.clients-marquee-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
    z-index: 10;
    position: relative;
}

.clients-marquee-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Team Marquee Items - Larger Size */
.team-marquee-item {
    width: 200px !important;
    height: 200px !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 1rem;
}

.team-marquee-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.3);
    z-index: 20;
}

.team-marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

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

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

@media (max-width: 768px) {
    .clients-marquee-item {
        width: 120px;
        height: 85px;
        padding: 0.5rem 0.75rem;
    }
    
    .team-marquee-item {
        width: 150px !important;
        height: 150px !important;
    }
    
    .clients-marquee-track {
        gap: 0.75rem;
        animation-duration: var(--marquee-speed-mobile, 25s);
    }
    
    .clients-marquee-track-reverse {
        animation-duration: var(--marquee-speed-mobile, 25s);
    }
}

@media (max-width: 640px) {
    .team-marquee-item {
        width: 120px !important;
        height: 120px !important;
    }
}

/* ========================================
   HERO SLIDER STYLES
   ======================================== */

/* Hero Slider Container */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 700px;
    overflow: hidden;
}

/* Separate containers for video and image sliders */
.hero-slider-video,
.hero-slider-image {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Hero Video Styles */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-slide.active .hero-video {
    display: block;
}

.hero-slide:not(.active) .hero-video {
    display: none;
}

/* Slide Content Animation */
.hero-slide.active h2,
.hero-slide.active h1,
.hero-slide.active p,
.hero-slide.active .flex {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-slide.active h2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-slide.active h1 {
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-slide.active p {
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-slide.active .flex {
    animation-delay: 0.8s;
    opacity: 0;
}

/* Progress Bar */
.hero-slider-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-electric-500), var(--color-electric-600));
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Navigation Dots */
.hero-slider-dots {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
    border-color: var(--color-electric-400);
}

.hero-dot.active {
    background: var(--color-electric-500);
    border-color: var(--color-electric-500);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

/* Navigation Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
}

.hero-slider-arrow:hover {
    background: rgba(59, 130, 246, 0.8);
    border-color: var(--color-electric-500);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
}

.hero-slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-arrow-prev {
    left: 2rem;
}

.hero-arrow-next {
    right: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .hero-arrow-prev {
        left: 1rem;
    }

    .hero-arrow-next {
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        min-height: 600px;
        height: 80vh;
    }

    .hero-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-arrow-prev {
        left: 0.75rem;
    }

    .hero-arrow-next {
        right: 0.75rem;
    }

    .hero-slider-dots {
        gap: 0.5rem;
        padding: 0.75rem;
        bottom: 4rem;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-dot.active {
        width: 24px;
    }

    .hero-slide h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    .hero-slide h2 {
        font-size: 1.5rem !important;
    }

    .hero-slide p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-slide .flex {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-slide a {
        padding: 0.75rem 2rem !important;
        font-size: 0.875rem !important;
    }
}

@media (max-width: 480px) {
    .hero-slider-container {
        min-height: 500px;
        height: 70vh;
    }

    .hero-slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .hero-slider-dots {
        bottom: 3.5rem;
    }

    .hero-slide h1 {
        font-size: 2rem !important;
    }

    .hero-slide h2 {
        font-size: 1.25rem !important;
    }

    .hero-slide p {
        font-size: 0.85rem !important;
    }
}