/* ==========================================================================
   KHALLET JANZOUR DESIGN SYSTEM
   Complete brand theme for swimming pool services since 2005
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES - BRAND COLORS & SETTINGS
   -------------------------------------------------------------------------- */
:root {
    /* Primary Brand Colors */
    --color-primary: #2C5F7F;           /* Dark blue - water depth, trust */
    --color-primary-soft: #4A90B8;      /* Medium blue for hovers/backgrounds */
    --color-accent-gold: #B8D8E8;       /* Light blue accents, highlights */
    --color-dark: #1A3A4D;              /* Deep navy for text, headings */

    /* Background Colors */
    --color-bg: #F0F7FB;                /* Light blue-tinted page background */
    --color-bg-soft: #D4E8F3;           /* Soft blue-gray section backgrounds */
    --color-white: #FFFFFF;             /* Pure white */
    --color-off-white: #F8FCFF;         /* Cool white with blue tint */

    /* Border & Shadow Settings */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-pill: 999px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.08);

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
}

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY
   -------------------------------------------------------------------------- */
body {
    font-family: 'Poppins', 'Tajawal', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-dark);
    letter-spacing: 0.01em;
    background: var(--color-bg);
}

/* Arabic-specific typography */
body[dir="rtl"] {
    font-family: 'Tajawal', 'Cairo', 'Poppins', sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.01em;
    line-height: 1.3;
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
}

/* Text utilities */
.text-primary { color: var(--color-primary) !important; }
.text-dark { color: var(--color-dark) !important; }
.text-muted { color: rgba(26, 58, 77, 0.6) !important; }

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Small labels / tags (uppercase) */
.tag-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-soft);
}

/* --------------------------------------------------------------------------
   3. LAYOUT & SECTIONS
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

main {
    flex-grow: 1;
}

.section-padded {
    padding: var(--spacing-xxl) 0;
}

@media (max-width: 768px) {
    .section-padded {
        padding: var(--spacing-lg) 0;
    }
}

/* Section backgrounds */
.section-white {
    background: var(--color-white);
}

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

.section-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-gold) 100%);
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 58, 77, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    color: var(--color-dark);
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 1.25rem;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--color-primary);
}

.nav-link {
    color: var(--color-dark);
    padding: 0.65rem 0.9rem;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-primary);
    border-color: var(--color-primary-soft);
    background: rgba(44, 95, 127, 0.05);
}

.nav-link.active {
    color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 600;
}

/* Navbar toggler */
.navbar-toggler {
    border: 1px solid rgba(26, 58, 77, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(44, 95, 127, 0.15);
}

/* Mobile navbar */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--color-white);
        padding: 1rem;
        margin-top: 0.75rem;
        box-shadow: var(--shadow-md);
        border-radius: var(--border-radius-md);
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Dropdown menus */
.dropdown-menu {
    border: 1px solid rgba(26, 58, 77, 0.08);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.dropdown-item {
    padding: 0.6rem 1rem;
    color: var(--color-dark);
    transition: background-color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(44, 95, 127, 0.08);
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    border-radius: var(--border-radius-pill);
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #23526B 100%);
    border-color: transparent;
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(44, 95, 127, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #23526B 0%, var(--color-primary) 100%);
    border-color: transparent;
    color: var(--color-white);
    box-shadow: 0 8px 30px rgba(44, 95, 127, 0.4);
    transform: translateY(-2px) scale(1.02);
}

/* Outline primary button */
.btn-outline-primary {
    color: var(--color-dark);
    border-color: var(--color-primary);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--color-white);
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(44, 95, 127, 0.25);
}

/* Light button */
.btn-light {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: rgba(26, 58, 77, 0.12);
}

.btn-light:hover,
.btn-light:focus {
    background: var(--color-white);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* Outline light (for dark backgrounds) */
.btn-outline-light {
    color: var(--color-white);
    border-color: var(--color-white);
    background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--color-dark);
    background: var(--color-white);
    border-color: var(--color-white);
}

/* Button sizes */
.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}

/* Mobile touch targets */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* --------------------------------------------------------------------------
   6. CARDS
   -------------------------------------------------------------------------- */
.card {
    border: 1px solid rgba(26, 58, 77, 0.08);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px rgba(44, 95, 127, 0.08);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-gold));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-text {
    color: rgba(26, 58, 77, 0.8);
    line-height: 1.7;
}

/* Hover effect for cards */
.hover-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hover-card::after {
    content: "";
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, rgba(44, 95, 127, 0.1), rgba(184, 216, 232, 0.1));
    border-radius: calc(var(--border-radius-md) + 4px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.hover-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 48px rgba(44, 95, 127, 0.15);
}

.hover-card:hover::after {
    opacity: 1;
}

/* Card with soft background */
.card-soft {
    background: var(--color-white);
    border: 1px solid rgba(26, 58, 77, 0.08);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* Card overlays */
.card-img-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
    border-radius: var(--border-radius-md);
}

/* --------------------------------------------------------------------------
   7. SECTION TITLES & DECORATIVE ELEMENTS
   -------------------------------------------------------------------------- */
.section-title {
    color: var(--color-dark);
    font-weight: 700;
    letter-spacing: 0.01em;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: var(--spacing-md);
}

.section-title::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-gold));
    border-radius: var(--border-radius-pill);
}

/* Icon circles */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(74, 144, 184, 0.18), rgba(184, 216, 232, 0.12));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(44, 95, 127, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

.icon-circle::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-gold));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(44, 95, 127, 0.2);
}

.icon-circle:hover::before {
    opacity: 0.3;
}

.icon-circle-sm {
    width: 48px;
    height: 48px;
}

.icon-circle-lg {
    width: 80px;
    height: 80px;
}

/* --------------------------------------------------------------------------
   8. BADGES & PILLS
   -------------------------------------------------------------------------- */
.badge {
    border-radius: var(--border-radius-pill);
    padding: 0.45em 0.9em;
    background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary));
    color: var(--color-white);
    letter-spacing: 0.02em;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(74, 144, 184, 0.25);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(74, 144, 184, 0.35);
}

.badge-primary {
    background: linear-gradient(135deg, var(--color-primary), #23526B);
}

.badge-accent {
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-primary-soft));
}

/* Pill components */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-pill);
    background: rgba(44, 95, 127, 0.08);
    color: var(--color-dark);
    font-weight: 600;
    letter-spacing: 0.01em;
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   9. FORMS
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(26, 58, 77, 0.16);
    padding: 0.75rem 1rem;
    color: var(--color-dark);
    background: var(--color-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(44, 95, 127, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --------------------------------------------------------------------------
   10. TABLES
   -------------------------------------------------------------------------- */
table {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

thead {
    background: var(--color-bg-soft);
    color: var(--color-dark);
}

thead th {
    font-weight: 700;
    padding: 1rem;
    border: none;
}

tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:nth-child(odd) {
    background: rgba(246, 246, 246, 0.5);
}

tbody tr:hover {
    background: rgba(212, 232, 243, 0.25);
}

tbody td {
    padding: 0.875rem 1rem;
    border-color: rgba(26, 58, 77, 0.06);
}

/* --------------------------------------------------------------------------
   11. CAROUSEL / HERO SECTIONS
   -------------------------------------------------------------------------- */
.carousel-item img {
    height: 70vh;
    object-fit: cover;
    min-height: 400px;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 50vh;
        min-height: 300px;
    }
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.15) 100%);
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    bottom: 0;
    padding: 3rem 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #23526B 50%, var(--color-accent-gold) 100%);
    color: var(--color-white);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -25%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-alt 12s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   12. STATISTICS / COUNTERS
   -------------------------------------------------------------------------- */
.stat-card {
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 252, 255, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 184, 0.12);
    box-shadow: 0 8px 32px rgba(44, 95, 127, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 184, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(44, 95, 127, 0.18);
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   13. ALERTS & MESSAGES
   -------------------------------------------------------------------------- */
.alert {
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(26, 58, 77, 0.1);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
footer {
    background: var(--color-white);
    border-top: 1px solid rgba(26, 58, 77, 0.08);
    color: var(--color-dark);
}

footer h5 {
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
}

footer a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-icon {
    border-radius: 50%;
    border: 1px solid rgba(26, 58, 77, 0.14);
    color: var(--color-dark);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-icon:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. FLOATING ELEMENTS
   -------------------------------------------------------------------------- */
/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    inset-inline-end: 24px;
    background: linear-gradient(135deg, #25D366 0%, #1da653 100%);
    color: var(--color-white);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    z-index: 1030;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #1da653 0%, #25D366 100%);
    color: var(--color-white);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
    animation: none;
}

/* Back to top button */


/* --------------------------------------------------------------------------
   16. SPECIAL COMPONENTS
   -------------------------------------------------------------------------- */
/* Muted plate (for info sections) */
.muted-plate {
    background: linear-gradient(145deg, var(--color-white), var(--color-off-white));
    border: 1px solid rgba(26, 58, 77, 0.07);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
}

/* Section plate (decorative background) */
.section-plate {
    background: linear-gradient(135deg, var(--color-white), var(--color-off-white));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(26, 58, 77, 0.06);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
}

/* --------------------------------------------------------------------------
   17. WATER & WAVE DESIGN ELEMENTS (Swimming Pool Theme)
   -------------------------------------------------------------------------- */

/* Wave divider for section breaks */
.wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.wave-top {
    transform: rotate(180deg);
}

/* Flowing curve decorations */
.flow-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 40% 60% 60% 40%;
    background: linear-gradient(135deg, rgba(74, 144, 184, 0.08), rgba(184, 216, 232, 0.12));
    filter: blur(40px);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.flow-decoration-alt {
    animation: float-alt 10s ease-in-out infinite;
}

@keyframes float-alt {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(-40px, 30px) rotate(180deg) scale(1.1); }
}

/* Water ripple effect on hover */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(74, 144, 184, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ripple-effect:hover::after {
    opacity: 1;
    animation: ripple 0.8s ease-out;
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Fluid card designs */
.card-fluid {
    border-radius: 24px;
    background: linear-gradient(145deg, #FFFFFF, #F8FCFF);
    border: 1px solid rgba(74, 144, 184, 0.15);
    box-shadow: 0 8px 32px rgba(44, 95, 127, 0.08);
    overflow: visible;
    position: relative;
}

.card-fluid::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(74, 144, 184, 0.2), rgba(184, 216, 232, 0.2));
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-fluid:hover::before {
    opacity: 1;
}

/* Organic section backgrounds */
.section-organic {
    background: linear-gradient(135deg, #F0F7FB 0%, #FFFFFF 50%, #F8FCFF 100%);
    position: relative;
    overflow: hidden;
}

.section-organic::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 216, 232, 0.15), transparent 70%);
    border-radius: 40% 60% 50% 50%;
}

.section-organic::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 144, 184, 0.1), transparent 70%);
    border-radius: 60% 40% 60% 40%;
}

/* --------------------------------------------------------------------------
   18. UTILITIES & HELPERS
   -------------------------------------------------------------------------- */
/* Background utilities */
.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-soft {
    background-color: var(--color-bg-soft) !important;
}

.bg-light {
    background-color: var(--color-off-white) !important;
}

/* Rounded corners */
.rounded-sm {
    border-radius: var(--border-radius-sm) !important;
}

.rounded-md {
    border-radius: var(--border-radius-md) !important;
}

.rounded-lg {
    border-radius: var(--border-radius-lg) !important;
}

/* Shadows */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* --------------------------------------------------------------------------
   18. ACCESSIBILITY & FOCUS STATES
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(74, 144, 184, 0.6);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   19. ANIMATIONS & TRANSITIONS
   -------------------------------------------------------------------------- */
img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

/* Smooth transitions for interactive elements */
a,
button,
.btn,
.card,
.nav-link {
    transition: all 0.25s ease;
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Typography scaling */
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }

    /* Spacing */
    .section-padded {
        padding: var(--spacing-lg) 0;
    }

    /* Cards */
    .card-body {
        padding: 1.25rem;
    }

    /* Stat cards */
    .counter {
        font-size: 2rem;
    }
}

/* --------------------------------------------------------------------------
   21. PREMIUM EFFECTS & ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Glassmorphism utility class */
.glass-effect {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(44, 95, 127, 0.12);
}

/* Shimmer loading effect */
.shimmer {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium hover glow */
.glow-hover {
    transition: all 0.3s ease;
}

.glow-hover:hover {
    filter: drop-shadow(0 0 20px rgba(74, 144, 184, 0.4));
}

/* Smooth fade-in on scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Image hover zoom effect */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover img {
    transform: scale(1.08);
}

/* Premium card with glow border */
.card-premium {
    position: relative;
    background: linear-gradient(145deg, #FFFFFF, #F8FCFF);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.card-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-premium:hover::before {
    opacity: 1;
}

/* Floating animation for decorative elements */
.float-animation {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pulse animation for call-to-action */
.pulse-cta {
    animation: pulse-scale 2s ease-in-out infinite;
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* --------------------------------------------------------------------------
   22. PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
    .navbar,
    .whatsapp-float,
    .back-to-top,
    footer {
        display: none !important;
    }

    body {
        background: white;
    }

    .card,
    .section-plate,
    .muted-plate {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}