* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #558b2f;
    --secondary-color: #7cb342;
    --light-green: #c5e1a5;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fff8;
    --bg-tertiary: #f1f8e9;
    --text-primary: #333;
    --text-secondary: #666;
    --shadow: rgba(0,0,0,0.1);
    --shadow-hover: rgba(0,0,0,0.15);
}

[data-theme="dark"] {
    --primary-color: #7cb342;
    --secondary-color: #9ccc65;
    --light-green: #558b2f;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #252525;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --shadow: rgba(0,0,0,0.3);
    --shadow-hover: rgba(0,0,0,0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header & Navigation */
header {
    background: var(--bg-secondary);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.8s ease;
    transition: background-color 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--secondary-color);
    margin-top: -5px;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Toggle Controls Container */
.toggle-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

.language-toggle:hover {
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.lang-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-tertiary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    font-weight: bold;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
    background: var(--secondary-color);
}

/* Theme Toggle */
.theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Marquee Section */
.marquee-section {
    margin-top: 80px;
    background: var(--primary-color);
    color: white;
    padding: 15px 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: scroll 25s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0 50px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 6rem 5% 4rem;
    text-align: center;
    color: white;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideUp 0.8s ease;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    animation: slideUp 1s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Cards Section */
.contact-methods {
    padding: 5rem 5%;
    background: var(--bg-primary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: fadeIn 1s ease;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.contact-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s;
    animation: zoomIn 0.8s ease;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    background: var(--bg-primary);
}

.contact-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contact-card:hover .contact-icon {
    animation: none;
    transform: scale(1.1);
}

.contact-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.contact-details {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.contact-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

/* Location Section */
.location-section {
    padding: 5rem 5%;
    background: var(--bg-tertiary);
}

.location-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-info {
    animation: slideRight 1s ease;
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.location-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.location-details {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-tertiary);
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.detail-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.detail-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.map-container {
    animation: slideLeft 1s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    height: 500px;
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
}

.map-placeholder .map-icon {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

/* Business Hours */
.business-hours {
    padding: 5rem 5%;
    background: var(--bg-primary);
}

.hours-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hours-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s;
}

.hours-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-hover);
}

.day-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hours-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hours-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Social Media Section */
.social-section {
    padding: 5rem 5%;
    background: var(--bg-tertiary);
}

.social-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.social-intro {
    margin-bottom: 3rem;
}

.social-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-intro p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.social-card {
    background: var(--bg-primary);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
}

.social-card:nth-child(1) { animation-delay: 0.1s; }
.social-card:nth-child(2) { animation-delay: 0.2s; }
.social-card:nth-child(3) { animation-delay: 0.3s; }
.social-card:nth-child(4) { animation-delay: 0.4s; }

.social-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.social-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.social-card h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.social-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease;
}

.cta-highlight {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.cta-highlight h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--light-green);
}

.cta-highlight p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Footer */

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #33691e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--light-green), var(--secondary-color));
}

.footer-main {
    padding: 4rem 5% 2rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.footer-logo-text h3 {
    font-size: 1.8rem;
    color: var(--light-green);
    margin-bottom: 0.3rem;
}

.footer-logo-text p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--light-green);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.footer-section h3 {
    font-size: 1.4rem;
    color: var(--light-green);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--light-green);
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.footer-contact-icon {
    font-size: 1.3rem;
    color: var(--light-green);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--light-green);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-input {
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--light-green);
    background: rgba(255,255,255,0.15);
}

.newsletter-btn {
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.newsletter-btn:hover {
    background: var(--light-green);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 179, 66, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 2rem 5%;
    background: rgba(0,0,0,0.2);
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.badge {
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--light-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(197, 225, 165, 0.3);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .process-container {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .marquee-content span {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-logo-text h3 {
        font-size: 1.5rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .toggle-controls {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-center {
        width: 100%;
        justify-content: center;
    }
}
.scroll-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background: var(--secondary-color);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: all 0.3s;
box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
z-index: 999;
}

.scroll-to-top.visible {
opacity: 1;
visibility: visible;
}

.scroll-to-top:hover {
background: var(--primary-color);
transform: translateY(-5px);
box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-center {
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .toggle-controls {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 3%;
    }

    .nav-center {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .toggle-controls {
        justify-content: center;
        width: 100%;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .location-container {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   MOBILE NAVBAR FIX
   Add this to your styles.css file
   ============================================ */

/* Mobile Navigation Styles - 768px and below */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        align-items: stretch;
    }

    /* Logo section - full width */
    header nav .logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    header nav .logo img {
        width: 45px;
        height: 45px;
    }

    header nav .logo-text h1 {
        font-size: 1.1rem;
    }

    header nav .logo-text p {
        font-size: 0.65rem;
    }

    /* Navigation links - make hamburger menu */
    .nav-center {
        width: 100%;
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--card-bg, #ffffff);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links li a {
        display: block;
        padding: 0.75rem 1.25rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Hamburger Menu Button */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 0.5rem;
        background: transparent;
        border: none;
        width: 35px;
        height: 35px;
        justify-content: center;
        align-items: center;
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    .hamburger-menu:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-color, #333);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Toggle controls - horizontal layout */
    .toggle-controls {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 1rem;
        padding: 0.5rem 0;
    }

    /* Hamburger on the left */
    .toggle-controls::before {
        content: '';
        order: -1;
    }

    .language-toggle {
        flex: 1;
        justify-content: center;
        max-width: 200px;
    }

    .theme-toggle {
        order: 2;
    }
}

/* Extra small devices - 480px and below */
@media (max-width: 480px) {
    header nav {
        padding: 0.5rem 0.75rem;
    }

    header nav .logo img {
        width: 40px;
        height: 40px;
    }

    header nav .logo-text h1 {
        font-size: 1rem;
    }

    header nav .logo-text p {
        font-size: 0.6rem;
    }

    .language-toggle {
        transform: scale(0.9);
    }

    .toggle-controls {
        gap: 0.5rem;
    }
}

/* Dark mode adjustments for mobile */
[data-theme="dark"] .nav-links {
    background: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav-links li a {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Stack WhatsApp & Call above scroll button */
.contact-actions {
    position: fixed;
    right: 20px;
    bottom: 90px; /* Space above scroll-to-top */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
}

.contact-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}

.contact-btn:hover {
    transform: scale(1.1);
}

/* Colors */
.contact-btn.whatsapp {
    background-color: #25D366;
}

.contact-btn.call {
    background-color: #0A74DA;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .contact-actions {
        right: 14px;
        bottom: 80px;
        gap: 10px;
    }

    .contact-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}
