/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #22c55e;
    --secondary-color: #059669;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

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

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

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

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

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.nav-brand .tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

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

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

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

.contact-info {
    color: var(--primary-color);
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, #f0fdf4 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    text-align: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background-color: var(--gray-50);
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

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

.service-card:hover {
    transform: translateY(-3px);
}

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

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* Trust Section */
.trust {
    padding: 80px 0;
    background-color: var(--white);
}

.trust h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--gray-50);
    border-radius: 12px;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.trust-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.trust-item p {
    margin: 0;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

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

/* Footer */
.footer {
    background-color: var(--gray-800);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

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

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

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

.footer-section ul li a:hover {
    color: var(--primary-light);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-light);
}

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

.contact-item i {
    color: var(--primary-light);
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .features,
    .services-preview,
    .trust,
    .cta {
        padding: 60px 0;
    }
}

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

.hero-content,
.feature-card,
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.nav a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Detail */
.services-detail {
    padding: 80px 0;
}

.service-detail {
    margin-bottom: 80px;
}

.service-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.service-content.reverse {
    grid-template-columns: 1fr auto;
}

.service-content.reverse .service-icon {
    order: 2;
}

.service-content.reverse .service-info {
    order: 1;
}

.service-icon {
    width: 120px;
    height: 120px;
    background-color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 3rem;
    color: var(--white);
}

.service-info h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-info h3 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.service-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-info ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-info ul li i {
    color: var(--primary-color);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--gray-100);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: var(--gray-50);
}

.process h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pricing > p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.pricing-feature {
    text-align: center;
    padding: 2rem;
}

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

.pricing-feature h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    padding: 80px 0;
    background-color: var(--gray-50);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-image {
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--gray-50);
    border-radius: 12px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Navigation Active State */
.nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .service-content,
    .service-content.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-content.reverse .service-icon,
    .service-content.reverse .service-info {
        order: initial;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-info-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--gray-50);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-details h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

/* Location Section */
.location {
    padding: 80px 0;
    background-color: var(--gray-50);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.location-info h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.address-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.address-item p {
    margin: 0;
    color: var(--text-light);
}

.map-container {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.map-placeholder p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.faq-item {
    padding: 2rem;
    background-color: var(--gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-light);
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Form Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .map-placeholder {
        padding: 2rem;
    }
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

.about-section {
    margin-bottom: 5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    text-align: center;
}

.about-image svg {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.1);
}

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

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.value-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.value-card li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.value-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    color: white;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

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

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

.differential-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.1);
}

.differential-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.differential-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.differential-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Commitment List */
.commitment-list {
    space-y: 1.5rem;
}

.commitment-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.commitment-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.commitment-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.commitment-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Legal Info */
.legal-info {
    background: #f8fffe;
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid #e5f3f0;
}

.legal-info h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.legal-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-content {
        padding: 2rem 0;
    }
    
    .about-section {
        margin-bottom: 3rem;
    }
    
    .value-card {
        padding: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .legal-info {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Terms and Privacy Pages Styles */
.terms-content, .privacy-content {
    padding: 4rem 0;
    background: #f8fffe;
}

.terms-wrapper, .privacy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.terms-intro, .privacy-intro {
    background: #f0fdf4;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 3rem;
}

.terms-intro p, .privacy-intro p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.terms-intro p:last-child, .privacy-intro p:last-child {
    margin-bottom: 0;
}

.terms-section, .privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5f3f0;
}

.terms-section:last-child, .privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h2, .privacy-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-section h2::before, .privacy-section h2::before {
    content: "§";
    font-size: 1.2em;
    opacity: 0.7;
}

.terms-section p, .privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    text-align: justify;
}

.terms-section ul, .privacy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-section li, .privacy-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-color);
}

.terms-section strong, .privacy-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info-terms, .contact-info-privacy {
    background: #f8fffe;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5f3f0;
    margin-top: 1rem;
}

.contact-info-terms p, .contact-info-privacy p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-info-terms p:last-child, .contact-info-privacy p:last-child {
    margin-bottom: 0;
}

.terms-acceptance, .privacy-acceptance {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.terms-acceptance p, .privacy-acceptance p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.terms-acceptance p:last-child, .privacy-acceptance p:last-child {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Table Styles for Legal Documents */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.legal-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-color);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:nth-child(even) {
    background: #f8fffe;
}

/* Highlight Boxes */
.highlight-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight-box p {
    color: #92400e;
    margin: 0;
    font-size: 0.95rem;
}

/* Warning Boxes */
.warning-box {
    background: #fef2f2;
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.warning-box h4 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-box h4::before {
    content: "⚠️";
}

.warning-box p {
    color: #dc2626;
    margin: 0;
    font-size: 0.95rem;
}

/* Info Boxes */
.info-box {
    background: #eff6ff;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: #1d4ed8;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box h4::before {
    content: "ℹ️";
}

.info-box p {
    color: #1d4ed8;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .terms-wrapper, .privacy-wrapper {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .terms-intro, .privacy-intro {
        padding: 1.5rem;
    }
    
    .terms-section h2, .privacy-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-table {
        font-size: 0.9rem;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .terms-content, .privacy-content {
        padding: 2rem 0;
    }
    
    .terms-wrapper, .privacy-wrapper {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .terms-section, .privacy-section {
        margin-bottom: 2rem;
    }
    
    .terms-acceptance, .privacy-acceptance {
        padding: 1.5rem;
    }
    
    .legal-table {
        font-size: 0.8rem;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 0.5rem;
    }
}

/* ===== JAVASCRIPT INTERACTIVE ELEMENTS ===== */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Form Validation Styles */
.field-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.success-message {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
    animation: slideInUp 0.5s ease;
}

.success-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.success-message h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.success-message p {
    margin: 0;
    opacity: 0.9;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1rem;
    z-index: 10000;
    animation: slideInUp 0.5s ease;
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Quote Calculator */
.quote-calculator {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.quote-calculator h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.calculator-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quote-result {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--accent-color);
    margin-top: 1rem;
}

.quote-result h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quote-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Tracking System */
.tracking-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.tracking-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tracking-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.tracking-result {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid var(--accent-color);
}

.tracking-status {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.status-current strong {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.tracking-history {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.history-item {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.history-item .date {
    font-weight: bold;
    color: var(--primary-color);
}

.history-item .status {
    color: var(--accent-color);
}

/* FAQ Toggle */
.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn .fa-spinner {
    margin-right: 0.5rem;
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Adjustments for Interactive Elements */
@media (max-width: 768px) {
    .tracking-input {
        flex-direction: column;
    }
    
    .calculator-form {
        grid-template-columns: 1fr;
    }
    
    .history-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .cookie-content {
        padding: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header, .footer, .cta-section, .cookie-banner, .back-to-top, .mobile-menu-btn {
        display: none !important;
    }
    
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .page-header h1 {
        font-size: 18pt;
        margin-bottom: 10pt;
    }
    
    .quote-calculator, .tracking-form {
        display: none;
    }
    
    .hero,
    .page-header {
        margin-top: 0;
    }
}