/* style.css */
:root {
    --bg-color: #050b14;
    --primary-glow: #007bff;
    --secondary-glow: #8a2be2;
    --text-main: #ffffff;
    --text-muted: #b0b8c1;
    --whatsapp-color: #25D366;
    --accent-gold: #F4C300;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    position: relative;
    padding: 20px 0; /* Ensures scroll padding */
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

/* Glow Orbs */
body::before, body::after {
    content: '';
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    opacity: 0.3;
}

body::before {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary-glow);
}

body::after {
    bottom: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: var(--secondary-glow);
}

.maintenance-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    margin: auto; /* Replaces body justify/align for center but allows scroll */
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 40px;
    backdrop-filter: blur(5px);
}

/* Header */
.m-header {
    animation: fadeInDown 1s ease-out;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1rem;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Main Content Container */
.m-main {
    display: flex;
    flex-direction: column;
    gap: 40px; /* This spaces out the sections inside main */
}

/* Hero */
.m-hero {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.main-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
}

.sub-heading {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 10px;
}

.support-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* Loader */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Increased gap */
    margin-bottom: 10px; /* Spacer below it */
    animation: fadeIn 1s ease-out 0.6s both;
}

.glowing-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-glow);
    border-radius: 50%;
    animation: spin 1s linear infinite, glow 2s ease-in-out infinite;
}

.loader-text {
    font-size: 0.9rem;
    color: var(--primary-glow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    animation: pulse 1.5s infinite;
}

/* Highlight Message */
.highlight-message {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    font-size: 1.1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
    transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-message:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.3);
}

.highlight-icon {
    font-size: 2.5rem;
}

.highlight-message strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 5px;
    font-size: 1.3rem;
    font-family: 'Outfit', sans-serif;
}

/* Trust Elements */
.trust-elements {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.trust-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
}

.trust-item i {
    color: var(--primary-glow);
}

/* Countdown Section */
.countdown-section {
    margin: 10px 0;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.countdown-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    min-width: 90px;
    padding: 15px 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box span {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.time-box small {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 10px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.02);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.address, .phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.address i, .phone i {
    color: var(--primary-glow);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20b858;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Footer */
.m-footer {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    animation: fadeIn 1s ease-out 1s both;
}

.footer-academy {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
}

.footer-tagline {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin: 5px 0 10px;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* Sticky WhatsApp */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s;
    animation: float 3s ease-in-out infinite;
    text-decoration: none;
}

.sticky-whatsapp:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px var(--primary-glow); }
    50% { box-shadow: 0 0 20px var(--primary-glow), 0 0 30px var(--secondary-glow); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Media Queries */
@media (max-width: 768px) {
    .maintenance-container { padding: 30px 15px; gap: 30px; }
    .m-main { gap: 30px; }
    .logo-text { font-size: 2rem; }
    .main-heading { font-size: 1.8rem; }
    .highlight-message { flex-direction: column; text-align: center; gap: 10px; }
    .contact-details { gap: 15px; flex-direction: column; align-items: center; text-align: center;}
    .cta-buttons { flex-direction: column; width: 100%; gap: 15px; }
    .btn { width: 100%; justify-content: center; }
    .countdown-timer { flex-wrap: wrap; }
    .time-box { min-width: 75px; padding: 10px; }
    .time-box span { font-size: 1.8rem; }
    .sticky-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .maintenance-container { padding: 20px 10px; gap: 20px; }
    .m-main { gap: 25px; }
    .logo-text { font-size: 1.6rem; }
    .tagline { font-size: 0.85rem; }
    .main-heading { font-size: 1.5rem; }
    .sub-heading { font-size: 1rem; }
    .support-text { font-size: 0.9rem; }
    .highlight-icon { font-size: 2rem; }
    .highlight-message strong { font-size: 1.1rem; }
    .trust-elements { gap: 10px; }
    .trust-item { font-size: 0.85rem; padding: 8px 15px; }
}
