/* =============================================
   SHARED.CSS - Common styles for all pages
   ============================================= */

:root {
    /* Standardized Common Color Code Format */
    --primary-color: #0d9488;
    --primary: #0d9488;
    --primary-hover: #0f766e;
    --primary-dark: #0f766e;

    --secondary-color: #38bdf8;
    --secondary: #38bdf8;
    --secondary-hover: #0284c7;
    --secondary-dark: #0284c7;

    --accent-color: #f97316;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-dark: #ea580c;

    --dark-bg: #020617;
    --darker-bg: #000000;
    --card-bg: #0f172a;
    --card-hover-bg: #1e293b;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255,255,255,0.08);
    --border-hover-color: rgba(255,255,255,0.15);

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #0d9488 0%, #38bdf8 100%);
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    --dark-gradient: linear-gradient(180deg, #020617 0%, #0f172a 50%, #020617 100%);
    --card-gradient: linear-gradient(145deg, #0f172a, #020617);

    /* Fonts */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.2);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.3);
    --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(13, 148, 136, 0.2);

    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-md: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    background: none;
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-md);
}

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

/* =============================================
   BUTTONS - Professional Industrial Design
   ============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: white;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-md);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 32px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    transition: all var(--transition-slow);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   TOP HEADER — Dark Theme
   ============================================= */
.top-header {
    background: #0f172a;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-md);
}

/* Subtle teal accent line at bottom */
.top-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.5), rgba(56, 189, 248, 0.3), transparent);
}

.top-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    gap: 24px;
}

.top-contact a {
    color: #94a3b8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-md);
    font-size: 0.83rem;
    font-weight: 500;
}

.top-contact a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.top-contact a i {
    color: var(--primary-color);
    font-size: 0.85rem;
    transition: all var(--transition-md);
    background: rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.top-contact a:hover i {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.squircle-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.new-top-social {
    display: flex;
    gap: 10px;
}

.new-top-social-inner {
    display: flex;
    gap: 8px;
}

.new-social-item {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-md);
    text-decoration: none;
}

.new-social-item.facebook {
    background: linear-gradient(135deg, #1877f2, #0c57b9);
}

.new-social-item.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.new-social-item.linkedin {
    background: linear-gradient(135deg, #0077b5, #005582);
}

.new-social-item.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.new-social-item i {
    font-size: 13px;
}

.new-social-item:hover {
    transform: translateY(-2px) scale(1.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: relative;
    padding: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e8eef5;
    transition: all var(--transition-md);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.07);
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* ---- Logo ---- */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    gap: 2px;
}

.nav-logo-img {
    height: 42px;
    width: auto;
    transition: height var(--transition-md);
}

.nav-tagline {
    font-size: 9.5px;
    font-weight: 700;
    color: #0d9488;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    display: block;
    line-height: 1;
}

/* ---- Nav Menu wrapper ---- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu > ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

/* ---- Nav Links ---- */
.nav-menu > ul > li > a {
    color: #334155;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Underline bar on active/hover */
.nav-menu > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0d9488, #38bdf8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-menu > ul > li > a:hover,
.nav-menu > ul > li > a.active {
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.06);
}

.nav-menu > ul > li > a:hover::after,
.nav-menu > ul > li > a.active::after {
    transform: scaleX(1);
}

/* ---- Get a Quote Button ---- */
.new-quote-btn {
    margin-left: 10px;
    background: var(--primary-gradient);
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.28);
    transition: all 0.25s ease !important;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.new-quote-btn::after {
    display: none !important;
}

.new-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.42);
    background: linear-gradient(135deg, #0f766e 0%, #0284c7 100%);
    color: #ffffff !important;
    background-size: 100%;
}

/* =============================================
   DROPDOWN
   ============================================= */
.dropdown {
    position: relative;
}

/* Chevron arrow */
.dropdown > a .fa-chevron-down {
    font-size: 0.65rem;
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.25s ease;
    margin-left: 2px;
}

.dropdown:hover > a .fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* ---- Dropdown Panel ---- */
/* top: 100% with padding-top creates an invisible hover bridge —
   mouse can travel from the trigger into the panel without losing hover */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 14px 6px 6px 6px;   /* 14px top = invisible hover bridge */
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0.22s;
    z-index: 1100;
    list-style: none;
    pointer-events: none;
}

/* The actual visible white card is on ::after */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: 14px;          /* matches padding-top bridge */
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 10px 24px rgba(15, 23, 42, 0.10),
        0 20px 48px rgba(15, 23, 42, 0.08);
    z-index: -1;
}

/* Top caret triangle — sits at the visible top edge */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 9px;           /* 14px bridge - 5px so it peeks above the card */
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 11px;
    height: 11px;
    background: #ffffff;
    border-left: 1px solid #e8eef5;
    border-top: 1px solid #e8eef5;
    border-radius: 2px 0 0 0;
    z-index: 1;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* ---- Dropdown list items ---- */
.dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;         /* sit above the ::after card background */
}

.dropdown-menu li + li {
    margin-top: 2px;
}

/* ---- Dropdown links ---- */
.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-display);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a:hover {
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.07);
    transform: translateX(3px);
}

/* ---- Icon box ---- */
.dropdown-menu li a .drop-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary-color);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dropdown-menu li a:hover .drop-icon {
    background: linear-gradient(135deg, #0d9488, #38bdf8);
    color: #ffffff;
    transform: scale(1.08);
}

/* ---- Label text ---- */
.dropdown-menu li a .drop-text {
    flex: 1;
    line-height: 1.3;
}

/* ---- Theme Toggle ---- */
.theme-toggle {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-md);
    margin-left: 6px;
}

.theme-toggle:hover {
    background: #0d9488;
    border-color: #0d9488;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.theme-toggle i {
    font-size: 1rem;
    color: #334155;
}

.theme-toggle:hover i {
    color: white;
}

/* ---- Mobile Toggle ---- */
.mobile-toggle {
    display: none;
    font-size: 1.4rem;
    color: #1e293b;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-toggle:hover {
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary-color);
}

/* ---- Blobs (hidden on light navbar) ---- */
.navbar-bg-container {
    display: none;
}

.nav-blob {
    display: none;
}

/* ---- Sticky State ---- */
.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.10);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.navbar.sticky .navbar-inner {
    height: 60px;
}

.navbar.sticky .nav-logo-img {
    height: 36px;
}

.nav-logo-img {
    transition: height var(--transition-md);
}

/* Page Hero Styling */
.page-hero {
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero h1 .highlight-word {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    padding: 10px 24px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb span {
    color: var(--text-muted);
}

/* Section Headers & Titles */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
}

.section-title .highlight-word {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
}

/* Light Section Text Override (for clarity) */
.bg-light-section h1,
.bg-light-section h2,
.bg-light-section h3,
.bg-light-section h4 {
    color: #0f172a;
}

.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
    color: #ffffff;
}

/* =============================================
   SECTION BACKGROUNDS — Global Dark/Light System
   Used across ALL pages for unified color theme
   ============================================= */
.bg-dark-section {
    background: #050914;
    position: relative;
    overflow: hidden;
}

.bg-light-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Dark section text */
.bg-dark-section .section-title,
.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
    color: #ffffff;
}

.bg-dark-section p,
.bg-dark-section li {
    color: var(--text-secondary);
}

/* Light section text */
.bg-light-section .section-title,
.bg-light-section h2,
.bg-light-section h3,
.bg-light-section h4 {
    color: #0f172a;
}

.bg-light-section p,
.bg-light-section li {
    color: #475569;
}

/* Ambient orb for dark sections */
.bg-dark-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05), transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.bg-dark-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.05), transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.bg-dark-section .container,
.bg-dark-section > div {
    position: relative;
    z-index: 1;
}

/* =============================================
   PAGE HERO — Shared dark hero for inner pages
   ============================================= */
.page-hero {
    padding: 100px 0 100px;
    background: radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.08), transparent 25%),
                radial-gradient(circle at 88% 12%, rgba(139, 92, 246, 0.07), transparent 20%),
                linear-gradient(180deg, #020617 0%, #0b1528 50%, #020617 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.page-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 28px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    font-size: 0.92rem;
    font-weight: 500;
}

.page-hero .breadcrumb a { color: var(--text-secondary); }
.page-hero .breadcrumb a:hover { color: var(--secondary-color); }
.page-hero .breadcrumb span { color: var(--text-muted); }
.page-hero .breadcrumb .current { color: var(--primary-color); font-weight: 700; }

/* =============================================
   CTA BANNER — Shared dark CTA for inner pages
   ============================================= */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, #020617 0%, #0a1628 50%, #020617 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    animation: ctaBreath 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaBreath {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.cta-banner p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1rem;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.25);
    border: none;
    transition: all var(--transition-md);
}

.cta-buttons .btn-primary:hover,
.cta-buttons .btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(13, 148, 136, 0.4);
}

/* =============================================
   GLASS PANEL — Universal dark glass card
   ============================================= */
.glass-panel {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Light glass panel for light sections */
.bg-light-section .glass-panel,
.light-glass {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
}

/* =============================================
   SHARED FORM CONTROLS
   ============================================= */
.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: var(--text-primary);
    outline: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-appearance: none;
}

.form-control::placeholder {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.form-control:hover {
    border-color: rgba(13, 148, 136, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-control:focus {
    border-color: var(--primary-color);
    background: rgba(13, 148, 136, 0.04);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.15), inset 0 0 10px rgba(13, 148, 136, 0.02);
    transform: translateY(-2px);
}

.form-control:focus::placeholder {
    transform: translateX(8px);
    opacity: 0.5;
}

.form-control option { background: #0f172a; color: #ffffff; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Inline Input Icons */
.form-group.position-relative {
    position: relative;
}
.form-group.position-relative .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 5;
}
.form-group.position-relative textarea.form-control ~ .input-icon {
    top: 22px;
    transform: none;
}
.form-group.position-relative .form-control {
    padding-left: 48px !important;
}
.form-group.position-relative .form-control:focus ~ .input-icon {
    color: #38bdf8;
    transform: translateY(-50%) scale(1.1);
}
.form-group.position-relative textarea.form-control:focus ~ .input-icon {
    transform: scale(1.1);
}

.title-underline {
    width: 40px;
    height: 4px;
    background: #38bdf8;
    margin: 15px 0 25px;
    border-radius: 2px;
}

/* =============================================
   SECTION HEADERS - Professional Hierarchy
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-subtitle,
.premium-badge-subtitle,
.process-pretitle {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-family: var(--font-display);
}

/* For dark background sections */
.bg-dark-section .section-subtitle,
.bg-dark-section .premium-badge-subtitle,
.bg-dark-section .process-pretitle,
.hero-tag {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #38bdf8 !important; /* Electric Blue */
}

/* For light background sections */
.bg-light-section .section-subtitle,
.bg-light-section .premium-badge-subtitle,
.bg-light-section .process-pretitle {
    background: rgba(13, 148, 136, 0.05) !important;
    border: 1px solid rgba(13, 148, 136, 0.15) !important;
    color: var(--primary-color) !important; /* Teal */
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
    display: inline-block;
}

.bg-dark-section .pulse-dot,
.hero-tag .pulse-dot {
    background: #38bdf8 !important;
    box-shadow: 0 0 8px #38bdf8;
}

.bg-light-section .pulse-dot {
    background: var(--primary-color) !important;
    box-shadow: 0 0 8px var(--primary-color);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.section-title .highlight-word {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* =============================================
   CARDS - Professional Industrial Style
   ============================================= */
.card {
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-slow);
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* =============================================
   FOOTER — Global Premium Design
   Edit once here → updates ALL pages instantly
   ============================================= */
.footer {
    background: linear-gradient(180deg, #050914 0%, #02040a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 90px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Teal top glow line */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.35), rgba(56, 189, 248, 0.2), transparent);
}

/* Ambient orb */
.footer::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.04) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

/* ---- Grid Layout ---- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* ---- Logo & About ---- */
.footer-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    display: block;
}

.footer-about-text {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 28px;
}

/* ---- Social Icons ---- */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    background: var(--primary-gradient);
    z-index: -1;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social-link:hover {
    transform: translateY(-5px);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 20px -8px rgba(13, 148, 136, 0.5);
}

.footer-social-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.footer-social-link:hover i {
    color: #ffffff !important;
}

.footer-social-link.facebook:hover  { background: #1877f2;  border-color: #1877f2; }
.footer-social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social-link.linkedin:hover  { background: #0077b5;  border-color: #0077b5; }
.footer-social-link.whatsapp:hover  { background: #25d366;  border-color: #25d366; }

/* For social links with colored bg on hover — override the gradient pseudo */
.footer-social-link.facebook:hover::before,
.footer-social-link.instagram:hover::before,
.footer-social-link.linkedin:hover::before,
.footer-social-link.whatsapp:hover::before { opacity: 0; }

/* ---- Heading Style ---- */
.footer-links h4,
.footer-newsletter h4,
.footer-contact-col h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-newsletter h4::after,
.footer-contact-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* ---- Link Lists ---- */
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.footer-links ul li a {
    font-size: 0.92rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 18px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    left: 0;
}

/* ---- Contact Column ---- */
.footer-contact-col .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-contact-col .footer-contact-item i {
    font-size: 1rem;
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(13, 148, 136, 0.15);
    transition: all var(--transition-md);
}

.footer-contact-col .footer-contact-item:hover i {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1);
}

.footer-contact-col .footer-contact-item a,
.footer-contact-col .footer-contact-item span {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.55;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact-col .footer-contact-item a:hover {
    color: var(--primary-color);
}

/* ---- Newsletter ---- */
.footer-newsletter p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 4px;
    box-sizing: border-box;
    transition: border-color var(--transition-md), box-shadow var(--transition-md);
}

.newsletter-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(13, 148, 136, 0.15);
}

.newsletter-form input[type="email"] {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-form input[type="email"]::placeholder { color: #64748b; }

.newsletter-form button[type="submit"] {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.newsletter-form button[type="submit"]:hover {
    transform: scale(1.08) rotate(-10deg);
    box-shadow: 0 0 15px rgba(13, 148, 136, 0.4);
}

/* ---- Footer Bottom Bar ---- */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 15px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.875rem; /* 14px */
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 500;
    transition: all var(--transition-md);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- Floating WhatsApp Button ---- */
.floating-wa {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    z-index: 9998;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: waPulse 2.5s ease-in-out infinite;
}

.floating-wa:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.3); }
    50%       { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ---- Scroll to Top ---- */
.scroll-top,
#scrollTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-md);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
    z-index: 999;
    border: none;
}

.scroll-top.visible,
#scrollTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover,
#scrollTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(13, 148, 136, 0.45);
}

/* ---- Footer Responsive ---- */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer {
        padding: 70px 0 30px;
    }
    .floating-wa {
        bottom: 76px;
        right: 17px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .scroll-top,
    #scrollTop {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-md);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

#scrollTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTop:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* --- Shared Premium Utilities --- */
.gradient-text-orange,
.text-orange-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.gradient-text-cyan,
.text-cyan-glow {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.gradient-text-mixed {
    background: linear-gradient(135deg, #0d9488 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Staggered transition delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }
.delay-7 { transition-delay: 0.7s !important; }
.delay-8 { transition-delay: 0.8s !important; }

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: rgba(15,23,42,0.98);
        flex-direction: column;
        padding: 100px 32px 40px;
        transition: right 0.4s ease;
        gap: var(--space-xl);
        z-index: 1002;
        border-left: 1px solid var(--border-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .new-quote-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
        padding: 14px 24px !important;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        margin-top: var(--space-sm);
        padding: 0 !important;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.open .dropdown-menu {
        max-height: 300px;
        padding: 8px 0 8px var(--space-md) !important;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .top-contact {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .top-header-inner {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 576px) {
    .top-contact {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

/* Custom Animated Cursor */
@media (hover: hover) {
    body.custom-cursor-enabled,
    body.custom-cursor-enabled html {
        cursor: none !important;
    }
    
    body.custom-cursor-enabled a,
    body.custom-cursor-enabled button,
    body.custom-cursor-enabled select,
    body.custom-cursor-enabled input,
    body.custom-cursor-enabled textarea,
    body.custom-cursor-enabled [role="button"],
    body.custom-cursor-enabled .dropdown,
    body.custom-cursor-enabled .mobile-toggle {
        cursor: none !important;
    }

    .custom-cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--primary-color);
        position: fixed;
        top: 0; left: 0;
        border-radius: 50%;
        pointer-events: none;
        z-index: 999999999 !important;
        transform: translate3d(0, 0, 0);
        margin-top: -4px;
        margin-left: -4px;
        transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    }

    .custom-cursor-outline {
        width: 36px;
        height: 36px;
        border: 2px solid var(--secondary-color);
        position: fixed;
        top: 0; left: 0;
        border-radius: 50%;
        pointer-events: none;
        z-index: 999999998 !important;
        transform: translate3d(0, 0, 0);
        margin-top: -18px;
        margin-left: -18px;
        transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    }

    .custom-cursor-dot.hover {
        width: 12px;
        height: 12px;
        margin-top: -6px;
        margin-left: -6px;
        background-color: var(--accent-color);
    }

    .custom-cursor-outline.hover {
        width: 52px;
        height: 52px;
        margin-top: -26px;
        margin-left: -26px;
        border-color: var(--accent-color);
        background-color: rgba(249, 115, 22, 0.08);
    }
}

/* =============================================
   SHARED RESPONSIVE OVERRIDES
   ============================================= */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 70px;
    }
    
    .page-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .page-hero .breadcrumb {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .cta-banner {
        padding: 80px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 90px 0 60px;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.4rem);
    }
}
