/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #444444;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #00E676;
    z-index: 10000;
    transition: width 0.3s ease;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #66BB6A;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleAnimation 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Button Enhancements */
button, .explore-btn, .signup-btn, .follow-btn {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

button:hover, .explore-btn:hover, .signup-btn:hover, .follow-btn:hover {
    transform: scale(1.05);
}

/* Lazy Loading */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Initial Animation States */
.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-images img {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    transition: all 0.6s ease;
}

.program-images img {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Enhanced Hover Effects */
.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-images img:hover {
    transform: translateY(-15px) scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #212121;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo img {
    height: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar.scrolled .nav-logo img {
    height: 35px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-menu a {
    text-decoration: none;
    color: #212121;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #4CAF50;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #26A69A;
    transform: translateY(-2px);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.login-btn {
    background: #FFFFFF;
    color: #4CAF50;
    border: 1px solid #4CAF50;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-btn:hover {
    background: #4CAF50;
    color: #FFFFFF;
    transform: translateY(-2px) scale(1.05);
}

.signup-btn {
    background: #4CAF50;
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.signup-btn:hover::before {
    left: 100%;
}

.signup-btn:hover {
    background: #66BB6A;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Section 1: Hero Section */
.hero-section {
    width: 100%;
    height: 100vh;
    background: url('./img/section\ 1-01.jpg') center/cover no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-image img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: left;
    color: #212121;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #212121;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(76, 175, 80, 0.3); }
    to { text-shadow: 0 0 30px rgba(76, 175, 80, 0.5); }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-decoration: underline;
    color: #333333;
    font-weight: 600;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #444444;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.hero-main-text {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    border: 3px solid #4CAF50;
    padding: 1.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-weight: 600;
    color: #212121;
    animation: slideInRight 1s ease-out 0.9s both;
    position: relative;
    overflow: hidden;
}

.hero-main-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 2s;
}

.hero-main-text:hover::before {
    left: 100%;
}

.explore-btn {
    background: #26A69A;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(38, 166, 154, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideInUp 1s ease-out 1.2s both;
}

.explore-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.explore-btn:hover::before {
    width: 200px;
    height: 200px;
}

.explore-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(38, 166, 154, 0.4);
    background: #1E88E5;
}

.hero-spacer {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-decoration: underline;
    color: #4CAF50;
    font-weight: 600;
}

/* Section 2: About Us */
.about-section {
    width: 100%;
    height: 100vh;
    background: url('./img/section\ 2-01.jpg') center/cover no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    padding: 5rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #212121;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.about-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #4CAF50;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444444;
    text-align: justify;
}

.about-content p .highlight {
    color: #4CAF50;
    font-weight: 600;
}

.about-images {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.about-images img {
    flex: 1;
    min-width: 200px;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    
    transition: transform 0.4s ease;
    object-fit: contain;
}

.about-images img:hover {
    transform: scale(1.1); /* Zoom only */
}

/* Section 3: Our Services */
.services-section {
    width: 100%;
    height: 100vh;
    background: url('./img/section\ 3-01.jpg') center/cover no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    padding: 5rem 2rem;
    position: relative;
}

.services-section .section-title {
    color: #212121;
}

.services-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid #4CAF50;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.services-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444444;
    text-align: justify;
}

.services-content p .highlight {
    color: #4CAF50;
    font-weight: 600;
}

/* Section 4: Our Mission */
.mission-section {
    width: 100%;
    height: 100vh;
    background: url('./img/section\ 4-01.jpg') center/cover no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    padding: 5rem 2rem;
    position: relative;
}

.mission-section .section-title {
    color: #212121;
}

.mission-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #4CAF50;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.mission-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #444444;
    text-align: center;
    font-weight: 500;
}

.mission-content p .highlight {
    color: #4CAF50;
    font-weight: 600;
}

/* Section 5: Background Image Only */
.bg-section-1 {
   width: 100%;
    height: 100vh;
    background: url('./img/section\ 5-01.jpg') center/cover no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    padding: 5rem 2rem;
    position: relative;
}

.bg-section-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
}

/* Section 6: Our Purpose */
.purpose-section {
    width: 100%;
    height: 100vh;
    background: url('./img/section\ 6-01.jpg') center/cover no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    padding: 5rem 2rem;
    position: relative;
}

.purpose-section .section-title {
    color: #212121;
}

.purpose-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid #4CAF50;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.purpose-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444444;
    text-align: justify;
}

.purpose-content p .highlight {
    color: #4CAF50;
    font-weight: 600;
}

/* Section 7: Background Image Only */
.bg-section-2 {
    width: 100%;
    height: 60vh;
    background: #E8F5E9;
    background-size: 100% 100%;
    position: relative;
}

.bg-section-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(232, 245, 233, 0.8);
}

/* Section 8: Our Program */
.program-section {
    width: 100%;
    height: 100vh;
    background: url('https://via.placeholder.com/1920x800/E8F5E9/4CAF50?text=Program+Background') center/cover no-repeat;
    background-size: 100% 100%;
    padding: 5rem 2rem;
    position: relative;
}

.program-section .section-title {
    color: #212121;
}

.program-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid #4CAF50;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.program-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444444;
    text-align: justify;
}

.program-content p .highlight {
    color: #4CAF50;
    font-weight: 600;
}

.program-images {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.program-images img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.rotated-img-1 {
    transform: rotate(-5deg);
}

.rotated-img-2 {
    transform: rotate(5deg);
}

.program-images img:hover {
    transform: scale(1.1) rotate(0deg);
}

/* Footer */
.footer {
    background: #1E1E1E;
    color: #CCCCCC;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.follow-btn {
    background: #66BB6A;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.follow-btn:hover {
    background: #4CAF50;
    transform: translateY(-2px) scale(1.05);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #26A69A;
}

.footer-year {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
}

.footer-column:nth-child(2) {
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: #CCCCCC;
}

.footer-column:nth-child(3) {
    text-align: right;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
    color: #CCCCCC;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #4CAF50;
    transform: scale(1.2);
}

.footer-settings {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    font-size: 0.9rem;
    color: #CCCCCC;
}

.footer-settings a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-settings a:hover {
    color: #26A69A;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-images {
        flex-direction: column;
        align-items: center;
    }
    
    .program-images {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column:nth-child(3) {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-settings {
        justify-content: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}