:root {
    /* Color Palette - Updated from Flyer */
    --color-primary-blue: #153363;
    /* Deep Royal Blue from Header */
    --color-accent-pink: #d76b73;
    /* Soft Pink from Service Bubbles */
    --color-accent-pink-light: #FCE8EC;
    /* Very light pink for backgrounds */

    --color-cherry: var(--color-primary-blue);
    /* Re-mapping cherry to primary blue for text consistency if needed, or keeping distinct */
    /* Actually, let's redefine semantic names to avoid confusion */
    --color-brand-blue: #153363;
    --color-brand-pink: #d76b73;

    --color-text-main: #153363;
    /* Text is often dark blue in these designs */
    --color-text-light: #586776;
    --color-bg-light: #FAFAFA;
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-standard: 0.3s ease;
}

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

body {
    font-family: --font-body, sans-serif;
    /* Fallback */
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    color: var(--color-brand-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Basic Header Styles */
header {
    padding: var(--spacing-sm) 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-cherry);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.nav-links a:hover {
    color: var(--color-brand-pink);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-brand-pink);
    color: var(--color-brand-blue);
    /* distinctive contrast */
    box-shadow: 0 4px 12px rgba(232, 156, 174, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-brand-blue);
    transform: translateY(-2px);
    color: white;
}

/* Sections General */
section {
    padding: var(--spacing-xl) 0;
}

#blog-list {
    padding-top: 0px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-main);
}

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

/* Hero Section */
#hero {
    padding: 8rem 0;
    /* More space */
    text-align: center;
    background: url('../images/home-banner.png') no-repeat center center/cover;
    /* Replaced gradient with image */
    border-radius: 0 0 50px 50px;
    color: var(--color-brand-blue);
    /* Changed from white to brand blue */
    position: relative;
}

/* Optional overlay removed as we want clear blue text */

#hero .tagline {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-brand-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

#hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-brand-blue);
    /* Changed from white to brand blue */
}

.hero-cta {
    margin-top: 2rem;
    color: white !important;
    /* Force white text as requested */
}

.hero-subtext {
    display: block;
    margin-top: 1rem;
    /* Spacing above */
    font-size: 2.5rem;
    /* Reduced font size a bit from 4rem */
    line-height: 1.2;
}

#hero .subtitle {
    font-size: 1.25rem;
    color: var(--color-brand-blue);
    /* Changed from white/rgba to brand blue */
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 500;
    /* Added slight weight for readability against image */
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    /* align-items: center; Removed to allow stretch */
}

.about-text .qualification {
    font-weight: 700;
    color: var(--color-brand-pink);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight {
    color: var(--color-brand-blue);
    font-weight: 700;
}

.about-image {
    background-color: var(--color-accent-pink-light);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    /* Default/Mobile height */
    height: 400px;
    display: block;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop: Image matches text height */
@media (min-width: 769px) {
    .about-image {
        height: auto;
        min-height: 0;
    }

    .about-image img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.image-placeholder {
    color: var(--color-cherry);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-md);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-top: 4px solid var(--color-brand-pink);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--color-pink-soft);
}

.service-card h3 {
    font-family: var(--font-body);
    /* Modern cleaner look for subheads */
    color: var(--color-brand-blue);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-md);
}

.location-card {
    background: var(--color-white);
    border: 2px solid var(--color-brand-pink);
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
}

.location-card h3 {
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.timings p {
    font-size: 1.2rem;
    color: var(--color-brand-blue);
    margin-bottom: 0.5rem;
}

.contact-info {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.logo {
    /* font-size: 1.8rem; */
    /* font-weight: 700; */
    /* color: var(--color-brand-blue); */
    height: 60px;
    /* Adjust based on actual logo aspect ratio */
    width: auto;
    display: block;
    margin-top: 0.5rem;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Footer */
footer {
    background-color: var(--color-brand-blue);
    color: white;
    padding: var(--spacing-md) 0;
    text-align: center;
    margin-top: var(--spacing-xl);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

/* Specific Utilities */
.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-brand-blue);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: background 0.3s;
}

.btn-map:hover {
    background-color: var(--color-primary-blue);
    /* Slightly lighter or different if needed, or keep same */
    opacity: 0.9;
    color: white;
}

.no-style-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.no-style-link:hover,
.no-style-link:active,
.no-style-link:focus {
    text-decoration: none;
    color: inherit;
    /* Force no color change */
    outline: none;
}

.hero-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-brand-blue);
    /* Changed from white */
    display: block;
    margin-top: 1.5rem;
}

/* Blog Detail Styles */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blog-post-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-brand-blue);
}

.blog-meta-date {
    display: block;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.blog-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-body h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.author-box {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-brand-pink);
}

.author-info h4 {
    margin: 0;
    color: var(--color-brand-blue);
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

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

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background-color: var(--color-brand-blue);
        border-radius: 3px;
        transition: 0.3s;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

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

    .nav-links li {
        margin: 1rem 0;
    }
}

/* Hide toggle on desktop */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Blog Styles */
#blog-hero {
    background-color: var(--color-pink-soft);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-radius: 0 0 50px 50px;
}

#blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

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

/* Make the anchor tag a proper grid item container */
.blog-grid>a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    /* Stretch to fill grid cell height */
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    /* Ensure card fills the anchor */
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder-small {
    color: #ccc;
    font-weight: 600;
    font-size: 1.2rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--color-cherry);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    color: var(--color-cherry);
}

.read-more:hover {
    color: var(--color-cherry-dark);
}