/* 
=============================================
EINZ EDUCATION - UNIFIED STYLESHEET
=============================================
This stylesheet combines all custom styles for the Einz Education website,
including navigation, components, and sections. All styles are organized
with clear comments to maintain consistency across all pages.
*/
/* 
=============================================
CSS VARIABLES - COLOR DEFINITIONS
=============================================
*/
:root {
    /* Primary Colors */
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --accent: #4cc9f0;
    --accent-dark: #4895ef;
    --warning: #f72585;
    --orange: #ff9e00;
    
    /* Gradients */
    --text-gradient: linear-gradient(135deg, #f72585, #b5179e, #7209b7);
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark), var(--accent));
    
    /* Navigation Colors */
    --nav-bg: var(--primary);
    --nav-text: rgba(255,255,255,0.85);
    --nav-hover: rgba(255,255,255,0.1);
    --nav-active: rgba(255,255,255,0.2);
    --dropdown-bg: white;
    --dropdown-text: #333;
}
/* 
=============================================
GLOBAL STYLES
=============================================
*/
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: #333;
}
/* Container */
.container-mobile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 
=============================================
NAVIGATION STYLES
=============================================
*/
.navbar {
    background: var(--nav-bg) !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    /* Reduced font size by 10% to make space */
    font-size: 1.35rem; 
}

.navbar-nav .nav-link {
    color: var(--nav-text) !important;
    font-weight: 500;
    /* Reduced font size for links */
    font-size: 13px;
    /* Reduced margin and padding for a tighter fit */
    margin: 0 0.1rem;
    padding: 0.4rem 0.5rem !important; 
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    background: var(--nav-hover);
    color: white !important;
}
.navbar-nav .nav-link.active {
    background: var(--nav-active);
    color: white !important;
}
/* Dropdown Menu Styles */
.dropdown-menu {
    background: var(--dropdown-bg);
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    margin-top: 0.3rem;
    min-width: 200px;
    font-size: 14px;
}
.dropdown-item {
    padding: 0.4rem 1rem;
    color: var(--dropdown-text);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.dropdown-item:hover {
    background: var(--primary);
    color: white;
}
.dropdown-item i {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}
.dropdown-header {
    padding: 0.3rem 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dropdown-divider {
    margin: 0.3rem 0;
    border-color: #eee;
}
/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dropdown-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 1rem;
    display: none;
    z-index: 1000;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}
/* Ensure mega menu shows when parent has .show class */
.navbar-nav .nav-item.show .mega-menu {
    display: block;
}
.mega-menu-column {
    padding: 0 0.3rem;
}
.mega-menu-column h6 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}
.mega-menu-column .nav-link {
    color: var(--dropdown-text) !important;
    padding: 0.3rem 0.4rem !important;
    margin: 0;
    border-radius: 0;
    font-size: 14px;
    white-space: nowrap;
    text-align: left;
}
.mega-menu-column .nav-link:hover {
    background: none !important;
    color: var(--primary) !important;
}
.mega-menu-column .nav-link i {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}
/* Login Button */
.login-btn {
    background: var(--warning);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    padding: 0.3rem 1rem;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.login-btn:hover {
    background: #e6007e;
    color: white;
    transform: translateY(-2px);
}
/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}
.navbar-toggler:focus {
    box-shadow: none;
}
/* 
=============================================
COMPONENT STYLES
=============================================
*/
/* Buttons */
.btn-primary-custom {
    background: var(--warning);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    background: #e6007e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(247, 37, 133, 0.3);
}
.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}
/* Badge */
.badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: white;
}
/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Text Gradient */
.text-gradient-instagram {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Stats Card */
.stats-card {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: white;
}
/* Benefits Card */
.benefit-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.benefit-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.benefit-content {
    padding: 30px;
}
.benefit-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}
/* Community Card */
.community-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    color: white;
}
.community-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
/* 
=============================================
SECTION-SPECIFIC STYLES
=============================================
/*
=============================================
HERO SECTION - RESPONSIVE DESIGN
=============================================
*/
.hero-section {
    position: relative;
    min-height: 100vh; /* Default for main page */
    background: var(--gradient);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* For inner pages with minimal content (like founder page) */
.hero-section.compact {
    min-height: 150px; /* Much shorter for inner pages */
    padding: 1.5rem 0; /* Reduced padding */
}

/* For medium content pages */
.hero-section.medium {
    min-height: 50vh;
    padding: 3rem 0;
}

/* Hero section background */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05), transparent 50%);
    z-index: 1;
}

/* Background blobs - responsive sizing */
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

/* Adjust blob sizes for compact hero sections */
.hero-section.compact .hero-bg-blob {
    width: 20px !important;
    height: 20px !important;
}

/* Adjust blob sizes for medium hero sections */
.hero-section.medium .hero-bg-blob {
    width: 40px !important;
    height: 40px !important;
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 80vh; /* Reduce height on tablets */
    }
    
    .hero-section.compact {
        min-height: 120px; /* Slightly shorter on mobile */
        padding: 1rem 0;
    }
    
    .hero-section.medium {
        min-height: 40vh;
        padding: 2rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh; /* Further reduce on mobile */
    }
    
    .hero-section.compact {
        min-height: 100px; /* Even shorter on small mobile */
        padding: 0.75rem 0;
    }
    
    .hero-section.medium {
        min-height: 35vh;
        padding: 1.5rem 0;
    }
    
    /* Further reduce blob sizes on small screens */
    .hero-section.compact .hero-bg-blob {
        width: 15px !important;
        height: 15px !important;
    }
}/* Partnership Section */
.partnership-section {
    background: linear-gradient(135deg, #1a237e, #283593, #3949ab, #5c6bc0);
    position: relative;
    overflow: hidden;
}
.partnership-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.15), transparent 50%);
    z-index: 1;
}
.partnership-container {
    position: relative;
    z-index: 2;
}
.partnership-card {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    color: #ffffff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.partnership-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}
.partnership-card h3 {
    color: white !important;
    font-weight: bold !important;
    margin-bottom: 1rem !important;
}
.partnership-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1rem !important;
}
.partnership-card h5 {
    color: white !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
}
.partnership-card ul {
    color: rgba(255, 255, 255, 0.8) !important;
    padding-left: 1.25rem !important;
}
.partnership-card ul li {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 0.5rem !important;
}
.partnership-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    margin-bottom: 1.2rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
.partnership-subtitle {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
.partnership-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.2rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
.partnership-highlight {
    color: #FFD700 !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
.investment-card {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease !important;
    color: white !important;
}
.investment-card:hover {
    transform: translateY(-3px) !important;
}
.investment-card .text-warning {
    color: var(--warning) !important;
}
.investment-card .text-white {
    color: white !important;
}
.investment-card .text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}
.investment-card .small {
    font-size: 0.875rem;
}
.investment-amount {
    color: #FFD700 !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
.investment-label {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
.revenue-highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 255, 255, 0.1)) !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
}
.revenue-percentage {
    color: #FFD700 !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
.deadline-card {
    background: rgba(220, 53, 69, 0.2) !important;
    border: 1px solid rgba(220, 53, 69, 0.4) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    text-align: center !important;
    margin-bottom: 16px !important;
}
.deadline-warning {
    color: #ff6b6b !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
.deadline-date {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
.cta-button {
    background: linear-gradient(135deg, #FFD700, #FFA000) !important;
    color: #1a237e !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
}
.cta-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4) !important;
}
.cta-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}
.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
}
.section-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
.section-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem !important;
    max-width: 800px !important;
    margin: 0 auto 3rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
.bullet-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 1.5rem !important;
}
.bullet-item {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 0.8rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
.bullet-icon {
    color: #FFD700 !important;
    margin-right: 0.8rem !important;
    flex-shrink: 0 !important;
    margin-top: 0.2rem !important;
}
.support-title, .responsibility-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
.title-icon {
    margin-right: 0.8rem !important;
    color: #4CAF50 !important;
}
.responsibility-icon {
    margin-right: 0.8rem !important;
    color: #2196F3 !important;
}
/* 
=============================================
TEXT COLOR CLASSES
=============================================
*/
.text-white {
    color: white !important;
}
.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}
.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}
.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}
.text-warning {
    color: var(--warning) !important;
}
.text-danger {
    color: #dc3545 !important;
}
.text-primary-light {
    color: rgba(67, 97, 238, 0.7) !important;
}
/* 
=============================================
BACKGROUND COLOR CLASSES
=============================================
*/
.bg-primary {
    background-color: var(--primary) !important;
}
.bg-warning {
    background-color: var(--warning) !important;
}
.bg-blue {
    background-color: #0d6efd !important;
}
.bg-gradient {
    background: var(--gradient) !important;
}
/* 
=============================================
ANIMATION STYLES
=============================================
*/
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 
=============================================
RESPONSIVE STYLES
=============================================
*/
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 0.5rem 0;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.4rem 0.8rem !important;
        font-size: 14px;
        display: inline-block;
    }
    
    .dropdown-menu {
        background: transparent;
        box-shadow: none;
        padding: 0;
        max-width: 100%;
        border: none;
        margin-top: 0;
        text-align: center;
    }
    
    .dropdown-item {
        padding: 0.4rem 0.8rem;
        color: rgba(255,255,255,0.85) !important;
        font-size: 14px;
        display: inline-block;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .mega-menu {
        position: static;
        box-shadow: none;
        padding: 0.5rem 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        background: transparent;
        text-align: center;
    }
    
    .navbar-nav .nav-item.show .mega-menu {
        display: block;
    }
    
    .mega-menu-column .nav-link {
        color: rgba(255,255,255,0.85) !important;
        padding: 0.3rem 0.8rem !important;
        display: inline-block;
    }
    
    .mega-menu-column .nav-link:hover {
        color: white !important;
    }
    
    .mega-menu-column h6 {
        color: rgba(255,255,255,0.9);
        padding: 0.3rem 0.8rem;
        text-align: center;
    }
    
    /* Login dropdown mobile fix */
    .login-dropdown {
        margin-top: 0.5rem;
    }
    
    .login-dropdown .dropdown-menu {
        text-align: center;
    }
    
    .login-dropdown .dropdown-item {
        display: block;
        text-align: left;
    }
    
    .login-btn {
        display: inline-block;
        margin: 0.5rem auto;
    }
}

/* Adjust container padding for navbar */
.navbar .container {
    max-width: 100%;
    padding: 0 0.5rem;
}

@media (min-width: 1200px) {
    .navbar .container {
        max-width: 1140px;
        padding: 0 1rem;
    }
}

@media (min-width: 1400px) {
    .navbar .container {
        max-width: 1320px;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.5rem !important;
    }
    
    .benefit-card {
        margin-bottom: 40px;
    }
    
    .partnership-card {
        margin-bottom: 24px;
    }
}


/* Add this to your style.css file */

/* Exclude forms and form elements from animation */
form, 
form input,
form textarea,
form select,
form button,
form label,
.form-container,
.form-container * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Specifically override animate-on-scroll for forms */
.animate-on-scroll form,
.animate-on-scroll .form-container,
.animate-on-scroll form *,
.animate-on-scroll .form-container * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Ensure form containers are always interactive */
.form-container,
form {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 100 !important;
}

/* Ensure form inputs are always interactive */
form input,
form textarea,
form select,
form button {
    pointer-events: auto !important;
    cursor: text !important;
    user-select: text !important;
}

form button,
form input[type="button"],
form input[type="submit"] {
    cursor: pointer !important;
}