:root {
    /* Header Variables - Adjust these values to customize */
    --header-height: 120px;          /* Total height of the header */
    --logo-height: 100%;              /* Logo height relative to header */
    --logo-max-width: 360px;         /* Maximum logo width */
    --logo-min-width: 240px;         /* Minimum logo width */
    --header-padding: 1rem 2rem;     /* Header padding (vertical horizontal) */
    --header-bg: rgba(255, 255, 255, 0.98);
    
    /* Colors */
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --accent-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #6c757d;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #fff;
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--secondary-color);
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Buttons & CTAs */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 0.9rem;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    padding: var(--header-padding);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 5px 0;
}

.logo-image {
    height: var(--logo-height);
    width: auto;
    max-width: var(--logo-max-width);
    min-width: var(--logo-min-width);
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.03); /* Subtle hover effect */
}

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

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

/* Navigation */

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.nav-cta:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white !important;
}

.nav-cta::after {
    display: none !important; /* Remove the underline effect on hover */
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Pain Points Section */
.pain-points {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    text-align: center;
}

.pain-points h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.pain-points h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.pain-point {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.pain-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pain-point i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for older browsers */
}

.pain-point h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.pain-point p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background-color: #f9fafc;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.03) 0%, rgba(0, 198, 255, 0.03) 100%);
    z-index: 0;
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 1rem;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 3rem 2.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 107, 255, 0.15);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 1.2rem;
    border-bottom-left-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-features {
    text-align: left;
    margin: 1.5rem 0 2rem;
    padding: 0;
    list-style: none;
    flex-grow: 1;
}

.service-features li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
}

.service-cta i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-cta:hover {
    color: var(--accent-color);
}

.service-cta:hover i {
    transform: translateX(5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s ease;
}

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

.service-card i {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 5rem 5%;
    }
    
    .services h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 140px); /* Account for header height */
    display: flex;
    align-items: center;
    padding: 2rem 5%; /* Reduced padding */
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    max-width: 600px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}




/* Contact Section */
.contact {
    padding: 6rem 5%;
    background-color: #f9fafc;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.03) 0%, rgba(0, 198, 255, 0.03) 100%);
    z-index: 0;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: 2.5rem;
    background: white;
    color: #333;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M30 20v60l40-30z" fill="rgba(255,255,255,0.05)" fill-rule="evenodd"/></svg>');
    opacity: 0.1;
    z-index: 0;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.contact-info > * {
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #4a5568;
    font-weight: 500;
}

.contact-details {
    margin: 2.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.contact-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: #4a5568; /* Darker color for better visibility */
    width: 24px;
    text-align: center;
}

.contact-features {
    margin-top: 2.5rem;
}

.contact-features .feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.contact-features i {
    margin-right: 0.8rem;
    color: #10b981; /* Green color for ticks */
    font-size: 1.1rem;
}

.contact-form {
    padding: 2.5rem;
    background: white;
    flex: 1;
    border-left: 1px solid #e5e7eb;
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
    background-color: white;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    font-weight: normal;
    margin: 0;
}

.privacy-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

.privacy-note a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-note a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #d32f2f; /* Slightly darker red for better contrast */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #b71c1c; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.contact-container {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.benefits {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.benefit-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

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

.contact-form {
    flex: 1;
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
}

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

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #f1f1f1;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Footer Styles */
footer {
    background-color: #f5f5f5;
    color: #2d3748;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-main {
    margin-bottom: 2rem;
    text-align: center;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 120px;
    width: auto;
    max-width: 100%;
    background-color: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.tagline {
    color: #2d3748;
    margin: 1rem 0;
    font-size: 1rem;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #d1d5db;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #2d3748;
    text-align: center;
}

/* Mobile Footer - Smoother scaling */
@media (max-width: 900px) {
    .footer-logo-image {
        height: 110px;
    }
}

@media (max-width: 768px) {
    .footer-logo-image {
        height: 100px;
    }
    
    .tagline {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .footer-logo-image {
        height: 90px;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer-logo-image {
        height: 80px;
    }
    
    .tagline {
        font-size: 0.85rem;
    }
}



.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    flex: 2 1 600px;
}

.footer-column {
    flex: 1;
    min-width: 160px;
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    clear: both;
}

.footer-bottom p {
    margin: 0;
    color: #2d3748;
    font-size: 0.9rem;
}

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

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.legal-links span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-main {
        gap: 3rem;
    }
    
    .footer-links {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-column {
        min-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--secondary-color);
}

/* Privacy & Terms Modal */
.modal-large {
    max-width: 800px;
    max-height: 90vh;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.privacy-terms-content {
    overflow-y: auto;
    padding-right: 0.5rem;
    max-height: calc(90vh - 100px);
}

.privacy-terms-content h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.privacy-terms-content h3 {
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-terms-content h3:first-of-type {
    margin-top: 0;
}

.privacy-terms-content h4 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.privacy-terms-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.privacy-terms-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.privacy-terms-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.privacy-terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-terms-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

/* Scrollbar styling for privacy/terms modal */
.privacy-terms-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-terms-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.privacy-terms-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.privacy-terms-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .modal-large {
        max-width: 95%;
        padding: 1.5rem;
    }
    
    .privacy-terms-content h2 {
        font-size: 1.5rem;
    }
    
    .privacy-terms-content h3 {
        font-size: 1.3rem;
    }
    
    .privacy-terms-content h4 {
        font-size: 1.1rem;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-logo, .footer-links {
        width: 100%;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-image {
        height: 100px !important;
        max-width: 250px !important;
    }
    
    .tagline {
        font-size: 0.9rem;
        margin: 0.5rem 0 1rem;
    }
    
    .checkbox-group {
        align-items: flex-start;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* @media (max-width: 480px) {
    .footer-logo-image {
        height: 80px !important;
        max-width: 180px !important;
    }
    
    .tagline {
        font-size: 0.85rem;
    }
    
    .checkbox-group label {
        font-size: 0.75rem;
    }
} */
