/* Form Message Styles */
.form-messages {
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-messages .message {
    position: relative;
    padding: 1rem 2.5rem 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-messages .message .close-message {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.form-messages .message .close-message:hover {
    opacity: 1;
}

.form-messages .message.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-left: 4px solid #047857;
}

.form-messages .message.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-left: 4px solid #b91c1c;
}

.form-messages .message.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-left: 4px solid #1d4ed8;
}

.form-messages .message.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-left: 4px solid #b45309;
    color: #1e293b;
}

/* Form loading state */
.form-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    border-radius: inherit;
}

/* Form field error states */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444 !important;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}

.form-group .error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

/* RTL support */
[dir='rtl'] .form-messages .message {
    text-align: right;
}

[dir='rtl'] .form-messages .close-message {
    right: auto;
    left: 0.5rem;
}

/* Print styles */
@media print {
    .form-messages {
        display: none !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .form-messages .message,
    .fade-out {
        animation: none;
    }
}
    font-size: 1.25rem;
}

.close-message {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.5rem;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-message:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form Styles */
.contact-form:focus-within {
    box-shadow: 0 0 0 3px var(--primary-color);
}

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

.form-group:focus-within label {
    color: var(--primary-color);
    transform: translateY(-0.5rem) scale(0.85);
}

.form-group.focused label {
    transform: translateY(-0.5rem) scale(0.85);
}

.form-group.filled label {
    transform: translateY(-0.5rem) scale(0.85);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1rem 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--input-bg);
    color: var(--text-color);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(48, 213, 200, 0.2);
}

.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
    border-color: #ef4444;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.contact-form label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    background: var(--card-bg);
    padding: 0 0.5rem;
    transform-origin: left center;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 1.5rem;
}

.contact-form button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00a8a8 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 200, 200, 0.3);
}

.contact-form button[type="submit"]:active {
    transform: translateY(0);
}

.contact-form button[type="submit"]:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-form .form-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
}

/* Form validation error messages */
.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.error .error-message {
    opacity: 1;
    transform: translateY(0);
}

/* Map Overlay */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.service-area {
    position: absolute;
    background: rgba(48, 213, 200, 0.15);
    border: 2px solid rgba(48, 213, 200, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(48, 213, 200, 0.4);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* Brisbane */
.service-area.brisbane {
    width: 120px;
    height: 120px;
    top: 55%;
    left: 50%;
}

/* Gold Coast */
.service-area.gold-coast {
    width: 100px;
    height: 100px;
    top: 65%;
    left: 45%;
}

/* Sunshine Coast */
.service-area.sunshine-coast {
    width: 90px;
    height: 90px;
    top: 40%;
    left: 55%;
}

/* Hover effects */
.service-area:hover {
    background: rgba(48, 213, 200, 0.25);
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 2;
}

/* Global Styles */
:root {
    --primary-color: #30D5C8;
    --secondary-color: #008080;
    --accent-color: #40E0D0;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --max-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --spacing: 1rem;
    --scroll-behavior: smooth;
    --loading-spinner-size: 24px;
    --loading-spinner-color: var(--primary-color);
    --loading-spinner-speed: 0.8s;

    /* Font Variables */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* Loading Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    width: var(--loading-spinner-size);
    height: var(--loading-spinner-size);
    border: 3px solid transparent;
    border-top-color: var(--loading-spinner-color);
    border-radius: 50%;
    animation: spin var(--loading-spinner-speed) linear infinite;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
}

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

/* Parallax Effect */
.parallax {
    position: relative;
    overflow: hidden;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Micro Animations */
.micro-animation {
    transition: var(--transition);
}

.micro-animation:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* Service Cards */
.service-card {
    transition: var(--transition);
    cursor: pointer;
}

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

/* Dark/Light Mode Transition */
[data-theme="dark"] {
    transition: background-color 0.5s ease;
    /* Define dark theme text color variable */
    --text-color: #e6e6e6;
}

[data-theme="light"] {
    transition: background-color 0.5s ease;
    /* Define light theme text color variable */
    --text-color: #222222;
}

/* Ensure body text adopts theme text color in dark mode */
[data-theme="dark"] body {
    color: var(--text-color);
}

/* Form Loading States */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-nav:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Focus States */
:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

[data-theme="dark"] :focus-visible {
    outline-color: var(--primary-color);
}

a:focus-visible, button:focus-visible {
    box-shadow: 0 0 0 3px rgba(64,224,208,0.35);
}
[data-theme="dark"] a:focus-visible,
[data-theme="dark"] button:focus-visible {
    box-shadow: 0 0 0 3px rgba(48,213,200,0.35);
}

/* ARIA Labels */
[aria-label] {
    position: relative;
}

[aria-label]:after {
    content: attr(aria-label);
    position: absolute;
    top: -20px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 2px 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[aria-label]:hover:after {
    opacity: 1;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-animation {
    animation: fadeIn 0.6s ease-out forwards;
}

/* FAQ Section */
.faq-question {
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

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

.faq-answer.active {
    max-height: 500px;
}

/* Form Validation */
.form-control {
    transition: var(--transition);
}

.form-control.success {
    border-color: var(--success-color);
}

.form-control.error {
    border-color: var(--danger-color);
}

/* Accessible inline field errors and invalid state */
.field-error {
    margin-top: 0.375rem;
    font-size: 0.875rem;
    color: var(--danger-color);
}
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: var(--danger-color) !important;
    box-shadow: 0 0 0 2px rgba(220,53,69,0.15);
}
[data-theme="dark"] .field-error { color: #ff6b6b; }
[data-theme="dark"] .form-group input[aria-invalid="true"],
[data-theme="dark"] .form-group select[aria-invalid="true"],
[data-theme="dark"] .form-group textarea[aria-invalid="true"] {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 2px rgba(255,107,107,0.15);
}

/* Error Boundary */
.error-boundary {
    background: var(--danger-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

/* Loading Bar */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    z-index: 1000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.loading-bar.active {
    transform: scaleX(1);
}

/* Rate Limiting */
.rate-limited {
    opacity: 0.5;
    pointer-events: none;
}

/* CSP Headers */
/* These will be implemented in the server configuration */

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

/* Font Styles */
body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Icon Styles */
.service-icon i,
.feature-icon i,
.checkmark i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.service-icon i {
    margin: 0;
    display: inline-block;
    line-height: 1;
    font-size: 36px;
    color: #fff;
}

.checkmark i {
    margin-right: 0.5rem;
    line-height: 1;
}

/* Ensure icons are visible in dark mode */
[data-theme="dark"] .service-icon i,
[data-theme="dark"] .feature-icon i,
[data-theme="dark"] .checkmark i {
    color: #fff;
    opacity: 1;
}

/* Button Styles */
button {
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

/* Add smooth transitions to all buttons */
button {
    transition: var(--transition);
}

/* Add smooth transitions to navigation links */
.nav-links a {
    transition: var(--transition);
}

/* Theme Toggle: fixed at top-right */
.theme-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 1000;
}
.theme-toggle i { font-size: 18px; line-height: 1; }
.theme-toggle:hover { filter: brightness(1.05); transform: translateY(-1px); }
.theme-toggle:active { transform: translateY(0); }

/* Dark mode: ensure high-contrast navigation and section text */
[data-theme="dark"] header,
[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, 0.65);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
[data-theme="dark"] .nav-links a {
    color: var(--text-color);
}
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a:focus {
    color: var(--accent-color);
}

/* Dark mode: lighten backgrounds for content sections and ensure text visibility */
[data-theme="dark"] #about,
[data-theme="dark"] #contact,
[data-theme="dark"] #services {
    background-color: #202225; /* lighter than page bg for separation */
    color: var(--text-color);
}
[data-theme="dark"] #about h1,
[data-theme="dark"] #about h2,
[data-theme="dark"] #about h3,
[data-theme="dark"] #contact h1,
[data-theme="dark"] #contact h2,
[data-theme="dark"] #contact h3,
[data-theme="dark"] #services h1,
[data-theme="dark"] #services h2,
[data-theme="dark"] #services h3 {
    color: #ffffff;
}
[data-theme="dark"] #about p,
[data-theme="dark"] #contact p,
[data-theme="dark"] #services p,
[data-theme="dark"] #about li,
[data-theme="dark"] #contact li,
[data-theme="dark"] #services li {
    color: #ededed;
}

/* Dark mode: service cards clarity */
[data-theme="dark"] .service-card {
    background-color: #26292c;
    color: var(--text-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
[data-theme="dark"] .service-card h3 { color: #fff; }
[data-theme="dark"] .service-card p { color: #e6e6e6; }
[data-theme="dark"] .service-card .service-icon { background: var(--primary-color); }
[data-theme="dark"] .service-card .service-icon i { color: #fff; }

/* Service Areas Section */
.service-areas {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

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

.area-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.area-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

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

.area-card p {
    color: #666;
    line-height: 1.6;
}

.map-container {
    margin-top: 4rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.map-container iframe {
    width: 100%;
    border: none;
    display: block;
}

/* Dark mode styles */
[data-theme="dark"] .service-areas {
    background-color: #202225;
}

[data-theme="dark"] .area-card {
    background-color: #26292c;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .area-card h3 {
    color: #fff;
}

[data-theme="dark"] .area-card p {
    color: #e0e0e0;
}

/* Dark mode: testimonials section */
[data-theme="dark"] #testimonials,
[data-theme="dark"] .testimonial-section,
[data-theme="dark"] .testimonial-slider {
    background-color: #202225;
    color: var(--text-color);
}
[data-theme="dark"] #testimonials h1,
[data-theme="dark"] #testimonials h2,
[data-theme="dark"] #testimonials h3,
[data-theme="dark"] .testimonial-section h1,
[data-theme="dark"] .testimonial-section h2,
[data-theme="dark"] .testimonial-section h3 {
    color: #ffffff;
}
[data-theme="dark"] #testimonials p,
[data-theme="dark"] .testimonial-section p {
    color: #eaeaea;
}

/* Individual testimonial cards/items */
[data-theme="dark"] .testimonial {
    background: #26292c;
    color: var(--text-color);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
[data-theme="dark"] .testimonial .author,
[data-theme="dark"] .testimonial .role { color: #dfe3e6; }

/* Slider controls (base - light mode) */
.prev-btn,
.next-btn {
    background: #ffffff;
    color: var(--primary-color);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.prev-btn i,
.next-btn i { color: inherit; }
.prev-btn:hover,
.next-btn:hover { filter: brightness(0.98); }

/* Slider controls in dark mode */
[data-theme="dark"] .prev-btn,
[data-theme="dark"] .next-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
[data-theme="dark"] .prev-btn:hover,
[data-theme="dark"] .next-btn:hover { filter: brightness(1.05); }

/* Dark mode: subtle separators between sections */
[data-theme="dark"] #services,
[data-theme="dark"] #about,
[data-theme="dark"] #testimonials,
[data-theme="dark"] #contact {
    /* slightly stronger separators */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), inset 0 -1px 0 rgba(0,0,0,0.65);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.55);
}

[data-theme="light"] #services,
[data-theme="light"] #about,
[data-theme="light"] #testimonials,
[data-theme="light"] #contact {
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.06), inset 0 -1px 0 rgba(0,0,0,0.04);
}

/* Testimonial "thought bubble" styling */
.testimonial-content {
    background: #ffffff;
    color: #222;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.06);
}
.testimonial-content:after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: -10px;
    width: 0; height: 0;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

/* Dark mode bubble overrides */
[data-theme="dark"] .testimonial-content {
    background: #2b2f33;
    color: #f5f7f9;
    border: 1px solid rgba(255,255,255,0.08);
}
[data-theme="dark"] .testimonial-content:after {
    border-color: #2b2f33 transparent transparent transparent;
}

/* ----------------------- */
/* ========================
   Contact Section
   ======================== */
.contact {
    padding: 6rem 0;
    background-color: var(--light-color);
    position: relative;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--gradient);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.contact-info {
    background: var(--primary-color);
    color: white;
    padding: 3rem;
    position: relative;
}

.contact-info::after {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100%;
    background: var(--primary-color);
    transform: skewX(-10deg);
    z-index: 1;
}

.contact-method {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.contact-method i {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-method p, 
.contact-method a {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.3rem 0;
    display: block;
    transition: var(--transition);
}

.contact-method a:hover {
    color: white;
    text-decoration: none;
    transform: translateX(5px);
}

.contact-form {
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    background: transparent;
    transition: var(--transition);
}

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

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: #999;
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--primary-color);
}

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

.form-submit {
    margin-top: 2rem;
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}

.success-message,
.error-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    display: none;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

/* Responsive Contact Section */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .contact-info::after {
        display: none;
    }
}

/* Dark mode overrides */
[data-theme="dark"] .contact {
    background-color: #1a1d21;
}

[data-theme="dark"] .contact-container {
    background: #2b2f33;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .form-group label {
    color: #9aa2a9;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .form-note {
    color: #9aa2a9;
}

/* Contact section tweaks  */
/* ----------------------- */
/* Base (light mode): contact form fields and labels */
#contact label {
    color: #222;
    font-weight: 500;
}
#contact input,
#contact select,
#contact textarea {
    background: #ffffff;
    color: #222222;
    border: 1px solid #d9d9d9;
}
#contact input::placeholder,
#contact textarea::placeholder {
    color: #666666;
}
#contact input:focus,
#contact select:focus,
#contact textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(48,213,200,0.15);
}
/* Dark mode: contact form fields and labels */
[data-theme="dark"] #contact label {
    /* Make labels a bit darker (still readable) */
    color: #9aa2a9 !important;
}
[data-theme="dark"] #contact { color-scheme: dark; }
[data-theme="dark"] #contact .contact-form { 
    --field-bg: #2b2f33; 
    --field-border: rgba(255,255,255,0.2); 
    --field-text: #d2d7db; 
    --label: #9aa2a9; 
}
[data-theme="dark"] #contact .contact-form .form-group label { color: var(--label) !important; }
[data-theme="dark"] #contact .contact-form .form-group input,
[data-theme="dark"] #contact .contact-form .form-group select,
[data-theme="dark"] #contact .contact-form .form-group textarea {
    background-color: var(--field-bg) !important;
    color: var(--field-text) !important;
    border: 1px solid var(--field-border) !important;
}
[data-theme="dark"] #contact .contact-form .form-group input::placeholder,
[data-theme="dark"] #contact .contact-form .form-group textarea::placeholder { color: rgba(255,255,255,0.5) !important; }
[data-theme="dark"] #contact .contact-form .form-group input:focus,
[data-theme="dark"] #contact .contact-form .form-group select:focus,
[data-theme="dark"] #contact .contact-form .form-group textarea:focus { border-color: var(--primary-color) !important; box-shadow: 0 0 0 3px rgba(48,213,200,0.25) !important; }

/* Improve native select arrow contrast in dark mode */
[data-theme="dark"] #contact .contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 18px 18px;
    padding-right: 2.25rem;
}
[data-theme="dark"] #contact input,
[data-theme="dark"] #contact select,
[data-theme="dark"] #contact textarea {
    background: #2b2f33 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}
[data-theme="dark"] #contact input::placeholder,
[data-theme="dark"] #contact textarea::placeholder {
    /* Darken placeholders slightly */
    color: rgba(255,255,255,0.6) !important;
}
[data-theme="dark"] #contact input:focus,
[data-theme="dark"] #contact select:focus,
[data-theme="dark"] #contact textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(48,213,200,0.25) !important;
}

/* Dark mode: handle browser autofill colors */
[data-theme="dark"] #contact input:-webkit-autofill,
[data-theme="dark"] #contact input:-webkit-autofill:hover,
[data-theme="dark"] #contact input:-webkit-autofill:focus,
[data-theme="dark"] #contact textarea:-webkit-autofill,
[data-theme="dark"] #contact textarea:-webkit-autofill:hover,
[data-theme="dark"] #contact textarea:-webkit-autofill:focus,
[data-theme="dark"] #contact select:-webkit-autofill,
[data-theme="dark"] #contact select:-webkit-autofill:hover,
[data-theme="dark"] #contact select:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #2b2f33 inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
    caret-color: #ffffff !important;
}

/* Dark mode: select dropdown option colors */
[data-theme="dark"] #contact select option {
    background-color: #2b2f33;
    color: #ffffff;
}

/* Extra specificity to beat any generic input styles */
[data-theme="dark"] section#contact .form-group label { color: #ffffff !important; }
[data-theme="dark"] section#contact .form-group input,
[data-theme="dark"] section#contact .form-group select,
[data-theme="dark"] section#contact .form-group textarea {
    background-color: #2b2f33 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.18) !important;
}

/* Bring email/hours/Facebook closer together */
.contact-info .info-item { margin-bottom: 0.75rem; }
.contact-info .info-item i { color: var(--primary-color); }
.contact-content { row-gap: 1rem; column-gap: 1.25rem; }

/* Enlarge Facebook button */
.social-links .social-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

.hero .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(48, 213, 200, 0.3);
    z-index: -1;
    transform: skew(-12deg);
}

.hero-description {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Trust Indicators */
.trust-indicators {
    padding: 4rem 0;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

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

.trust-item {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.trust-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: #f9fafb;
}

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

.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    border: 1px solid #e5e7eb;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    width: 200px;
    text-align: center;
}

.pricing-header {
    padding: 2.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.price {
    margin: 1.5rem 0;
    line-height: 1;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 2px;
    color: var(--dark-color);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    display: block;
    font-size: 1rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-weight: 500;
}

.pricing-features {
    padding: 2rem;
    margin: 0;
}

.pricing-features li {
    list-style: none;
    padding: 0.75rem 0;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
    border-bottom: 1px solid #f3f4f6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.pricing-card .btn {
    display: block;
    width: calc(100% - 4rem);
    margin: 0 auto 2rem;
    text-align: center;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.95rem;
    color: #6b7280;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

.pricing-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.social-links .social-icon:hover { filter: brightness(1.05); transform: translateY(-1px); }
.social-links .social-icon:active { transform: translateY(0); }

/* Remove calculator styles */
.service-selector,
.service-type,
.service-type-options,
.service-type-btn,
.service-options,
.service-option,
.option-group,
.size-selector,
.frequency-selector,
.business-type-selector,
.add-ons-list,
.price-estimate,
.price-display,
.price-period {
    display: none;
}

/* Service Selector Styles */
.service-selector {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.6s ease-out;
}

.service-type {
    margin-bottom: 2rem;
}

.service-type-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.service-type-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    background: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-type-btn.active {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.service-type-btn:hover:not(.active) {
    background: var(--light-color);
    color: var(--primary-color);
}

.service-options {
    margin-bottom: 2rem;
}

.service-option {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.service-option.active {
    display: block;
}

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

.size-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.size-selector input[type="range"] {
    flex: 1;
    -webkit--webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: var(--light-color);
    outline: none;
}

.size-selector input[type="range"]::-webkit-slider-thumb {
    -webkit--webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.size-selector input[type="range"]:hover::-webkit-slider-thumb {
    transform: scale(1.2);
}

.size-value {
    font-weight: 500;
    color: var(--dark-color);
}

.frequency-selector,
.business-type-selector {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.frequency-selector label,
.business-type-selector label {
    flex: 1;
    text-align: center;
}

.frequency-selector input[type="radio"],
.business-type-selector input[type="radio"] {
    display: none;
}

.frequency-selector input[type="radio"]:checked + span,
.business-type-selector input[type="radio"]:checked + span {
    background: var(--gradient);
    color: white;
}

.add-ons-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.add-ons-list label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.add-ons-list label:hover {
    background: var(--light-color);
}

.add-ons-list input[type="checkbox"] {
    display: none;
}

.add-ons-list input[type="checkbox"]:checked + span {
    color: var(--primary-color);
}

.price-estimate {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 2rem;
}

.price-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-period {
    color: var(--dark-color);
    font-size: 1rem;
}

/* Service Cards Enhancements */
.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-details {
    margin-top: 1rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.service-details i {
    color: var(--primary-color);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .service-type-options {
        flex-direction: column;
    }
    
    .service-type-btn {
        width: 100%;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
}

/* Dark Mode Variables */
[data-theme="dark"] {
    /* Turquoise/Firoozeh palette */
    --primary-color: #30D5C8;
    --secondary-color: #008080;
    --accent-color: #40E0D0;
    --dark-color: #f4f4f4;
    --light-color: #121212;
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --card-bg: #2d2d2d;
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #333;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: var(--transition);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Improvements */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button,
[role="button"] {
    cursor: pointer;
}

/* Improved Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Scroll Progress Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

/* Improved Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-out;
}

.btn:hover::after {
    width: 100%;
}

/* Improved Form Styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(48, 213, 200, 0.2);
    outline: none;
}

.success-message,
.error-message {
    padding: 15px;
    border-radius: 5px;
    display: none;
    margin-bottom: 15px;
    animation: slideIn 0.3s ease-out;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: #777;
    font-size: 18px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

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

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.svg') no-repeat center center/cover;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #f9f9f9;
}

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

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: #777;
    font-size: 16px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
}

.feature i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 20px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial {
    min-width: 100%;
    padding: 0 20px;
    transition: transform 0.5s ease;
}

.testimonial-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    transform: rotate(45deg);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.02);
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    color: #777;
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-btn,
.next-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    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: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 30px;
    text-align: center;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 70px 0 20px;
}

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

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-contact .social-icon {
    background-color: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline;
    color: #aaa;
    margin-left: 0;
    padding: 0;
}

.footer-contact .social-icon i {
    color: var(--primary-color);
}

.footer-contact .social-icon:hover {
    color: var(--primary-color);
    transform: none;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

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

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.legal-links span {
    color: var(--text-muted);
    font-size: 0.9rem;
    user-select: none;
}

[data-theme="dark"] .legal-links a {
    color: #9aa2a9;
}

[data-theme="dark"] .legal-links a:hover {
    color: var(--primary-color);
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

/* Loading Animation */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

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

/* Enhanced hover effects */
.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

/* Improved form styling */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(48, 213, 200, 0.2);
}

/* Success message styling */
.success-message {
    background-color: var(--success-color);
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}

.error-message {
    background-color: var(--danger-color);
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}

/* Enhanced scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1000;
}

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

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

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .service-card {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}