/* Modern, sleek CHO Koronadal website styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Colors */
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-primary-light: #3b82f6;
    --color-secondary: #6366f1;
    --color-accent: #06b6d4;
    
    --color-text-primary: #0f172a;
    --color-text-secondary: #64748b;
    --color-text-muted: #94a3b8;
    
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-bg-tertiary: #f1f5f9;
    
    --color-success: #22c55e;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);

}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.text-primary { color: var(--color-primary); }
.text-center { text-align: center; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: all var(--transition-normal);
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}
/* Responsive nav row for mobile */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-sm);
        padding: var(--space-xs) var(--space-sm);
    }
    .nav-logo {
        margin-bottom: 0;
        width: auto;
        justify-content: flex-start;
    }
    .nav-actions {
        flex-direction: row;
        gap: var(--space-xs);
        width: auto;
        justify-content: flex-end;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.logo-img {
    height: 40px;
    width: auto;
}
/* Mobile logo swap for navigation */
@media (max-width: 600px) {
    .nav-logo .logo-img {
        content: url('../images/Nav_LogoClosed.png');
    }
}

.nav-actions {
    display: flex;
    gap: var(--space-sm);
}

.nav-btn {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-secondary {
    background: var(--color-text-muted);
    color: white;
}

.btn-secondary:hover {
    background: var(--color-text-secondary);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) 0;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Carousel */
.hero-carousel {
    position: relative;
}

.carousel-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: white;
}

.carousel-slides {
    position: relative;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: var(--space-xl) var(--space-lg);
}

.slide-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: white;
}

.slide-overlay p {
    color: #555;
    margin: 0;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-md);
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    pointer-events: all;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-xs);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Sections */
.about-section,
.services-section,
.cta-section {
    padding: var(--space-2xl) 0;
}

.about-section {
    background: var(--color-bg-primary);
}

.services-section {
    background: var(--color-bg-secondary);
}

.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.cta-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* About Content */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    gap: var(--space-md);
}

.stat-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-top: var(--space-xs);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;

}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

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

/* Footer */
.footer {
    background: var(--color-text-primary);
    color: white;
    padding: var(--space-xl) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-lg);
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xs);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-content {
        gap: var(--space-xl);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .carousel-slides {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    /* Navigation Mobile */
    .nav-container {
        padding: var(--space-sm);
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .nav-logo {
        order: 1;
        margin: 0px 10px;
        justify-content: center;
        margin-bottom: var(--space-xs);
    }
    
    .nav-actions {
        order: 2;
        display: flex;
        gap: var(--space-sm);
        width: auto;
    }
    
    .nav-btn {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }
    
    /* Hero Mobile */
    .hero {
        padding: calc(80px + var(--space-lg)) var(--space-sm) var(--space-xl);
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.1;
        margin-bottom: var(--space-sm);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }
    
    .hero-buttons {
        justify-content: center;
        gap: var(--space-sm);
        flex-wrap: wrap;
    }
    
    .btn-large {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
        min-width: 160px;
    }
    
    /* Carousel Mobile */
    .carousel-slides {
        height: 250px;
    }
    
    .slide-overlay {
        padding: var(--space-md) var(--space-sm);
    }
    
    .slide-overlay h3 {
        font-size: 1.25rem;
        margin-bottom: var(--space-xs);
    }
    
    .slide-overlay p {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-controls {
        padding: 0 var(--space-sm);
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Sections Mobile */
    .about-section,
    .services-section,
    .cta-section {
        padding: var(--space-xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-xl);
    }
    
    .section-header h2 {
        font-size: 1.875rem;
        margin-bottom: var(--space-xs);
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* About Mobile */
    .about-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
        margin-top: var(--space-lg);
    }
    
    .stat-card {
        padding: var(--space-md) var(--space-sm);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .service-card {
        padding: var(--space-lg);
        text-align: center;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto var(--space-sm);
    }
    
    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: var(--space-xs);
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* CTA Mobile */
    .cta-content {
        padding: 0 var(--space-sm);
    }
    
    .cta-content h2 {
        font-size: 1.875rem;
        margin-bottom: var(--space-sm);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
        margin-top: var(--space-lg);
    }
    
    .cta-buttons .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: var(--space-lg) 0;
    }
    
    .footer-content {
        gap: var(--space-sm);
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-info p {
        font-size: 0.9rem;
        margin-bottom: var(--space-xs);
    }
    
    /* Typography Mobile */
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .container {
        padding: 0 var(--space-xs);
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .hero {
        padding: calc(70px + var(--space-md)) var(--space-xs) var(--space-lg);
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
        padding: var(--space-sm) var(--space-md);
    }
    
    .carousel-slides {
        height: 200px;
    }
    
    .slide-overlay {
        padding: var(--space-sm);
    }
    
    .slide-overlay h3 {
        font-size: 1.125rem;
    }
    
    .slide-overlay p {
        font-size: 0.8rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
        max-width: 200px;
        margin: var(--space-lg) auto 0;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: var(--space-md);
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .nav-btn {
        padding: var(--space-xs);
        font-size: 0.75rem;
    }
}

@media (max-width: 375px) {
    /* Very small mobile devices */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.375rem;
    }
    
    .cta-content h2 {
        font-size: 1.375rem;
    }
    
    .service-card h3 {
        font-size: 1.125rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(60px + var(--space-sm)) 0 var(--space-md);
    }
    
    .hero-title {
        font-size: 1.875rem;
        margin-bottom: var(--space-xs);
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: var(--space-sm);
    }
    
    .hero-buttons {
        gap: var(--space-xs);
    }
    
    .btn-large {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.85rem;
    }
    
    .carousel-slides {
        height: 180px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-btn,
    .carousel-btn,
    .indicator {
        min-height: 44px;
        min-width: 44px;
    }
    
    .service-card:hover,
    .stat-card:hover {
        transform: none;
    }
    
    .carousel-btn:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.9);
    }
}

/* Categories */
        .categories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .category-card {
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
            border: 1px solid rgba(238, 9, 9, 0.1);
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
        }

        .category-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: rgba(220, 12, 12, 0.5);
        }

        .category-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        /* Mobile Responsive */
@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

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

  .navbar-toggle {
    display: flex;
  }

  .navbar-actions {
    display: none;
  }

  .hero h2 {
    font-size: 1.8rem;
  }
}
        /* style.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0fff4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

header {
    background-color: #2e8b57;
    padding: 15px 0;
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #cde8dc;
    border-bottom: 2px solid #fff;
}

.hero {
    padding: 80px 20px;
    text-align: center;
    color: black;
}


.hero h2 {
    font-size: 36px;
    color: #ffffff;         /* Bright white (most readable) */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);  /* adds glow over image */
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin: 20px 0;
    color: #000;         /* Slightly off-white for balance */
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);  /* helps make it pop */
}






.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-form input[type="text"] {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-form button {
    padding: 10px 15px;
    background-color: #2e8b57;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #246b44;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2e8b57;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #246b44;
}

.services-preview {
    padding: 40px 20px;
    background-color: #e6f9ed;
    text-align: center;
}

.services-preview h3 {
    font-size: 28px;
    color: #2e8b57;
    margin-bottom: 20px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.services-list li {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 15px;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.services-section {
    padding: 60px 20px;
    background-color: #f7fff9;
}

.services-section h2 {
    text-align: center;
    color: #2e8b57;
    font-size: 32px;
    margin-bottom: 40px;
}

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

.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.service-card h3 {
    color: #2e8b57;
    margin: 15px 0 10px;
}

.service-card p {
    padding: 0 15px 20px;
    font-size: 14.5px;
    color: #444;
}

footer {
    background-color: #2e8b57;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 50px;
}
/*2nd part of styles.css */

        /* CSS Styles */
        :root {
            --primary-color: #2c7a2c;
            --secondary-color: #4a9d4a;
            --accent-color: #87ceeb;
            --text-primary: #333333;
            --text-secondary: #666666;
            --background-light: #f8f9fa;
            --background-white: #ffffff;
            --border-color: #e0e0e0;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --error-color: #dc3545;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
            --border-radius: 12px;
        }

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

        body {
            font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--background-light);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        .site-header {
            background: var(--background-white);
            box-shadow: var(--shadow-sm);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
        }

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

        .navbar-nav {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .navbar-nav a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .navbar-nav a:hover,
        .navbar-nav a.active {
            color: var(--primary-color);
        }

        .navbar-actions {
            display: flex;
            gap: 1rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 24px;
            border: none;
            border-radius: var(--border-radius);
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
        }

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

        .btn-primary:hover {
            background-color: var(--secondary-color);
            transform: translateY(-2px);
        }

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

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

        /* Mobile Menu */
        .navbar-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
        }

        .navbar-toggle span {
            width: 25px;
            height: 3px;
            background-color: var(--primary-color);
            transition: 0.3s;
        }

        /* Hero Section */
        .hero {
            color: white;
            padding: 120px 0 80px;
            text-align: center;
            margin-top: 70px;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease-out;
        }

        .hero p {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .hero .btn {
            animation: fadeInUp 1s ease-out 0.4s both;
        }

        /* Services Section */
        .services {
            padding: 80px 0;
            background: var(--background-white);
        }

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

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

        .service-card {
            background: var(--background-white);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

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

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

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

        .service-card p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

        .service-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        /* About Section */
        .about {
            padding: 80px 0;
            background: var(--background-light);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

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

        .about-text p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

        .about-features {
            list-style: none;
        }

        .about-features li {
            padding: 0.5rem 0;
            color: var(--text-secondary);
        }

        .about-features li:before {
            content: "✓";
            color: var(--success-color);
            font-weight: bold;
            margin-right: 0.5rem;
        }

        /* Professionals Section */
        .professionals {
            padding: 80px 0;
            background: var(--background-white);
        }

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

        .professional-card {
            background: var(--background-white);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

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

        .professional-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: var(--accent-color);
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
        }

        .professional-card h4 {
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .professional-specialty {
            color: var(--primary-color);
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .professional-rating {
            color: var(--warning-color);
            margin-bottom: 1rem;
        }

        /* Contact Section */
        .contact {
            padding: 80px 0;
            background: var(--background-light);
        }

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

        .contact-form {
            background: var(--background-white);
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
        }

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

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

        .form-input,
        .form-textarea,
        .form-select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid var(--border-color);
            border-radius: var(--border-radius);
            font-size: 16px;
            transition: border-color 0.3s ease;
        }

        .form-input:focus,
        .form-textarea:focus,
        .form-select:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        .form-textarea {
            resize: vertical;
            min-height: 120px;
        }

        .contact-info h3 {
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: white;
        }
        .contact-item a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .contact-item a:hover {
            color: var(--primary-color);
        }
        

        /* Footer Styles */
.footer {
  background: #074635;
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background 0.3s;
}

.footer-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.footer-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid #0abe4f;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-card p {
  font-size: 0.95rem;
  margin: 8px 0;
}

.footer-card ul {
  list-style: none;
  padding: 0;
}

.footer-card ul li {
  margin: 8px 0;
}

.footer-card ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.footer-card ul li a:hover {
  color: #1abc9c;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.8;
}

        /* Modals */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }

        .modal-content {
            background-color: var(--background-white);
            margin: 5% auto;
            padding: 2rem;
            border-radius: var(--border-radius);
            width: 90%;
            max-width: 500px;
            position: relative;
        }

        .close {
            position: absolute;
            right: 1rem;
            top: 1rem;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            color: var(--text-secondary);
        }

        .close:hover {
            color: var(--error-color);
        }

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

        .fade-in {
            animation: fadeInUp 0.8s ease-out;
        }

        /* Loading Spinner */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Alert Messages */
        .alert {
            padding: 1rem;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
            border: 1px solid;
        }

        .alert-success {
            background-color: #d4edda;
            border-color: #c3e6cb;
            color: #155724;
        }

        .alert-error {
            background-color: #f8d7da;
            border-color: #f5c6cb;
            color: #721c24;
        }

        .alert-warning {
            background-color: #fff3cd;
            border-color: #ffeaa7;
            color: #856404;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .navbar-nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--background-white);
                flex-direction: column;
                padding: 1rem;
                box-shadow: var(--shadow-sm);
            }

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

            .navbar-toggle {
                display: flex;
            }

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

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

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

            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
            }

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

        /* Utility Classes */
        .text-center { text-align: center; }
        .text-left { text-align: left; }
        .text-right { text-align: right; }
        .mt-1 { margin-top: 1rem; }
        .mt-2 { margin-top: 2rem; }
        .mb-1 { margin-bottom: 1rem; }
        .mb-2 { margin-bottom: 2rem; }
        .hidden { display: none; }
        .visible { display: block; }

        .services-description {
            max-width: 600px;
            margin: 0 auto;
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

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

.professionals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.professional-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.professional-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.professional-avatar {
  font-size: 40px;
  margin-bottom: 10px;
}

/* Popup background */
.form-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup box centered */
.form-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  animation: popupFade 0.3s ease;
}

/* Smooth opening animation */
@keyframes popupFade {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.btn.cancel {
  margin-top: 15px;
  padding: 8px 16px;    
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}