:root {
    --primary: #e74c3c;
    --secondary: #c0392b;
    --accent: #f1c40f;
    --light: #fdf6f0;
    --dark: #34495e;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

section {
    padding: 80px 0;
}

/* --- Header --- */
/* Header styling */
header {
    background-color: #fdf6f0;
    /* Light gray background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* subtle shadow */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .container.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* Logo styling */
header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e74c3c;
    /* primary blue color */
}

/* Navigation links */
header .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

header .nav-links li a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
}

header .nav-links li a:hover {
    color: #e74c3c;
    transform: translateY(-2px);
}

/* Button styling */
header .btn-primary {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

header .btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* Responsive Menu for smaller screens */
@media (max-width: 768px) {
    header .container.nav {
        flex-direction: column;
        align-items: flex-start;
    }

    header .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    header .nav-links li {
        margin-bottom: 10px;
    }

    header .btn-primary {
        margin-top: 10px;
    }
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 150px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-inline: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    padding: 30px;
    background: var(--light);
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* --- Why Choose Us --- */
.why-us {
    background: var(--secondary);
    color: white;
}

.why-us-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.why-us-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-us-list i {
    color: var(--primary);
}

/* --- Plans & Forms --- */
.plans-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.plan-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #ddd;
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.plan-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.form-container {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: 40px auto 0;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* --- Testimonials --- */
.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
}

.testimonial-card {
    min-width: 300px;
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    font-style: italic;
}

/* --- Footer --- */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.social-icons a {
    font-size: 1.5rem;
    color: white;
    margin-right: 15px;
}

/* --- Popups/Modals --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 1.5rem;
}

.newsletter-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 25px;
    box-shadow: var(--shadow);
    border-radius: 15px;
    z-index: 1500;
    width: 300px;
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .why-us-list {
        grid-template-columns: 1fr;
    }
}