/* ===== Notification Bar ===== */
.notification-bar {
    background-color: var(--clr-primary);
    color: white;
    text-align: center;
    padding: 0.75rem 0;
    font-weight: 500;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.notification-bar p {
    margin: 0;
    font-size: 1rem;
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .notification-bar {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .notification-bar p {
        font-size: 0.9rem;
    }
    
    /* Adjust header top position for smaller notification bar */
    header {
        top: 36px;
    }
    
    /* Adjust body padding for mobile */
    body {
        padding-top: 100px;
    }
}

/* ===== Variables ===== */
:root {
    --clr-primary: #4FC0B8;
    --clr-primary-light: #8CD5D0;
    --clr-bg-light: #E0F0EF;
    --clr-text: #2C3E3E;
    --clr-accent: #FFCBA4;
    --clr-white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== About Section ===== */
.about-section {
    padding: 5rem 0;
    background-color: var(--clr-bg-light);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Google Reviews Floating Button */
#google-floating {
    position: fixed;
    bottom: 5%;
    left: 5%;
    transform-origin: center;
    z-index: 9999;
}

#google-floating a {
    background: #fff;
    display: inline-block;
    border: 2px solid #F9BB08;
    border-radius: 10px;
    padding: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#google-floating a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

#google-floating img {
    display: block;
    width: 100px;
    height: auto;
}

/* Hide on mobile */
@media (max-width: 768px) {
    #google-floating {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--clr-text);
    line-height: 1.6;
    background-color: var(--clr-white);
    overflow-x: hidden;
    padding-top: 110px; /* Account for notification bar (44px) + header height (~66px) */
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--clr-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { 
    font-size: clamp(1.8rem, 4vw, 2.8rem); 
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--clr-primary);
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn-primary {
    display: inline-block;
    background: var(--clr-primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--clr-primary);
    text-align: center;
}

.btn-primary:hover {
    background: transparent;
    color: var(--clr-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

section {
    padding: 6rem 0;
}

/* ===== Header & Navigation ===== */
header {
    position: fixed;
    top: 44px; /* Height of notification bar */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    line-height: 1;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-groma {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-dental {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-primary);
}

/* Footer logo styles */
.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo {
    margin-right: 1rem;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-logo-text .logo-groma {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text);
}

.footer-logo-text .logo-dental {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--clr-primary);
}

.footer-logo .logo-img {
    height: 60px;
}

.footer-logo .logo-groma {
    font-size: 1.75rem;
    color: white;
}

.footer-logo .logo-dental {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--clr-text);
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-text);
}

/* ===== Hero Section ===== */
#hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('images/inside_1.jpeg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: visible;
}

/* Container for hero content and form */
.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    min-height: 500px;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.hero-content h1 {
    color: var(--clr-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--clr-text);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Container */
.hero-form-container {
    position: absolute;
    right: 5%;
    top: 55%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    padding-top: 40px; /* Add padding to push content down from menu bar */
    display: none; /* Ensure the form is completely hidden by default */
}

/* Active state when form is shown */
.hero-container.form-active .hero-form-container {
    width: 400px;
    opacity: 1;
    display: block; /* Show the form when active */
}

/* Shift hero content to the left when form is active */
.hero-container.form-active .hero-content {
    transform: translateX(-200px);
    text-align: left;
    padding-left: 0;
}

/* Ensure both heading and subtitle align properly */
.hero-container.form-active .hero-content h1,
.hero-container.form-active .hero-content p.subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

/* Add more space between hero text and form */
.hero-container.form-active .hero-content {
    margin-right: 50px;
}

/* Hide the hero button when form is active */
.hero-container.form-active #hero-appointment-btn {
    display: none;
}

/* Form Styles */
.hero-form {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Form Header */
.form-header {
    background: var(--clr-primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

/* Close Button */
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Form Body */
.form-body {
    padding: 20px;
}

/* Form Rows and Columns */
.form-row {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.form-col {
    flex: 1;
}

.form-col.full {
    flex: 0 0 100%;
}

/* Form Labels */
.form-body label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--clr-primary);
    font-weight: 500;
}

/* Form Inputs */
.form-body input[type="text"],
.form-body input[type="tel"],
.form-body input[type="email"],
.form-body select,
.form-body textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-body input:focus,
.form-body select:focus,
.form-body textarea:focus {
    border-color: var(--clr-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 192, 184, 0.1);
}

.form-body input:hover,
.form-body select:hover,
.form-body textarea:hover {
    border-color: #bbb;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: var(--clr-primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #3da89f;
}

/* Thank You Message Styles */
.thank-you-message {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
}

.thank-you-message::before {
    content: '✓';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-primary);
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(79, 192, 184, 0.4);
}

.thank-you-message h3 {
    color: var(--clr-primary);
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.thank-you-message p {
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--clr-text);
}

/* Success state styling */
.hero-container.form-success .thank-you-message {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Animation for thank you message */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    #hero {
        min-height: auto;
        padding-bottom: 3rem;
    }
    
    .hero-container {
        flex-direction: column;
        justify-content: center;
        padding: 2rem 0;
        overflow: visible;
        position: relative;
        min-height: auto;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Override the left-shift transform on mobile */
    .hero-container.form-active .hero-content {
        transform: none;
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Hide hero text (h1) when form is active on mobile */
    .hero-container.form-active .hero-content h1,
    .hero-container.form-active .hero-content p {
        display: none;
    }
    
    /* Form container adjustments for mobile */
    .hero-form-container {
        top: auto;
        padding-top: 0;
        display: none;
    }
    
    .hero-container.form-active .hero-form-container {
        position: relative;
        width: 100%;
        right: 0;
        top: auto;
        transform: none;
        margin: 1rem auto 2rem;
        max-width: 90%;
        box-sizing: border-box;
        z-index: 10;
        display: block;
    }
    
    /* Keep the hero section properly sized */
    .hero-container.form-active {
        height: auto;
        min-height: auto;
        overflow: visible;
        padding-bottom: 3rem;
    }
    
    /* Make the form scrollable if it gets too tall */
    .hero-form {
        max-height: 80vh;
        overflow-y: auto;
        padding: 1.5rem;
    }
    
    /* Make the form elements slightly smaller on mobile */
    .hero-form input,
    .hero-form select,
    .hero-form textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-container.form-active .hero-form-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        max-width: none;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .form-header {
        padding: 15px;
    }
    
    .hero-container.form-active .hero-form {
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ===== Team Section ===== */
#team {
    background-color: var(--clr-white);
    padding: 6rem 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 2rem 1.5rem;
}

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

.card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--clr-bg-light);
}

.card h3 {
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--clr-text);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.bio {
    font-size: 0.95rem;
    color: #666;
}

/* ===== Services Section ===== */
#services {
    background-color: var(--clr-bg-light);
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #f0f0f0; /* Light gray background on hover */
    transform: translateY(-5px);
    border: 2px solid #4fc0b8; /* Teal border on hover */
}

.service-card:hover .service-icon img {
    filter: brightness(0) saturate(100%) invert(64%) sepia(63%) saturate(494%) hue-rotate(120deg) brightness(92%) contrast(91%);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
    stroke: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== Reviews Section ===== */
#reviews {
    background-color: var(--clr-white);
    padding: 6rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

blockquote {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

blockquote:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

blockquote::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--clr-primary-light);
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
    opacity: 0.3;
}

blockquote p {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.6;
}

blockquote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--clr-primary);
    margin-top: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

blockquote cite::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background: var(--clr-primary);
}

.rating {
    color: #FFC107;
    letter-spacing: 2px;
    display: block;
    margin-top: 0.5rem;
}

/* ===== Contact Section ===== */
#contact {
    background-color: var(--clr-white);
    padding: 6rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--clr-primary);
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.contact-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.contact-item h4 {
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-item p, 
.contact-item a {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item a {
    display: block;
    margin: 0.25rem 0;
}

/* Appointment CTA Box */
.appointment-cta-box {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.appointment-cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.appointment-cta-box h3 {
    color: var(--clr-white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.appointment-cta-box p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.appointment-cta-box .btn-primary {
    background-color: var(--clr-white);
    color: var(--clr-primary);
    border-color: var(--clr-white);
    font-weight: 600;
}

.appointment-cta-box .btn-primary:hover {
    background-color: transparent;
    color: var(--clr-white);
}

.contact-item a:hover {
    color: var(--clr-primary);
    text-decoration: underline;
}

.media-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.office-photo {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-height: 300px;
}

.office-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.office-photo:hover img {
    transform: scale(1.02);
}

.map-container {
    flex: 1;
    min-height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .media-container {
        flex-direction: column;
    }
    
    .office-photo,
    .map-container {
        height: 300px;
        max-height: none;
    }
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Footer ===== */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-column h3 {
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Header social icon */
nav .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--clr-primary);
    background-color: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0 0.5rem;
    position: relative;
    overflow: hidden;
}

nav .social-icon::after {
    display: none;
}

nav .social-icon svg {
    transition: all 0.3s ease;
}

/* Footer social icons */
.footer-section .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--clr-primary);
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.footer-section .social-links a svg {
    transition: all 0.3s ease;
}

/* Hover effects */
nav .social-icon:hover {
    background-color: var(--clr-primary);
}

nav .social-icon:hover svg {
    color: white;
    transform: scale(1.1);
}

.footer-section .social-links a:hover {
    background-color: var(--clr-primary);
    transform: translateY(-3px);
}

.footer-section .social-links a:hover svg {
    color: white;
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #aaa;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-bottom p {
    margin: 0;
}

/* ===== Call Now Button (Mobile) ===== */
.call-now {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--clr-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    transition: var(--transition);
    display: none;
}

.call-now:hover {
    transform: scale(1.1);
    background: var(--clr-primary-light);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 124px; /* Account for header (80px) + notification bar (44px) */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav a {
        padding: 0.75rem 1.5rem;
        display: block;
        text-align: center;
    }
    
    /* Style for Facebook icon in mobile menu */
    nav .social-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin: 0.5rem auto;
        padding: 0.75rem;
        width: auto;
    }
    
    nav .social-icon svg {
        color: var(--clr-primary) !important;
        width: 36px;
        height: 36px;
    }
    
    /* Call button removed from mobile view */
    
    section {
        padding: 4rem 0;
    }
    
    h2 {
        margin-bottom: 2rem;
    }
    
    .cards,
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .contact-info,
    .service-card,
    blockquote {
        padding: 1.5rem 1.25rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}
