/* ============================================
   KUONA AFRICA – Main Stylesheet
   Political Advisory & Campaign Services
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #001a37;
    --primary-light: #002b5c;
    --primary-dark: #000d1a;
    --secondary: #edd9bb;
    --secondary-light: #f5ead8;
    --secondary-dark: #d4b88a;
    --accent: #f3f3f3;
    --accent-dark: #e0e0e0;
    --white: #ffffff;
    --black: #0a0a0a;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --text-on-dark: #c8d6e5;
    --success: #2a9d5c;
    --error: #d63031;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-size: 14px;
}
.skip-link:focus {
    top: 16px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p + p { margin-top: 1rem; }

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-dark);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 640px;
    font-weight: 400;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}
.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-dark {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-dark:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-arrow::after {
    content: '→';
    transition: transform var(--transition);
}
.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(0, 26, 55, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    height: 68px;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.scrolled .logo img { height: 34px; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-on-dark);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(237, 217, 187, 0.12);
}

.btn-nav {
    background: var(--secondary) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
}
.btn-nav:hover {
    background: var(--secondary-dark) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: background var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #003366 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,217,187,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,217,187,0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

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

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    color: var(--text-on-dark);
    font-size: 1.15rem;
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(237,217,187,0.15);
}

.hero-stat h3 {
    color: var(--secondary);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.hero-stat p {
    color: var(--text-on-dark);
    font-size: 0.85rem;
    margin-top: 4px;
    margin-bottom: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-image-wrapper img,
.hero-image-wrapper svg {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Floating accent shapes */
.float-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}
.float-shape.s1 {
    width: 80px; height: 80px;
    background: var(--secondary);
    top: -20px; right: -20px;
    animation-delay: 0s;
}
.float-shape.s2 {
    width: 40px; height: 40px;
    background: rgba(237,217,187,0.4);
    bottom: 40px; left: -15px;
    animation-delay: 2s;
}

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

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .section-subtitle { color: var(--text-on-dark); }
.section-dark .section-label { color: var(--secondary); }

.section-light {
    background: var(--accent);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    transition: gap var(--transition);
}

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

/* ---------- About Preview ---------- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img,
.about-image svg {
    width: 100%;
    border-radius: var(--radius-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--secondary-light);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text .section-label { text-align: left; }
.about-text h2 { margin-bottom: 20px; }
.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0 36px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.about-feature svg {
    width: 20px;
    height: 20px;
    color: var(--secondary-dark);
    flex-shrink: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
    max-width: var(--container);
}

.cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 8px;
}

.cta-banner p {
    color: var(--text-on-dark);
    font-size: 1.05rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(237,217,187,0.08);
    border: 1px solid rgba(237,217,187,0.15);
    border-radius: var(--radius-md);
    padding: 36px;
}

.testimonial-card .stars {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-on-dark);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.testimonial-author .info strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-author .info span {
    font-size: 0.8rem;
    color: var(--text-on-dark);
}

/* ---------- Page Hero (Inner pages) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,217,187,0.06) 0%, transparent 70%);
}

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

.page-hero p {
    color: var(--text-on-dark);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-on-dark);
}

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

.breadcrumb a:hover { text-decoration: underline; }

/* ---------- About Page ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
}

.value-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--secondary-light);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--text-light); font-size: 0.95rem; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-card .photo {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 3rem;
    font-family: var(--font-heading);
}

.team-card .info {
    padding: 24px;
}

.team-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.team-card .role { color: var(--secondary-dark); font-size: 0.9rem; font-weight: 500; }
.team-card p { color: var(--text-light); font-size: 0.9rem; margin-top: 10px; }

/* ---------- Services Page ---------- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-detail:last-child { border-bottom: none; }

.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }

.service-detail-image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.service-detail-image img,
.service-detail-image svg {
    width: 100%;
    border-radius: var(--radius-md);
}

.service-detail-content .section-label {
    text-align: left;
}

.service-detail-content h2 {
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 1rem;
}

.service-detail-content ul {
    margin: 20px 0;
}

.service-detail-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text);
}

.service-detail-content ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    flex-shrink: 0;
    margin-top: 8px;
}

/* ---------- Blog / Insights ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card .thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card .thumb img,
.blog-card .thumb svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.blog-card:hover .thumb img,
.blog-card:hover .thumb svg {
    transform: scale(1.05);
}

.blog-card .content {
    padding: 28px;
}

.blog-card .meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card .meta .category {
    color: var(--secondary-dark);
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.blog-card:hover h3 { color: var(--primary-light); }

.blog-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.blog-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: var(--white);
}

.contact-info-card h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.contact-info-card > p {
    color: var(--text-on-dark);
    margin-bottom: 36px;
    font-size: 1.05rem;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-detail .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(237,217,187,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail .icon-wrap svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
}

.contact-detail h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    color: var(--text-on-dark);
    font-size: 0.95rem;
}

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

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.06);
}

.contact-form-wrap h3 {
    margin-bottom: 8px;
}

.contact-form-wrap > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--accent-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-dark);
    box-shadow: 0 0 0 3px rgba(237,217,187,0.25);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0b0;
}

/* Form messages */
.form-message {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-message.success {
    background: #e8f5e9;
    color: var(--success);
    border: 1px solid #c8e6c9;
}

.form-message.error {
    background: #ffebee;
    color: var(--error);
    border: 1px solid #ffcdd2;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--primary-dark);
    color: var(--text-on-dark);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-on-dark);
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(237,217,187,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links ul li a {
    font-size: 0.9rem;
    color: var(--text-on-dark);
    transition: color var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-contact p svg { flex-shrink: 0; color: var(--secondary); }

.footer-contact a:hover { color: var(--secondary); }

.footer-bottom {
    border-top: 1px solid rgba(237,217,187,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-image-wrapper { max-width: 400px; }

    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .values-grid,
    .team-grid { grid-template-columns: repeat(2, 1fr); }

    .about-preview { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .service-detail { grid-template-columns: 1fr; gap: 30px; }
    .service-detail:nth-child(even) { direction: ltr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        transition: right var(--transition);
        box-shadow: var(--shadow-xl);
        gap: 4px;
    }

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

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

    .btn-nav {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .values-grid,
    .team-grid { grid-template-columns: 1fr; }

    .hero-stats { flex-direction: column; gap: 20px; text-align: center; }
    .hero { min-height: auto; padding: 120px 0 60px; }

    .section { padding: 60px 0; }
    .page-hero { padding: 120px 0 50px; }

    .about-features { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .contact-info-card,
    .contact-form-wrap { padding: 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ---------- Overlay for mobile menu ---------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
