/* Base Styles */
:root {
    --bg-color: #f7f9fb;
    --accent-color: #1f4e79;
    --accent-hover: #163b5c;
    --text-color: #1a1a1a;
    --link-color: #2e8bc0;
    --border-color: #d1d1d1;
    --white: #ffffff;
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--accent-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

section {
    padding: var(--section-padding);
}

img {
    max-width: 100%;
    height: auto;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-color), var(--link-color));
    color: var(--white);
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.cta-button:hover {
    background: var(--accent-hover);
    color: var(--white);
}

.cta-button:active, .cta-button:focus {
    background: var(--accent-hover);
    color: var(--white);
    outline: none;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/r80vpr.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
}

.hero h1, .hero p {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto 1rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.service-image {
    margin: -30px -30px 20px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card.featured {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card.featured:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 10px 0 20px;
}

.service-card ul {
    margin: 20px 0;
    text-align: left;
    padding-left: 20px;
}

.service-card ul li {
    margin-bottom: 10px;
    position: relative;
    list-style: none;
}

.service-card ul li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
}

.service-card .cta-button {
    width: 100%;
    margin-top: auto;
}

/* How It Works Section */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    background: linear-gradient(135deg, var(--accent-color), var(--link-color));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    padding: 30px;
    position: relative;
}

.testimonial-content:before {
    content: """;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(31, 78, 121, 0.1);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background-color: var(--accent-color);
    color: var(--white);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4, .author-info p {
    color: var(--white);
    margin: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 30px auto 0;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--accent-color);
    position: relative;
}

.faq-item summary:after {
    content: "+";
    font-size: 1.5rem;
    margin-left: 10px;
}

.faq-item[open] summary:after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 20px;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 30px auto 0;
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--accent-color);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox label {
    margin: 0 0 0 10px;
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--white);
}

.form-group select option {
    color: black;
    background-color: white;
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

.contact-form .cta-button {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
}

.submit-btn {
    height: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    background: linear-gradient(135deg, var(--accent-color), var(--link-color));
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: var(--accent-hover);
}

.submit-btn:active, .submit-btn:focus {
    background: var(--accent-hover);
    outline: none;
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-company .logo {
    color: var(--white);
    margin-bottom: 15px;
    display: inline-block;
}

.footer-company p {
    opacity: 0.9;
}

.footer-links h3,
.footer-contact h3,
.footer-policies h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-policies ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-policies ul li a,
.footer-contact a {
    color: var(--white);
    opacity: 0.9;
}

.footer-links ul li a:hover,
.footer-policies ul li a:hover,
.footer-contact a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    header {
        padding: 15px 0;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        clip-path: circle(0% at top right);
        transition: clip-path 0.5s ease-in-out;
    }
    
    .menu-toggle:checked ~ .nav-links {
        clip-path: circle(150% at top right);
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .benefits-grid,
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
}
