/* Modern Design Variables */
:root {
    --primary-color: #2c5530;
    --primary-light: #3d7a43;
    --primary-dark: #1e3b21;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b6b;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --letter-spacing: 0.5px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    letter-spacing: var(--letter-spacing);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main content area */
main {
    background-color: var(--white);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    padding-top: 0 !important;
}

/* Modern Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    position: relative;
    z-index: 10;
}

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: block;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    pointer-events: auto;
    z-index: 11;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.hamburger {
    display: block;
    position: relative;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    margin: 0 auto;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger::before {
    top: -9px;
}

.hamburger::after {
    top: 9px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    body.mobile-menu-open {
        overflow: hidden;
        background-color: var(--white);
    }

    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.45);
        z-index: 999;
        transition: opacity 0.3s;
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 2.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 85vw;
        max-width: 340px;
        background: var(--primary-color);
        padding: 2.2rem 1.2rem 2.2rem 1.2rem;
        border-radius: 18px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
        gap: 1.2rem;
        z-index: 1001;
        align-items: center;
        animation: mobileMenuFadeIn 0.25s;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1.1rem 0;
        text-align: center;
        border-radius: 12px;
        font-size: 1.18rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        color: #fff;
        background: none;
        transition: background 0.2s, color 0.2s;
    }

    .nav-links a:hover {
        background: var(--primary-light);
        color: #fff;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        width: 44px;
        margin-right: 2px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
        position: relative;
    }

    .nav-toggle .close-icon {
        font-size: 2.2rem;
        color: #fff;
        position: absolute;
        top: 1.1rem;
        right: 1.2rem;
        z-index: 1101;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.2rem 0.5rem;
        border-radius: 50%;
        transition: background 0.2s;
    }

    .nav-toggle .close-icon:active,
    .nav-toggle .close-icon:focus {
        background: rgba(255,255,255,0.12);
    }

    /* Ensure no grey areas in mobile */
    main {
        background-color: var(--white);
        min-height: 100vh;
        width: 100%;
        overflow-x: hidden;
    }

    .hero {
        background-color: var(--white);
        padding-top: 60px; /* Keep this */
    }

    .services-preview,
    .services-detailed,
    .about-content,
    .history-content,
    .affiliations-content,
    .contact-content,
    .location-section {
        background-color: var(--white);
        width: 100%;
        overflow-x: hidden;
    }

    .service-item,
    .about-card,
    .affiliation-card,
    .contact-info,
    .contact-form {
        background-color: var(--white);
        box-shadow: var(--shadow-md);
    }

    .timeline {
        background-color: var(--white);
    }

    .timeline-card {
        background-color: var(--white);
    }

    .photo-album {
        background-color: rgba(0, 0, 0, 0.9);
    }

    /* Fix for iOS Safari 100vh issue */
    .homepage-hero {
        min-height: -webkit-fill-available;
        background-color: var(--white);
    }

    /* Ensure smooth scrolling */
    .photo-album {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .photo-grid {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    body {
        background-color: var(--white);
    }

    main {
        background-color: var(--white);
    }

    .hero,
    .services-preview,
    .services-detailed,
    .about-content,
    .history-content,
    .affiliations-content,
    .contact-content,
    .location-section {
        background-color: var(--white);
    }

    .hero-logo {
        max-width: 400px;
    }

    .hero-tagline {
        font-size: 1.5rem !important;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .modal-content img {
        max-height: 80vh;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    body {
        background-color: var(--white);
    }

    main {
        background-color: var(--white);
    }

    .hero,
    .services-preview,
    .services-detailed,
    .about-content,
    .history-content,
    .affiliations-content,
    .contact-content,
    .location-section {
        background-color: var(--white);
    }

    .homepage-content.expanded {
        transform: translateY(-20vh);
    }

    .homepage-logo {
        max-width: 400px;
    }

    .photo-album {
        max-height: 80vh;
        overflow-y: auto;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .homepage-hero {
        min-height: -webkit-fill-available;
        background-color: var(--white);
    }
}

/* Modern Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 60px; /* Keep this */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-logo {
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInDown 1s ease-out;
}

.hero-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

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

.hero-tagline {
    font-size: 2.2rem !important;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    max-width: 600px;
    text-align: center;
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    min-width: 200px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    max-width: 800px;
    width: 100%;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1.2rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        width: 100%;
        min-width: unset;
        padding: 1.1rem 2rem;
    }
}

.cta-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modern Services Preview */
.services-preview {
    padding: 8rem 5%;
    background-color: var(--white);
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #2c5530;
    color: #fff;
    padding: 1rem 5%;
    text-align: center;
}

.footer-bottom {
    margin: 0;
    padding: 0;
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

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

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.footer-emails p {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.footer-emails a {
    color: #fff;
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/services-bg.jpg') center/cover, #888;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    margin-top: 0 !important;
    padding-top: 60px !important;
}

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

.page-header p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    text-shadow: none;
    letter-spacing: 0.2px;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Services Detailed */
.services-detailed {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

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

.service-image:hover img {
    transform: scale(1.05);
}

.click-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.service-image:hover .click-indicator {
    transform: translateY(0);
}

.service-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.service-slideshow img.active {
    opacity: 1;
}

.service-image::before {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-image:hover::before {
    opacity: 1;
}

.service-image i {
    font-size: 4rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h2 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-content ul {
    list-style: none;
    margin: 1rem 0;
    flex-grow: 1;
}

.service-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-content ul li:before {
    content: "•";
    color: #2c5530;
    position: absolute;
    left: 0;
}

.service-content .cta-button {
    margin-top: auto;
    text-align: center;
}

/* Modern About Page Upgrades */
.modern-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e6f4ea 100%);
}

.modern-about {
    padding: 5rem 5% 6rem 5%;
    background: transparent;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 950px;
    margin: 0 auto;
}

.about-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(44, 85, 48, 0.07);
    padding: 2.5rem 2.2rem 2.2rem 2.2rem;
    transition: box-shadow 0.3s;
    position: relative;
}

.about-card:hover {
    box-shadow: 0 12px 40px rgba(44, 85, 48, 0.13);
}

.accent-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 0.7rem;
    letter-spacing: 0.5px;
    background: none;
}

.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e6f4ea 0%, #ff6b6b 100%);
    border-radius: 2px;
    margin: 0.5rem 0 0.5rem 0;
    opacity: 0.18;
}

.modern-team {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    justify-content: center;
    margin-top: 2.2rem;
}

.modern-member {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(44, 85, 48, 0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    width: 220px;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
}
.modern-member:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(44, 85, 48, 0.13);
}

.modern-img {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.1rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e6f4ea;
    box-shadow: 0 2px 8px rgba(44, 85, 48, 0.09);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.modern-member h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.modern-member p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .about-cards {
        padding: 0 1rem;
    }
    .modern-team {
        gap: 1.2rem;
    }
    .modern-member {
        width: 100%;
        min-width: 180px;
    }
}

@media (max-width: 600px) {
    .about-content.modern-about {
        padding: 2.5rem 0.5rem 3rem 0.5rem;
    }
    .about-card {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
    .modern-team {
        flex-direction: column;
        gap: 1.2rem;
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 60px;
    bottom: 90px;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    z-index: 1;
    transition: all 0.3s ease;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    background-color: var(--primary-light);
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-date {
    position: absolute;
    top: 15px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    background: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.timeline-item:hover .timeline-date {
    color: var(--primary-light);
}

.timeline-item.left .timeline-date {
    right: -120px;
}

.timeline-item.right .timeline-date {
    left: -120px;
}

.timeline-card {
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.timeline-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .timeline {
        padding: 1.5rem 0.5rem;
        background: #f8f9f8;
    }
    .timeline::before {
        left: 24px;
        margin-left: 0;
    }
    .timeline-item {
        display: block;
        width: 100%;
        left: 0 !important;
        padding: 0 0 2.5rem 0;
        margin-bottom: 0;
        min-height: 100px;
        box-sizing: border-box;
    }
    .timeline-dot-date-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        min-width: 0;
        margin-left: 12px;
        margin-bottom: 6px;
    }
    .timeline-dot {
        position: static;
        left: 0;
        width: 18px;
        height: 18px;
        border: 3px solid #fff;
        box-shadow: 0 0 0 2px var(--primary-color);
        margin-bottom: 0;
    }
    .timeline-date {
        position: static;
        margin: 0;
        font-size: 0.95rem;
        background: #e6efe7;
        border-radius: 6px;
        padding: 0.2rem 0.7rem;
        display: inline-block;
        color: #2c5530;
        font-weight: 600;
        box-shadow: none;
        text-align: center;
    }
    .timeline-card {
        background: #fff;
        color: #222;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(44,85,48,0.08);
        padding: 1.2rem;
        margin-bottom: 2.2rem;
        z-index: 2;
        position: relative;
        margin-left: 0;
        margin-right: 0;
        min-width: 0;
    }
    .timeline-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .timeline-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .timeline {
        padding: 1rem 0.2rem;
    }
    .timeline-item {
        min-height: 80px;
    }
    .timeline-dot-date-row {
        min-width: 0;
        margin-left: 6px;
        gap: 5px;
    }
    .timeline-dot {
        width: 14px;
        height: 14px;
    }
    .timeline-date {
        font-size: 0.85rem;
        padding: 0.15rem 0.5rem;
    }
    .timeline-card {
        padding: 0.9rem;
    }
    .timeline-card h3 {
        font-size: 1rem;
    }
    .timeline-card p {
        font-size: 0.85rem;
    }
}

/* Modern Contact Form */
.contact-content {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background-color: var(--secondary-color);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.25rem;
}

.info-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--secondary-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Modern File Upload */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-wrapper:hover {
    background-color: rgba(44, 85, 48, 0.05);
    border-color: var(--primary-light);
}

.file-upload-info {
    color: var(--text-light);
}

.file-upload-info i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.file-upload-info p {
    margin: 0.8rem 0;
    font-size: 1.1rem;
}

.file-types {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.selected-files {
    margin-top: 1.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.file-item:hover {
    background-color: rgba(44, 85, 48, 0.05);
}

.file-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.file-item .file-size {
    margin-left: auto;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-image {
        padding: 1.5rem;
    }

    .service-image i {
        font-size: 3rem;
    }

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

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-image {
        width: 100px;
        height: 100px;
    }

    .member-image i {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .map-frame {
        height: 350px;
    }
    
    .location-section {
        padding: 2rem;
    }

    .file-upload-wrapper {
        padding: 2rem;
    }

    /* Homepage specific mobile styles */
    .homepage-content {
        padding: 0 1rem;
    }

    .homepage-content.expanded {
        transform: translateY(-30vh);
    }

    .homepage-logo {
        max-width: 550px;
        width: 100%;
    }

    .homepage-logo.expanded {
        transform: scale(0.85);
    }

    .photo-album {
        padding: 1rem;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .photo-item {
        aspect-ratio: 4/3;
    }

    .photo-modal {
        padding: 1rem;
    }

    .modal-content {
        max-width: 95vw;
    }

    .modal-close {
        top: -35px;
        right: 0;
        font-size: 1.8rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .homepage-content.expanded {
        transform: translateY(-25vh);
    }

    .homepage-logo {
        max-width: 400px;
    }

    .homepage-logo.expanded {
        transform: scale(0.9);
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.6rem;
    }

    .photo-item {
        aspect-ratio: 1/1;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .modal-content img {
        max-height: 80vh;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .homepage-content.expanded {
        transform: translateY(-20vh);
    }

    .homepage-logo {
        max-width: 400px;
    }

    .photo-album {
        max-height: 80vh;
        overflow-y: auto;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Ensure smooth scrolling on mobile */
@media (max-width: 768px) {
    .photo-album {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .photo-grid {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .homepage-hero {
        min-height: -webkit-fill-available;
        background-color: var(--white);
    }
}

/* Affiliations Page Styles */
.affiliations-content {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.affiliation-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.affiliation-card:hover {
    transform: translateY(-5px);
}

.affiliation-icon {
    width: 80px;
    height: 80px;
    background-color: #2c5530;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.affiliation-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.affiliation-card h2 {
    color: #2c5530;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.affiliation-card p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .affiliations-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .affiliation-card {
        padding: 1.5rem;
    }
    
    .affiliation-icon {
        width: 60px;
        height: 60px;
    }
    
    .affiliation-icon i {
        font-size: 2rem;
    }
    
    .affiliation-card h2 {
        font-size: 1.3rem;
    }
}

/* Modern Location Section */
.location-section {
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.location-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-frame {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.waze-link {
    text-align: center;
    margin-top: 2rem;
}

.waze-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background-color: #33ccff;
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.waze-button:hover {
    background-color: #00b3e6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.waze-button i {
    font-size: 1.5rem;
    margin-right: 8px;
}

.address-display {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.address-display h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.address-display p {
    color: var(--text-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.address-display i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Add modern scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

.timeline-item.right .timeline-card {
    text-align: right;
    margin-left: 1.5rem;
    margin-right: 0;
}
.timeline-item.right .timeline-date {
    text-align: right;
    margin-left: 0;
    margin-right: 1.5rem;
}

.timeline-item.left .timeline-date {
    margin-right: 0.5rem;
    margin-left: 0;
}
.timeline-item.left .timeline-card {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* Responsive adjustments for services */
@media (max-width: 1200px) {
    .services-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-detailed {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Photo Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 1000;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    margin: 0 auto;
}

.gallery-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.gallery-nav button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.gallery-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding: 10px;
    max-width: 90%;
}

.gallery-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .service-image {
        height: 250px;
    }

    .gallery-nav button {
        padding: 10px;
    }

    .gallery-thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* Scoped mobile timeline fixes for history.html only */
@media (max-width: 768px) {
  body.history-page .timeline {
    background: #f8f9f8;
    padding: 1.5rem 0.5rem;
  }
  body.history-page .timeline-card {
    background: #fff;
    color: #222;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44,85,48,0.08);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    z-index: 2;
    position: relative;
  }
  body.history-page .timeline-dot {
    background: #2c5530;
    border: 2px solid #fff;
    z-index: 3;
  }
  body.history-page .timeline-date {
    color: #2c5530;
    font-weight: 600;
    background: #e6efe7;
    border-radius: 6px;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.5rem;
    display: inline-block;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 300px;
    }
    
    .hero-tagline {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 250px;
    }
    
    .hero-tagline {
        font-size: 1.5rem !important;
    }
}

/* Homepage specific styles */
.homepage-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.homepage-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.homepage-content.expanded {
    transform: translateY(-40vh);
}

.homepage-logo {
    max-width: 800px;
    width: 95%;
    margin: 0 auto;
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.homepage-logo.expanded {
    transform: scale(0.8);
}

.homepage-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.homepage-logo:hover img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.cta-button {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.cta-button.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.photo-album {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    transition: bottom 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.photo-album.visible {
    bottom: 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.photo-item:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for homepage */
@media (max-width: 1200px) {
    .homepage-logo {
        max-width: 700px;
    }
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .homepage-logo {
        max-width: 550px;
    }
    .homepage-content.expanded {
        transform: translateY(-30vh);
    }
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .homepage-logo {
        max-width: 400px;
    }
    .homepage-content.expanded {
        transform: translateY(-25vh);
    }
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Photo Modal */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.modal-close:hover {
    color: #ff6b6b;
}

.timeline-header {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    margin-top: 2rem;
    letter-spacing: 0.5px;
    position: relative;
}

.timeline-header-dot {
    display: block;
    margin: 0 auto;
    margin-top: 12px;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
    position: relative;
    z-index: 3;
}

.timeline-item:last-child::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px; /* slightly larger than the dot */
    height: 40px; /* enough to cover the line below the dot */
    transform: translate(-50%, 0);
    z-index: 2;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

/* Service Checkboxes */
.service-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover {
    background-color: #e9ecef;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
}

/* Custom checkbox style */
.checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #2c3e50;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"]:checked {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-item input[type="checkbox"]:focus {
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.2);
}

/* Custom Multi-select Dropdown */
.custom-select {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.select-selected {
    background-color: #fff;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Default state (no selection) */
.select-selected:not(.has-selection) {
    color: #6c757d;
}

/* When items are selected */
.select-selected.has-selection {
    color: #495057;
}

.select-selected:after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #495057;
    transition: transform 0.3s ease;
}

.custom-select.active .select-selected:after {
    transform: translateY(-50%) rotate(180deg);
}

.select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-top: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
}

.select-hide {
    display: none;
}

.select-item {
    padding: 10px 15px !important;
    min-width: 150px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
    color: #495057;
}

.select-item:hover {
    background-color: #f8f9fa;
}

.select-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.select-item label {
    color: #495057 !important;
    display: inline-block !important;
    width: auto !important;
    background: transparent !important;
    font-size: 16px !important;
    z-index: 10 !important;
}

/* Custom checkbox style */
.select-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #2c3e50;
    border-radius: 3px;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.select-item input[type="checkbox"]:checked {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.select-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.select-item input[type="checkbox"]:focus {
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.2);
}

/* Selected items display */
.select-selected {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style for placeholder text */
.select-selected:empty::before {
    content: 'Select services';
    color: #6c757d;
} 