/* ========================================
   Rich Minds Consultants — Main Stylesheet
   ======================================== */

/* --- CSS Variables --- */
:root {
    --primary: #1A3C5E;
    --primary-dark: #122D47;
    --accent: #2E6DA4;
    --accent-light: #3A7FBD;
    --green: #1B7A3D;
    --green-dark: #156130;
    --green-light: #22924A;
    --cta: #F59E0B;
    --cta-hover: #D97706;
    --light-bg: #F8FAFC;
    --text: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

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

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

a:hover {
    color: var(--cta);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: var(--cta);
    color: var(--primary-dark);
    border-color: var(--cta);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-accent {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-accent:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta {
    background: var(--cta);
    color: var(--primary-dark);
    border-color: var(--cta);
    font-weight: 700;
}

.btn-cta:hover {
    background: var(--cta-hover);
    border-color: var(--cta-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow);
}

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

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(46, 109, 164, 0.06);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-arrow {
    transition: transform 0.3s;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border);
    z-index: 100;
}

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

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.25rem;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--accent);
    padding-left: 1.5rem;
}

.nav-cta {
    margin-left: 1rem;
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 60, 94, 0.85);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem 1.5rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--cta);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

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

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
    padding: 5rem 0;
}

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

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--cta);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   WELCOME / INTRO
   ======================================== */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-text h2 {
    margin-bottom: 1rem;
}

.welcome-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--cta);
    margin-top: 0.75rem;
    border-radius: 2px;
}

.welcome-text p {
    color: var(--text-light);
    font-size: 1.02rem;
}

.welcome-text .tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--green);
    font-style: italic;
    margin-bottom: 1rem;
}

.welcome-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.welcome-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 450px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ========================================
   STATS
   ======================================== */
.stats-section {
    background: var(--green);
    padding: 4rem 0;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--cta);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.service-card-img {
    height: 220px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 1.75rem;
}

.service-card-body h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.service-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.service-card-body .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--green);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card-body .learn-more:hover {
    gap: 0.7rem;
    color: var(--green-dark);
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.why-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   CASE STUDIES TEASER
   ======================================== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.case-card-img {
    height: 200px;
    overflow: hidden;
}

.case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card-body {
    padding: 1.5rem;
}

.case-tag {
    display: inline-block;
    background: rgba(27, 122, 61, 0.1);
    color: var(--green);
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.case-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--cta);
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.25rem;
    padding-top: 1.5rem;
    line-height: 1.8;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

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

.testimonial-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========================================
   PARTNERS SLIDER
   ======================================== */
.partners-section {
    padding: 5rem 0 4.5rem;
    background: var(--light-bg);
}

.partners-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
}

.slider-viewport {
    overflow: hidden;
    flex: 1;
    border-radius: var(--radius-lg);
}

.slider-track {
    display: flex;
    will-change: transform;
}

.partner-slide {
    flex: 0 0 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    min-height: 110px;
}

.partner-slide img {
    max-height: 90px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.75;
    transition: all 0.4s ease;
}

.partner-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.slider-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cta);
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
    transition: var(--transition);
    z-index: 2;
}

.slider-arrow:hover {
    background: var(--cta-hover);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45);
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.slider-dot:hover {
    background: var(--cta-hover);
}

.slider-dot.active {
    background: var(--cta);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

@media (max-width: 768px) {
    .partner-slide {
        flex: 0 0 33.333%;
        padding: 1rem 0.5rem;
    }
    .slider-arrow {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .partner-slide {
        flex: 0 0 50%;
    }
    .partner-slide img {
        max-height: 70px;
        max-width: 120px;
    }
    .partners-slider {
        gap: 0.5rem;
    }
    .slider-arrow {
        width: 32px;
        height: 32px;
    }
    .slider-arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
    background: var(--primary);
    padding: 5rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.page-hero {
    background: var(--primary);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 90px;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

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

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb span {
    color: var(--cta);
}

/* Page Hero with Background Image */
.page-hero-img {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 60, 94, 0.85);
    z-index: 0;
}

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

/* Full-width Map Section */
.contact-map-full {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}

.contact-map-full iframe {
    width: 100% !important;
    height: 450px;
    border: 0;
    display: block;
    min-width: 100%;
}

@media (max-width: 768px) {
    .contact-map-full iframe {
        height: 300px;
    }
}

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

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border);
}

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

.team-avatar {
    width: 100%;
    height: 220px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-info .role {
    color: var(--green);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ========================================
   SERVICE DETAIL PAGE
   ======================================== */
.service-detail {
    padding: 5rem 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.service-content h2 {
    margin-bottom: 1rem;
}

.service-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--cta);
    margin-top: 0.75rem;
    border-radius: 2px;
}

.service-content p {
    color: var(--text-light);
    font-size: 1.02rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text);
    font-size: 0.98rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cta);
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.sidebar-card h4 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 0.5rem;
}

.sidebar-links li a {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-links li a:hover,
.sidebar-links li a.active {
    background: var(--green);
    color: var(--white);
}

.service-hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.service-hero-img img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
    background: var(--light-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46, 109, 164, 0.15);
    background: var(--white);
}

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

.honeypot {
    position: absolute;
    left: -9999px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.contact-info-card {
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--cta);
}

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

.contact-detail p,
.contact-detail a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

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

.contact-map {
    margin-top: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* ========================================
   BLOG
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.blog-card-body h3 a {
    color: var(--primary);
}

.blog-card-body h3 a:hover {
    color: var(--accent);
}

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

/* Blog Post */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content h2 {
    margin: 2rem 0 1rem;
}

.blog-post-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}

/* ========================================
   CASE STUDIES PAGE
   ======================================== */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.case-study-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.case-study-img {
    height: 240px;
    overflow: hidden;
}

.case-study-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-body {
    padding: 2rem;
}

.case-study-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.case-study-body p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.case-study-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.case-study-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--green);
    font-family: var(--font-heading);
}

.case-study-stat span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========================================
   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(-30px);
    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(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 0;
}

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

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

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

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

.footer-social a:hover {
    background: var(--cta);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-body);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links li a:hover {
    color: var(--cta);
    padding-left: 0.3rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero h1 { font-size: 2.5rem; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .service-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero { min-height: 80vh; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }

    .section { padding: 3.5rem 0; }

    /* Mobile Nav */
    .hamburger { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s ease;
        overflow-y: auto;
    }

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

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--light-bg);
        border-radius: 0;
    }

    .has-dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Grids */
    .welcome-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .case-studies-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    .hero-buttons { flex-direction: column; align-items: center; }
    .cta-banner h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero { min-height: 70vh; }
    .hero h1 { font-size: 1.75rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-number { font-size: 2.25rem; }

    .team-grid { grid-template-columns: 1fr; }

    .contact-form { padding: 1.5rem; }
    .contact-info-card { padding: 1.5rem; }
}

/* ========================================
   WHATSAPP BUTTON (Bottom Left)
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    background: #1EBE57;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float a svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

/* ========================================
   BACK TO TOP BUTTON (Bottom Right)
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cta);
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--cta-hover);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    .whatsapp-float a svg {
        width: 26px;
        height: 26px;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
