/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - 60-30-10 Rule */
    --primary-color: #2E7D32; /* Green - 60% */
    --secondary-color: #C62828; /* Red - 30% */
    --accent-color: #1976D2; /* Blue accent - 10% */
    --dark-color: #1A1A1A;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --text-dark: #333333;
    --text-light: #666666;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing - REDUCED */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Section Spacing - MINIMAL */
    --section-spacing-sm: 2rem;
    --section-spacing-md: 3rem;
    --section-spacing-lg: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-xl: 0 8px 24px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    max-width: 70ch;
}

.section-title {
    color: var(--primary-color);
    position: relative;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    font-size: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.95rem;
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #388E3C);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #388E3C, var(--primary-color));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #D32F2F);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #D32F2F, var(--secondary-color));
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-email {
    background: linear-gradient(135deg, #EA4335, #D14836);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Navigation */
.navbar {
    background: var(--light-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

/* Hero Slider - OPTIMIZED */
.hero-slider {
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Small black gradient at top like a brush */
.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.3) 50%,
        transparent 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--light-color);
    padding-top: 100px; /* Account for gradient overlay */
}

.slide-title {
    font-size: 2.5rem;
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.slide-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.slide-actions {
    display: flex;
    gap: var(--spacing-md);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 4;
    transition: var(--transition-normal);
    backdrop-filter: blur(4px);
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: var(--spacing-md);
}

.slider-next {
    right: var(--spacing-md);
}

.slider-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 4;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active {
    background: var(--light-color);
    transform: scale(1.3);
}

/* Sections - MINIMAL SIZE */
.section {
    padding: var(--section-spacing-md) 0;
}

.section:nth-child(even) {
    background: var(--gray-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    object-fit: cover;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, var(--primary-color), #1B5E20);
    color: var(--light-color);
}

.mission-section .section-title {
    color: var(--light-color);
}

.mission-section .section-title::after {
    background: var(--secondary-color);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.mission-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.mission-card h3 {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
}

.mission-card ul {
    list-style: none;
    text-align: left;
    flex-grow: 1;
}

.mission-card li {
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    position: relative;
}

.mission-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* Membership Section */
.membership-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), #388E3C);
    color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.cta-card h3 {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
}

/* Statistics */
.stats-section {
    background: linear-gradient(135deg, #1A237E, #283593);
    color: var(--light-color);
    padding: var(--section-spacing-sm) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: var(--spacing-xs);
}

.stat-title {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* Testimonials */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    display: none;
    background: var(--light-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin: 0 auto;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.quote-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
}

.author-info h4 {
    margin-bottom: 0;
    color: var(--dark-color);
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial-prev,
.testimonial-next {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--secondary-color);
}

.testimonial-dots {
    display: flex;
    gap: var(--spacing-xs);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    text-align: center;
    padding: var(--section-spacing-sm) 0;
}

.contact-cta h2 {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
}

.contact-cta p {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: var(--section-spacing-md) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 60px;
    height: auto;
}

.footer-logo h3 {
    color: var(--light-color);
    margin-bottom: 0;
    font-size: 1.25rem;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-section h4 {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: var(--spacing-xs);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 0.9rem;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255,255,255,0.5);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-size: 0.85rem;
}

.developer-credit a {
    color: var(--primary-color);
    text-decoration: none;
}

.developer-credit a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-content,
    .membership-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-image::after {
        height: 25%;
    }
    
    .slide-content {
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--light-color);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-lg) 0;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-slider {
        height: 50vh;
        min-height: 300px;
    }
    
    .slide-title {
        font-size: 1.75rem;
    }
    
    .slide-subtitle {
        font-size: 0.95rem;
    }
    
    .slide-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .slider-prev {
        left: var(--spacing-sm);
    }
    
    .slider-next {
        right: var(--spacing-sm);
    }
    
    .section {
        padding: var(--section-spacing-sm) 0;
    }
    
    .mission-grid,
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .mission-card,
    .service-card {
        min-height: 240px;
        padding: var(--spacing-md);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .testimonial-card {
        padding: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-md);
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-slider {
        height: 40vh;
        min-height: 250px;
    }
    
    .slide-image::after {
        height: 20%;
    }
    
    .slide-content {
        padding-top: 60px;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        min-height: 40px;
    }
    
    .mission-card,
    .service-card {
        min-height: 220px;
        padding: var(--spacing-md);
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}