
/* Modern Home Page Styles with Animations */

/* Hero Section */
.modern-hero {
    position: relative;
    overflow: hidden;
    background-image: url('../../../images/cover_new.jpg'), linear-gradient(135deg, rgba(0, 121, 51, 0.8) 0%, rgba(97, 101, 105, 0.8) 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 20%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 80%;
    top: 30%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.particle:nth-child(3) {
    left: 60%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 30%;
    top: 80%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 70%;
    top: 10%;
    animation-delay: 3s;
    animation-duration: 5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px) scale(1); opacity: 0.6; }
    25% { transform: translateY(-20px) translateX(10px) scale(1.1); opacity: 1; }
    50% { transform: translateY(-40px) translateX(-5px) scale(0.9); opacity: 0.8; }
    75% { transform: translateY(-20px) translateX(-10px) scale(1.05); opacity: 0.9; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Logo Container */
.logo-container {
    display: inline-block;
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 50%,
                rgba(0, 0, 0, 0.05) 100%);
    border-radius: 25px;
    pointer-events: none;
}

.logo-container:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-brand {
    display: inline-block;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.logo-pulse {
    animation: pulse 2s ease-in-out infinite;
    max-height: 80px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3))
            drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-icon {
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); color: #fff; }
    50% { transform: scale(1.2); color: #fcae05; }
}

/* Modern Buttons */
.modern-btn-primary {
    background: linear-gradient(45deg, #007933, #90E0F7);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 121, 51, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 121, 51, 0.4);
    color: white;
    text-decoration: none;
}

.modern-btn-primary::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;
}

.modern-btn-primary:hover::before {
    left: 100%;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.3s both;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.6s both;
}

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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About Section */
.modern-about {
    background: linear-gradient(135deg, #f5f7fa 0%, #f5f7fa 0%, #f5f7fa 100%);
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #007933, #fcae05);
    margin: 1rem auto;
    border-radius: 2px;
}

.mission-text {
    font-size: 1.2rem;
    color: #616569;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.stats-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.modern-stats-card {
    background: white;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    text-align: center;
    border: 3px solid #007933;
}

.modern-stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #90E0F7;
}

.stats-icon {
    font-size: 1.5rem;
    color: #007933;
    margin-bottom: 8px;
}

.stats-no {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fcae05;
    display: block;
    line-height: 1;
}

.stats-label {
    color: #616569;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
    margin-top: 0.5rem;
}

/* CTA Section */
.modern-cta {
    background: linear-gradient(135deg, #007933 0%, #90E0F7 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave-animation svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: wave 4s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.modern-btn-ghost {
    background: transparent;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.4s ease;
    margin: 0 5px;
}

.modern-btn-ghost:hover {
    background: white;
    color: #007933;
    transform: translateY(-2px);
    text-decoration: none;
}

.modern-btn-ghost-alt {
    background: rgba(255, 255, 255, 0.1);
}

.modern-btn-ghost-alt:hover {
    background: white;
    color: #90E0F7;
}

/* Features Section */
.modern-features {
    background: white;
    position: relative;
}

.modern-feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border: none;
}

.modern-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #007933, #90E0F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #007933, #90E0F7);
    border-radius: 50%;
    opacity: 0.2;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.4; }
}

.feature-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content p {
    color: #616569;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-link {
    color: #007933;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: #fcae05;
    text-decoration: none;
    transform: translateX(5px);
}

/* Contact Section */
.modern-contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #90E0F7 30%, #c3cfe2 100%);
    padding: 80px 0;
}

.modern-contact-info {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.contact-info-header h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-header p {
    color: #616569;
    margin: 0;
}

.modern-contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.modern-contact-info .info-item:hover {
    transform: translateX(5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #007933, #90E0F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 121, 51, 0.3);
}

.info-content {
    flex: 1;
    text-align: left;
}

.info-content h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-content p {
    margin: 0;
    color: #616569;
    font-weight: 400;
    line-height: 1.6;
    font-size: 1rem;
}

.modern-contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.contact-form-header h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    color: #616569;
    margin: 0;
}

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

.modern-input, .modern-textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #ddd;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.modern-input:focus, .modern-textarea:focus {
    outline: none;
    border-bottom-color: #007933;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #007933, #90E0F7);
    transition: width 0.3s ease;
}

.modern-input:focus + .input-border,
.modern-textarea:focus + .input-border {
    width: 100%;
}

.modern-submit-btn {
    background: linear-gradient(45deg, #007933, #fcae05);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 121, 51, 0.3);
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 121, 51, 0.4);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation */
.counter-animate {
    transition: all 2s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-hero {
        min-height: 80vh;
        text-align: center;
    }

    .logo-container {
        padding: 20px 25px;
        margin-bottom: 1.5rem;
        border-radius: 20px;
    }

    .logo-pulse {
        max-height: 65px;
    }

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

    .modern-stats-card {
        margin-bottom: 2rem;
    }

    .modern-feature-card {
        margin-bottom: 2rem;
    }

    .modern-btn-ghost {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    .hero-buttons {
        margin-top: 2rem;
    }

    .modern-contact-form {
        margin-top: 2rem;
    }
}
