/* =========================================================
   AB Accountancy Care Ltd - styles.css
   ========================================================= */

/* ---------------------------------------------------------
   0. Google Fonts
   --------------------------------------------------------- */
@font-face{font-display:swap;font-family:'Coustard';font-style:normal;font-weight:400;src:url(../media/fonts/coustard-v17-latin-regular.woff2) format('woff2')}

@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:300;src:url(../media/fonts/outfit-v15-latin-300.woff2) format('woff2')}@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:400;src:url(../media/fonts/outfit-v15-latin-regular.woff2) format('woff2')}@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:500;src:url(../media/fonts/outfit-v15-latin-500.woff2) format('woff2')}@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:600;src:url(../media/fonts/outfit-v15-latin-600.woff2) format('woff2')}@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:700;src:url(../media/fonts/outfit-v15-latin-700.woff2) format('woff2')}@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:800;src:url(../media/fonts/outfit-v15-latin-800.woff2) format('woff2')}@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:900;src:url(../media/fonts/outfit-v15-latin-900.woff2) format('woff2')}

@view-transition {navigation: auto;}

/* ---------------------------------------------------------
   1. CSS Custom Properties
   --------------------------------------------------------- */
:root {
    /* Brand colours */
    --blue-dark:    #0b226a;
    --blue-primary: #1c59fb;
    --blue-light:   #7595ed;
    --orange:       #fc9618;
    --red-accent:   #f40407;

    /* Gradient shorthands */
    --grad-blue:   linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    --grad-darkblue:   linear-gradient(135deg, #0b2268, #1649e2);
    --grad-warm:   linear-gradient(135deg, var(--red-accent), var(--orange));
    
    /* Neutral palette */
    --white:        #ffffff;
    --off-white:    #f2f5fd;
    --warm-grey:    #f2f3f7;
    --border:       #e2e6f0;
    --text-body:    #3a3d4a;
    --text-muted:   #7a7f92;
    --text-dark:    #0c236a;

    /* Typography */
    --font-heading: 'Coustard', Georgia, serif;
    --font-body:    'Outfit', sans-serif;

    /* Spacing */
    --section-gap:  80px;
    --container:    1160px;
    --radius:       12px;
    --radius-lg:    20px;

    /* Shadows */
    --shadow-sm:    0 2px 8px rgba(28,89,251,0.08);
    --shadow-md:    0 8px 32px rgba(28,89,251,0.12);
    --shadow-lg:    0 20px 60px rgba(28,89,251,0.15);

    /* Transitions */
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --transition:   0.3s var(--ease);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------------------------------------------------------
   3. Typography Scale
   --------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 400;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 7vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; font-size: 1.2rem;}
p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------
   4. Utilities
   --------------------------------------------------------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: var(--section-gap) 0; }
.section--grey { background: var(--off-white); }
.section--warm { background: var(--warm-grey); }
.section--dark {
    background: var(--text-dark);
    color: var(--white);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}

.section-header {
    max-width: 640px;
    margin-bottom: 48px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 12px;
}
.section-header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.accent { color: var(--blue-primary); }
.accent-orange { color: var(--orange); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--blue-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(28,89,251,0.3);
}
.btn--primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(28,89,251,0.4);
}

.btn--outline {
    background: transparent;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
}
.btn--outline:hover {
    background: var(--blue-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: #0f2f8f;
    box-shadow: var(--shadow-md);
}
.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--orange {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(252,150,24,0.35);
}
.btn--orange:hover {
    background: #e0820a;
    transform: translateY(-2px);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(28,89,251,0.08);
    color: var(--blue-primary);
}

/* ---------------------------------------------------------
   5. Header & Navigation
   --------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(28,89,251,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.header-logo img {
    height: 56px;
    width: auto;
}

/* Desktop nav list */
.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.5s;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.5s;
}

.site-nav a {
    display: block;
    padding: 8px 16px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transition: var(--transition);
}



.site-nav a:hover {  }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { font-weight: 600; }

.site-nav a.btn {
    color: white;
}

.site-nav a.btn:hover {
    color: white;
}

.site-nav a.btn:hover::after {
    display: none;
}

.site-nav a.btn.active::after {
    display: none;
}




.nav-cta { margin-left: 12px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--blue-dark);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------
   6. Hero
   --------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
    background: var(--grad-darkblue);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(97,216,252,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-eyebrow-line {
    width: 32px;
    height: 3px;
    background: var(--grad-warm);
    border-radius: 2px;
}

.hero-eyebrow span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-trust-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.trust-badges {
    display: flex;
    gap: 8px;
}

.trust-badge {
    padding: 5px 12px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.hero-image {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1.2;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.hero-stat-card--years {
    bottom: -20px;
    left: -24px;
}

.hero-stat-card--clients {
    top: 24px;
    right: -24px;
}

.stat-number {
    font-family: var(--font-body);
    font-size: 1.8rem;
    color: var(--blue-primary);
    line-height: 1;
    font-weight: 700;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ---------------------------------------------------------
   7. Services Cards
   --------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(28,89,251,0.2);
}

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

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(28,89,251,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--blue-primary);
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.65;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue-primary);
    transition: var(--transition);
}

.service-card-link:hover { gap: 10px; }

/* Full-width service detail cards (services.html) */
.service-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 80px 1fr;
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(28,89,251,0.2);
}

.service-detail-accent {
    background: var(--grad-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    writing-mode: vertical-rl;
}

.service-detail-body { padding: 32px; }
.service-detail-body h3 { margin-bottom: 12px; font-size: 1.8rem; }
.service-detail-body p { color: var(--text-muted); font-size: 1.2rem; }

/* ---------------------------------------------------------
   8. Why Us / Features
   --------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.why-list { display: flex; flex-direction: column; gap: 24px; margin-top: 2rem;}

.why-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.why-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(28,89,251,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-top: 2px;
}

.why-item h4 {
    margin-bottom: 4px;
    font-size: 1.3rem;
}

.why-item p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin: 0;
}

.why-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------------------------------------------------
   9. Accreditations / Partner Logos
   --------------------------------------------------------- */
.accreditation-strip {
    padding: 48px 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.accreditation-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.accreditation-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.accreditation-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.accreditation-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accreditation-badge:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(28,89,251,0.2);
    transform: translateY(-2px);
}

.accreditation-badge-logo {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

/* Legacy text badges kept for ICB/HMRC entries */
.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-icon--icb  { background: var(--blue-primary); color: white; }
.badge-icon--hmrc { background: var(--text-dark); color: white; }

.badge-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}

.badge-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---------------------------------------------------------
   10. About section / page
   --------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-credential {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--blue-primary);
    color: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
}

.about-credential strong {
    display: block;
    font-family: var(--body-heading);
    font-size: 1.6rem;
}

.about-credential span {
    font-size: 0.8rem;
    opacity: 0.85;
}

.credentials-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 3rem;;
}

.credential-item {
    display: flex;
    flex-basis: 500px;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
}

.credential-item::before {
    content: '✓';
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--blue-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ---------------------------------------------------------
   11. Contact
   --------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(28,89,251,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-detail h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 600;
}

.contact-detail p, .contact-detail a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}



.contact-detail a:hover { color: var(--blue-primary); }

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-body);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(28,89,251,0.1);
}

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

/* ---------------------------------------------------------
   12. CTA Banner
   --------------------------------------------------------- */
.cta-banner {
    background: var(--blue-primary);
    background-image: var(--grad-darkblue);
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }

.cta-banner p {
    color: rgba(255,255,255,1);
    font-size: 1.3rem;
    max-width: 650px;
    margin: 0 auto 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------
   13. Footer
   --------------------------------------------------------- */
.site-footer {
    background: rgb(0, 0, 44);;
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    max-width: 280px;
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: rgba(255,255,255,1)
}


.footer-contact-item a:hover { color: var(--blue-light); }

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--blue-light); padding-left: 4px; }

.footer-accreditations { display: flex; flex-direction: column; gap: 10px; }

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-bottom a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--blue-light); }

/* ---------------------------------------------------------
   14. WhatsApp Widget
   --------------------------------------------------------- */
.whatsapp-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 200;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

.whatsapp-btn svg { width: 30px; height: 30px; fill: white; }

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: none;
    border-left-color: var(--text-dark);
}

.whatsapp-widget:hover .whatsapp-tooltip { opacity: 1; }

/* ---------------------------------------------------------
   15. Page Hero (inner pages)
   --------------------------------------------------------- */
.page-hero {
    background: var(--grad-darkblue);
    padding: 64px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 12px;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }

.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0;
}

/* ---------------------------------------------------------
   16. Animations
   --------------------------------------------------------- */


/* ---------------------------------------------------------
   17. Utility / Success / Failure Pages
   --------------------------------------------------------- */
.utility-page {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.utility-card {
    text-align: center;
    max-width: 520px;
    padding: 60px 48px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.utility-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 28px;
}

.utility-icon--success { background: rgba(34,197,94,0.12); }
.utility-icon--failure { background: rgba(244,4,7,0.1); }

.utility-card h1 { font-size: 1.8rem; margin-bottom: 14px; }
.utility-card p { color: var(--text-muted); margin-bottom: 28px; }

/* ---------------------------------------------------------
   18. Privacy Policy
   --------------------------------------------------------- */
.policy-content {
    max-width: 780px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.policy-content h2:first-child { border-top: none; margin-top: 0; }
.policy-content p { color: var(--text-muted); }
.policy-content ul { padding-left: 20px; list-style: disc; }
.policy-content ul li { color: var(--text-muted); margin-bottom: 6px; font-size: 0.95rem; }

/* ---------------------------------------------------------
   19. Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    :root { --section-gap: 56px; }

    .site-nav ul, .nav-cta { display: none; opacity: 0; transition: opacity 0.5s; }
    .nav-toggle { display: flex; }

    /* Mobile drawer - toggled open by JS adding .open to <nav> */
    .site-nav.open {
        position: fixed;
        inset: 76px 0 0;
        background: var(--white);
        z-index: 99;
        border-top: 1px solid var(--border);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        opacity: 1;
        transition: opacity 0.5s;
    }

    .site-nav.open ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        opacity: 1;
        transition: opacity 0.5s;

    }

    .site-nav.open a {
        display: block;
        padding: 14px 16px;
        font-size: 1.8rem;
        font-weight: 500;
        color: var(--text-body);
        border-radius: var(--radius);
        transition: var(--transition);
    }

    .site-nav.open a:hover,
    .site-nav.open a.active {
        background: rgba(28,89,251,0.06);
        color: var(--blue-primary);
    }

    .site-nav.open a::after { display: none; }

    .site-nav.open .nav-cta {
        display: block;
        margin: 16px 0 0;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .site-nav.open .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    /* .hero-image { display: none; } */
    .hero { padding: 60px 0 48px; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .why-image { aspect-ratio: 5/4; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-frame { aspect-ratio: 5/4; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    /* .hero-stat-card { display: none; } */
    .about-credential { display: none; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .cta-banner { padding: 52px 0; }
    .btn {width: 100%; justify-content: center;}

    .service-detail-card { grid-template-columns: 1fr; }
    .service-detail-accent {
        writing-mode: horizontal-tb;
        height: 64px;
        min-height: unset;
    }

    .credentials-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .contact-form-wrap { padding: 28px 20px; }
    .utility-card { padding: 40px 24px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .cta-actions { flex-direction: column; align-items: center; }
}

.accreds-section .section-header {
    max-width: 790px;
}


/*=============== SCROLL ANIMATIONS ===============*/
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-left {
    from { transform: translateX(-40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-right {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-down {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slide-up {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { scale: 1; }
    50% { scale: 1.1; }
    100% { scale: 1; }
}

@media (prefers-reduced-motion: no-preference) {

    /* FADE IN --------------------------------- */
    .fade-in { opacity: 0; }
    .is-cms .fade-in { opacity: 1; }
    .fade-in-animation { animation: fade-in 1s ease forwards; }
    .is-cms .fade-in-animation { animation: none; }

    /* SLIDE LEFT ------------------------------ */
    .slide-left { opacity: 0; }
    .is-cms .slide-left { opacity: 1; }
    .slide-left-animation { animation: slide-left 1s ease forwards; }
    .is-cms .slide-left-animation { animation: none; }

    /* SLIDE RIGHT ----------------------------- */
    .slide-right { opacity: 0; }
    .is-cms .slide-right { opacity: 1; }
    .slide-right-animation { animation: slide-right 1s ease forwards; }
    .is-cms .slide-right-animation { animation: none; }

    /* SLIDE DOWN ------------------------------ */
    .slide-down { opacity: 0; }
    .is-cms .slide-down { opacity: 1; }
    .slide-down-animation { animation: slide-down 1s ease forwards; }
    .is-cms .slide-down-animation { animation: none; }

    /* SLIDE UP -------------------------------- */
    .slide-up { opacity: 0; }
    .is-cms .slide-up { opacity: 1; }
    .slide-up-animation { animation: slide-up 1s ease forwards; }
    .is-cms .slide-up-animation { animation: none; }

    /* PULSE ----------------------------------- */
    .pulse-animation { animation: pulse 0.7s ease forwards; }
    .is-cms .pulse-animation { animation: none; }

    /* ANIMATION DELAYS ------------------------ */
    .delay-200ms  { animation-delay: 200ms;  animation-fill-mode: both; }
    .delay-300ms  { animation-delay: 300ms;  animation-fill-mode: both; }
    .delay-400ms  { animation-delay: 400ms;  animation-fill-mode: both; }
    .delay-500ms  { animation-delay: 500ms;  animation-fill-mode: both; }
    .delay-600ms  { animation-delay: 600ms;  animation-fill-mode: both; }
    .delay-700ms  { animation-delay: 700ms;  animation-fill-mode: both; }
    .delay-800ms  { animation-delay: 800ms;  animation-fill-mode: both; }
    .delay-900ms  { animation-delay: 900ms;  animation-fill-mode: both; }
    .delay-1000ms { animation-delay: 1000ms; animation-fill-mode: both; }
}