/* ==========================================================================
   BECCA POOLS - DESIGN SYSTEM & STYLESHEET
   Based on The Geel Foundation Layout & Structural Architecture
   ========================================================================== */

:root {
    /* Brand Palette */
    --primary-blue: #0066cc;
    --primary-hover: #0052a3;
    --ocean-deep: #08223f;
    --ocean-navy: #0e2f54;
    --ocean-dark: #07192c;
    --ocean-light: #0077e6;
    --ocean-sky: #e1f0fc;
    --cyan-accent: #00b4d8;
    --whatsapp-green: #25d366;
    --whatsapp-hover: #1ebd5a;
    
    /* Neutrals */
    --bg-cream: #fbfdff;
    --bg-card: #ffffff;
    --bg-light: #f4f8fc;
    --text-dark: #122234;
    --text-muted: #5e7287;
    --text-light: #899bb0;
    --border-color: #e2ecf5;
    --white: #ffffff;
    
    /* Effects & Glassmorphism */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 16px rgba(10, 40, 75, 0.06);
    --shadow-md: 0 10px 30px rgba(10, 40, 75, 0.09);
    --shadow-lg: 0 20px 50px rgba(10, 40, 75, 0.14);
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-blur: blur(16px);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

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

ul { list-style: none; }
img {
    display: block;
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: bicubic;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-bar {
    background: #061d36;
    color: #b0c9e2;
    font-size: 0.78rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 101;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-bar-left span.sep {
    opacity: 0.35;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.top-bar-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #ffffff;
    font-weight: 600;
}

.top-bar-location i {
    width: 14px;
    height: 14px;
    color: var(--cyan-accent);
}

.top-bar-tagline {
    opacity: 0.85;
}

@media (max-width: 900px) {
    .top-bar-left { display: none; }
    .top-bar-container { justify-content: center; }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
#header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

#header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 30, 60, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: #0056b3;
    letter-spacing: -0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.brand-wave-icon {
    width: 28px;
    height: 12px;
    fill: none;
    stroke: var(--cyan-accent);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #3b5a7e;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Nav Menu */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #243b53;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    width: 260px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.6rem 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 120;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
    padding-left: 1.4rem;
}

.dropdown-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
}

/* Header CTAs */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-choose-service {
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.25);
    transition: var(--transition);
}

.btn-choose-service:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 102, 204, 0.35);
}

.btn-whatsapp-header {
    background: var(--whatsapp-green);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    transition: var(--transition);
}

.btn-whatsapp-header:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: var(--text-dark);
}

/* Mobile Menu Overlay — hidden on desktop */
.mobile-menu-overlay {
    display: none;
}

/* ==========================================================================
   HERO SECTIONS (SHARED PATTERNS)
   ========================================================================== */
.inner-hero {
    background: linear-gradient(180deg, #f0f7fd 0%, #ffffff 100%);
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.breadcrumb-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4b6b8b;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-eyebrow::after {
    content: '';
    display: inline-block;
    width: 45px;
    height: 2px;
    background: #0077e6;
    border-radius: 2px;
}

.inner-hero-title {
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    color: #0b2545;
    margin-bottom: 1.4rem;
}

.inner-hero-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.95rem 2rem;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.28);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.38);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: #0066cc;
    border: 1.5px solid #0066cc;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: #e8f3fc;
    transform: translateY(-2px);
}

.btn-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--white);
    color: #128c46;
    border: 1.5px solid #25d366;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-hero-whatsapp:hover {
    background: #e8faf0;
    transform: translateY(-2px);
}

/* Hero Media with Slanted Decorative Script */
.hero-media-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.hero-media-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid rgba(0, 102, 204, 0.12);
}

.hero-media-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-media-card:hover img {
    transform: scale(1.03);
}

.hero-script-badge {
    position: absolute;
    top: -24px;
    left: -20px;
    font-family: 'Brush Script MT', 'Dancing Script', 'Caveat', cursive, sans-serif;
    font-size: 1.9rem;
    color: #0066cc;
    transform: rotate(-10deg);
    line-height: 1.15;
    pointer-events: none;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(255,255,255,0.9);
}

.hero-badge-bottom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(8, 34, 63, 0.88);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: right;
    line-height: 1.4;
    border: 1px solid rgba(255,255,255,0.15);
}

/* ==========================================================================
   HOMEPAGE FULL PARALLAX HERO (GEEL FOUNDATION ARCHITECTURE)
   ========================================================================== */
#home-parallax-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: #092039;
    color: var(--white);
    overflow: hidden;
}

.parallax-hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(8, 30, 56, 0.88) 0%, rgba(0, 68, 140, 0.65) 100%), url('../assets/images/hero-home.jpg');
    background-size: cover;
    background-position: center;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.parallax-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 180, 216, 0.2) 0%, transparent 60%);
}

.hero-floating-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.bubble-1 { width: 340px; height: 340px; top: -50px; right: -50px; }
.bubble-2 { width: 400px; height: 400px; bottom: 50px; left: -100px; }

.parallax-hero-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
    padding: 3rem 0;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #64d8ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00b4d8;
    box-shadow: 0 0 10px #00b4d8;
}

.parallax-hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.parallax-hero-lead {
    font-size: 1rem;
    color: #dbeaff;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 560px;
}

/* Hero Wave Divider */
.hero-bottom-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.hero-bottom-wave svg {
    display: block;
    width: 100%;
    height: 55px;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-pad {
    padding: 90px 0;
}

.section-pad-sm {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 3.2rem;
}

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

.section-tag-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.section-header.text-center .section-tag-wrapper {
    justify-content: center;
}

.section-tag-line {
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-subtag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--primary-blue);
}

.section-title {
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    font-weight: 800;
    color: #0b2545;
    line-height: 1.2;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 660px;
    margin-top: 0.8rem;
    line-height: 1.7;
}

.section-header.text-center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   GRID & CARD COMPONENTS
   ========================================================================== */

/* 4-Column Card Grid (Build, Maintain, Teach, Supply) */
.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Standard Feature Card */
.feature-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.3);
}

.card-img-wrap {
    overflow: hidden;
    position: relative;
    height: 180px;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.card-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-blue);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b2545;
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: auto;
}

.card-link:hover {
    color: var(--primary-hover);
    gap: 0.6rem;
}

/* ==========================================================================
   PAGE 01: ABOUT US SPECIFIC SECTIONS
   ========================================================================== */
.who-we-are-section {
    background: #ffffff;
    padding: 80px 0;
}

.split-2-col {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.who-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.4rem;
}

.who-image-box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    contain: layout paint;
}

.who-image-box img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
}

/* Working Standards (4 horizontal items) */
.standard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.standard-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem;
    background: #f7fbff;
    border-radius: 14px;
    border: 1px solid #e1effa;
    transition: var(--transition);
}

.standard-item:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: #bde0fe;
}

.standard-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e1f0fc;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.standard-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 0.35rem;
}

.standard-info p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Why Clients Work With Us (4 client category cards) */
.client-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.client-type-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.client-type-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.client-card-img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.client-card-content {
    padding: 1.3rem;
}

.client-badge-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.client-badge-row i {
    width: 22px;
    height: 22px;
    color: var(--primary-blue);
}

.client-badge-row h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b2545;
}

.client-card-content p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   PAGE 02: SERVICES OVERVIEW
   ========================================================================== */
.services-6-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

/* Process Timeline (How We Support You / How It Works) */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    margin-top: 2.5rem;
}

.process-timeline-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    position: relative;
    margin-top: 2.5rem;
}

.process-timeline::before,
.process-timeline-5::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #98c7ea 0, #98c7ea 6px, transparent 6px, transparent 12px);
    z-index: 1;
}

.process-node {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #0056b3;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 86, 179, 0.35);
    transition: var(--transition);
}

.process-node:hover .process-step-num {
    transform: scale(1.1);
    background: #0077e6;
}

.process-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 0.5rem;
}

.process-step-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 220px;
}

/* Quick Category Picker Bar */
.category-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.category-chip-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.4rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    color: #0b2545;
}

.category-chip-box:hover {
    border-color: var(--primary-blue);
    background: #f0f7fe;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-chip-box i {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
}

.category-chip-box span {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

/* ==========================================================================
   PAGE 03: POOL MAINTENANCE & PLANS
   ========================================================================== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.plan-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.plan-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #e1f0fc;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.plan-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b2545;
    margin-bottom: 0.35rem;
}

.plan-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #5b7999;
    margin-bottom: 1.8rem;
}

.plan-features-list {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: #2a3e54;
    margin-bottom: 0.85rem;
}

.plan-features-list li i {
    width: 18px;
    height: 18px;
    color: #0077e6;
    flex-shrink: 0;
}

.btn-plan {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.2rem;
    background: #0066cc;
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-plan:hover {
    background: #0052a3;
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.35);
}

/* ==========================================================================
   PAGE 04 & 05: LESSONS & PROGRAMMES
   ========================================================================== */
.learner-types-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.learner-type-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.learner-type-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #98cbf5;
}

.learner-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eef6fd;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.learner-type-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 0.4rem;
}

.learner-type-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Checklist 3x3 Grid */
.checklist-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.checklist-circle-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0077e6;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist-item p {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a2f44;
}

/* ==========================================================================
   PAGE 06: EQUIPMENT & PRODUCTS
   ========================================================================== */
.equipment-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}

.equipment-cat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.equipment-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #8ac3f7;
}

.equipment-cat-img {
    height: 130px;
    width: 100%;
    object-fit: cover;
    background: #f7f9fb;
}

.equipment-cat-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.equipment-cat-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 0.35rem;
}

.equipment-cat-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.link-range {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.popular-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.product-item-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.2rem 0.9rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #92c9f9;
}

.product-item-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 0.9rem;
}

.product-item-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0b2545;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.product-item-card span {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PAGE 07: PROJECTS & GALLERY
   ========================================================================== */
.gallery-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #3b5066;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.filter-btn:hover {
    background: #eef6fd;
    color: var(--primary-blue);
    border-color: #a7d3fb;
}

.filter-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-bottom: 4rem;
}

.gallery-grid-item.filter-hidden,
.featured-proj-card.filter-hidden {
    display: none !important;
}

.featured-proj-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    contain: layout paint;
}

.featured-proj-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.proj-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    contain: layout paint;
}

.proj-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s ease;
}

.featured-proj-card:hover .proj-img-wrap img {
    transform: scale(1.08);
}

.proj-pill-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #0b2545;
    padding: 0.38rem 0.95rem;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(0, 102, 204, 0.15);
}

.featured-proj-info {
    padding: 1.5rem;
}

.featured-proj-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0b2545;
    margin-bottom: 0.5rem;
}

.featured-proj-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Gallery Grid */
.gallery-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    overflow: hidden; /* prevent any child overflow from leaking between cells */
}

.gallery-grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 220px;
    background: #e8f3fb; /* fallback while image loads */
    transition: var(--transition);
    /* Ensure each cell is fully self-contained */
    contain: layout paint;
}

.gallery-grid-item.wide-ba {
    grid-column: span 2;
    height: 220px;
}

.gallery-grid-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.gallery-grid-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.06);
}

.gallery-pill-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 4;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    color: #0b2545;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
}

/* ==========================================================================
   PAGE 08: CONTACT PAGE
   ========================================================================== */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #e8f4fd;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-detail-row:hover .contact-detail-icon {
    background: var(--primary-blue);
    color: #ffffff;
    transform: scale(1.05);
}

.contact-detail-text h4 {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #486581;
    margin-bottom: 0.25rem;
}

.contact-detail-text p, .contact-detail-text a {
    font-size: 1rem;
    font-weight: 600;
    color: #0b2545;
    line-height: 1.5;
}

.contact-whatsapp-box {
    margin-top: 2rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-color);
}

.btn-open-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: #25d366;
    color: #ffffff;
    padding: 0.95rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-open-whatsapp:hover {
    background: #1ebd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* Contact Form */
.enquiry-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.8rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-service-chips-wrap {
    margin-bottom: 1.8rem;
}

.chips-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 0.8rem;
    display: block;
}

.service-chips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.service-chip {
    background: #f4f8fc;
    border: 1.5px solid #dce8f5;
    color: #243b53;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: var(--transition);
    user-select: none;
}

.service-chip:hover {
    border-color: #84bef0;
    background: #eaf3fb;
}

.service-chip.active {
    background: #e1f0fc;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 700;
}

.form-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-field-group {
    margin-bottom: 1.3rem;
}

.form-field-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a2f44;
    margin-bottom: 0.4rem;
}

.form-field-group label span.req {
    color: #e53e3e;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #d8e5f2;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #ffffff;
    transition: var(--transition);
    outline: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.12);
}

.form-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.2rem 0 1.6rem;
}

.form-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.form-checkbox-row label {
    font-size: 0.84rem;
    color: var(--text-muted);
    cursor: pointer;
}

.btn-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.3);
    transition: var(--transition);
}

.btn-form-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 102, 204, 0.38);
}

.form-response-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

/* ==========================================================================
   FAQ ACCORDIONS
   ========================================================================== */
.faq-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #9acaf5;
}

.faq-header {
    padding: 1.1rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 1rem;
    user-select: none;
}

.faq-question {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0b2545;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.3rem;
}

.faq-item.open .faq-body {
    max-height: 250px;
    padding: 0 1.3rem 1.2rem;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   PRE-FOOTER CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, #094b8a 0%, #0066cc 50%, #0088e8 100%);
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 180, 216, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner-content {
    position: relative;
    z-index: 10;
    max-width: 820px;
    margin: 0 auto;
}

.cta-banner-title {
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.9rem;
    line-height: 1.2;
}

.cta-banner-desc {
    font-size: 1.05rem;
    color: #e1f0fc;
    margin-bottom: 2.2rem;
    line-height: 1.6;
}

.cta-buttons-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn-cta-white {
    background: #ffffff;
    color: #0b2545;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.btn-cta-white:hover {
    background: #f0f7fe;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}

.btn-cta-whatsapp {
    background: var(--whatsapp-green);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.btn-cta-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.cta-script-badge {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(10deg);
    font-family: 'Brush Script MT', 'Dancing Script', 'Caveat', cursive, sans-serif;
    font-size: 2.4rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.1;
    pointer-events: none;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .cta-script-badge { display: none; }
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
footer {
    background: #06192e;
    color: #8da4be;
    padding: 80px 0 25px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid-5 {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr 0.9fr;
    gap: 2.5rem;
    margin-bottom: 50px;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-brand-tagline {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #55a8f7;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-brand-desc {
    font-size: 0.86rem;
    line-height: 1.7;
    color: #8da4be;
    margin-bottom: 1.5rem;
}

.footer-social-row {
    display: flex;
    gap: 0.65rem;
}

.social-circle-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-circle-link:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    border-color: var(--primary-blue);
}

.footer-col h5 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    letter-spacing: 0.3px;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    font-size: 0.86rem;
    color: #8da4be;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #4da6ff;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.86rem;
}

.footer-contact-item i {
    width: 16px;
    height: 16px;
    color: #55a8f7;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c84a0;
}

.footer-wave-emblem {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-wave-emblem svg {
    width: 44px;
    height: 16px;
    stroke: #0077e6;
    stroke-width: 2.5;
    fill: none;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.visible,
.reveal-scale.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .cards-grid-4,
    .client-types-grid,
    .standard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-cat-grid,
    .popular-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .learner-types-5,
    .category-picker-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-timeline,
    .process-timeline-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .process-timeline::before,
    .process-timeline-5::before {
        display: none;
    }
    
    .footer-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 868px) {
    .nav-links, .header-actions {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }

    .mobile-menu-overlay {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        overflow-y: auto;
    }

    .mobile-menu-overlay.open {
        transform: translateX(0);
    }
    
    .inner-hero-grid,
    .split-2-col,
    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-script-badge {
        top: -15px;
        left: 10px;
        font-size: 1.5rem;
    }
    
    .services-6-grid,
    .cards-grid-3,
    .plans-grid,
    .featured-projects-grid,
    .checklist-grid-3,
    .faq-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .service-chips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-2-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .cards-grid-4,
    .client-types-grid,
    .standard-grid,
    .learner-types-5,
    .equipment-cat-grid,
    .popular-products-grid,
    .category-picker-grid,
    .process-timeline,
    .process-timeline-5 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid-5 {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .gallery-masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-item.wide-ba {
        grid-column: span 1;
    }
    
    .cta-buttons-wrap {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-white, .btn-cta-whatsapp {
        width: 100%;
        justify-content: center;
    }
}
