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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.navbar-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-white);
        padding: 1rem;
        box-shadow: var(--shadow);
        gap: 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        padding: 0.5rem 0;
    }

    .hamburger {
        display: block;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
}

.stat h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

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

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Why Us Section */
.why-us {
    padding: 4rem 0;
    background: var(--bg-light);
}

.why-us h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.why-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.service-list i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: var(--bg-light);
}

.benefits h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.benefit-item {
    margin-bottom: 2rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.savings-breakdown {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.savings-breakdown h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.savings-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.savings-item:last-child {
    border-bottom: none;
}

.savings-amount {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.total-savings {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 600;
}

.total-amount {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .benefits-content {
        grid-template-columns: 1fr;
    }
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
}

.calculator-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.calculator-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.calculator {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto 2rem;
}

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

.calculator-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calculator-group input,
.calculator-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.calculator-group input:focus,
.calculator-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calculator .btn {
    width: 100%;
}

.calculator-results {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.calculator-results h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.result-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}

.result-box p {
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.result-box h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.result-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .calculator-section h2 {
        font-size: 1.8rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: var(--bg-light);
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-card h4 {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact h2 {
        font-size: 1.8rem;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Sections Spacing */
section {
    scroll-margin-top: 60px;
}

h2 {
    color: var(--text-dark);
    font-weight: 700;
}

h3 {
    color: var(--text-dark);
    font-weight: 600;
}

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

.why-card,
.service-card,
.benefit-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(6) {
    animation-delay: 0.5s;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
