:root {
    --primary-color: #0d47a1;
    /* Professional Blue */
    --primary-dark: #002171;
    --accent-color: #ff6f00;
    /* Action Orange */
    --accent-hover: #c43e00;
    --text-color: #333;
    --light-bg: #f4f6f8;
    --white: #ffffff;
    --success-green: #2e7d32;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

.btn-block {
    width: 100%;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 4rem 0;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    /* Adjust based on preference */
    width: auto;
}

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

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 71, 161, 0.9), rgba(13, 71, 161, 0.9)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

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

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

/* Problem/Solution */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.problem {
    border-left: 5px solid #d32f2f;
}

.solution {
    border-left: 5px solid var(--success-green);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1rem 0;
}

.period {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.5rem;
    padding-left: 20px;
    position: relative;
}

.features-list li::before {
    content: "✔";
    color: var(--success-green);
    position: absolute;
    left: 0;
}

/* ── Contact Section ── */
.contact-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9ff 50%, #f0f4ff 100%);
    border-top: 1px solid #e4e8f0;
}

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

.section-badge {
    display: inline-block;
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    border: 1px solid rgba(13, 71, 161, 0.15);
}

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

.contact-section-subtext {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Two-column layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Info panel */
.contact-info-panel {
    background: var(--primary-dark);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
}

.contact-info-title {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.contact-info-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-info-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.2rem;
}

.contact-info-value {
    font-size: 0.97rem;
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
}

.contact-info-value:hover {
    color: var(--accent-color);
}

/* Form card */
.contact-form {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06),
                0 8px 24px rgba(0, 0, 0, 0.1),
                0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.contact-form-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1565c0 100%);
    padding: 1.75rem 2rem;
    color: var(--white);
}

.contact-form-header h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.contact-form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.contact-form form {
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
}

.required {
    color: #e53935;
}

.form-group input,
.form-group textarea,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.97rem;
    font-family: inherit;
    color: var(--text-color);
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.12);
    background: var(--white);
}

.form-privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin: 1rem 0 0;
}

/* Button loading spinner */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form success state */
.form-success {
    padding: 3rem 2rem;
    text-align: center;
}

.form-success-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.form-success h3 {
    color: var(--success-green);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: #444;
    font-size: 0.97rem;
    margin-bottom: 0.5rem;
}

.form-success-note {
    margin-top: 1.25rem !important;
    font-size: 0.85rem !important;
    color: #888 !important;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Inline form error */
.form-error-msg {
    color: #c62828;
    font-size: 0.88rem;
    text-align: center;
    margin: 0.75rem 0 0;
    padding: 0.6rem 1rem;
    background: #fff3f3;
    border: 1px solid #fcc;
    border-radius: 6px;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Carousel */
.carousel-container {
    max-width: 800px;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.carousel-slide {
    display: none;
    animation: fade 1.5s;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    /* Fixed height for consistency */
    object-fit: cover;
    vertical-align: middle;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.prev {
    left: 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.caption {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: var(--primary-color);
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 4rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: none;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        order: 2;
    }

    .contact-form {
        order: 1;
    }
}