/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #e8f8f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
    margin: 0 auto;
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scaleX(1); }
    50% { opacity: 0.7; transform: scaleX(1.1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Scroll animations */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Partners Page Specific Styles */
.partners-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(44, 62, 80, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    font-size: 3rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    position: relative;
    padding: 0 20px;
}

.partner {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.partner:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.partner:hover::before {
    transform: scaleX(1);
}

.partner-logo-container {
    position: relative;
    width: 280px;
    height: 200px;
    margin: 0 auto 35px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px;
}

.partner:hover .partner-logo-container {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    border-radius: 8px;
}

.partner:hover .partner-logo {
    transform: scale(1.05);
}

.partner h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.partner h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.partner p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 0;
    text-align: justify;
    padding: 0 20px;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.partner {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.partner-logo-container {
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
    animation-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .partners-section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .partner {
        padding: 30px;
        margin-bottom: 40px;
    }

    .partner-logo-container {
        width: 240px;
        height: 160px;
        padding: 15px;
    }

    .partner h3 {
        font-size: 1.8rem;
    }

    .partner p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .partner-logo-container {
        width: 200px;
        height: 140px;
        padding: 10px;
    }

    .partner {
        padding: 20px;
    }

    .partner h3 {
        font-size: 1.6rem;
    }

    .partner p {
        font-size: 1rem;
        padding: 0 5px;
    }
}

/* Gradient Background */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    height: auto;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Ensure main content doesn't overlap footer */
main {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Enhanced Footer - Match other pages */
footer {
    background: var(--background-alt, #f8f9fa) !important;
    padding: 3rem 2rem !important; 
    text-align: center !important;
    color: var(--text-light, #6c757d) !important;
    border-top: 1px solid var(--border-light, #e9ecef) !important; 
    margin-top: 5rem !important; 
    font-size: 0.9rem !important;
    display: block !important;
    width: 100% !important;
    clear: both !important;
    z-index: 10 !important;
}

footer p {
    margin: 0 !important;
    color: var(--text-light, #6c757d) !important;
} 