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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1,
h2,
h3,
h4,
.logo-text,
.footer-logo {
    font-family: 'Playfair Display', serif;
    white-space: nowrap;
}

a {
    text-decoration: none;
    color: #1a73e8;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1a73e8;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0d62d1;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #1a73e8;
    text-align: center;
}

h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

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

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

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

.logo img {
    height: 75px;
    margin-right: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a73e8;
}

.nav-menu {
    display: flex;
    margin-right: 80px;
}

.nav-item {
    margin-left: 30px;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
    font-size: 20px;
}

.nav-link:hover {
    color: #1a73e8;
}

.nav-item .btn {
    font-size: 20px;
    padding: 10px 20px;
}

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

/* Responsive mobile menu */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        background-color: white;
        width: 100%;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: 10px 0;
    }
    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(background.jpg) center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero ul {
    padding-left: 2rem;
}

/* --- HERO FLEX LAYOUT --- */
.hero-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title,
.hero-subtitle,
.hero-locations {
    flex: 1 1 0;
}

.hero-featured-img {
    flex: 0 0 320px;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0;
    display: block;
}

@media screen and (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }
    .hero-featured-img {
        max-width: 90vw;
        margin: 20px auto 0 auto;
    }
}

/* Hero Title & Subtitle */
.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.about-content {
    flex: 1 1 0;
}

.about-img {
    flex: 0 0 320px;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0;
    display: block;
}

.about-img img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.about-list li {
    margin-bottom: 5px;
}

/* Services Section */
.services {
    background-color: #f5f9ff;
}

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

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    font-size: 3rem;
    color: #007BFF;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    text-align: center;
}

.service-content ul {
    margin-top: 15px;
}

.service-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-content li:before {
    content: "\2022";
    color: #1a73e8;
    position: absolute;
    left: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #f5f9ff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card:last-child {
    margin-bottom: 0;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Contact Section */
.contact {
    background-color: #f5f9ff;
}

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

.contact-info h3 {
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    min-width: 40px;
    height: 40px;
    background-color: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
    margin-right: 15px;
}

.hours-list li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Map */
.map {
    height: 400px;
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1a73e8;
}

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

.footer-links a,
.footer-services a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-services a:hover {
    color: #1a73e8;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: #1a73e8;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1100;
}

.language-btn {
    font-size: 1.5rem;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    cursor: pointer;
    background: none;
    border: none;
}

.language-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: visibility 0.3s, opacity 0.3s;
}

.language-menu li {
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
}

.language-menu li:hover {
    background-color: #f0f0f0;
}

.language-menu.active {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .about-content h2 {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        width: 100%;
    }
    .about-content h4 {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        width: 100%;
    }
    .about-inner {
        flex-direction: column-reverse;
        align-items: center;
        padding: 0 10px;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
    }
    .about-content {
        max-width: 400px;
        width: 100%;
        margin: 0 auto 20px auto;
        text-align: left;
        word-break: break-word;
        overflow-wrap: break-word;
        padding: 0;
    }
    .about-img {
        max-width: 90vw;
        width: 100%;
        margin: 0 auto 20px auto;
        display: block;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .about-img img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }
    .container {
        padding: 0 10px;
    }
    .about-container {
        padding: 0;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
        align-items: center;
        flex-direction: column-reverse;
    }
}

body {
    box-sizing: border-box;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Ensures padding on both sides */
}

.about-content {
    min-width: 0;
    word-break: break-word;
    width: 100%;
}

.about-inner {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
}