/* General Styles */
:root {
    --primary-color: #204051; /* Sophisticated primary color */
    --secondary-color: #1abc9c; /* Accent color */
    --light-color: #ecf0f1; /* Light contrast color */
    --hover-bg-color: #1d9e84; /* Lighter hover accent */
    --shadow-color: rgba(0, 0, 0, 0.15); /* Consistent shadow color */
    --border-radius: 8px; /* Soft, accessible border radius */
    --primary-bg-color: #ffffff; /* Clean, bright background */
    --primary-text-color: #2e2e2e; /* Calming text color */
    --accent-color: #008080; /* Simple teal accent */
    --hover-accent-color: #006666; /* Darker hover accent */
    --subtle-gradient: linear-gradient(135deg, #ffffff 0%, #f3f3f3 100%);
    --highlight-gradient: linear-gradient(90deg, #008080, #00b3b3);
}

body {
    font-family: 'Roboto', sans-serif; /* Modern, professional font */
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: var(--primary-text-color);
    text-align: left; /* Adjusted for English and French text direction */
    line-height: 1.8; /* Optimized readability */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
}

.cta-button:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

* {
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Mobile-Specific Styles */
@media (max-width: 768px) {
    :root {
        --border-radius: 6px; /* Compact border radius */
        --shadow-color: rgba(0, 0, 0, 0.1); /* Softer shadows for mobile */
    }

    body {
        font-size: 1rem; /* Increased font for readability */
        line-height: 1.6; /* Adjusted for small screens */
    }

    .cta-button {
        padding: 12px 18px; /* Touch-friendly padding */
        font-size: 1rem;
        border-radius: var(--border-radius);
        box-shadow: 0px 4px 6px var(--shadow-color); /* Softer shadow */
    }

    .cta-button:focus-visible {
        outline: 2px solid var(--secondary-color);
        outline-offset: 1px;
    }

    p, h1, h2, h3, h4, h5, h6 {
        text-align: center;
        margin: 8px 0; /* Compact spacing for mobile */
    }
}

/* Header Styling */
header {
    background: var(--subtle-gradient); /* Soft gradient background */
    padding: 12px 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); /* Light shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease; /* Smooth scroll effect */
}

/* Navigation Layout */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Styling */
.logo img {
    width: 90px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05); /* Slight zoom effect */
}

/* Navigation Links */
#nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

#nav-list li a {
    color: var(--primary-text-color);
    font-size: 1rem;
    font-family: "Helvetica Neue", sans-serif; /* Clean, elegant font */
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Minimalist Gradient Hover Effect */
#nav-list li a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--highlight-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 4px;
    z-index: -1;
}

#nav-list li a:hover::before {
    transform: scaleX(1);
}

#nav-list li a:hover {
    color: #ffffff;
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 20px;
}

.social-media a {
    color: var(--primary-text-color);
    font-size: 1.4rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
    color: var(--accent-color);
    transform: scale(1.1); /* Slight pop effect on hover */

}

/* Specific icon colors for navigation bar */
.nav-social-media a .fa-facebook-f {
    color: #3b5998;
}

.nav-social-media a .fa-twitter {
    color: #1da1f2;
}

.nav-social-media a .fa-instagram {
    color: #e4405f;
}

.nav-social-media a .fa-tiktok {
    color: #000000;
}

/* Mobile-Specific Styling */
@media (max-width: 768px) {
    header {
        padding: 8px 20px;
        background: var(--primary-bg-color); /* Clean, flat background for mobile */
    }

    .logo {
        flex: 1;
        text-align: center;
    }

    .logo img {
        width: 70px;
        margin: auto;
        transition: transform 0.3s ease;
    }

    /* Hide the full navigation list initially */
    #nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        z-index: 999;
        opacity: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Show the menu when active */
    #nav-list.active {
        display: flex;
        transform: translateX(0);
        opacity: 1;
    }

    /* Hamburger Menu */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        position: absolute;
        left: 20px;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: var(--primary-text-color);
        transition: background-color 0.3s, transform 0.3s;
        z-index: 1000;
    }

    /* Menu Toggle Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Responsive Navigation Links */
    #nav-list li a {
        font-size: 1.2rem;
        color: var(--primary-text-color);
        text-align: center;
        padding: 10px;
        width: 100%;
        font-weight: bold;
        transition: color 0.3s, background-color 0.3s;
    }

    /* Subtle hover with an elegant effect */
    #nav-list li a:hover {
        background-color: var(--highlight-gradient);
        color: #ffffff;
        border-radius: 4px;
    }

    /* Center Social Icons and Adjust Size */
    .social-media {
        display: flex;
        justify-content: center;
        gap: 7px;
        position: absolute;
        right: 20px;
    }

    .social-media a {
        font-size: 1.2rem;
        transition: color 0.3s, transform 0.3s;
    }

    /* Social icon interaction */
    .social-media a:hover {
        color: var(--hover-accent-color);
        transform: scale(1.1);
    }

    /* Overlay Styles */
    #overlay {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
    }

    #overlay.active {
        display: block; /* Show when active */
        z-index: 998;;
    }

}
/* Hero Section */
.hero {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    min-height: 80vh; /* Use min-height instead of 100vh to prevent stretching */
    background-image: url('/images/centre.jpg'); /* Background image */
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the image */
    position: relative; /* For overlay positioning */
    text-align: center;
    color: var(--light-color); /* Light text for contrast */
    padding: 0 10%; /* Adjusted padding */
}

/* Remove any overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* No overlay color */
    z-index: 1; /* Below text but above the background image */
}

/* Main content in the hero */
.hero-overlay {
    z-index: 2; /* Ensures text is above overlay */
    background: rgba(0, 0, 0, 0.6); /* Slightly darker background for better contrast */
    padding: 40px 20px; /* Balanced padding */
    text-align: center;
    color: #f1f1f1; /* Light text color */
    border-radius: 20px; /* Softer, rounded corners */
    max-width: 800px;
    width: 100%;
    box-shadow: none; /* No shadow for content box */
    animation: fadeIn 1s ease-in-out; /* Fade-in animation */
    backdrop-filter: blur(5px); /* Soft blur for elegance */
}

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

/* Headline Styling */
.hero h1 {
    font-size: 4rem; /* Adjusted size for better readability */
    margin: 0;
    font-weight: 700; /* Medium boldness */
    letter-spacing: 1px; /* Slight letter-spacing for elegance */
    text-transform: uppercase;
    line-height: 1.3;
    font-family: 'Helvetica Neue', sans-serif;
    color: #f1f1f1; /* Light white color for the text */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* Subtle text shadow for contrast */
}

/* Subtext Styling */
.hero p {
    font-size: 1.6rem; /* Slightly smaller for better readability */
    margin: 20px 0;
    line-height: 1.8;
    font-family: 'Arial', sans-serif;
    font-weight: 400; /* Lighter weight */
    color: #f1f1f1; /* Light white color for the text */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4); /* Subtle text shadow */
}

/* Call to Action Button */
.cta-button {
    background-color: #1abc9c;
    color: white;
    padding: 12px 30px; /* Adjusted padding for a more minimalistic look */
    font-size: 1.4rem; /* Slightly smaller font size */
    font-weight: 600; /* Medium weight */
    text-decoration: none;
    border-radius: 25px; /* Rounded corners */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Softer shadow for elegance */
    display: inline-block;
}

/* Button hover effect */
.cta-button:hover {
    background-color: #16a085;
    transform: translateY(-3px); /* Slight lift */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Darker shadow on hover */
}

/* Focus effect for the button */
.cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(26, 188, 156, 0.7);
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .hero {
        padding: 0 5%;
    }

    .hero h1 {
        font-size: 2.5rem; /* Slightly smaller for mobile */
        line-height: 1.2; /* Adjusted line height */
    }

    .hero p {
        font-size: 1.3rem; /* Smaller font for mobile */
        line-height: 1.4;
        margin: 10px 0; /* Adjusted margin */
    }

    .hero-overlay {
        padding: 30px 15px; /* Smaller padding */
        border-radius: 15px;
        max-width: 90%; /* Relative units for flexibility */
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 30px;
        border-radius: 20px;
        font-weight: 800;
    }
}

/* Responsive Design for Extra Small Screens */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem; /* Scale down further */
    }

    .hero p {
        font-size: 1.2rem; /* Scale down further */
    }
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: #f4f4f4; /* Soft background for elegance */
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.3s ease-in-out; /* Smooth transition for any state changes */
}

/* Title Styling */
.about-section h2 {
    font-size: 3rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 1.5px;
    font-family: 'Roboto', sans-serif;
    transition: color 0.3s ease-in-out; /* Smooth color transition */
}

/* About Content Flex Layout */
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative; /* For absolute positioning of overlay */
    animation: fadeInUp 1s ease-out;
    transition: transform 0.3s ease; /* Smooth transition for overall content */
    text-align: justify;
}

/* Keyframe Animation for fade-in */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Doctor Image Styling */
.doctor-image-container {
    flex: 0 0 300px; /* Fixed width for the image container */
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.3s ease; /* Smooth scaling and shadow */
}

.doctor-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
}

/* Hover Effect for Doctor Image */
.doctor-image-container:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
}

/* Doctor Info Styling */
.doctor-info {
    flex: 1;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Doctor Description Styling */
.doctor-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #34495e;
    margin: 0; /* Remove margin for cleaner spacing */
    text-align: left; /* Left-align text for easier reading */
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Gradient Accent Line for Doctor Info */
.doctor-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1abc9c, #16a085); /* Color accent line */
    border-radius: 20px 20px 0 0; /* Rounded top edges */
}

/* Hover Effect for Doctor Info */
.doctor-info:hover {
    background: #ecf0f1; /* Light gray background on hover */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2); /* Larger shadow effect on hover */
}

/* Mobile-Specific About Section Styles */
@media (max-width: 768px) {
    .about-section {
        padding: 50px 15px; /* Reduced padding for compact fit */
        border-radius: 15px; /* Softer rounded edges */
    }

    .about-section h2 {
        font-size: 2.2rem; /* Smaller font size */
        margin-bottom: 30px; /* Adjusted spacing */
        letter-spacing: 1px; /* Slightly tighter spacing */
    }

    .about-content {
        flex-direction: column; /* Stack items vertically */
        gap: 30px; /* Reduced gap for a cohesive layout */
    }

    .doctor-image-container {
        flex: 0 0 200px; /* Smaller fixed width */
        margin: 0 auto; /* Center image container on mobile */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Softer shadow */
    }

    .doctor-info {
        padding: 20px 15px; /* Compact padding */
        border-radius: 15px; /* Softer rounded corners */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    }

    .doctor-description {
        font-size: 1.2rem; /* Smaller font for readability */
        line-height: 1.5; /* Adjusted line-height */
    }
}


/* Services Section */
.services-section {
    padding: 80px 20px; /* Increased padding for elegance */
    background: #ffffff; /* Clean white background */
    border-radius: 30px; /* Softer rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* More pronounced shadow for depth */
    text-align: center; /* Centered text for a polished look */
    max-width: 1200px; /* Limiting width for better focus */
    margin: 0 auto; /* Centering the section */
    transition: all 0.3s ease-in-out; /* Smooth transition for overall section */
}

.services-section h2 {
    font-size: 2.5rem; /* Larger font size for emphasis */
    color: #2c3e50; /* Dark color for contrast */
    font-weight: 700; /* Bold for visibility */
    margin-bottom: 40px; /* Space below the heading */
    letter-spacing: 1.5px; /* Spacing for sophistication */
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    transition: color 0.3s ease-in-out; /* Smooth color transition */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px; /* Increased gap for spacious feel */
    animation: fadeInUp 0.6s ease-out; /* Animation for section appearance */
    transition: all 0.3s ease-in-out; /* Smooth transition for grid */
}

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

.service {
    background: #ecf0f1; /* Soft gray background for cards */
    border-radius: 20px; /* Rounded corners */
    padding: 25px; /* Padding for content */
    text-align: center; /* Center text alignment */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transitions */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: relative; /* For potential overlay or additional design */
}

.service:hover {
    transform: translateY(-8px); /* Elevated effect on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
}

.service-image {
    width: 100%;
    height: 200px; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for images */
    object-fit: cover; /* Ensure the image covers the area without distortion */
    border-radius: 10px; /* Optional: Add rounded corners */
    margin-bottom: 15px; /* Space between image and title */
    transition: transform 0.3s ease; /* Smooth transition for image hover */
}

.service-image:hover {
    transform: scale(1.05); /* Slight zoom effect for images on hover */
}

.service h3 {
    font-size: 1.8rem; /* Font size for service title */
    color: #2980b9; /* Color for titles to stand out */
    margin: 15px 0 10px; /* Margin around titles */
    font-weight: 600; /* Slightly bold for emphasis */
    text-transform: capitalize; /* Capitalize service titles */
}

.service p {
    font-size: 1.2rem; /* Font size for descriptions */
    color: #34495e; /* Darker color for readability */
    line-height: 1.5; /* Improved line spacing */
    margin-bottom: 20px; /* Space at the bottom */
}

/* Responsive Design */
/* Mobile-Specific Services Section Styles */
@media (max-width: 768px) {
    .services-section {
        padding: 50px 15px; /* Reduced padding for compactness */
        border-radius: 15px; /* Softer rounded edges */
    }

    .services-section h2 {
        font-size: 2rem; /* Smaller font size for better fit */
        margin-bottom: 30px; /* Adjusted spacing for tighter layout */
        letter-spacing: 1px; /* Slightly reduced spacing */
    }

    .services-grid {
        grid-template-columns: 1fr; /* Single-column layout for mobile */
        gap: 20px; /* Reduced gap for a more compact appearance */
    }

    .service {
        padding: 20px; /* Reduced padding for a cleaner look */
        border-radius: 15px; /* Softer rounded corners */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Softer shadow */
    }

    .service-image {
        height: 150px; /* Smaller height for images */
        margin-bottom: 10px; /* Reduced spacing below images */
    }

    .service h3 {
        font-size: 1.6rem; /* Adjusted font size for readability */
        margin: 10px 0; /* Tighter spacing around titles */
    }

    .service p {
        font-size: 1rem; /* Smaller font size for better readability */
        line-height: 1.4; /* Adjusted line height */
    }
}


/* Blog Section */
.blog-section {
    padding: 80px 50px; /* Increased padding for spacious feel */
    background: #f4f6f9; /* Soft light background for contrast */
    border-radius: 25px; /* More rounded corners for a softer look */
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.05); /* Elegant subtle shadow */
    text-align: center; /* Centered text */
    max-width: 1250px; /* Maximum width of the section */
    margin: 0 auto; /* Center the section */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    overflow: hidden; /* Hide overflow content */
    font-family: 'Roboto', sans-serif; /* Font style for the section */
    direction: ltr; /* Left to Right text flow for English/French */
}

/* Blog Section Header */
.blog-section h2 {
    font-size: 3.2em; /* Larger, refined font size for impact */
    color: #34495e; /* Darker shade for professionalism */
    font-weight: 700; /* Font weight for the header */
    letter-spacing: 1px; /* Spacing between letters */
    margin-bottom: 50px; /* Space beneath header */
    padding-bottom: 15px; /* Padding below the title */
    border-bottom: 4px solid #1abc9c; /* Fresh accent underline */
}

/* Blog Container with Grid Layout */
.blog-container {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Flexible, responsive layout */
    gap: 40px; /* Generous spacing for a clean look */
    justify-items: center; /* Center items in the grid */
    padding: 0 15px; /* Horizontal padding for the container */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

/* Individual Blog Post */
.blog-post {
    background: #ffffff; /* Background color for the post */
    padding: 30px; /* Balanced padding */
    border-radius: 12px; /* Softer corners for modern design */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.07); /* Deeper shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition for hover effects */
    text-align: left; /* Align text to the left */
    width: 100%; /* Full width for the post */
    max-width: 380px; /* Maximum width of each post */
    margin: 0; /* Reset margins */
    border-left: 6px solid #1abc9c; /* Bold accent to highlight posts */
    overflow: hidden; /* Hide overflow content */
    position: relative; /* Position for potential overlap effects */
}

/* Blog Post Hover Effect */
.blog-post:hover {
    transform: translateY(-12px); /* Elevate more on hover */
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
    z-index: 1; /* Ensure post is above other posts */
}

/* Blog Post Title */
.blog-post h3 {
    font-size: 2.2em; /* Larger title for prominence */
    color: #2c3e50; /* Dark, readable title color */
    font-family: 'Lora', serif; /* Font family for the title */
    font-weight: 600; /* Font weight for the title */
    margin-bottom: 20px; /* Space below title */
    line-height: 1.5; /* Line height for readability */
    letter-spacing: 0.5px; /* Spacing between letters */
}

/* Blog Post Description */
.blog-post p {
    font-size: 1.1em; /* Slightly larger for readability */
    color: #7f8c8d; /* Soft grey for easy reading */
    margin-bottom: 25px; /* Space below description */
    line-height: 1.8; /* Line height for readability */
    font-family: 'Arial', sans-serif; /* Font family for the description */
}

/* Read More Button */
.read-more {
    display: inline-block; /* Inline block for button */
    padding: 14px 28px; /* Padding for clickable button */
    background: #1abc9c; /* Background color for button */
    color: white; /* Text color for button */
    text-decoration: none; /* Remove underline from link */
    font-size: 1.1em; /* Font size for button text */
    font-weight: 600; /* Font weight for button text */
    border-radius: 30px; /* Rounded corners for button */
    letter-spacing: 1px; /* Spacing between letters */
    transition: all 0.3s ease; /* Transition for hover effects */
    border: 2px solid transparent; /* Transparent border */
    text-transform: uppercase; /* Uppercase letters for button text */
    margin-top: 20px; /* Space above the button */
}

/* Read More Button Hover Effect */
.read-more:hover {
    background: transparent; /* Transparent background on hover */
    color: #1abc9c; /* Change text color on hover */
    border: 2px solid #1abc9c; /* Border color on hover */
    box-shadow: 0 0 10px rgba(26, 188, 156, 0.6); /* Shadow on hover */
    transform: scale(1.1); /* Scale effect on hover */
}

/* Responsive Adjustments */
/* Mobile-Specific Blog Section Styles */
@media (max-width: 768px) {
    .blog-section {
        padding: 50px 20px; /* Reduced padding for compact design */
        border-radius: 15px; /* Softer rounded corners */
    }

    .blog-section h2 {
        font-size: 2.5em; /* Smaller, still impactful font size */
        margin-bottom: 40px; /* Adjusted spacing for tighter layout */
        letter-spacing: 0.8px; /* Slightly reduced spacing */
    }

    .blog-container {
        grid-template-columns: 1fr; /* Single-column layout for mobile */
        gap: 25px; /* Reduced gap for a more compact appearance */
    }

    .blog-post {
        padding: 20px; /* Reduced padding for mobile */
        max-width: 100%; /* Full width for better fit */
        border-radius: 10px; /* Softer corners */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Softer shadow */
        border-left: 4px solid #1abc9c; /* Reduced accent thickness */
    }

    .blog-post h3 {
        font-size: 1.8em; /* Smaller font size for titles */
        margin-bottom: 15px; /* Adjusted spacing below title */
    }

    .blog-post p {
        font-size: 1em; /* Smaller font size for readability */
        line-height: 1.6; /* Adjusted line height */
    }

    .read-more {
        padding: 12px 24px; /* Reduced padding for button */
        font-size: 1em; /* Slightly smaller font */
        margin-top: 15px; /* Tighter spacing above button */
    }
}


/* Contact Section */
.contact-section {
    padding: 80px 20px;  /* Ample padding for a spacious layout */
    background: #f9f9f9;  /* Light gray background for modern appeal */
    border-radius: 15px;  /* Rounded corners for section */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);  /* Softer shadow for depth */
    text-align: center;  /* Center text for elegance */
}

.contact-section h2 {
    font-size: 2.5em;  /* Large heading size */
    color: #333;  /* Dark text for readability */
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 40px;  /* Margin below heading */
    text-transform: uppercase;  /* Uppercase for formality */
}

.contact-container {
    display: flex;  /* Flex layout for two-column design */
    justify-content: space-between;  /* Space between columns */
    align-items: flex-start;  /* Align items to the top */
    max-width: 1200px;  /* Limit max width for better readability */
    margin: 0 auto;  /* Center the container */
    gap: 40px;  /* Gap between the form and contact info */
}

.form-container,
.contact-info-container {
    flex: 1;  /* Each column takes equal space */
    background: #fff;  /* White background for form and contact info */
    padding: 30px;  /* Padding inside */
    border-radius: 15px;  /* Rounded corners for containers */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);  /* Subtle shadow for depth */
    transition: box-shadow 0.3s;  /* Smooth transition for hover effect */
    max-width: 100%;  /* Ensure they do not exceed the parent container */
    box-sizing: border-box;  /* Include padding and border in the element's total width and height */
}

.form-container:hover,
.contact-info-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);  /* Elevate on hover */
}

.contact-info {
    text-align: right;  /* Right-aligned text for information */
}

.contact-info h3 {
    font-size: 1.8em;  /* Size for the subheading */
    color: #2c3e50;  /* Color for subheading */
    margin-bottom: 20px;  /* Spacing below subheading */
    position: relative;  /* Position for decorative line */
    text-align: center;  /* Center subheading */
}

.contact-info h3::after {
    content: '';  /* Decorative line */
    display: block;
    width: 60px;  /* Width of line */
    height: 4px;  /* Height of line */
    background: #3498db;  /* Line color */
    margin: 10px auto;  /* Center line */
}

.contact-info p {
    font-size: 1.1em;  /* Standard font size */
    color: #555;  /* Softer color for readability */
    margin-bottom: 10px;  /* Spacing between paragraphs */
    text-decoration: none;  /* Remove underline from links */
}
.contact-info a {
    color: #3498db;
    text-decoration: none; /* Remove underline */
}

.contact-info a:hover {
    text-decoration: underline; /* Optional: Add underline on hover */
}

.map-container {
    margin-top: 20px;  /* Space above map */
    border-radius: 10px;  /* Rounded corners for the map */
    overflow: hidden;  /* Ensure map fits within rounded corners */
}

.contact-form {
    display: grid;  /* Grid layout for form elements */
    grid-template-columns: 1fr;  /* Single column layout */
    gap: 20px;  /* Space between form elements */
}

.contact-form h3 {
    font-size: 1.8em;  /* Size for the subheading */
    color: #2c3e50;  /* Color for subheading */
    margin-bottom: 20px;  /* Spacing below subheading */
    position: relative;  /* Position for decorative line */
}

.contact-form h3::after {
    content: '';  /* Decorative line */
    display: block;
    width: 60px;  /* Width of line */
    height: 4px;  /* Height of line */
    background: #3498db;  /* Line color */
    margin: 10px auto;  /* Center line */
}

.contact-form label {
    font-size: 1.1em;  /* Label font size */
    color: #555;  /* Softer color for labels */
    text-align: right;  /* Right-aligned labels */
    margin-bottom: 5px;  /* Spacing below labels */
    display: flex;  /* Flex layout for label */
    align-items: center;  /* Center icons and text vertically */
}

.contact-form label i {
    margin-right: 5px;  /* Space between icon and label text */
}

.contact-form input,
.contact-form textarea {
    padding: 15px;  /* Padding for inputs and textarea */
    border: 1px solid #ddd;  /* Subtle border */
    border-radius: 8px;  /* Rounded corners for input fields */
    font-size: 1em;  /* Font size for input fields */
    font-family: 'Roboto', sans-serif;  /* Consistent font */
    transition: border-color 0.3s, box-shadow 0.3s;  /* Transition for focus effects */
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498db;  /* Highlight border on focus */
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);  /* Subtle shadow on focus */
    outline: none;  /* Remove default outline */
}

.contact-form button {
    padding: 15px 30px;  /* Padding for the button */
    border: none;  /* No border for a clean look */
    border-radius: 30px;  /* Rounded button corners */
    background-color: #3498db;  /* Button color */
    color: white;  /* Text color */
    cursor: pointer;  /* Pointer cursor */
    font-size: 1.1em;  /* Button font size */
    transition: background 0.3s, transform 0.2s;  /* Button hover effects */
    font-family: 'Roboto', sans-serif;  /* Consistent font */
}

.contact-form button:hover {
    background-color: #2980b9;  /* Darker shade on hover */
    transform: translateY(-2px);  /* Slight lift effect on hover */
}

.contact-form button:active {
    transform: translateY(0);  /* Reset on click */
}
/* Mobile Responsiveness for Contact Section */
@media (max-width: 768px) {

    /* Contact Section */
    .contact-section {
        padding: 40px 10px;  /* Reduced padding for smaller screens */
    }

    .contact-section h2 {
        font-size: 2em;  /* Adjust heading size for mobile */
        margin-bottom: 20px;  /* Reduced margin */
    }

    /* Contact Container (Switch from 2-column to 1-column layout) */
    .contact-container {
        display: block;  /* Stack columns vertically */
        gap: 30px;  /* Reduced gap */
    }

    .form-container,
    .contact-info-container {
        flex: none;  /* Remove equal flex sizing */
        width: 100%;  /* Full width for each container */
        box-shadow: none;  /* Remove hover shadow for mobile */
        padding: 20px;  /* Reduced padding */
    }

    /* Contact Info Styling */
    .contact-info h3 {
        font-size: 1.6em;  /* Slightly smaller subheading */
    }

    .contact-info p {
        font-size: 1em;  /* Standardize paragraph size for mobile */
    }

    /* Map Container */
    .map-container {
        width: 100%;  /* Full width map */
        margin-top: 20px;  /* Maintain top margin */
    }

    /* Contact Form */
    .contact-form {
        grid-template-columns: 1fr;  /* Ensure single column layout */
        gap: 15px;  /* Reduce gap between form fields */
    }

    .contact-form h3 {
        font-size: 1.6em;  /* Smaller subheading size */
    }

    .contact-form label {
        font-size: 1em;  /* Adjust label size for mobile */
        text-align: left;  /* Align label text to left for better readability */
        margin-bottom: 8px;  /* Reduced margin */
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;  /* Reduced padding for form fields */
        font-size: 0.95em;  /* Smaller text size for inputs */
    }

    .contact-form button {
        padding: 12px 25px;  /* Adjust button padding */
        font-size: 1em;  /* Adjust button text size */
        border-radius: 25px;  /* Round corners of the button */
    }

    .contact-form button:hover {
        background-color: #2980b9;  /* Maintain hover effect */
    }

    .contact-form button:active {
        transform: translateY(0);  /* Reset on click */
    }
}



/* Footer Section */
.footer-section {
    background-color: #1c1f26;  /* Deep color for a luxurious feel */
    color: #dcdde1;  /* Light color for contrast */
    text-align: center;
    padding: 40px 20px;  /* Ample padding for a spacious look */
    position: relative;
    width: 100%;
    margin-top: 40px;  /* Separate from content above */
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;  /* Center the content */
}

.footer-logo .logo {
    max-width: 150px;  /* Logo size */
    margin-bottom: 20px;  /* Space below logo */
}

.footer-content p {
    font-size: 1.1em;  /* Slightly larger font for readability */
    margin-bottom: 20px;  /* Space below text */
    color: #b0bec5;  /* Softer color for contrast */
}

.footer-links {
    margin: 20px 0;  /* Space around links */
}

.footer-links a {
    color: #b0bec5;  /* Softer color for minimalistic feel */
    margin: 0 10px;
    font-size: 1em;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;  /* Highlight color on hover */
}

.footer-social-media {
    display: flex;
    justify-content: center;  /* Center social media icons */
    margin: 20px 0;  /* Space around social media */
    gap: 15px;  /* Space between icons */
}

.footer-social-media li {
    list-style: none;
}

.footer-social-media a {
    color: #b0bec5;  /* Icon color */
    font-size: 1.5em;  /* Icon size */
    transition: color 0.3s, transform 0.3s;  /* Smooth transitions */
}

.footer-social-media a:hover {
    color: #3498db;  /* Highlight color on hover */
    transform: scale(1.1);  /* Slight zoom on hover */
}

/* Responsive Design */
/* Mobile Footer Section */
@media (max-width: 768px) {
    .footer-section {
        padding: 30px 15px;  /* Adjust padding for smaller screens */
        font-size: 1em;  /* Slightly smaller font size */
    }

    .footer-logo .logo {
        max-width: 120px;  /* Slightly smaller logo on mobile */
        margin-bottom: 15px;  /* Reduce space below logo */
    }

    .footer-content p {
        font-size: 1em;  /* Adjust text size for mobile readability */
        margin-bottom: 15px;  /* Reduce space below text */
    }

    .footer-links {
        margin: 15px 0;  /* Reduced space around links */
        text-align: center;  /* Center links for mobile */
    }

    .footer-links a {
        font-size: 0.9em;  /* Slightly smaller links */
        margin: 0 8px;  /* Reduced space between links */
    }

    .footer-social-media {
        position: relative;
        align-items: center;  /* Center icons */
        margin: 15px 0;  /* Adjust space around social media */
        gap: 10px;  /* Reduced space between icons */
        left: -33px;
    }

    .footer-social-media a {
        font-size: 1.2em;  /* Smaller icon size on mobile */
    }
}



