* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00a651;
    --dark-green: #008844;
    --light-green: #e8f5e9;
    --accent-blue: #0277bd;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-bottom: 80px;
}

/* Navigation */
.top-bar {
    background: var(--primary-green);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.95) 0%, rgba(0, 136, 68, 0.95) 100%),
                url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1920&q=80') center/cover;
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.hero-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 200%;
}

.hero-slide {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-slide:nth-child(2) {
    background: linear-gradient(135deg, rgba(0, 136, 68, 0.95) 0%, rgba(0, 166, 81, 0.95) 100%),
                url('https://images.unsplash.com/photo-1532938911079-1b06ac7ceec7?w=1920&q=80') center/cover;
}

.hero-slide-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-nav-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-nav-dot.active {
    background: white;
}

.hero-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}

.hero-slide-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.hero-slide-arrow.prev {
    left: 20px;
}

.hero-slide-arrow.next {
    right: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.search-bar {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    outline: none;
}

.search-bar button {
    background: var(--primary-green);
    border: none;
    padding: 15px 30px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: var(--dark-green);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: white;
    color: var(--primary-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-green);
}

.btn-green {
    background: var(--primary-green);
    color: white;
}

.btn-green:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,166,81,0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section */
.section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 18px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,166,81,0.2);
    border-color: var(--primary-green);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--primary-green);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    background: linear-gradient(rgba(232, 245, 233, 0.95), rgba(232, 245, 233, 0.95)),
                url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=1920&q=80') center/cover;
    padding: 60px 20px;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h2 {
    font-size: 48px;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 18px;
}

/* Services Page */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,166,81,0.2);
}

.service-card-header {
    background: linear-gradient(rgba(232, 245, 233, 0.9), rgba(232, 245, 233, 0.9)),
                url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=600&q=80') center/cover;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.service-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 0;
}

.service-card-header i {
    font-size: 48px;
    color: var(--primary-green);
    position: relative;
    z-index: 1;
}

.service-card-body {
    padding: 25px;
}

.service-card-body h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card-body p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Doctors Page */
.doctor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,166,81,0.2);
}

.doctor-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(rgba(232, 245, 233, 0.9), rgba(232, 245, 233, 0.9)),
                url('https://images.unsplash.com/photo-1584982751601-97dcc096659c?w=600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary-green);
    position: relative;
}

.doctor-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 0;
}

.doctor-image i {
    position: relative;
    z-index: 1;
}

.doctor-info {
    padding: 25px;
}

.doctor-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.doctor-info .specialty {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.doctor-info .experience {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-section {
    background: linear-gradient(rgba(232, 245, 233, 0.95), rgba(232, 245, 233, 0.95)),
                url('https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?w=800&q=80') center/cover;
    padding: 40px;
    border-radius: 15px;
    position: relative;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    z-index: 0;
}

.contact-info-section > * {
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item-content p {
    color: var(--text-light);
}

/* Centers Page */
.branch-section {
    margin-bottom: 50px;
}

.branch-section h3 {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-green);
}

.branch-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-left: 5px solid var(--primary-green);
}

.branch-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,166,81,0.2);
}

.branch-card h4 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.branch-card h4 i {
    color: var(--primary-green);
}

.branch-info {
    display: grid;
    gap: 12px;
    margin-top: 15px;
}

.branch-info-item {
    display: flex;
    align-items: start;
    gap: 12px;
    color: var(--text-light);
}

.branch-info-item i {
    color: var(--primary-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.branch-info-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.branch-info-item a:hover {
    color: var(--primary-green);
}

/* Footer */
footer {
    background: linear-gradient(rgba(44, 62, 80, 0.97), rgba(44, 62, 80, 0.97)),
                url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?w=1920&q=80') center/cover;
    color: white;
    padding: 60px 20px 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

/* Page Content */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--text-light);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-green);
}

.modal-header {
    margin-bottom: 25px;
}

.modal-header h2 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-light);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Doctor Detail Modal */
.doctor-detail-modal {
    max-height: 85vh;
    overflow-y: auto;
}

.doctor-detail-modal h2 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.doctor-detail-modal .credentials {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 10px;
}

.doctor-detail-modal .designation {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 15px;
}

.doctor-detail-modal h3 {
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 20px;
    border-left: 4px solid var(--primary-green);
    padding-left: 15px;
}

.doctor-detail-modal p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.doctor-detail-modal ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 15px;
}

.doctor-detail-modal ul li {
    margin-bottom: 8px;
}

.doctor-detail-quote {
    background: var(--light-green);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
    margin: 20px 0;
    font-style: italic;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .contact-info span {
        display: block;
        margin: 5px 0;
    }

    .fixed-contact-bar {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px 10px;
    }

    .fixed-contact-bar-content,
    .fixed-contact-bar-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Fixed Bottom Contact Bar */
.fixed-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.fixed-contact-bar-wrapper {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Changed to center */
}

.fixed-contact-bar-content {
    display: flex;
    align-items: center;
    justify-content: center; /* Added to center items */
    gap: 40px;
    width: 100%; /* Ensure full width */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.fixed-contact-bar-query {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
}

.fixed-contact-bar-query i {
    font-size: 24px;
    color: white;
}

.fixed-contact-bar-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.fixed-contact-bar-contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.fixed-contact-bar-actions .btn-callback {
    background: white;
    color: var(--primary-green);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fixed-contact-bar-contact-info > div {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
}

.fixed-contact-bar-contact-info i {
    color: white;
    font-size: 20px;
}

.fixed-contact-bar-contact-info a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.fixed-contact-bar-contact-info a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fixed-contact-bar-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .fixed-contact-bar-actions,
    .fixed-contact-bar-contact-info {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}

/* Reviews Section */
.reviews-section {
    background: var(--light-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,166,81,0.2);
}

.review-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-green);
    font-size: 24px;
}

.review-card-header-info h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.review-card-header-info .review-rating {
    color: #ffc107;
    font-size: 18px;
}

.review-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
}

.review-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form .rating-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.review-form .rating-input input[type="radio"] {
    display: none;
}

.review-form .rating-input label {
    cursor: pointer;
    color: #ddd;
    font-size: 30px;
    transition: color 0.3s;
}

.review-form .rating-input input[type="radio"]:checked ~ label,
.review-form .rating-input input[type="radio"]:checked + label,
.review-form .rating-input label:hover,
.review-form .rating-input label:hover ~ label {
    color: #ffc107;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.custom-modal.active {
    display: flex;
}

.custom-modal-content {
    background: #00a651; /* Primary green color */
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    color: white;
    text-align: center;
}

.custom-modal-content h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

.custom-modal-content p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.custom-modal-content .highlighted-number {
    background: #ffc107;
    color: #00a651;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    margin: 15px 0;
    font-weight: bold;
}

.custom-modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-modal-form input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.custom-modal-form .checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.custom-modal-form .checkbox-container input {
    width: auto;
}

.custom-modal-form .submit-btn {
    background: #ffc107;
    color: #00a651;
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.custom-modal-form .submit-btn:hover {
    background: #ffca28;
}

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

/* Global responsive helpers */
img { max-width: 100%; height: auto; }

/* Small devices */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .section { padding: 40px 14px; }

    .hero { padding: 60px 16px; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 15px; }
    .hero-slide-arrow { width: 40px; height: 40px; }
    .hero-navigation { bottom: 14px; }

    .search-bar { margin: 20px auto; }
    .search-bar input { padding: 12px 16px; font-size: 15px; }
    .search-bar button { padding: 12px 18px; }

    .cta-buttons { gap: 12px; }
    .btn { width: 100%; padding: 12px 18px; font-size: 15px; }

    .cards-grid { gap: 18px; }
    .card { padding: 22px; }
    .card-icon { width: 64px; height: 64px; font-size: 28px; }
    .card h3 { font-size: 18px; }
    .card p { font-size: 14px; }

    .stats { padding: 40px 16px; }
    .stat-item h2 { font-size: 32px; }
    .stat-item p { font-size: 15px; }

    .contact-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-form { padding: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    footer { padding: 40px 16px 80px; }

    .fixed-contact-bar { padding: 12px 10px; }
    .fixed-contact-bar-query { font-size: 16px; }
    .fixed-contact-bar-actions .btn-callback { padding: 10px 18px; font-size: 14px; }

    .custom-modal-content { max-width: 92%; padding: 22px; }
    .fixed-contact-bar {display: none !important;}
}

/* Very small devices */
@media (max-width: 360px) {
    .hero h1 { font-size: 22px; }
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 16px; }
    .btn { font-size: 14px; }
    .fixed-contact-bar {display: none !important;}
}