/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    /* Caredum Brand Colors - Refined for UX */
    --primary-blue: #0066cc;
    --primary-green: #4caf50;
    --primary-blue-light: #e6f0ff;
    --primary-green-light: #e8f5e9;
    --dark-text: #1a1a1a;
    --light-text: #555555;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border-color: #f1f5f9;

    /* Glassmorphism & Modern Blurs */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --blur: blur(8px);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 85px;
    --border-radius: 12px;

    /* Shadows - Layered for depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Underline animation for links in nav/regular content */
.nav-links li a::after, .footer-links li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-links li a:hover::after, .footer-links li a:hover::after {
    width: 100%;
}

ul {
    list-style: none;
}

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

/* =========================================
   2. UTILITIES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #3d8b40;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* =========================================
   2. GLOBAL STYLES
   ========================================= */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   3. HEADER
   ========================================= */
header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    height: 70px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-text);
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown-parent {
    position: relative;
    padding-bottom: 10px;
    /* Bridge the gap */
    margin-bottom: -10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 450px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 15px;
    z-index: 1100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
}

.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--dark-text);
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #f0f9ff;
    color: var(--primary-blue);
    padding-left: 25px;
    /* Slight movement effect */
}

.dropdown-menu li a::after {
    display: none;
    /* Remove underline effect in dropdown */
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6fffa 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.hero-text h1 span {
    color: var(--primary-blue);
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    /* Placeholder fallback color */
    background-color: #ddd;
}

/* =========================================
   5. SERVICES SECTION
   ========================================= */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue-light);
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(0, 102, 204, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 30px 25px;
}

/* Old Icon Box removed/deprecated */

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--dark-text);
}

.service-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* =========================================
   6. RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }

    .container {
        padding: 0 20px;
    }

    /* Fix Header Layout for Mobile */
    header {
        height: 70px;
    }

    .nav-container {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        text-align: left;
        border-top: 1px solid var(--border-color);
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

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

    .nav-links li {
        margin: 0;
        border-bottom: 1px solid #f8f9fa;
    }

    .nav-links li a {
        padding: 15px 10px;
        display: block;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.8rem;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    .hero-text p {
        margin: 0 auto 25px;
        font-size: 1rem;
        color: var(--light-text);
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 15px;
    }

    /* Ensure images don't overflow or look huge */
    .hero-image img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* Small Landscape / Large Phones Fixes */
@media (max-width: 480px) {
    .services-grid {
        /* Allow cards to go smaller than 300px */
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 25px;
    }
}

/* =========================================
   7. ABOUT SECTION
   ========================================= */
.about {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.features-list li i {
    color: var(--primary-green);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* =========================================
   8. TESTIMONIALS SECTION
   ========================================= */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 800px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.testimonial-card i.quote-icon {
    font-size: 3rem;
    color: rgba(0, 102, 204, 0.1);
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--dark-text);
}

.client-info h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.client-info span {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 80px 0 20px;
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.footer-col p {
    color: #a0aec0;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #718096;
    font-size: 0.9rem;
}

/* Image Zoom Effect on Cards */
.service-card .img-container {
    overflow: hidden;
    height: 220px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

/* Button Pulse Animation */
@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
    }
}

.btn-primary:not(.hero-btns .btn-primary) {
    /* Apply pulse to header button mostly, or specific CTAs */
    animation: pulse-blue 2s infinite;
}

.hero-btns .btn-primary {
    /* Stronger shadow for hero CTA */
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.hero-btns .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   10. BOOKING FORM SECTION
   ========================================= */
.booking-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.booking-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-text);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.booking-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

.booking-form .full-width {
    grid-column: span 2;
}

.form-submit {
    grid-column: span 2;
    text-align: center;
}

@media (min-width: 768px) {
    .booking-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .booking-form .form-group {
        margin-bottom: 0;
    }
}

/* =========================================
   11. SERVICE PAGE STYLES
   ========================================= */
.page-header {
    height: 40vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-detail {
    padding: 80px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.detail-content h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.detail-content h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin: 30px 0 15px;
}

.detail-content p {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.detail-list {
    list-style: none;
    margin-bottom: 30px;
}

.detail-list li {
    background: #f8fcfd;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary-green);
    border-radius: 4px;
}

.detail-list li strong {
    color: var(--dark-text);
}

.cta-box {
    background: linear-gradient(135deg, #e6fffa 0%, #f0f9ff 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid #b2dfdb;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.sidebar-widget ul li {
    margin-bottom: 12px;
}

.sidebar-widget ul li a {
    display: block;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 6px;
    color: var(--light-text);
    transition: all 0.3s;
}

.sidebar-widget ul li a:hover {
    background: var(--primary-blue);
    color: white;
    padding-left: 15px;
}

.contact-widget i {
    color: var(--primary-green);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-widget p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--light-text);
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* =========================================
   12. SUCCESS MODAL
   ========================================= */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.success-modal .modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.success-modal.active .modal-content {
    transform: translateY(0);
}

.success-icon {
    font-size: 4rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.success-modal h3 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.success-modal p {
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* =========================================
   13. WHATSAPP BUTTON
   ========================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (min-width: 769px) {
    .footer-col:nth-child(3) .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }
}
@media (max-width: 768px) {
    .footer-col:nth-child(3) .footer-links {
        display: block;
    }
    .footer-col:nth-child(3) .footer-links li {
        margin-bottom: 10px;
    }
}



/* Touch handling */
@media (max-width: 1024px) {
    .service-card {
        margin-bottom: 20px;
    }
    
    .btn, a, button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .dropdown-parent:hover .dropdown-menu {
        display: none; /* Disable hover dropdowns on touch */
    }
    
    .dropdown-parent.active .dropdown-menu {
        display: block;
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
    }
}

/* Button Shine Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s;
}

.btn:hover::before {
    left: 100%;
}


/* =========================================
   MOBILE SPACING OVERRIDES (Final Cleanup)
   ========================================= */
@media (max-width: 768px) {
    /* Reduce global section paddings */
    .services, .about, .testimonials, .booking-section, .service-detail {
        padding: 40px 0 !important;
    }

    /* Reduce section title gaps */
    .section-title {
        margin-bottom: 25px !important;
    }
    
    .section-title h2 {
        font-size: 1.8rem !important;
    }

    /* Tighten Hero section */
    .hero {
        padding: 30px 0 !important;
    }
    
    .hero-content {
        gap: 15px !important;
    }
    
    .hero-text h1 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
    
    .hero-text p {
        margin-bottom: 15px !important;
    }

    /* Fix Hamburger Menu spacing */
    .nav-links {
        padding: 5px 0 !important;
        gap: 0 !important;
    }
    
    .nav-links li a {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
    }
    
    /* Improve About section spacing */
    .about-content {
        gap: 20px !important;
    }
    
    .features-list {
        margin-top: 15px !important;
    }
    
    .features-list li {
        margin-bottom: 8px !important;
    }

    /* Reduce Grid gaps */
    .services-grid {
        gap: 20px !important;
    }
    
    .service-content {
        padding: 20px !important;
    }

    /* Booking Form Spacing */
    .booking-form-container {
        padding: 20px !important;
    }
    
    .booking-form .form-group {
        margin-bottom: 15px !important;
    }

    /* Footer adjustments */
    footer {
        padding: 40px 0 20px !important;
    }
    
    .footer-grid {
        gap: 30px !important;
        margin-bottom: 30px !important;
    }
}

/* Brand Colors Global */
.blue { 
    color: var(--primary-blue); 
    margin-right: 0.06em; /* Optimized gap between 'e' and 'd' */
}
.green { 
    color: var(--primary-green); 
}

/* Hide services dropdown icon on mobile */
@media (max-width: 768px) {
    .nav-links li.dropdown-parent a i.fa-chevron-down {
        display: none !important;
    }
}

