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

:root {
    --sbm-primary: #15803d;
    --sbm-secondary: #166534;
    --sbm-accent: #e11d48;
    --sbm-background: #f0fdf4;
    --sbm-text: #14532d;
    --sbm-muted: #86efac;
    --sbm-light-gray: #f7fafc;
    --sbm-dark-gray: #4a5568;
    --sbm-border-color: #e2e8f0;

    --ct-font-heading: 'Josefin Sans', sans-serif;
    --ct-font-body: 'Libre Franklin', sans-serif;

    --ct-spacing-xl: 120px;
    --ct-spacing-lg: 80px;
    --ct-spacing-md: 48px;
    --ct-spacing-sm: 24px;
    --ct-spacing-xs: 12px;

    --ct-border-radius: 8px;
    --ct-transition-speed: 0.3s ease;
}

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

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

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

::selection {
    background-color: var(--sbm-primary);
    color: var(--sbm-background);
}

a {
    color: var(--sbm-primary);
    text-decoration: none;
    transition: color var(--ct-transition-speed);
}

a:hover {
    color: var(--sbm-accent);
}

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

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ct-font-heading);
    color: var(--sbm-secondary);
    margin-bottom: var(--ct-spacing-xs);
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h3 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--sbm-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1em;
    font-size: 1.125rem;
    color: var(--sbm-text);
}

small {
    font-size: 0.875rem;
    color: var(--sbm-dark-gray);
}

/* Utility Classes */
.ct-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ct-spacing-sm);
}

.ct-section-padding {
    padding: var(--ct-spacing-lg) 0;
}

.ct-section-padding-mobile {
    padding: var(--ct-spacing-md) 0;
}

.ct-text-center {
    text-align: center;
}

.ct-grid {
    display: grid;
    gap: var(--ct-spacing-md);
}

@media (min-width: 768px) {
    .ct-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .ct-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .ct-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ct-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ct-spacing-sm);
}

.ct-flex-col {
    flex-direction: column;
}

/* Buttons */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--ct-border-radius);
    font-family: var(--ct-font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--ct-transition-speed), color var(--ct-transition-speed), border-color var(--ct-transition-speed), transform var(--ct-transition-speed), box-shadow var(--ct-transition-speed);
    border: 2px solid transparent;
}

.ct-btn-primary {
    background-color: var(--sbm-primary);
    color: white;
    border-color: var(--sbm-primary);
}

.ct-btn-primary:hover {
    background-color: var(--sbm-secondary);
    border-color: var(--sbm-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ct-btn-secondary {
    background-color: var(--sbm-accent);
    color: white;
    border-color: var(--sbm-accent);
}

.ct-btn-secondary:hover {
    background-color: #c01d42;
    border-color: #c01d42;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ct-btn-outline {
    background-color: transparent;
    color: var(--sbm-primary);
    border-color: var(--sbm-primary);
}

.ct-btn-outline:hover {
    background-color: var(--sbm-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Header & Navigation */
.ct-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.ct-logo {
    font-family: var(--ct-font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.05em;
    transition: color var(--ct-transition-speed);
}

.ct-logo span {
    color: var(--sbm-accent);
}

.ct-logo:hover {
    color: var(--sbm-muted);
}

.ct-navbar {
    display: flex;
    gap: var(--ct-spacing-md);
}

.ct-navbar a {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
}

.ct-navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--sbm-accent);
    transition: width var(--ct-transition-speed);
}

.ct-navbar a:hover::after, .ct-navbar a.active::after {
    width: 100%;
}

.ct-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.ct-hamburger svg {
    fill: white;
    width: 30px;
    height: 30px;
}

.ct-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--sbm-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--ct-spacing-lg);
    transition: right var(--ct-transition-speed);
    z-index: 999;
    display: none; /* Hidden by default */
}

.ct-mobile-menu.active {
    right: 0;
    display: flex; /* Show when active */
}

.ct-mobile-menu a {
    color: white;
    font-size: 1.5rem;
    padding: 1rem 0;
    transition: color var(--ct-transition-speed);
}

.ct-mobile-menu a:hover {
    color: var(--sbm-accent);
}

/* Hero Section */
.ct-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    padding: var(--ct-spacing-lg) 0;
}

.ct-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(21, 128, 61, 0.7), rgba(22, 101, 52, 0.7)), url('https://loremflickr.com/1400/800/diy%2Ccraft/all?lock=1671526866') no-repeat center center/cover;
    z-index: 1;
}

.ct-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.ct-hero h1 {
    color: white;
    margin-bottom: var(--ct-spacing-sm);
}

.ct-hero p {
    color: #e0f2f7;
    font-size: 1.3rem;
    margin-bottom: var(--ct-spacing-md);
}

/* Section Backgrounds & Separators */
.ct-section:nth-child(even) {
    background-color: var(--sbm-light-gray);
}

.ct-section-separator {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--sbm-primary), var(--sbm-accent));
    margin: var(--ct-spacing-lg) 0;
}

/* Cards */
.ct-card {
    background-color: white;
    border-radius: var(--ct-border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: var(--ct-spacing-md);
    transition: transform var(--ct-transition-speed), box-shadow var(--ct-transition-speed);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.ct-card-image {
    border-radius: var(--ct-border-radius);
    margin-bottom: var(--ct-spacing-sm);
    overflow: hidden;
}

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

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

.ct-card h3 {
    color: var(--sbm-secondary);
    font-size: 1.5rem;
    margin-bottom: var(--ct-spacing-xs);
}

.ct-card p {
    font-size: 1rem;
    color: var(--sbm-dark-gray);
    flex-grow: 1;
}

/* Feature Highlights */
.ct-feature-item {
    text-align: center;
    padding: var(--ct-spacing-sm);
}

.ct-feature-item .icon {
    font-size: 3rem;
    color: var(--sbm-primary);
    margin-bottom: var(--ct-spacing-xs);
}

.ct-feature-item h3 {
    font-size: 1.75rem;
    margin-bottom: var(--ct-spacing-xs);
}

/* Form Styling */
.ct-form-group {
    margin-bottom: var(--ct-spacing-sm);
    position: relative;
}

.ct-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--sbm-secondary);
    font-weight: 500;
}

.ct-form-group input:not([type="submit"]), .ct-form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--sbm-border-color);
    border-radius: var(--ct-border-radius);
    font-family: var(--ct-font-body);
    font-size: 1rem;
    color: var(--sbm-text);
    background-color: white;
    transition: border-color var(--ct-transition-speed), box-shadow var(--ct-transition-speed);
}

.ct-form-group input:focus:not([type="submit"]), .ct-form-group textarea:focus {
    outline: none;
    border-color: var(--sbm-primary);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.2);
}

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

.ct-form-message {
    margin-top: var(--ct-spacing-sm);
    padding: 1rem;
    border-radius: var(--ct-border-radius);
    display: none;
}

.ct-form-message.ct-success {
    background-color: var(--sbm-muted);
    color: var(--sbm-primary);
    border: 1px solid var(--sbm-primary);
}

.ct-form-message.ct-error {
    background-color: #fca5a5;
    color: #b91c1c;
    border: 1px solid #b91c1c;
}

/* Trust Badges / Indicators */
.ct-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--ct-spacing-sm);
    gap: var(--ct-spacing-xs);
    text-align: center;
}

.ct-trust-item .icon {
    font-size: 2.5rem;
    color: var(--sbm-primary);
    margin-bottom: 0.5rem;
}

.ct-trust-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.ct-trust-item p {
    font-size: 0.95rem;
    color: var(--sbm-dark-gray);
    margin-bottom: 0;
}

/* FAQ Accordion */
.ct-faq-item {
    background-color: white;
    border: 1px solid var(--sbm-border-color);
    border-radius: var(--ct-border-radius);
    margin-bottom: var(--ct-spacing-sm);
    overflow: hidden;
    transition: box-shadow var(--ct-transition-speed);
}

.ct-faq-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.ct-faq-q {
    padding: 1.25rem var(--ct-spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--sbm-secondary);
    font-size: 1.15rem;
    transition: background-color var(--ct-transition-speed);
}

.ct-faq-q:hover {
    background-color: var(--sbm-background);
}

.ct-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--sbm-primary);
    transition: transform var(--ct-transition-speed);
}

.ct-faq-item.active .ct-faq-q::after {
    content: '-';
    transform: rotate(180deg);
}

.ct-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ct-transition-speed);
    padding: 0 var(--ct-spacing-md);
}

.ct-faq-item.active .ct-faq-a {
    max-height: 500px; /* Sufficiently large to reveal content */
    padding-bottom: 1.25rem;
}

.ct-faq-a p {
    margin-bottom: 0;
    color: var(--sbm-dark-gray);
}


/* Team Cards */
.ct-team-card {
    background-color: white;
    border-radius: var(--ct-border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: var(--ct-spacing-md);
    text-align: center;
    transition: transform var(--ct-transition-speed), box-shadow var(--ct-transition-speed);
}

.ct-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ct-team-card-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--ct-spacing-sm);
    border: 4px solid var(--sbm-primary);
}

.ct-team-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.ct-team-card p.ct-role {
    color: var(--sbm-accent);
    font-weight: 500;
    margin-bottom: var(--ct-spacing-sm);
    font-size: 1rem;
}

.ct-team-card p.ct-bio {
    font-size: 0.9rem;
    color: var(--sbm-dark-gray);
}

/* CTA Split Section */
.ct-cta-split {
    background-color: var(--sbm-primary);
    color: white;
    padding: var(--ct-spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.ct-cta-split::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: rotate(45deg);
}

.ct-cta-split-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--ct-spacing-md);
}

.ct-cta-split h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.ct-cta-split p {
    font-size: 1.25rem;
    color: #e0f2f7;
    max-width: 800px;
    margin-bottom: var(--ct-spacing-md);
}

/* Footer */
.ct-footer {
    background-color: var(--sbm-secondary);
    color: white;
    padding-top: var(--ct-spacing-lg);
}

.ct-footer-map {
    width: 100%;
    height: 300px;
    background-color: #cccccc; /* Placeholder for map */
    margin-bottom: var(--ct-spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--sbm-dark-gray);
    text-align: center;
}

.ct-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ct-spacing-md);
    margin-bottom: var(--ct-spacing-lg);
}

.ct-footer-col h4 {
    color: var(--sbm-muted);
    margin-bottom: var(--ct-spacing-sm);
    font-size: 1.2rem;
}

.ct-footer-col p, .ct-footer-col a {
    color: #cbd5e0;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}

.ct-footer-col a:hover {
    color: var(--sbm-accent);
    text-decoration: underline;
}

.ct-footer-col ul {
    list-style: none;
}

.ct-footer-col ul li {
    margin-bottom: 0.75rem;
}

.ct-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--ct-spacing-sm) 0;
    text-align: center;
    font-size: 0.85rem;
    color: #cbd5e0;
}

.ct-footer-bottom a {
    color: #cbd5e0;
    margin: 0 0.5rem;
}

.ct-footer-bottom a:hover {
    color: var(--sbm-accent);
}

/* Animations */
.ct-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ct-animate.ct-animated {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .ct-hero h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .ct-hero p {
        font-size: 1.15rem;
    }

    .ct-navbar {
        gap: var(--ct-spacing-sm);
    }

    .ct-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .ct-section-padding {
        padding: var(--ct-spacing-lg) 0;
    }
    .ct-team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .ct-header-inner {
        padding: 0 var(--ct-spacing-sm);
    }
    .ct-navbar {
        display: none;
    }

    .ct-hamburger {
        display: block;
    }

    .ct-hero {
        min-height: 70vh;
        padding: var(--ct-spacing-md) 0;
    }

    .ct-hero h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .ct-hero p {
        font-size: 1rem;
    }

    .ct-section-padding {
        padding: var(--ct-spacing-md) 0;
    }

    h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

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

    .ct-cta-split-inner {
        flex-direction: column;
    }

    .ct-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ct-footer-col ul {
        padding: 0;
    }
    
    .ct-footer-map {
        height: 200px;
    }
    .ct-team-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .ct-logo {
        font-size: 1.8rem;
    }

    .ct-hero h1 {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    .ct-hero p {
        font-size: 0.9rem;
    }

    .ct-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .ct-section-padding {
        padding: var(--ct-spacing-md) 0;
    }

    .ct-feature-item h3 {
        font-size: 1.5rem;
    }

    .ct-card {
        padding: var(--ct-spacing-sm);
    }

    .ct-card h3 {
        font-size: 1.25rem;
    }

    .ct-form-group label {
        font-size: 0.9rem;
    }

    .ct-form-group input:not([type="submit"]), .ct-form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .ct-faq-q {
        font-size: 1rem;
        padding: 1rem var(--ct-spacing-sm);
    }

    .ct-faq-item.active .ct-faq-a {
        padding-bottom: 1rem;
    }
}


/* === Quality polish === */
button, [class*="btn"], [class*="cta"] { transition: all 0.3s ease; cursor: pointer; }
button:hover, [class*="btn"]:hover, [class*="cta"]:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); filter: brightness(1.05); }