/* ============================================
   EMINENCE INTERNATIONAL SCHOOL - COMING SOON
   Premium Landing Page Styles
   ============================================ */

/* --- CSS Custom Properties (Color Palette — Light Theme) --- */
:root {
    --primary-navy: #1a365d;
    --primary-blue: #2c5282;
    --accent-gold: #b8862d;
    --accent-gold-light: #d4a853;
    --accent-gold-dark: #966b1e;
    --text-light: #1a202c;
    --text-muted: #4a5568;
    --text-dark: #1a202c;
    --bg-body: #f8f9fc;
    --bg-section-alt: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(26, 54, 93, 0.1);
    --card-bg: rgba(255, 255, 255, 0.8);
    --shadow-soft: 0 8px 32px rgba(26, 54, 93, 0.08);
    --shadow-glow: 0 0 40px rgba(212, 168, 83, 0.2);
    --gradient-hero: linear-gradient(135deg, #f8f9fc 0%, #edf2f7 50%, #f0f4f8 100%);
    --gradient-accent: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Global Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--accent-gold-light);
    color: #ffffff;
}

/* --- Animated Background Blobs --- */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.06) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
    top: 50%;
    right: -5%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.05) 0%, transparent 70%);
    bottom: -10%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.blob-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
    top: 20%;
    left: 50%;
    animation-delay: -15s;
    animation-duration: 28s;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(50px, 30px) scale(1.05);
    }
}

/* --- School Name (below hero logo) --- */
.school-name-hero {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary-navy);
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding: 80px 0 60px;
}

.hero-logo {
    width: 130px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(26, 54, 93, 0.15));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

/* --- Countdown Timer --- */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-card {
    background: var(--bg-section-alt);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    min-width: 90px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.countdown-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    border-color: var(--accent-gold-light);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.6rem;
    font-weight: 500;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    padding: 0 0.3rem;
    margin-bottom: 1.5rem;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* --- Notify Me Form --- */
.notify-form-container {
    max-width: 520px;
    margin: 0 auto;
}

.notify-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.notify-form .input-group {
    background: var(--bg-section-alt);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 5px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.notify-form .input-group:focus-within {
    border-color: var(--primary-navy);
    box-shadow: 0 0 20px rgba(26, 54, 93, 0.12);
}

.notify-form .form-control {
    background: transparent;
    border: none;
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.notify-form .form-control::placeholder {
    color: #a0aec0;
}

.notify-form .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.notify-btn {
    background: var(--gradient-accent);
    border: none;
    border-radius: 50px !important;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.notify-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(26, 54, 93, 0.3);
    color: #ffffff;
}

.notify-btn:active {
    transform: scale(0.98);
}

.form-feedback {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 1.2rem;
}

.form-feedback.success {
    color: #16a34a;
}

.form-feedback.error {
    color: #dc2626;
}

/* --- About Section --- */
.about-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--bg-section-alt);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-body);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 54, 93, 0.2);
    box-shadow: 0 16px 48px rgba(26, 54, 93, 0.12), var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-size: 1.8rem;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.25);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.8rem;
}

.feature-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Social Section --- */
.social-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-section-alt);
    border: 1px solid var(--glass-border);
    color: var(--primary-navy);
    font-size: 1.4rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: #ffffff;
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    box-shadow: 0 10px 30px rgba(220, 39, 67, 0.4);
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

/* --- Footer --- */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 60px 0 30px;
    background: var(--bg-section-alt);
    border-top: 1px solid var(--glass-border);
}

.footer-logo-container {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-contact {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-divider {
    border-color: var(--glass-border);
    margin: 1.5rem 0;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Responsive Design --- */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-logo {
        width: 100px;
    }

    .countdown-container {
        gap: 0.35rem;
        flex-wrap: nowrap;
        padding: 0 0.5rem;
    }

    .countdown-card {
        padding: 0.85rem 0.55rem;
        min-width: 0;
        flex: 1 1 0;
        border-radius: 12px;
    }

    .countdown-value {
        font-size: 1.75rem;
    }

    .countdown-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
        margin-top: 0.5rem;
    }

    .countdown-separator {
        font-size: 1.45rem;
        padding: 0 0.15rem;
        margin-bottom: 1.3rem;
        flex-shrink: 0;
    }

    .notify-form .input-group {
        flex-direction: column;
        border-radius: 16px;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .notify-form .input-group .form-control {
        width: 100%;
        flex: none;
        border-radius: 50px !important;
        padding: 0.9rem 1.5rem;
    }

    .notify-btn {
        width: 100%;
        flex: none;
        border-radius: 50px !important;
        padding: 0.9rem 2rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .countdown-container {
        gap: 0.25rem;
    }

    .countdown-card {
        padding: 0.75rem 0.4rem;
        border-radius: 10px;
    }

    .countdown-value {
        font-size: 1.55rem;
    }

    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 0.75px;
    }

    .countdown-separator {
        font-size: 1.25rem;
        margin-bottom: 1.15rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .footer-contact {
        font-size: 0.82rem;
    }
}

/* --- Utility Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-navy);
}
