* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--primary-color) !important;
    text-shadow: none !important;
}

.section-header h2,
.about-content h2,
.contact-container h2,
.team .section-header h2,
.position-header h3,
.service-card h3,
.stat-card h3,
.info-item h4 {
    color: var(--primary-color) !important;
}

:root {
    --primary-color: #0A3D91;
    --secondary-color: #B3D9E8;
    --light-blue: #E8F1F8;
    --accent-blue: #A8CEDF;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #dccccc;
    --shadow: 0 4px 12px rgba(10, 61, 145, 0.15);
    --shadow-hover: 0 8px 24px rgba(10, 61, 145, 0.25);
}

/* Global animations */
.animated {
    animation-duration: 0.85s;
    animation-fill-mode: both;
}

.fade-in {
    animation-name: fadeIn;
}

.fade-up {
    animation-name: fadeInUp;
}

.fade-right {
    animation-name: fadeInRight;
}

.heartbeat {
    animation-name: heartbeat;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.07); }
    40% { transform: scale(0.99); }
    60% { transform: scale(1.04); }
    80% { transform: scale(0.97); }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* HEADER STYLES */
.header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, rgba(232, 241, 248, 0.8) 0%, rgba(179, 217, 232, 0.6) 100%);
    border-bottom: 2px solid rgba(10, 61, 145, 0.1);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    overflow-x: hidden;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-dark);
    text-align: right;
    font-size: 0.88rem;
    line-height: 1.2;
    font-weight: 500;
}

.contact-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-links a:hover {
    color: var(--primary-color);
}

.contact-links span {
    display: block;
    white-space: nowrap;
}

@media (max-width: 960px) {
    .contact-links {
        align-items: flex-start;
        text-align: left;
    }

    .header-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    .contact-links {
        max-width: 100%;
        overflow-x: hidden;
        word-wrap: break-word;
    }

    .contact-links span {
        white-space: normal;
        word-break: break-all;
    }

    .hero {
        min-height: 450px;
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.cta-button.whatsapp-left {
    margin-right: 0.5rem;
}

}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background-color: var(--light-blue);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
}

.mobile-cta:hover {
    background-color: var(--secondary-color);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    text-align: center;
    color: var(--white);
    padding: 3rem 2rem;
    background-color: #0a3d91;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 145, 0.60), rgba(22, 102, 188, 0.60)), url('pembe-za-ndovu.jpg');
    background-color: #0A3D91;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 0;
    animation: none;
}

@keyframes heroCarousel {
    0%, 25% {
        background-image: linear-gradient(135deg, rgba(10, 61, 145, 0.7), rgba(30, 91, 168, 0.7)), url('front-view-happy-parents-kids.jpg');
    }
    26%, 50% {
        background-image: linear-gradient(135deg, rgba(10, 61, 145, 0.7), rgba(30, 91, 168, 0.7)), url('banner-slide-2.jpg');
    }
    51%, 75% {
        background-image: linear-gradient(135deg, rgba(10, 61, 145, 0.7), rgba(30, 91, 168, 0.7)), url('banner-slide-3.jpg');
    }
    76%, 100% {
        background-image: linear-gradient(135deg, rgba(10, 61, 145, 0.7), rgba(30, 91, 168, 0.7)), url('pembe-za-ndovu.jpg');
    }
}


.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    animation: none;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: center;
}

.hero h1, .hero p, .hero .cta-primary {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-primary {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(10, 61, 145, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* SEARCH SECTION */
.search-section {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(232, 241, 248, 0.9) 0%, rgba(168, 206, 223, 0.7) 100%);
    margin: 2rem 0 3rem 0;
    position: relative;
    z-index: 10;
}

.search-container {
    max-width: 1000px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-bar {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.search-bar:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.1);
}

/* SEARCH SUGGESTIONS DROPDOWN */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(10, 61, 145, 0.15);
}

.search-suggestions.active {
    display: block;
    animation: slideDown 0.2s ease;
}

.search-suggestion-item {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-name {
    font-weight: 600;
    color: var(--primary-color);
    flex: 1;
}

.suggestion-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.suggestion-category {
    font-size: 0.8rem;
    color: #999;
    background-color: var(--light-blue);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    margin-left: 0.5rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    background-color: rgba(232, 241, 248, 0.8);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* HERO SEARCH STYLING */
.hero-search {
    margin-top: 2rem;
    width: 100%;
    max-width: 500px;
}

.hero-search .search-bar {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: 2px solid white;
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
}

.hero-search .search-bar::placeholder {
    color: #999;
}

.hero-search .search-filters {
    margin-top: 1rem;
    justify-content: flex-start;
    gap: 0.5rem;
}

.hero-search .filter-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.hero-search .filter-btn:hover,
.hero-search .filter-btn.active {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.hero-search .search-suggestions {
    border: 2px solid white;
    background: white;
}

.hero-search .search-suggestion-item {
    color: var(--text-dark);
}

.hero-search .suggestion-name {
    color: var(--primary-color) !important;
}

.hero-search .suggestion-category {
    color: #666;
    background-color: #f0f0f0;
}

/* SERVICES SECTION */
.services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeIn 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-card:hover .service-icon {
    animation: bounce 0.6s ease;
}

.service-card:hover h3 {
    animation: glow 1.5s ease infinite;
}

.service-card.hidden {
    display: none;
}

.service-icon {
    font-size: 3rem;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    overflow: hidden;
}

.service-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.service-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.services-footer {
    text-align: center;
    padding: 2rem 0;
}

.view-all-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ABOUT SECTION */
.about {
    position: relative;
    padding: 3rem 2rem;
    overflow: hidden;
    background: #eff7fb;
}

.about::before {
    display: none;
}

.about-container {
    max-width: 1200px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.about-content {
    margin-bottom: 3rem;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
}

.about-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: var(--text-dark);
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(168, 206, 223, 0.7) 100%);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid rgba(10, 61, 145, 0.2);
}

.stat-card h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* CONTACT SECTION */
.contact {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container h2 {
    color: var(--primary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.8rem;
    min-width: 50px;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-light);
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: var(--light-blue);
    padding: 2rem;
    border-radius: 8px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* TEAM SECTION */
.team {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(232, 241, 248, 0.7) 0%, rgba(168, 206, 223, 0.5) 100%);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team .section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.team .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.team-card {
    background: linear-gradient(135deg, rgba(232, 241, 248, 0.8) 0%, rgba(179, 217, 232, 0.6) 100%);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s ease;
    border: 2px solid rgba(10, 61, 145, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(168, 206, 223, 0.8) 100%);
}

.team-image-placeholder {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(10, 61, 145, 0.2);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.image-fallback {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 50px;
}

.team-contact {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.team-contact:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* CAREERS PAGE */
.careers-hero {
    background-image: linear-gradient(135deg, rgba(10, 61, 145, 0.85), rgba(179, 217, 232, 0.78)), url('career-background.jpg');
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 61, 145, 0.55), rgba(48, 110, 169, 0.22));
    z-index: 0;
}

.careers-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.hero-content, .section-header h2, .section-header p, .position-card, .benefit-card, .application-container, .service-card {
    opacity: 0;
}

.careers-hero .hero-content {
    animation: fadeIn 1s ease forwards;
}

.open-positions .section-header, .why-us .section-header, .job-application .section-header {
    animation: fadeInUp 0.9s ease forwards;
}

.position-card, .benefit-card, .service-card {
    animation: fadeInUp 0.8s ease forwards;
}

.application-container {
    animation: fadeInRight 0.8s ease forwards;
}

.careers-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.careers-hero p {
    font-size: 1.12rem;
    opacity: 0.94;
    max-width: 670px;
    margin: 0 auto;
}

.open-positions,
.why-us,
.job-application {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.4rem 1.4rem;
}

.open-positions .section-header,
.why-us .section-header,
.job-application .section-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.open-positions .section-header h2,
.why-us .section-header h2,
.job-application .section-header h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
}

.open-positions .section-header p,
.why-us .section-header p,
.job-application .section-header p {
    color: var(--text-dark);
    font-size: 1rem;
}

.positions-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.position-card,
.benefit-card {
    background-color: var(--white);
    border: 1px solid #dbe7f2;
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: 0 10px 22px rgba(10, 62, 120, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.position-card:hover,
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(10, 62, 120, 0.18);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.position-header h3 {
    color: var(--primary-color);
    font-size: 1.17rem;
    margin: 0;
}

.location-badge {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
}

.position-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.position-requirements {
    list-style: none;
    margin-bottom: 1.2rem;
    padding-left: 1.1rem;
    color: var(--text-dark);
}

.position-requirements li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1rem;
}

.position-requirements li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.apply-btn,
.apply-btn:focus,
.apply-btn:hover,
.submit-btn,
.submit-btn:focus,
.submit-btn:hover {
    width: 100%;
    padding: 0.78rem 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.apply-btn:hover,
.submit-btn:hover {
    background-color: #0d2f73;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(10, 63, 127, 0.3);
}

.job-application {
    background-color: #f4f9ff;
}

.job-application .application-container {
    width: 48%;
    max-width: 680px;
    min-width: 320px;
    margin: 0 auto;
    background-color: var(--white);
    border: 1px solid rgba(10, 61, 145, 0.19);
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(10, 61, 145, 0.15);
    overflow: hidden;
}

.job-application .section-header {
    padding: 1.6rem 1.8rem 0.5rem;
    background-color: var(--white);
}

.job-application .application-form {
    background-color: #f8fdff;
    border: none;
    border-radius: 0 0 14px 14px;
    padding: 1.8rem 1.8rem 2rem;
    min-width: 320px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.job-application .application-form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-application .application-form .form-row .form-group {
    flex: 1;
    min-width: 220px;
}

.job-application .application-form .form-group {
    margin-bottom: 1rem;
}

.job-application .application-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: #0a3f91;
}

.job-application .application-form input,
.job-application .application-form select,
.job-application .application-form textarea {
    width: 100%;
    padding: 0.78rem;
    border: 1px solid #c7d6e9;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.job-application .application-form input:focus,
.job-application .application-form select:focus,
.job-application .application-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.12);
}

.application-success {
    border: 1px solid var(--primary-color);
    background-color: #e7f3ff;
    padding: 1.4rem;
    border-radius: 10px;
    text-align: center;
}

.application-success h3 {
    color: var(--primary-color);
    margin-bottom: 0.45rem;
}

@media (max-width: 900px) {
    .careers-hero {
        padding: 3.4rem 1rem;
    }

    .careers-hero h1 {
        font-size: 2rem;
    }

    .position-card,
    .benefit-card {
        padding: 1rem;
    }

    .job-application .application-container {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        margin: 0 auto;
        border-radius: 10px;
    }

    .job-application .application-form .form-row {
        display: block;
    }

    .job-application .application-form .form-row .form-group {
        min-width: 100%;
    }

    .footer-container {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
        gap: 1rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-column {
        padding: 0.4rem 0.4rem;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 0.8rem;
    }

    .footer {
        padding: 1rem 0.8rem;
    }

    .footer-column {
        padding: 0.3rem 0.3rem;
    }
}


.job-application .application-form {
    background-color: #f9fbff;
    border: none;
    border-radius: 0 0 14px 14px;
    padding: 1.8rem 2rem 2rem;
    min-width: 300px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.job-application .application-form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-application .application-form .form-row .form-group {
    flex: 1;
    min-width: 230px;
}

.job-application .application-form .form-group {
    margin-bottom: 1rem;
}

.job-application .application-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.job-application .application-form input,
.job-application .application-form select,
.job-application .application-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.job-application .application-form input:focus,
.job-application .application-form select:focus,
.job-application .application-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.14);
}

.job-application .application-form .submit-btn,
.job-application .application-form .apply-btn {
    width: 100%;
    max-width: 300px;
    margin: 0.5rem auto 0;
    display: block;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.job-application .application-form .submit-btn:hover,
.job-application .application-form .apply-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.application-success {
    border: 1px solid var(--primary-color);
    background-color: #e7f3ff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.application-success h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .careers-hero {
        padding: 5rem 1rem;
    }

    .position-card,
    .benefit-card {
        padding: 1rem;
    }

    .job-application .application-container {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        margin: 0 auto;
    }
}

/* FOOTER */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-blue) 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* PAGE LOAD POP-UP MODAL */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.hidden {
    display: none;
}

.popup-modal {
    background: rgba(232, 241, 248, 0.30);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(10, 61, 145, 0.2);
    position: relative;
    animation: slideInDown 0.4s ease;
    backdrop-filter: blur(15px);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s ease;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.popup-content {
    text-align: center;
}

.popup-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.popup-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0 0 2rem 0;
}

.popup-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(10, 61, 145, 0.05) 0%, rgba(30, 91, 168, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
}

.popup-option-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 61, 145, 0.2);
}

.popup-option-btn:active {
    transform: translateY(0);
}

.option-icon {
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.option-text {
    flex: 1;
    text-align: left;
}

/* FLOATING SUBSCRIPTION BUTTON */

.floating-subscription {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 998;
}

.subscription-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(10, 61, 145, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.subscription-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(10, 61, 145, 0.4);
}

.subscription-toggle.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.subscription-panel {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 300px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(10, 61, 145, 0.2);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: slideInLeft 0.3s ease;
    z-index: 998;
}

.subscription-panel.open {
    display: flex;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.subscription-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.close-panel {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.close-panel:hover {
    color: var(--primary-color);
}

.subscription-panel p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.subscription-form input {
    padding: 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.subscription-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(10, 61, 145, 0.2);
}

.subscription-form input::placeholder {
    color: #bbb;
}

.sub-btn {
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sub-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 61, 145, 0.2);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* FLOATING SUBSCRIPTION BUTTON */
.floating-subscription {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 998;
}

.subscription-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(10, 61, 145, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.subscription-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(10, 61, 145, 0.4);
}

.subscription-toggle.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.subscription-panel {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 300px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(10, 61, 145, 0.2);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: slideInLeft 0.3s ease;
    z-index: 998;
}

.subscription-panel.open {
    display: flex;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.subscription-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.close-panel {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.close-panel:hover {
    color: var(--primary-color);
}

.subscription-panel p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.subscription-form input {
    padding: 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.subscription-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(10, 61, 145, 0.2);
}

.subscription-form input::placeholder {
    color: #bbb;
}

.sub-btn {
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sub-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 61, 145, 0.2);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* SERVICES PAGE STYLES */
.services-page-hero {
    background: linear-gradient(135deg, rgba(10, 61, 145, 0.7) 0%, rgba(179, 217, 232, 0.7) 100%), url('front-view-happy-parents-kids.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.services-page-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.6s ease;
}

.services-page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    animation: fadeInDown 0.8s ease;
}

.services-all {
    padding: 2rem;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-count {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.no-services {
    text-align: center;
    padding: 3rem 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* WATER BUBBLE ANIMATIONS */
@keyframes float-up {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(30px);
    }
}

@keyframes bubble-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

@keyframes shine {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(10, 61, 145, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(10, 61, 145, 0.6);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes underline-grow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* SECTION HEADER UNDERLINE */
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 3px;
    animation: underline-grow 0.6s ease 0.3s both;
}

/* BUBBLE STYLES */
.bubble {
    position: fixed;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    pointer-events: none;
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.2);
    animation: none;
    opacity: 0.7;
}

/* Optional: hide decorative bubbles if they interfere with hero legibility */
.hero .bubble {
    display: none;
}

.bubble:nth-child(1) {
    width: 20px;
    height: 20px;
    left: 10%;
    animation-duration: 8s, 4s, 3s;
    animation-delay: 0s, 0s, 0s;
}

.bubble:nth-child(2) {
    width: 30px;
    height: 30px;
    left: 20%;
    animation-duration: 10s, 5s, 4s;
    animation-delay: 1s, 1s, 1s;
}

.bubble:nth-child(3) {
    width: 25px;
    height: 25px;
    left: 35%;
    animation-duration: 12s, 6s, 3.5s;
    animation-delay: 2s, 2s, 2s;
}

.bubble:nth-child(4) {
    width: 35px;
    height: 35px;
    left: 50%;
    animation-duration: 9s, 4.5s, 4s;
    animation-delay: 0.5s, 0.5s, 0.5s;
}

.bubble:nth-child(5) {
    width: 28px;
    height: 28px;
    left: 65%;
    animation-duration: 11s, 5.5s, 3.8s;
    animation-delay: 1.5s, 1.5s, 1.5s;
}

.bubble:nth-child(6) {
    width: 22px;
    height: 22px;
    left: 80%;
    animation-duration: 13s, 6.5s, 4.2s;
    animation-delay: 2.5s, 2.5s, 2.5s;
}

.bubble:nth-child(7) {
    width: 32px;
    height: 32px;
    left: 90%;
    animation-duration: 10s, 5s, 3.5s;
    animation-delay: 1.2s, 1.2s, 1.2s;
}

.bubble:nth-child(8) {
    width: 26px;
    height: 26px;
    left: 15%;
    animation-duration: 12s, 6s, 4s;
    animation-delay: 3s, 3s, 3s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
        width: 100%;
    }

    .header {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .nav {
        display: none;
    }

    .logo {
        max-width: 60%;
        overflow-x: hidden;
    }

    .logo-img {
        max-width: 100%;
        height: auto;
    }

    .phone-number {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .search-filters {
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .search-bar {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .search-filters {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-image-placeholder {
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
    }

    .image-fallback {
        font-size: 3rem;
    }

    .team-card h3 {
        font-size: 1.2rem;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-column p,
    .footer-column a {
        font-size: 0.9rem;
    }
}

/* UTILITY CLASSES */
.fadeIn {
    animation: fadeIn 0.5s ease;
}

.hidden {
    display: none;
}
