* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background-image: 
        linear-gradient(rgba(44, 90, 160, 0.8), rgba(30, 58, 95, 0.8)),
        url('../img/Hero_HG_2000x1125_mob.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 70px;
}

@media (min-width: 768px) {
    .hero {
        background-image: 
            linear-gradient(rgba(44, 90, 160, 0.8), rgba(30, 58, 95, 0.8)),
            url('../img/Hero_HG_2560x1440_desk.jpg');
    }
}

@media (min-width: 1440px) {
    .hero {
        background-image: 
            linear-gradient(rgba(44, 90, 160, 0.4), rgba(30, 58, 95, 0.4)),
            url('../img/Hero_HG_3200x1800_hd.jpg');
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: #ff6b6b;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.cta-buttons-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem; /* Optional: adds space between buttons if they don't fill the full width */
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #1e3a5f);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* SVG Icon Styling */
.contact-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    margin-right: 1rem;
    color: #2c5aa0;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info .cta-button {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    text-align: center;
}

.opening-hours {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.opening-hours h3 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
}

.hours-item:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    background: #1e3a5f;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #64b5f6;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: #000;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* TABLET RESPONSIVE STYLES */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .about-content,
    .contact-content {
        gap: 2rem;
    }
}

/* MOBILE RESPONSIVE STYLES */
@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2c5aa0;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    nav ul.show {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 0;
    }

    nav a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Force single column layout on mobile */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        display: grid;
    }
    
    .about-text h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: justify;
    }
    
    .about-image {
        height: 280px;
        margin-top: 1rem;
        width: 100%;
    }

    /* Services grid mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Opening Hours Mobile */
    .opening-hours {
        padding: 1.5rem;
        width: 100%;
    }
    
    .opening-hours h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 0.3rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        text-align: center;
    }
    
    .hours-item span:first-child {
        font-size: 1rem;
    }
    
    .hours-item span:last-child {
        font-size: 0.9rem;
        color: #666;
    }

    /* Ensure full width on mobile */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* About Section Extra Small */
    .about-content {
        gap: 1.5rem;
        grid-template-columns: 1fr !important;
        display: grid;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about-image {
        height: 250px;
        width: 100%;
    }

    /* Services extra small */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Contact extra small */
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Opening Hours Extra Small */
    .opening-hours {
        padding: 1rem;
        margin: 0;
        width: 100%;
    }
    
    .opening-hours h3 {
        font-size: 1.2rem;
    }
    
    .hours-item {
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
    }
    
    .hours-item span:first-child {
        font-size: 0.95rem;
    }
    
    .hours-item span:last-child {
        font-size: 0.85rem;
    }
    
    /* Make the appointment notice more mobile-friendly */
    .opening-hours div[style*="margin-top"] {
        margin-top: 1rem !important;
        padding: 0.8rem !important;
        font-size: 0.9rem;
    }
    
    .opening-hours div[style*="margin-top"] small {
        font-size: 0.8rem;
    }
}