/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #17a2b8;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --gradient-primary: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    --gradient-secondary: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Professional WhatsApp Button - Icon Only */
.whatsapp-btn {
    background: #25D366 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 9999 !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: whatsapp-float 3s ease-in-out infinite !important;
}

.whatsapp-btn .fab {
    font-size: 28px !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.15) !important;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6) !important;
    background: #128C7E !important;
}

.whatsapp-btn:hover .fab {
    transform: scale(1.2) !important;
}

.whatsapp-btn:active {
    transform: translateY(-1px) scale(1.05) !important;
}

.whatsapp-btn.fixed {
    position: relative !important;
    opacity: 0.85 !important;
    transition: opacity 0.3s ease !important;
}

.whatsapp-btn.fixed:hover {
    opacity: 1 !important;
}

/* Floating buttons container styling */
.floating-buttons-right .whatsapp-button,
.floating-buttons-right .get-quote-button {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
}

.floating-buttons-right .whatsapp-btn,
.floating-buttons-right .get-quote-btn {
    opacity: 0.85 !important;
    transition: opacity 0.3s ease !important;
}

.floating-buttons-right .whatsapp-btn:hover,
.floating-buttons-right .get-quote-btn:hover {
    opacity: 1 !important;
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5) !important;
}

.floating-buttons-right .get-quote-btn:active {
    transform: translateY(-1px) scale(1.05) !important;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.whatsapp-btn:hover::before {
    width: 100%;
    height: 100%;
}

.whatsapp-btn.pulse {
    animation: whatsapp-pulse 2s infinite, whatsapp-float 3s ease-in-out infinite !important;
}

@keyframes whatsapp-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes whatsapp-loop {
    0% {
        transform: scale(1) rotate(0deg);
    }
    15% {
        transform: scale(1.1) rotate(5deg);
    }
    30% {
        transform: scale(1.05) rotate(-3deg);
    }
    45% {
        transform: scale(1.08) rotate(2deg);
    }
    60% {
        transform: scale(1.02) rotate(-1deg);
    }
    75% {
        transform: scale(1.05) rotate(1deg);
    }
    90% {
        transform: scale(1.02) rotate(-0.5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
}

.whatsapp-btn.loading .fab {
    animation: whatsapp-spin 1s linear infinite !important;
}

@keyframes whatsapp-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.whatsapp-btn.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    animation: whatsapp-ripple 0.6s linear;
}

@keyframes whatsapp-ripple {
    to {
        width: 120px;
        height: 120px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
    }

    .whatsapp-btn .fab {
        font-size: 24px !important;
    }
}

/* Get Quote Button Styles */
.get-quote-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    font-size: 0.9rem !important;
    padding: 12px 24px !important;
    min-width: 140px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    z-index: 9999 !important;
    color: white !important;
    text-decoration: none !important;
}

/* Floating buttons container - right side stacked */
.floating-buttons-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

/* Make get-quote button small and circular like WhatsApp button when in floating container */
.floating-buttons-right .get-quote-btn {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3) !important;
}

.floating-buttons-right .get-quote-btn .fas,
.floating-buttons-right .get-quote-btn i {
    font-size: 24px !important;
    margin: 0 !important;
}

.floating-buttons-right .get-quote-btn span {
    display: none !important;
}

.get-quote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.get-quote-btn:hover::before {
    left: 100%;
}

.get-quote-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.6) !important;
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%) !important;
}

.get-quote-btn:active {
    transform: translateY(-1px) scale(0.98) !important;
}

.get-quote-btn .fas {
    animation: pulse-scale 2s infinite;
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.get-quote-btn.fixed {
    position: fixed !important;
    bottom: 90px !important;
    right: 20px !important;
    z-index: 9999 !important;
    animation: float 3s ease-in-out infinite;
}

.get-quote-btn.pulse {
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.8), 0 0 0 10px rgba(0, 123, 255, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    }
}

.get-quote-btn.loading .fas {
    animation: spin 1s linear infinite;
}

.get-quote-btn.ripple {
    position: relative;
    overflow: hidden;
}

.get-quote-btn.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    animation: ripple 0.6s linear;
}

/* Mobile Responsive for Get Quote Button */
@media (max-width: 768px) {
    .get-quote-btn {
        border-radius: 50% !important;
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        padding: 0 !important;
        font-size: 0.8rem !important;
    }

    .get-quote-btn span {
        display: none;
    }

    .get-quote-btn .fas {
        font-size: 1.5rem !important;
        margin: 0 !important;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 50%, #0056b3 100%) !important;
    border-top: 3px solid #ffc107;
}

.footer-custom {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 50%, #0056b3 100%) !important;
    border-top: 3px solid #ffc107;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-section h5 {
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.footer-logo h5 {
    white-space: normal;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-section h5 i {
    flex-shrink: 0;
}

.footer-logo img {
    /* Removed filter to match header logo exactly */
}

.footer-links a {
    transition: var(--transition);
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: #ffc107 !important;
    transform: translateX(5px);
}

.contact-item {
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 0.5rem;
}

.footer-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.area-tags .badge {
    transition: var(--transition);
}

.area-tags .badge:hover {
    transform: scale(1.05);
}

/* Header-Footer Consistency */
.navbar {
    border-bottom: 3px solid var(--primary-color);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

/* Precise underline for navbar links (accounts for leading icon) */
.navbar-glass .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
}

.navbar-glass .navbar-nav .nav-link .dropdown-caret i {
    font-size: .85rem;
    color: #6c757d;
    transition: transform .2s ease, color .2s ease;
}

.navbar-glass .navbar-nav .nav-item:hover .dropdown-caret i,
.navbar-glass .navbar-nav .nav-link.active .dropdown-caret i {
    color: #0b5ed7;
}

.navbar-glass .navbar-nav .nav-item:hover .dropdown-caret i {
    transform: rotate(180deg);
}

.navbar-glass .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 2.2rem; /* skip icon + gap */
    right: 1rem;
    bottom: 0.3rem;
    height: 3px;
    border-radius: 3px;
    background: transparent;
    width: auto !important;
    transform: none !important;
}

.navbar-glass .navbar-nav .nav-link:hover::after,
.navbar-glass .navbar-nav .nav-link.active::after {
    background: linear-gradient(90deg, #0b5ed7, #66a3ff);
}

/* Navbar glass style and active states */
.navbar-glass {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.navbar-glass .nav-link {
    color: #333 !important;
    font-weight: 600;
    position: relative;
    padding: 0.75rem 1rem !important;
    transition: color .2s ease, transform .2s ease;
}

.navbar-glass .nav-link i {
    color: #6c757d;
    transition: color .2s ease;
}

.navbar-glass .nav-link:hover {
    color: #0d6efd !important;
    transform: translateY(-1px);
}

.navbar-glass .nav-link:hover i {
    color: #0d6efd;
}

.navbar-glass .nav-link.active {
    color: #0b5ed7 !important;
}

.navbar-glass .nav-link.active::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.25rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #0b5ed7, #66a3ff);
}

/* Mega menu items */
.mega-dropdown .mega-item {
    display: grid;
    grid-template-columns: 28px 1fr 16px;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: #333;
}

.mega-dropdown .mega-item:hover {
    background: #f5f8ff;
    color: #0d6efd;
}

.mega-dropdown .mega-item .mega-icon i {
    color: #6c757d;
}

.mega-dropdown .mega-item:hover .mega-icon i {
    color: #0d6efd;
}

.mega-dropdown .mega-item .mega-arrow {
    justify-self: end;
    opacity: .6;
    transform: translateX(0);
    transition: all .2s ease;
    color: #6c757d;
}

.mega-dropdown .mega-item:hover .mega-arrow {
    opacity: 1;
    color: #0d6efd;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 1rem;
}

.mega-grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
}

/* Mission Cards */
.mission-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.15);
    border-color: var(--primary-color);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #66a3ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.mission-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.mission-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.mission-card p {
    line-height: 1.6;
    margin-bottom: 0;
}

/* Service Overview Cards */
.service-overview-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #66a3ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-overview-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.service-overview-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-overview-card p {
    line-height: 1.6;
    margin-bottom: 0;
    color: #666;
    font-size: 0.95rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Performance Optimizations */
img {

    height: 60px;

}

.card, .btn, .nav-link {
    will-change: transform;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9) 0%, rgba(0, 86, 179, 0.9) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.8) 0%, rgba(0, 86, 179, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #fff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.95;
}

.location-badges {
    margin: 30px 0;
}

.location-badges .badge {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.location-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-stats {
    margin-top: 50px;
}

.stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: inline-block;
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Services Section */
.service-card {
    border: none;
    transition: var(--transition);
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* Call to Action */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-section .lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Buttons Wrapper */
.cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Call Button */
.btn-call {
    background: #ffffff !important;
    color: var(--primary-color) !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    min-width: 120px !important;
    font-size: 0.85rem !important;
}

.btn-call:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3) !important;
    color: var(--primary-color) !important;
}

.btn-call:active {
    transform: translateY(0) !important;
}

.btn-call i {
    font-size: 1.1rem;
    animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* CTA Action Buttons - Override for inline position */
.cta-section .whatsapp-button,
.cta-section .get-quote-button {
    position: static !important;
    margin: 0 !important;
}

.cta-section .whatsapp-btn:not(.whatsapp-icon-only),
.cta-section .get-quote-btn {
    min-width: 120px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.cta-section .whatsapp-btn:not(.whatsapp-icon-only) {
    background: #25D366 !important;
    border: none !important;
    color: white !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.cta-section .whatsapp-btn:not(.whatsapp-icon-only):hover {
    background: #25D366 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
}

/* Ensure get-quote button text is always visible in CTA section */
.cta-section .get-quote-btn span {
    display: inline !important;
}

/* Responsive CTA Section */
@media (max-width: 991.98px) {
    .cta-section {
        padding: 3rem 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .cta-section .lead {
        font-size: 1rem;
        font-weight: 400;
    }

    .cta-section .d-flex {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .cta-section {
        padding: 2.5rem 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .cta-section .lead {
        font-size: 0.9375rem;
        font-weight: 400;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .cta-section .row {
        text-align: center;
    }

    .cta-buttons-row {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .cta-buttons-row > * {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .btn-call,
    .cta-section .whatsapp-btn:not(.whatsapp-icon-only),
    .cta-section .get-quote-btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        justify-content: center !important;
    }
}

@media (max-width: 575.98px) {
    .cta-section {
        padding: 2rem 0;
    }

    .cta-section h2 {
        font-size: 1.375rem;
        line-height: 1.4;
    }

    .cta-section .lead {
        font-size: 0.875rem;
        font-weight: 400;
        line-height: 1.5;
    }

    .cta-buttons-row {
        gap: 0.625rem !important;
    }

    .btn-call,
    .cta-section .whatsapp-btn:not(.whatsapp-icon-only),
    .cta-section .get-quote-btn {
        padding: 10px 20px !important;
        font-size: 0.875rem !important;
    }

    .btn-call i,
    .cta-section .whatsapp-btn i,
    .cta-section .get-quote-btn i {
        font-size: 1rem !important;
    }

    /* Ensure text shows on small devices for get-quote button in CTA */
    .cta-section .get-quote-btn span {
        display: inline !important;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cta-buttons-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-buttons-row > * {
        flex: 0 0 auto;
        min-width: 120px;
    }
}

/* Large devices - keep buttons in one line */
@media (min-width: 992px) {
    .cta-buttons-row {
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
        gap: 0.75rem !important;
    }

    .cta-buttons-row > * {
        flex: 0 0 auto !important;
    }

    /* Ensure text is visible on large devices */
    .cta-section .get-quote-btn span {
        display: inline !important;
    }
}

/* Service Areas */
.area-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.area-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.area-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Gallery */
.gallery-item {
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonials */
.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--bs-btn-hover-bg) !important;
    color: var(--bs-btn-hover-color) !important;
    border-color: var(--bs-btn-hover-border-color) !important;
    transform: translateY(-2px);
}

/* Ensure View All Services button hover works correctly */
.btn-primary.btn-lg:hover {
    background-color: var(--bs-btn-hover-bg) !important;
    color: var(--bs-btn-hover-color) !important;
    border-color: var(--bs-btn-hover-border-color) !important;
}

/* Footer */
footer {
    background-color: #343a40;
}

.social-links a {
    font-size: 1.5rem;
}

/* Social Media Brand Colors */
.social-facebook {
    color: #1877F2 !important;
}

.social-instagram {
    color: #E4405F !important;
}

.social-youtube {
    color: #FF0000 !important;
}

.social-whatsapp {
    color: #25D366 !important;
}

/* Footer Social Links - Original Colors, No Hover */
.social-links-footer {
    margin-top: 1rem;
}

.social-link-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem;
    transition: none !important;
}

.social-link-footer:hover {
    transform: none !important;
    opacity: 1 !important;
}

.social-facebook-footer {
    color: #1877F2 !important;
    background: rgb(255, 255, 255);
}



.social-whatsapp-footer {
    color: #25D366 !important;
    background: rgb(255, 255, 255);
}

.social-youtube-footer {
    color: #FF0000 !important;
    background: rgb(255, 255, 255);
}
.social-instagram-footer {
    color: #E4405F !important;
    background: rgb(255, 255, 255);
}
.social-linkedin-footer {
    color: #0077B5 !important;
    background: rgb(255, 255, 255);
}

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

    .hero p {
        font-size: 1rem;
    }

    .service-card {
        margin-bottom: 20px;
    }
}

/* Blog Styles */
.blog-header {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

/* Minimize hero section padding on small devices */
@media (max-width: 768px) {
    .blog-header {
        padding: 20px 0 !important;
    }

    .blog-header .display-4 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem !important;
    }

    .blog-header .lead {
        font-size: 1rem;
    }
}

/* Blog listing page excerpt styling */
.blog-excerpt {
    font-size: 15px !important;
    text-align: justify;
    line-height: 1.5;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.blog-card {
    border: none;
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    transition: var(--transition);
    height: 200px;
    object-fit: cover;
}

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

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-preview-card {
    border: none;
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
}

.blog-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-preview-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 250px;
}

.blog-preview-image img {
    transition: var(--transition);
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-preview-card:hover .blog-preview-image img {
    transform: scale(1.1);
}

.blog-post-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Blog Post Typography - Professional Styling */
.blog-post {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

/* Breadcrumb Styling - Minimal Height */
.blog-breadcrumb {
    padding:  0;
    margin-bottom: 0.5rem;
}

.blog-breadcrumb .breadcrumb {
    margin-bottom: 0;
    padding: 0.25rem 0;
    background: transparent;
    font-size: 0.875rem;
}

/* Small devices - make breadcrumb smaller to fit in one line */
@media (max-width: 576px) {
    .blog-breadcrumb .breadcrumb {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .blog-breadcrumb .breadcrumb-item {
        display: inline-block;
    }

    .blog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.35rem;
        font-size: 0.75rem;
    }
}

.blog-breadcrumb .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.blog-breadcrumb .breadcrumb-item a:hover {
    color: #007bff;
}

.blog-breadcrumb .breadcrumb-item.active {
    color: #333;
}

.blog-post h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: #1a1a1a;
}

.blog-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    max-width: 100%;
}

.blog-content p {
    margin-bottom: 1.5rem;
    font-size: 16px;
    line-height: 1.8;
    color: #212529bf;
    text-align: justify;
}

.blog-content h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.blog-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 1.5rem;
    margin-bottom: 0.875rem;
    color: #34495e;
}

.blog-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    color: #34495e;
}

.blog-content h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 0.625rem;
    color: #34495e;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    line-height: 1.8;
}

.blog-content ul li,
.blog-content ol li {
    margin-bottom: 0.75rem;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-content ul li {
    list-style-type: disc;
}

.blog-content ol li {
    list-style-type: decimal;
}

.blog-content ul ul,
.blog-content ol ol {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}

.blog-content strong,
.blog-content b {
    font-weight: 700;
    color: #1a1a1a;
}

.blog-content em,
.blog-content i {
    font-style: italic;
}

.blog-content a {
    color: #007bff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.blog-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.blog-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.25rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 1rem;
}

.blog-content table th,
.blog-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.blog-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
}

.blog-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    color: #e83e8c;
    font-family: "Courier New", monospace;
}

.blog-content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-left: 4px solid #007bff;
}

.blog-content pre code {
    background-color: transparent;
    padding: 0;
    color: #333;
}

.blog-content hr {
    border: none;
    border-top: 2px solid #e9ecef;
    margin: 2.5rem 0;
}

/* Blog Meta Styling */
.blog-meta {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.blog-meta i {
    color: #007bff;
}

/* Blog Title Styling */
.blog-post-title,
.blog-post h1.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

@media (max-width: 576px) {
    .blog-post-title,
    .blog-post h1.display-5 {
        font-size: 1.375rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .blog-post-title,
    .blog-post h1.display-5 {
        font-size: 1.625rem;
    }
}

/* Override Quill editor inline styles for consistent typography */
.blog-content p[style*="font-size"],
.blog-content [style*="font-size"] p {
    font-size: 16px !important;
}

.blog-content [style*="font-size"]:not(p):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
    font-size: inherit !important;
}

.blog-content [style*="font-family"] {
    font-family: inherit !important;
}

.blog-content [style*="color"] {
    color: inherit !important;
}

/* Ensure proper spacing for Quill content */
.blog-content > *:first-child {
    margin-top: 0;
}

.blog-content > *:last-child {
    margin-bottom: 0;
}

/* Blog Post Section Spacing */
section.py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Reduce spacing for blog post pages */
.blog-post-section {
    margin-top: 0;
    margin-bottom: 0;
}

/* Remove extra spaces between main content and footer on all devices */
section:last-of-type {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;

}
@media (max-width: 768px)
{
    section:last-of-type {
        padding-top: 2.5rem !important;
        padding-bottom: 1.5rem !important;

    }
}



footer {
    margin-top: 0 !important;
    padding-top: 2rem !important;
}

/* Blog listing sections spacing */
.blog-header + section {
    margin-top: 0;
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .blog-header + section {
        padding-top: 1rem;
    }

    section.py-3 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    section.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* Remove extra spaces between main content and footer on all devices */


footer {
    margin-top: 0 !important;
    padding-top: 2rem !important;
}

/* Blog listing sections spacing */
.blog-header + section {
    margin-top: 0;
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .blog-header + section {
        padding-top: 1rem;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .blog-post h1,
    .blog-post-title,
    .blog-post h1.display-5 {
        font-size: 1.5rem;
    }

    .blog-content {
        font-size: 16px;
    }

    .blog-content p {
        font-size: 16px;
    }

    .blog-content h2 {
        font-size: 1.75rem;
        margin-top: 2rem;
    }

    .blog-content h3 {
        font-size: 1.375rem;
        margin-top: 1.5rem;
    }

    .blog-content h4 {
        font-size: 1.125rem;
    }

    .blog-content ul,
    .blog-content ol {
        padding-left: 1.5rem;
    }

    .blog-content ul li,
    .blog-content ol li {
        font-size: 16px;
    }
}

.blog-share {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
}

.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-share .btn {
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
    flex: 0 0 auto;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.related-post {
    padding: 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.related-post:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.cta-widget {
    background: var(--gradient-primary) !important;
    border: none;
}

/* Newsletter Form */
.newsletter-form .input-group {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 25px 0 0 25px;
    border: 2px solid #e9ecef;
    padding: 12px 20px;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
}

/* Navigation Enhancements */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar .mega-dropdown .dropdown-item {
    white-space: normal;
    line-height: 1.4;
}

.navbar .dropdown-item i {
    width: 18px;
    text-align: center;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-light);
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Review Cards */
.review-card {
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.stars {
    font-size: 0.9rem;
}

/* Map Styles */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.map-info {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    /* border-bottom removed as requested */
}

.contact-item:last-child {
    /* border-bottom removed */
}

/* Service Area Items */
.area-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    text-align: center;
    transition: var(--transition);
    color: #333;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.area-item:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.area-link {
    text-decoration: none;
    color: inherit;
}

.area-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Service Cards - Updated for smaller size */
.service-card {
    border: none;
    transition: var(--transition);
    margin-bottom: 20px;
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-card .service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p.small {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 15px;
    }

    .area-item {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .map-info {
        padding: 20px;
        margin-top: 20px;
    }

    .review-card {
        margin-bottom: 20px;
    }
}

/* About Page Styles */
/* About page paragraph styling - Set all p tags to 16px and justify */
section.py-5 p:not(.small):not(.text-muted.small):not(.section-subtitle),
section.py-5 .lead:not(.section-subtitle),
.feature-card p,
.mission-card p,
.team-card p:not(.small),
.team-info p:not(.small),
.about-image-container p {
    font-size: 14px !important;
    text-align: justify !important;
    line-height: 1.8;
}

/* Ensure description paragraphs are justified - exclude team-info */
.col-lg-6 p:not(.section-subtitle):not(.team-info p):not(.team-info .text-muted),
.col-lg-3 p:not(.small):not(.section-subtitle):not(.team-info p):not(.team-info .text-muted),
.col-lg-4 p:not(.small):not(.section-subtitle):not(.team-info p):not(.team-info .text-muted) {
    font-size: 14px !important;
    text-align: justify !important;
}

/* Exclude team-info paragraphs from justification - ensure centered */
.team-info p,
.team-info p.text-muted,
.team-info .text-muted {
    text-align: center !important;
}

/* Center all subtitles */
.section-subtitle,
.text-center .section-subtitle,
p.section-subtitle {
    text-align: center !important;
}

/* Center text-muted class in team-info div */
.team-info {
    text-align: center !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-info .text-muted,
.team-info p.text-muted {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.team-info h5 {
    text-align: center !important;
    width: 100%;
}

.team-info p.small {
    text-align: center !important;
    width: 100%;
}

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    /* Decrease headings on small devices */
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    h2.section-title {
        font-size: 1.5rem !important;
    }

    .section-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        padding: 0 15px;
    }

    h4, .feature-card h4, .mission-card h5, .team-card h5 {
        font-size: 1.125rem !important;
    }

    /* Center stat boxes on small devices */
    .stats-container,
    .service-areas-section .stats-container {
        text-align: center !important;
    }

    .stats-container .stat-box,
    .service-areas-section .stat-box {
        text-align: center !important;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .stat-icon {
        margin: 0 auto 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .stat-number {
        font-size: 1.75rem !important;
        text-align: center !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
        text-align: center !important;
    }

    /* Ensure service areas show 2 per line on small devices */
    .service-areas-section .area-item {
        text-align: center;
    }

    /* Force 2 columns on small devices for service areas */
    .service-areas-section .card-body .row.g-2 {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -0.25rem !important;
        margin-right: -0.25rem !important;
    }

    /* Target all column classes within the service areas section - most aggressive selectors */
    .service-areas-section .card-body .row.g-2 > div,
    .service-areas-section .card-body .row.g-2 > .col-6,
    .service-areas-section .card-body .row.g-2 > div.col-6,
    .service-areas-section .card-body .row.g-2 > div.col-md-4,
    .service-areas-section .card-body .row.g-2 > [class*="col-"],
    .service-areas-section .card-body .row.g-2 > [class*="col-6"],
    .service-areas-section .card-body .row.g-2 > [class*="col-md-4"] {
        flex: 0 0 50% !important;
        -webkit-flex: 0 0 50% !important;
        -ms-flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        min-width: 50% !important;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
        box-sizing: border-box !important;
    }

    /* Override any Bootstrap column defaults */
    .service-areas-section .card-body .row.g-2 > div[class*="col"] {
        flex-basis: 50% !important;
        -webkit-flex-basis: 50% !important;
        -ms-flex-basis: 50% !important;
    }

    .service-areas-section .area-link {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .service-areas-section .area-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        box-sizing: border-box !important;
    }

    /* Ensure stat boxes container is centered */
    .service-areas-section .row.g-4 {
        justify-content: center;
    }
}

/* Exclude small text, badges, and list items from justification */
.small,
.section-badge,
.feature-list li {
    text-align: left !important;
}

.about-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9) 0%, rgba(0, 86, 179, 0.9) 100%), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
}

.about-hero .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.about-hero .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.about-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-image-container .image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 40px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 2px dashed #dee2e6;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

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

@media (max-width: 991.98px) {
    .about-image-wrapper img {
        max-height: 400px;
        object-fit: cover;
    }
}

@media (max-width: 767.98px) {
    .about-image-wrapper img {
        max-height: 300px;
    }
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
}

.feature-item i {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 20px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #f1f3f4;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-card .feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 5px 0;
    color: #495057;
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.team-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #f1f3f4;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.team-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.team-info h5 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    text-align: center !important;
}

.team-info p.text-muted {
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.team-info p.small {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.4;
    text-align: center !important;
}

.values-grid {
    display: grid;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.value-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
}

.value-item h6 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stats-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-light);
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-box:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.stat-box h3 {
    margin-bottom: 10px;
}

.area-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.area-header {
    background: var(--gradient-primary);
    color: white;
    padding: 25px;
    text-align: center;
}

.area-header h3 {
    margin: 15px 0 0;
    font-weight: 600;
}

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

.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    padding: 8px 0;
    color: #495057;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.area-list li i {
    margin-right: 10px;
    font-size: 0.8rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #f1f3f4;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.author-info h6 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .about-hero .hero-stats .col-md-3 {
        margin-bottom: 20px;
    }

    .feature-card,
    .team-card,
    .testimonial-card {
        margin-bottom: 20px;
    }

    .stats-container {
        margin-top: 30px;
    }

    .area-card {
        margin-bottom: 20px;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn, .scroll-indicator {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 50px 0;
    }
}

/* Mega Menu Styles */
.mega-dropdown {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-radius: 0 0 10px 10px !important;
    min-height: 200px;
}

.mega-dropdown .dropdown-item {
    padding: 0.65rem 1rem;
    white-space: normal;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 8px;
    margin: 4px 0;
    transition: all 0.2s ease;
}

.mega-dropdown .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.mega-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Mega Grid Layout */
.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 12px 24px;
    margin-bottom: 1rem;
}

.mega-grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    min-height: 48px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    border: 1px solid transparent;
}

.mega-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.mega-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    margin-right: 0.25rem;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.mega-text {
    flex: 1;
    font-weight: 500;
    line-height: 1.35;
    word-break: break-word;
}

/* Dropdown hover effects */
.nav-item.dropdown:hover .mega-dropdown {
    display: block !important;
    animation: fadeInDown 0.3s ease;
}

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

/* Mobile phone styles */
.navbar-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-phone:hover {
    color: var(--primary-color);
    text-decoration: none;
    background-color: rgba(0,123,255,0.1);
}

/* Modern navbar improvements */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.95) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(0,123,255,0.1);
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    background: transparent !important;
    color: #0b5ed7 !important;
}

/* Responsive mega menu */
@media (max-width: 1199.98px) {
    .mega-dropdown {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background-color: #f8f9fa;
    }

    .mega-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Section Components Styles */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
    min-height: 100vh;
}

/* Animated Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.hero-compact {
    min-height: 60vh;
}

.hero-section .min-vh-75 {
    min-height: 75vh;
}

.hero-section .min-vh-50 {
    min-height: 50vh;
}

.hero-badge .badge {
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-badge .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-title {
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-size: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 400;
    line-height: 1.6;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero-buttons .btn {
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.hero-stats .stat-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-stats .stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255,255,255,0.25) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.hero-stats .stat-number {
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover .stat-number {
    transform: scale(1.1);
    color: #ffd700 !important;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.animate-fade-in-delay-4 {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Visit Us Section */
.visit-us-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-card .card {
    transition: all 0.3s ease;
}

.contact-info-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.map-card .card {
    overflow: hidden;
    transition: all 0.3s ease;
}

.map-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.map-container {
    position: relative;
    overflow: hidden;
}

.quote-form-card .card {
    transition: all 0.3s ease;
}

.quote-form-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
}

/* Free Quote Section */
.free-quote-section {
    position: relative;
    overflow: hidden;
}

.free-quote-section.bg-primary {
    background: var(--gradient-primary) !important;
}

.quote-content {
    padding: 2rem 0;
}

.quote-features .feature-item {
    transition: all 0.3s ease;
}

.quote-features .feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-form-wrapper .card {
    transition: all 0.3s ease;
}

.quote-form-wrapper .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.quote-form-icon {
    width: 60px;
    height: 60px;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.quote-guarantee {
    padding: 1rem;
    background: rgba(0,123,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(0,123,255,0.1);
}

/* Service Areas Section */
.service-areas-section {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

@media screen and (min-width: 768px) {
    .service-areas-section {
        padding: 3rem 0;
    }
}

@media screen and (min-width: 992px) {
    .service-areas-section {
        padding: 4rem 0;
    }
}

.area-card .card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.area-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.area-card .card-header {
    border-radius: 15px 15px 0 0 !important;
    border: none;
    padding: 1rem;
}

.area-card .card-header h4 {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.area-card .card-body {
    padding: 1rem;
}

.area-card .card-footer {
    border: none;
    padding: 0.75rem 1rem;
}

/* Responsive adjustments for service areas cards */
@media screen and (min-width: 576px) {
    .area-card .card-header {
        padding: 1.25rem;
    }

    .area-card .card-header h4 {
        font-size: 1.1rem;
    }

    .area-card .card-body {
        padding: 1.25rem;
    }

    .area-card .card-footer {
        padding: 1rem 1.25rem;
    }
}

@media screen and (min-width: 768px) {
    .area-card .card-header {
        padding: 1.5rem;
    }

    .area-card .card-header h4 {
        font-size: 1.25rem;
    }

    .area-card .card-body {
        padding: 1.5rem;
    }

    .area-card .card-footer {
        padding: 1rem 1.5rem;
    }
}

.area-link {
    display: block;
    transition: all 0.3s ease;
}

.area-link:hover {
    transform: translateX(5px);
}

.area-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
}

.area-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.area-item:hover .fas {
    color: white !important;
}

.area-name {
    font-weight: 500;
    line-height: 1.3;
}

/* CRITICAL: Force 2 columns for service areas on mobile using specific classes */
@media screen and (max-width: 767.98px) {
    .service-area-row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .service-area-col {
        flex: 0 0 50% !important;
        -webkit-flex: 0 0 50% !important;
        -ms-flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        min-width: 50% !important;
        box-sizing: border-box !important;
    }

    /* Override any Bootstrap column classes */
    .service-area-col.col-6,
    .service-area-col.col-md-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

/* CRITICAL: Force 2 columns for service areas on mobile - highest priority */
@media screen and (max-width: 767.98px) {
    .service-areas-section .card .card-body .row.g-2 > div {
        flex: 0 0 50% !important;
        -webkit-flex: 0 0 50% !important;
        -ms-flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        min-width: 50% !important;
    }
}

/* Ensure service areas show 2 per line on small devices */
@media (max-width: 767.98px) {
    .service-areas-section .card-body .row.g-2 {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -0.25rem !important;
        margin-right: -0.25rem !important;
    }

    /* Target all column classes within the service areas section - most aggressive selectors */
    .service-areas-section .card-body .row.g-2 > div,
    .service-areas-section .card-body .row.g-2 > .col-6,
    .service-areas-section .card-body .row.g-2 > div.col-6,
    .service-areas-section .card-body .row.g-2 > div.col-md-4,
    .service-areas-section .card-body .row.g-2 > [class*="col-"],
    .service-areas-section .card-body .row.g-2 > [class*="col-6"],
    .service-areas-section .card-body .row.g-2 > [class*="col-md-4"] {
        flex: 0 0 50% !important;
        -webkit-flex: 0 0 50% !important;
        -ms-flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        min-width: 50% !important;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
        box-sizing: border-box !important;
    }

    /* Override any Bootstrap column defaults */
    .service-areas-section .card-body .row.g-2 > div[class*="col"] {
        flex-basis: 50% !important;
        -webkit-flex-basis: 50% !important;
        -ms-flex-basis: 50% !important;
    }

    .service-areas-section .area-link {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .service-areas-section .area-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

.stats-container {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

/* Force 2 columns for stats on mobile devices */
@media screen and (max-width: 767.98px) {
    .service-areas-section .stats-container .row.g-4 {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }

    /* Force all column classes to 50% width on mobile */
    .service-areas-section .stats-container .row.g-4 > div,
    .service-areas-section .stats-container .row.g-4 > div.col-6,
    .service-areas-section .stats-container .row.g-4 > div.col-sm-6,
    .service-areas-section .stats-container .row.g-4 > div.col-md-3,
    .service-areas-section .stats-container .row.g-4 > [class*="col-"] {
        flex: 0 0 50% !important;
        -webkit-flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        min-width: 50% !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        box-sizing: border-box !important;
    }

    .service-areas-section .stats-container .stat-box {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 1rem 0.5rem !important;
    }

    /* Smaller icon size on mobile */
    .service-areas-section .stats-container .stat-icon {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 0.75rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.25rem !important;
    }

    /* Smaller number size on mobile */
    .service-areas-section .stats-container .stat-number {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.2 !important;
    }

    /* Smaller label size on mobile */
    .service-areas-section .stats-container .stat-label {
        font-size: 0.7rem !important;
        text-align: center !important;
        width: 100% !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        opacity: 0.8 !important;
    }
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.stat-box:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .visit-us-section .row {
        gap: 2rem;
    }

    .free-quote-section .row {
        gap: 2rem;
    }

    .service-areas-section .row {
        gap: 2rem;
    }

    .area-card .card-body {
        padding: 1rem;
    }

    .stats-container {
        padding: 1.5rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

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

/* Action Buttons Styling */
/* Fixed buttons positioning for desktop */
@media (min-width: 577px) {
    .whatsapp-button.position-fixed {
        bottom: 20px;
        right: 20px;
    }

    .get-quote-button.position-fixed {
        bottom: 20px;
        right: 20px;
        opacity: 0.85 !important;
        transition: opacity 0.3s ease !important;
    }

    .get-quote-button.position-fixed:hover {
        opacity: 1 !important;
    }

    .get-quote-button.position-fixed .get-quote-btn {
        opacity: 0.85 !important;
    }

    .get-quote-button.position-fixed:hover .get-quote-btn {
        opacity: 1 !important;
    }
}

/* Inline button styling */
.whatsapp-button:not(.position-fixed),
.get-quote-button:not(.position-fixed) {
    display: inline-block;
}

/* Button hover effects for inline buttons */
.whatsapp-button:not(.position-fixed) .whatsapp-btn:hover,
.get-quote-button:not(.position-fixed) .get-quote-btn:hover {
    transform: translateY(-1px) scale(1.02);
}

/* Ensure proper spacing between inline buttons */
.d-flex.gap-2 .whatsapp-button,
.d-flex.gap-2 .get-quote-button {
    margin: 0;
}

/* Service Detail Page Styles */
.service-icon-large {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.breadcrumb {
    background: transparent;
    padding:  0;
}

.breadcrumb-item a {
    color: #0056b3;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Service Content Styling */
.content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.content h2,
.content h3,
.content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #0056b3;
}

.content p {
    margin-bottom: 1.25rem;
}

.content ul,
.content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Sticky Sidebar */
.sticky-top {
    position: sticky;
    z-index: 1020;
}

/* Service Process Cards */
.service-process-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive adjustments for service detail */
@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        top: 0 !important;
    }

    .service-icon-large i {
        font-size: 80px !important;
    }
}

/* Blog Pagination Styles */
.pagination {
    margin: 2rem 0;
}

.pagination .page-link {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #007bff;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 8px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination .page-link:hover:not(.disabled) {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item:not(.disabled) .page-link {
    cursor: pointer;
}

.pagination .page-link i {
    vertical-align: middle;
}
