/* =============================================
   GH PERFORMANCE NUTRITION - STYLES
   Premium Sports Nutrition for Runners
   ============================================= */

/* =====================
   CSS VARIABLES
===================== */
:root {
    /* Brand Colors - Flowing Teal Palette */
    --teal-dark: #1a5a5e;
    --teal-mid: #2d7a7e;
    --teal-primary: #5B9AA0;
    --teal-light: #7fb8bd;
    --teal-pale: #a8d4d8;
    --teal-subtle: #d4eaec;
    
    /* Deep Blues */
    --blue-deep: #0c3d4a;
    --blue-dark: #0f4c5c;
    --blue-mid: #1a6373;
    
    /* Accent */
    --orange: #e86f3a;
    --orange-hover: #f28456;
    --orange-glow: rgba(232, 111, 58, 0.35);
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f5f9fa;
    --cream: #fafcfc;
    --gray-light: #e4ecee;
    --gray-mid: #8fa3a8;
    --gray-dark: #4a5f64;
    --text-dark: #1a3a3e;
    
    /* Flowing Gradients */
    --gradient-flow: linear-gradient(135deg, 
        #0f4c5c 0%, 
        #1a6373 20%, 
        #2d7a7e 40%, 
        #5B9AA0 60%, 
        #7fb8bd 80%, 
        #5B9AA0 100%);
    
    --gradient-hero: linear-gradient(160deg, 
        rgba(15, 76, 92, 0.92) 0%, 
        rgba(26, 99, 115, 0.88) 25%, 
        rgba(45, 122, 126, 0.85) 50%, 
        rgba(91, 154, 160, 0.82) 75%, 
        rgba(127, 184, 189, 0.78) 100%);
    
    --gradient-section: linear-gradient(180deg, 
        #0f4c5c 0%, 
        #1a6373 30%, 
        #2d7a7e 60%, 
        #5B9AA0 100%);
    
    --gradient-reverse: linear-gradient(180deg, 
        #5B9AA0 0%, 
        #2d7a7e 40%, 
        #1a6373 70%, 
        #0f4c5c 100%);
    
    --gradient-horizontal: linear-gradient(90deg, 
        #0f4c5c 0%, 
        #1a6373 25%, 
        #2d7a7e 50%, 
        #5B9AA0 75%, 
        #7fb8bd 100%);
    
    --gradient-card: linear-gradient(145deg, 
        rgba(91, 154, 160, 0.08) 0%, 
        rgba(45, 122, 126, 0.05) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(15, 76, 92, 0.08);
    --shadow-md: 0 4px 25px rgba(15, 76, 92, 0.12);
    --shadow-lg: 0 8px 40px rgba(15, 76, 92, 0.15);
    --shadow-card: 0 10px 40px rgba(15, 76, 92, 0.1);
    --shadow-card-hover: 0 20px 60px rgba(15, 76, 92, 0.18);
    --shadow-glow: 0 0 40px rgba(91, 154, 160, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-flow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

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

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

ul {
    list-style: none;
}

/* =====================
   NAVIGATION
===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: background 0.4s var(--ease-out-quart), padding 0.4s var(--ease-out-quart), box-shadow 0.4s var(--ease-out-quart), backdrop-filter 0.4s var(--ease-out-quart);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.6rem 2rem;
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-med);
}

.navbar.scrolled .logo img {
    height: 42px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    transition: var(--transition-fast);
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

.navbar.scrolled .logo-text {
    color: var(--teal-dark);
}

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

.nav-socials {
    display: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: var(--transition-fast);
}

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

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-cta {
    background: var(--orange) !important;
    color: var(--white) !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px var(--orange-glow);
}

.nav-cta:hover {
    background: var(--orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--orange-glow);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--teal-dark);
}

/* X icon visible on any background when menu is open */
.mobile-toggle.active span {
    background: var(--teal-dark) !important;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================
   BUTTONS
===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-med);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px var(--orange-glow);
    transition: all 0.4s var(--ease-out-quart);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-4px) scale(1.02);
    transition: all 0.4s var(--ease-out-quart);
}

.btn-outline {
    background: transparent;
    color: var(--teal-primary);
    border: 2px solid var(--teal-primary);
}

.btn-outline:hover {
    background: var(--teal-primary);
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-glow);
    transition: all 0.4s var(--ease-out-quart);
}

.btn-white {
    background: var(--white);
    color: var(--teal-dark);
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* =====================
   HERO SECTIONS
===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

/* Flowing gradient animation */
.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(127, 184, 189, 0.1) 25%, 
        rgba(91, 154, 160, 0.15) 50%, 
        rgba(45, 122, 126, 0.1) 75%, 
        transparent 100%);
    animation: flowGradient 8s ease-in-out infinite;
}

@keyframes flowGradient {
    0%, 100% { opacity: 0.3; transform: translateX(-20%) translateY(-10%); }
    50% { opacity: 0.6; transform: translateX(20%) translateY(10%); }
}

.hero-content {
    max-width: 850px;
    text-align: center;
    padding: 2rem;
    animation: heroReveal 1.2s var(--ease-out-expo) forwards;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-content .hero-buttons a {
    animation: buttonReveal 0.8s var(--ease-out-expo) forwards;
}

.hero-content .hero-buttons a:first-child {
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-content .hero-buttons a:last-child {
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes buttonReveal {
    to {
        opacity: 1;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--teal-pale) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-cue i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* Page Hero (smaller for inner pages) */
.page-hero {
    min-height: 45vh;
    padding-top: 100px;
}

.page-hero .hero-content {
    max-width: 700px;
}

.page-hero .hero-bg img {
    object-position: center 50%;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

/* =====================
   SECTIONS
===================== */
section {
    position: relative;
}

.section-padding {
    padding: 6rem 2rem;
}

.section-padding-lg {
    padding: 8rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-horizontal);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.85);
}

/* Background Variations */
.bg-white {
    background: var(--white);
}

.bg-cream {
    background: var(--cream);
}

.bg-off-white {
    background: var(--off-white);
}

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

.bg-gradient-reverse {
    background: var(--gradient-reverse);
}

/* Flowing Gradient Dividers */
.gradient-divider {
    height: 6px;
    background: var(--gradient-horizontal);
    border: none;
    margin: 0;
}

.gradient-divider-thin {
    height: 3px;
}

/* Dot Pattern with Gradient */
.dots-section {
    position: relative;
    overflow: hidden;
}

.dots-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-section);
    opacity: 0.03;
    pointer-events: none;
}

.dots-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--teal-primary) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.15;
    mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
    pointer-events: none;
}

/* =====================
   CARDS
===================== */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-flow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-horizontal);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-med);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-card-hover);
    transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s var(--ease-out-quart);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: var(--gradient-card);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-med);
}

.card-icon i {
    font-size: 1.75rem;
    background: var(--gradient-horizontal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-med);
}

.card:hover .card-icon {
    background: var(--gradient-horizontal);
}

.card:hover .card-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.card p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Ensure buttons inside cards sit at the bottom for consistent alignment */
.card .btn {
    margin-top: auto;
}

/* Service cards: equal height so Book buttons line up at bottom, inline */
.card-grid-3.service-cards {
    align-items: stretch;
}
.card-grid-3.service-cards .card {
    min-height: 420px;
    display: flex;
    flex-direction: column;
}
.card-grid-3.service-cards .card .service-book-btn {
    width: 100%;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Pricing grid on services page - slightly wider cards and centred layout */
.pricing-grid {
    justify-items: center;
}

.pricing-grid .card {
    width: 100%;
    max-width: 420px;
}

/* =====================
   FEATURE PANELS
===================== */
.panel {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    transition: var(--transition-flow);
}

.panel:hover {
    transform: scale(1.03);
    transition: transform 0.6s var(--ease-out-quart);
}

.panel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.panel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(15, 76, 92, 0.95) 0%, 
        rgba(26, 99, 115, 0.7) 40%, 
        rgba(45, 122, 126, 0.4) 70%, 
        transparent 100%);
    z-index: 1;
}

.panel-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
}

.panel h3 {
    font-size: 1.65rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.panel p {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* =====================
   BLOG CARDS
===================== */
.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-flow);
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-card-hover);
    transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s var(--ease-out-quart);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-med);
}

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

.blog-card-content {
    padding: 1.75rem;
}

.blog-card-tag {
    display: inline-block;
    background: var(--gradient-card);
    color: var(--teal-dark);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--teal-pale);
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--gray-dark);
    font-size: 0.92rem;
    line-height: 1.65;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-primary);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.blog-card-link i {
    transition: var(--transition-fast);
}

.blog-card:hover .blog-card-link {
    color: var(--orange);
}

.blog-card:hover .blog-card-link i {
    transform: translateX(5px);
}

/* =====================
   TESTIMONIALS
===================== */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition-flow);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    background: var(--gradient-horizontal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-card-hover);
    transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s var(--ease-out-quart);
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    color: var(--gray-mid);
    font-size: 0.9rem;
}

/* Testimonials slider */
.testimonial-slider {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    min-height: 260px;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s var(--ease-out-quart), transform 0.6s var(--ease-out-quart);
}

.testimonial-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--teal-dark);
    transition: var(--transition-fast);
}

.testimonial-nav:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.testimonial-prev {
    left: -4rem;
}

.testimonial-next {
    right: -4rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: var(--gray-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dot.is-active {
    width: 26px;
    background: var(--orange);
}

@media (max-width: 768px) {
    .testimonial-prev {
        left: -1rem;
    }
    .testimonial-next {
        right: -1rem;
    }
}

/* =====================
   CTA SECTION
===================== */
.cta-section {
    background: var(--gradient-section);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 111, 58, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(127, 184, 189, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* =====================
   CONTACT FORM
===================== */
.contact-form {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(91, 154, 160, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* =====================
   FOOTER
===================== */
.footer {
    background: var(--gradient-reverse);
    padding: 5rem 2rem 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile footer - hidden on desktop */
.footer-mobile-only {
    display: none;
}

/* Footer socials on mobile - hidden on desktop */
.footer-social-mobile {
    display: none;
}


/* Enquire button & support list (services page) */
.enquire-btn-wrap {
    display: flex;
    justify-content: flex-start;
}

.enquire-btn-wrap .btn i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .enquire-btn-wrap {
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .support-list {
        margin-bottom: 1.5rem !important;
    }
}

/* =====================
   UTILITIES
===================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .card-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .blog-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.85rem 1.25rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        max-height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 1.5rem 1.5rem;
        gap: 0;
        transition: right 0.35s var(--ease-out-quart);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
        border-left: 1px solid var(--gray-light);
        align-items: stretch;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--gray-light);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links li.nav-socials {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--gray-light);
    }
    
    .nav-socials {
        display: flex;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        border-top: none;
        padding-top: 0;
    }
    
    .nav-socials a {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        background: #f0f0f0;
        border: 1px solid var(--teal-pale);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--teal-dark);
        flex-shrink: 0;
    }
    
    .nav-socials a i {
        font-size: 1.1rem;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-socials a:hover {
        background: var(--teal-subtle);
        border-color: var(--teal-light);
        color: var(--teal-dark);
    }
    
    .nav-links a {
        color: var(--text-dark);
        font-size: 1rem;
        padding: 1rem 0;
        display: block;
        font-weight: 500;
    }
    
    .nav-links .nav-cta {
        text-align: center;
        margin: 0.75rem 0 0;
        padding: 0.85rem 1.5rem;
        display: block;
        border-radius: 50px;
    }
    
    .nav-links li:has(.nav-cta) {
        padding-top: 0.5rem;
        padding-bottom: 0.25rem;
        border-bottom: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .section-padding {
        padding: 4rem 1.5rem;
    }
    
    .section-padding-lg {
        padding: 5rem 1.5rem;
    }
    
    .card-grid,
    .card-grid-3 {
        grid-template-columns: 1fr;
        justify-items: center;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .card .card-icon {
        margin-left: 0;
        margin-right: 0;
    }
    
    .blog-card-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .blog-card {
        text-align: center;
    }
    
    .blog-card .blog-card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-desktop-only {
        display: none !important;
    }
    
    .footer-social-desktop {
        display: none !important;
    }
    
    .footer-social-mobile {
        display: flex !important;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .footer-social-mobile a {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        transition: var(--transition-fast);
    }
    
    .footer-social-mobile a:hover {
        background: var(--orange);
        transform: translateY(-3px);
    }
    
    .footer-mobile-only {
        display: block !important;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-email-form {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .footer-email-form input,
    .footer-email-form textarea {
        padding: 0.75rem 1rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        font-family: inherit;
        font-size: 1rem;
    }
    
    .footer-email-form input::placeholder,
    .footer-email-form textarea::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .footer-email-form .btn {
        width: 100%;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .logo-text span {
        font-size: 0.6rem;
    }
}

/* =====================
   ANIMATIONS
===================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Contact page logo circle */
.logo-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(91, 154, 160, 0.12) 0%, rgba(45, 122, 126, 0.18) 100%);
    border: 4px solid var(--teal-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(15, 76, 92, 0.12), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: transform 0.6s var(--ease-out-quart), box-shadow 0.6s var(--ease-out-quart);
}

.contact-logo .logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(15, 76, 92, 0.2), inset 0 1px 0 rgba(255,255,255,0.5);
}

.contact-logo .logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

.contact-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card entrance - smooth */
.card, .blog-card, .testimonial-card, .panel {
    transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s var(--ease-out-quart);
}

/* Link underline animation */
.nav-links a::after {
    transition: width 0.4s var(--ease-out-quart);
}

/* Blog article post layout */
.blog-article-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.blog-article-wrap .article-body {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--gray-dark);
}
.blog-article-wrap .article-body p {
    margin-bottom: 1.35rem;
}
.blog-article-wrap .article-body h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-dark);
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--teal-pale);
}
.blog-article-wrap .article-body h3 {
    font-size: 1.2rem;
    margin: 1.75rem 0 0.6rem;
    color: var(--text-dark);
}
.blog-article-wrap .article-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.35rem;
}
.blog-article-wrap .article-body li {
    margin-bottom: 0.5rem;
}
.blog-article-wrap .article-body strong {
    color: var(--text-dark);
}
.blog-article-wrap .back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-primary);
    font-weight: 600;
    margin-bottom: 2rem;
}
.blog-article-wrap .back-to-blog:hover {
    color: var(--orange);
}
.blog-post-hero {
    min-height: 35vh;
    padding-top: 100px;
}
.blog-post-hero .hero-content { max-width: 800px; }
.blog-post-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }

/* Blog article smooth entrance animation */
.blog-article-wrap .article-body {
    animation: blogArticleReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    transform: translateY(24px);
}
@keyframes blogArticleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
