@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #2E7D32;
    --primary-hover: #1B5E20;
    --secondary-color: #FF8F00;
    --dark-bg: #1a1a1a;
    --light-text: #fff;
    --body-bg: #f8f9fa;
    --card-bg: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--body-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

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

.bounce {
    animation: bounce 2s infinite;
}

header {
    background: #fff;
    color: var(--primary-color);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    width: 100%;
    height: 70px;
}

.logo-container .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.header-logo {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

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

.nav-menu li a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    transition: background 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--primary-hover) !important;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: var(--primary-color);
}

@media (max-width: 992px) {
    nav {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 2rem;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 0.5rem;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }
}

main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex: 1;
    width: calc(100% - 4rem);
}

h1, h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Cinematic Motion Utilities */
@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.ken-burns {
    animation: kenburns 15s ease infinite alternate;
}

.cinematic-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem;
    box-sizing: border-box;
}

.cinematic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Basic parallax fallback */
    filter: brightness(0.5);
}

.cinematic-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    color: #fff;
}

.cinematic-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.cinematic-lead {
    font-size: 1.6rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Directional Reveals */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Split Layout Narrative Styles (No Cards) */
.split-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
}

.split-hero-image {
    flex: 1.2;
    height: 100vh;
    background-image: url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
}

.split-hero-text {
    flex: 1;
    padding: 6rem;
}

.split-hero-text h2 {
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.split-hero-text p {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 3rem;
}

.split-section {
    display: flex;
    align-items: center;
    min-height: 80vh;
    overflow: hidden;
}

.split-section:nth-child(even) {
    flex-direction: row-reverse;
}

.split-section-image {
    flex: 1.2;
    height: 80vh;
    background-size: cover;
    background-position: center;
}

.split-section-text {
    flex: 1;
    padding: 6rem;
}

.split-section-text h2 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
}

.split-section-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .split-hero, .split-section, .split-section:nth-child(even) {
        flex-direction: column;
        height: auto;
    }
    .split-hero-image, .split-section-image {
        width: 100%;
        height: 50vh;
    }
    .split-hero-text, .split-section-text {
        padding: 4rem 2rem;
    }
    .split-hero-text h2 { font-size: 3rem; }
    .split-section-text h2 { font-size: 2.5rem; }
}

/* Horizontal Scroll Showcase (scrollytelling.ai style) */
.horizontal-scroll-section {
    position: relative;
    height: 400vh; /* Adjust height for scroll duration */
    background: #fff;
    margin-top: 5rem;
}

.sticky-horizontal-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.horizontal-content-strip {
    display: flex;
    gap: 8rem;
    padding: 0 10vw;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.horizontal-showcase-item {
    flex: 0 0 40vw; /* Slightly wider for overlay text */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
}

.rounded-showcase-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 60px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* Gradient Overlay for Text Readability */
.rounded-showcase-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.rounded-showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s linear;
    will-change: transform;
}

.horizontal-showcase-text {
    position: absolute;
    bottom: 4rem; /* Pinned to the bottom of the image */
    left: 3rem;
    right: 3rem;
    z-index: 2;
    text-align: left;
    max-width: none;
    pointer-events: none;
}

.horizontal-showcase-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #fff; /* White text for overlay */
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.horizontal-showcase-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    font-weight: 400;
    margin: 0 0 1.5rem 0; /* Added margin for the link */
}

.horizontal-showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color); /* Changed to primary green */
    background: rgba(255, 255, 255, 0.9); /* Added soft white background for pop */
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.horizontal-showcase-link:hover {
    gap: 1.2rem;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.horizontal-showcase-link i {
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .horizontal-showcase-item {
        flex: 0 0 85vw;
    }
    .horizontal-showcase-text {
        bottom: 2rem;
        left: 2rem;
        right: 2rem;
    }
    .horizontal-showcase-text h3 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .horizontal-showcase-item {
        flex: 0 0 80vw;
    }
    .rounded-showcase-image-wrapper {
        border-radius: 30px;
    }
    .horizontal-showcase-text h3 {
        font-size: 2rem;
    }
}

/* General Layout Refinements */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    background: #000;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: 0;
}

.hero h2 {
    font-size: 6rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.hero p {
    font-size: 1.5rem;
    color: #fff;
    max-width: 800px;
    margin-bottom: 3rem;
    z-index: 1;
}

.hero .btn {
    z-index: 1;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-section {
    padding: 5rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.story-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.story-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.featured-services {
    padding: 5rem 2rem;
    background: #e8f5e9;
}

.featured-services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
}

.testimonials {
    padding: 5rem 2rem;
    background: #fff;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-card span {
    font-size: 0.9rem;
    color: #888;
}

.cta-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #fff;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

.index-main {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    width: 100%;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.btn:hover {
    background: var(--primary-hover);
}

.selection-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.selection-card, .simple-card {
    position: relative;
    cursor: pointer;
    flex: 0 0 auto;
    display: flex;
}

.selection-card input, .simple-card input {
    position: absolute;
    opacity: 0;
}

.card-content, .simple-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
    width: 100%;
    height: 100%;
    min-width: 120px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.selection-card input:checked + .card-content,
.simple-card input:checked + .simple-card-content {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.selection-card:hover .card-content,
.simple-card:hover .simple-card-content {
    border-color: var(--primary-color);
}

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

.form-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.field {
    margin-bottom: 1.5rem;
}

.field label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
    display: block;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"],
form input[type="number"],
form input[type="url"],
form select,
form textarea {
    border: none;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 0.8rem 0;
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s;
    width: 100%;
    font-family: inherit;
}

form select {
    cursor: pointer;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pill-selector {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.pill-selector input[type="radio"] {
    display: none;
}

.pill-selector label {
    flex: 1;
    text-align: center;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 2rem;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pill-selector input[type="radio"]:checked + label {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.service-form {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid #e8e8e8;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-form-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.service-form-header h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
}

.service-form-header p {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.checkbox-item:hover {
    border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"] {
    margin-right: 0.5rem;
    width: auto;
    accent-color: var(--primary-color);
}

.checkbox-item input:checked + span {
    color: var(--primary-color);
    font-weight: 500;
}

.pill-selector label:hover {
    border-color: var(--primary-color);
}

@media (max-width: 600px) {
    .input-row {
        grid-template-columns: 1fr;
    }
}

.inner-hero {
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/hero-sample.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 3rem;
}

.inner-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.inner-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: auto;
    opacity: 0.9;
}

.modern-page {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 100% !important;
}

.modern-content {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem 5rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    max-width: 1100px;
    margin: 4rem auto;
}

.contact-info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-method-list {
    list-style: none;
    padding: 0;
}

.contact-method-item {
    margin-bottom: 2.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    transform: translateX(10px);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-detail-text h4 {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.contact-detail-text p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 850px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin: 2rem auto;
    }
}

.services-section {
    padding: 2rem 0 5rem;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-height: 350px;
    background-color: #e8f5e9;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.service-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.service-features strong {
    color: #222;
    font-weight: 600;
}

@media (max-width: 850px) {
    .service-row, .service-row:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .service-image {
        width: 100%;
        min-height: 250px;
    }
    
    .service-text h2 {
        font-size: 2rem;
    }
    
    .service-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-row {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .service-image {
        min-height: 200px;
        border-radius: 15px;
    }
    
    .service-text h2 {
        font-size: 1.6rem;
    }
    
    .service-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .service-features li {
        font-size: 0.9rem;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.blog-image {
    width: 100%;
    height: 220px;
    background-color: #e8f5e9;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.8rem;
}

.blog-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

.blog-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.read-more-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more-btn:hover {
    gap: 0.8rem;
}

.partner-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.partner-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.partner-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.partner-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.partner-benefit-card {
    background: #e8f5e9;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.partner-benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.partner-benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.partner-benefit-card p {
    color: #666;
    font-size: 0.95rem;
}

.partner-types h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.partner-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.partner-type-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.partner-type-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.partner-type-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.partner-type-card p {
    color: #666;
    font-size: 0.9rem;
}

.partner-form-section {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.partner-form-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-container {
    text-align: center;
    padding: 10rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.error-code {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.error-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.error-container p {
    color: #666;
    margin-bottom: 3rem;
    max-width: 500px;
}

.back-home-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
}

.success-container {
    text-align: center;
    padding: 10rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.success-icon {
    font-size: 8rem;
    color: #4CAF50;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.success-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.success-container p {
    color: #666;
    margin-bottom: 3rem;
    max-width: 500px;
    font-size: 1.1rem;
}

.single-blog-post {
    max-width: 800px;
    margin: 3rem auto;
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.single-blog-post .inner-hero {
    padding: 6rem 2rem;
    margin-bottom: 3rem;
    border-radius: 15px 15px 0 0;
}

.single-blog-post .inner-hero h1 {
    font-size: 3rem;
}

.blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.blog-meta .blog-category {
    position: static;
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-meta .blog-date {
    font-size: 0.9rem;
    color: #888;
}

.single-blog-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.single-blog-image.placeholder {
    background-color: #e8f5e9;
}

.blog-body {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.blog-body p {
    margin-bottom: 1.5rem;
}

.blog-body h2, .blog-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.blog-body h2 {
    font-size: 2rem;
}

.blog-body h3 {
    font-size: 1.5rem;
}

.blog-body ul, .blog-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-body li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .single-blog-post {
        padding: 2rem;
    }
    .single-blog-post .inner-hero {
        padding: 5rem 1rem;
    }
    .single-blog-image {
        height: 250px;
    }
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .blog-meta span {
        margin-bottom: 0.5rem;
    }
}

footer {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 3rem 0 0;
    margin-top: 0;
    width: 100%;
}

/* Reveal Scroll Utilities */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Type-Focused Layouts (No Cards) */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    transition: none;
}

.service-card:hover {
    transform: none;
    box-shadow: none;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
    max-width: 1000px;
    margin: auto;
}

.testimonial-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    transition: none;
    position: relative;
}

.testimonial-card:hover {
    transform: none;
}

.testimonial-card::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.testimonial-card span {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Service Row Refinement */
.service-row {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 10rem;
}

.service-image {
    flex: 1.2;
    min-height: 450px;
    border-radius: 0;
    box-shadow: none;
    filter: grayscale(0.2);
    transition: filter 0.5s ease;
}

.service-row:hover .service-image {
    filter: grayscale(0);
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

.service-features li {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.8rem;
    width: fit-content;
}

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

@media (max-width: 992px) {
    .service-row {
        gap: 3rem;
        margin-bottom: 6rem;
    }
    .service-text h2 {
        font-size: 2.2rem;
    }
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 1em 2rem;
}

.footer-section {
    padding: 1rem 1.5rem;
}

.footer-section h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a, 
.footer-section ul li,
.social-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover,
.social-links a:hover {
    opacity: 0.7;
}

.social-links a {
    display: block;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    background: #111;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
}
