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

:root {
    --u7o-primary: #059669;
    --u7o-secondary: #047857;
    --u7o-accent: #f97316;
    --u7o-background: #fafaf9;
    --u7o-text: #1c1917;
    --u7o-muted: #78716c;
    --u7o-white: #ffffff;
    --u7o-dark: #000000;
    --u7o-border-radius: 8px;
    --u7o-transition-speed: 0.3s;
}

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

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

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--u7o-text);
    background-color: var(--u7o-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--u7o-accent);
    color: var(--u7o-white);
}

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

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

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

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--u7o-dark);
    line-height: 1.2;
    margin-bottom: 0.8em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

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

h6 {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--u7o-primary);
}

p {
    margin-bottom: 1em;
}

strong {
    font-weight: 600;
}

/* Utility Classes */
.ct-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

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

.ct-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.ct-lead-text {
    font-size: 1.25rem;
    color: var(--u7o-muted);
    margin-bottom: 2rem;
}

/* Section Spacing & Backgrounds */
.ct-section {
    padding: 6rem 0;
    position: relative;
}

.ct-section:nth-of-type(even) {
    background-color: var(--u7o-background);
}

.ct-section:nth-of-type(odd) {
    background-color: var(--u7o-white);
}

.ct-section-separator {
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--u7o-primary), var(--u7o-accent));
    opacity: 0.1;
    margin-top: -10px;
    margin-bottom: -10px;
}

/* Buttons */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--u7o-border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--u7o-transition-speed) ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

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

.ct-btn-primary:hover {
    background-color: var(--u7o-secondary);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

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

.ct-btn-secondary:hover {
    background-color: #e06512;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

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

.ct-btn-outline:hover {
    background-color: var(--u7o-primary);
    color: var(--u7o-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.ct-header {
    background-color: var(--u7o-white);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.ct-logo {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--u7o-primary);
    text-decoration: none;
}

.ct-nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.ct-nav-links a {
    color: var(--u7o-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

.ct-nav-links a:hover::after {
    width: 100%;
}

.ct-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.ct-nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--u7o-text);
    transition: all var(--u7o-transition-speed) ease;
    border-radius: 2px;
}

.ct-nav-cta {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
}

/* Mobile Nav */
.ct-mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--u7o-white);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: max-height var(--u7o-transition-speed) ease-out;
    max-height: 0;
    overflow: hidden;
}

.ct-mobile-nav.active {
    max-height: 300px; /* Adjust based on content */
}

.ct-mobile-nav a {
    padding: 1rem 1.5rem;
    display: block;
    color: var(--u7o-text);
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.ct-mobile-nav a:last-child {
    border-bottom: none;
}

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

.ct-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.ct-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: -1;
}

.ct-hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.ct-hero h1 {
    color: var(--u7o-white);
    margin-bottom: 1rem;
}

.ct-hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
}

/* Card Components */
.ct-card {
    background-color: var(--u7o-white);
    border-radius: var(--u7o-border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    transition: all var(--u7o-transition-speed) ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

.ct-card-icon {
    color: var(--u7o-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ct-card h3 {
    margin-top: 0;
    color: var(--u7o-dark);
}

/* Form Styling */
.ct-form-group {
    margin-bottom: 1.5rem;
}

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

.ct-form-group input[type="text"],
.ct-form-group input[type="email"],
.ct-form-group input[type="tel"],
.ct-form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--u7o-border-radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--u7o-text);
    transition: border-color var(--u7o-transition-speed) ease, box-shadow var(--u7o-transition-speed) ease;
}

.ct-form-group input:focus,
.ct-form-group textarea:focus {
    outline: none;
    border-color: var(--u7o-primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

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

.ct-form-message-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: var(--u7o-border-radius);
    margin-top: 1rem;
    display: none;
    border: 1px solid #34d399;
}

.ct-form-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: var(--u7o-border-radius);
    margin-top: 1rem;
    display: none;
    border: 1px solid #ef4444;
}

/* Trust/Badge Elements */
.ct-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--u7o-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.ct-trust-badge svg {
    color: var(--u7o-primary);
}

/* FAQ Accordion */
.ct-faq-item {
    background-color: var(--u7o-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--u7o-border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--u7o-transition-speed) ease;
}

.ct-faq-q {
    padding: 1.5rem 2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--u7o-dark);
    transition: background-color var(--u7o-transition-speed) ease;
}

.ct-faq-q:hover {
    background-color: #f9f9f9;
}

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

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

.ct-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--u7o-transition-speed) ease-in-out, padding var(--u7o-transition-speed) ease-in-out;
    padding: 0 2rem;
}

.ct-faq-item.active .ct-faq-a {
    max-height: 500px; /* Sufficiently large value */
    padding: 0 2rem 1.5rem;
}

/* Testimonials */
.ct-testimonial-card {
    background-color: var(--u7o-white);
    border-radius: var(--u7o-border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2.5rem;
    text-align: center;
    font-style: italic;
    color: var(--u7o-muted);
    position: relative;
}

.ct-testimonial-card::before {
    content: '“';
    font-size: 5rem;
    color: var(--u7o-primary);
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    opacity: 0.1;
    z-index: 0;
}

.ct-testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.ct-testimonial-author {
    font-weight: 600;
    color: var(--u7o-dark);
    font-style: normal;
    margin-top: 1rem;
    display: block;
}

.ct-testimonial-author span {
    font-weight: 400;
    color: var(--u7o-muted);
    font-size: 0.9rem;
}

/* Footer */
.ct-footer {
    background-color: var(--u7o-secondary);
    color: var(--u7o-white);
    padding: 4rem 0;
    font-size: 0.9rem;
}

.ct-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.ct-footer-col h5 {
    color: var(--u7o-accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 1rem;
}

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

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

.ct-footer-col ul li a {
    color: rgba(255,255,255,0.8);
    transition: color var(--u7o-transition-speed) ease;
}

.ct-footer-col ul li a:hover {
    color: var(--u7o-white);
}

.ct-footer-info p {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.ct-footer-info .ct-logo {
    color: var(--u7o-white);
    margin-bottom: 1rem;
    display: block;
}

.ct-footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    color: rgba(255,255,255,0.7);
}

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

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

.ct-animate {
    opacity: 0;
    transition: opacity var(--u7o-transition-speed) ease, transform var(--u7o-transition-speed) ease;
}

.ct-animate.ct-animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Media Queries */
@media (max-width: 1024px) {
    .ct-hero h1 {
        font-size: 2.8rem;
    }

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

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .ct-nav-links {
        gap: 1.5rem;
    }

    .ct-section {
        padding: 5rem 0;
    }

    .ct-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .ct-navbar {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .ct-nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--u7o-white);
        position: absolute;
        left: 0;
        top: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--u7o-transition-speed) ease-out;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-top: 1rem; /* Adjust for spacing */
    }

    .ct-nav-links.active { /* This class is replaced by ct-mobile-nav */
        max-height: 300px; /* Should be handled by .ct-mobile-nav */
    }

    .ct-nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

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

    .ct-nav-links a {
        padding: 1rem 1.5rem;
        display: block;
    }

    .ct-nav-toggle {
        display: flex;
        order: 2;
    }

    .ct-nav-cta {
        order: 3;
        margin-left: 1rem;
    }

    .ct-logo {
        order: 1;
    }

    .ct-hero h1 {
        font-size: 2.2rem;
    }

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

    .ct-section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

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

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

    .ct-footer-col ul {
        padding-left: 0;
    }

    .ct-footer-col h5 {
        margin-bottom: 1rem;
    }

    .ct-footer-info p {
        margin-bottom: 0.8rem;
    }

    .ct-footer-info .ct-logo {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .ct-mobile-nav {
        display: flex;
    }
}

@media (max-width: 480px) {
    .ct-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ct-hero h1 {
        font-size: 1.8rem;
    }

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

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .ct-faq-q {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .ct-faq-item.active .ct-faq-a {
        padding: 0 1.2rem 1rem;
    }
    
    .ct-nav-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .ct-nav-cta .ct-btn {
        width: 100%;
    }
}


/* === 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); }