/* Custom properties for easy color changes */
:root {
    --primary-color: #5d0ec0; /* Deep Purple */
    --secondary-color: #ff6f00; /* Vibrant Orange */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --background-light: #ffffff;
    --background-dark: #1f053e; /* Darker shade of primary for footer/promo */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --bg-dark-footer: #282828;
    --text-footer: #fff;
}

/* Base Styles and Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-color); 
    overflow-x: hidden;
    position: relative; 
    padding-top: 1px; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* background-color: var(--primary-color); */

}

/* Animated Background Layer */
.animated-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%); 
    z-index: -1;
    animation: pulseGlow 15s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Typography & Emphasis */
h2 { font-size: 3.8rem; font-weight: 800; color: var(--text-light); }
.section-title { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 40px; }
.section-title .highlight { color: var(--primary-color); font-weight: 800; border-bottom: 3px solid var(--secondary-color); padding-bottom: 5px; display: inline-block; }
.text-primary { color: var(--primary-color); font-weight: 700; }
.text-orange { color: var(--secondary-color); }
.highlight-orange { color: var(--secondary-color); font-weight: 700; }

/* --- Header & Navigation --- */
/* header { background-color: var(--background-light); box-shadow: var(--shadow-light); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; color: var(--primary-color); }
nav { display: flex; align-items: center; flex-wrap: wrap; }
nav a { color: var(--text-dark); text-decoration: none; margin-left: 18px; font-weight: 600; transition: color 0.3s ease; }
nav a:hover { color: var(--secondary-color); } */

/* 1. Change the header background from white to deep violet */
header { 
    background-color: var(--primary-color); /* CHANGED from --background-light */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Slightly darker shadow for contrast */
    padding: 10px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
header .container { 
    margin-top: 7px;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* 2. Change the logo text color to light white/f4f4f4 */
.logo { 
    font-size: 1.5rem; 
    color: var(--text-light); /* CHANGED from --primary-color */
}

/* 3. Change all standard navigation links to light white/f4f4f4 */
nav a { 
    color: var(--text-light); /* CHANGED from --text-dark */
    text-decoration: none; 
    margin-left: 18px; 
    font-weight: 600; 
    transition: color 0.3s ease; 
}
/* Ensure hover remains vibrant orange */
nav a:hover { 
    color: var(--secondary-color); 
}

.auth-button {
    text-decoration: none; 
    display: inline-block; 
    padding: 8px 18px; 
    border-radius: 5px; 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: all 0.3s ease; 
    /* Use margin-left for spacing */
    margin-left: 15px; 
    /* REMOVE margin-top: 20px; from here */
    border: 2px solid var(--text-light); 
}
.login-btn { 
    color: var(--text-light); 
    background: none; 
    padding: 8px 18px; /* Standardize padding here */
    border-radius: 5px;
}
.login-btn:hover { 
    background-color: var(--text-light); 
    color: var(--primary-color); 
}

/* Buttons */
/* .signup-btn { color: var(--text-light) ; background: var(--primary-color); } */
/* .signup-btn:hover { background-color: var(--primary-color); color: var(--text-light); } */
.cta-button { text-decoration: none; display: inline-block; background-color: var(--secondary-color); color: var(--text-light); padding: 10px 25px; border-radius: 5px; font-weight: 600; font-size: 1rem; transition: background-color 0.3s ease, transform 0.2s; margin-left: 25px; border: none;}
.cta-button:hover { background-color: #cc5800; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4); }


/* --- Hero Section --- */
.hero-section { background-color: var(--primary-color); color: var(--text-light); padding: 100px 0 150px; position: relative; z-index: 10; }
.hero-section .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.hero-content { flex: 1.5; max-width: 600px; }
.hero-content p { font-size: 1.5rem; font-weight: 600; opacity: 0.9; margin-bottom: 40px; color: var(--text-light); }
.hero-graphic { flex: 1; min-width: 300px; text-align: right;}
.hero-img { max-width: 100%; height: auto; }


/* --- NEW SECTION: About Us --- */
.about-us-section {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 80px 0 80px;
    position: relative;
    z-index: 11; /* Sits above hero, below free promo */
}
.about-content-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.about-content-box h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}
.about-content-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.about-content-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.manifesto-btn {
    margin-left: 0;
    margin-top: 20px;
}


/* --- Free Exam Promo Styling --- */
.free-exam-section {
    position: relative;
    z-index: 13; /* Highest overlap element */
    margin-top: -100px; 
    padding: 40px 0;
}
.free-content-wrapper {
    background: var(--background-dark); 
    color: var(--text-light);
    padding: 30px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.free-content-wrapper h3 { font-size: 2rem; }
.free-content-wrapper p { font-size: 1.2rem; margin-bottom: 25px; }
.free-exam-btn { padding: 12px 30px; font-size: 1.1rem; font-weight: 700; margin-left: 0; }


/* --- White Content Wrapper & Core Sections --- */
.white-content-wrapper { background-color: var(--background-light); position: relative; z-index: 11; padding-top: 50px; }
.why-choose-section { padding: 0 0 50px; }
.two-column-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; align-items: flex-start; }
.quality-list { list-style: none; }
.quality-list li { margin-bottom: 10px; font-size: 1rem; font-weight: 400; }
.quality-list i { color: var(--secondary-color); margin-right: 10px; }

/* Feature Cards Grid */
.feature-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 10px 0; }
.feature-card-compact { background-color: var(--background-light); border: 1px solid #eee; padding: 25px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; border-left: 5px solid var(--primary-color); }
.feature-card-compact:hover { background-color: #fcfcfc; transform: scale(1.03); box-shadow: 0 12px 25px rgba(93, 14, 192, 0.2); border-left-width: 8px; }
.feature-card-compact i { color: var(--secondary-color); background: rgba(255, 111, 0, 0.08); border-radius: 50%; padding: 10px; margin-bottom: 15px; }

/* Divider */
.divider { border: none; border-top: 1px solid #eee; margin: 40px 0; width: 80%; margin-left: auto; margin-right: auto; }

/* Analytics Detail Section */
.analytics-detail-section { padding: 30px 0 80px; }
.analytics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.analytics-card { background-color: #f7f7f7; padding: 25px; border-radius: 10px; border-bottom: 4px solid var(--secondary-color); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); }

/* Footer & Contact Section */
/* footer { background-color: var(--background-dark); color: var(--text-light); padding: 40px 0; position: relative; z-index: 10; } */
.contact-info-block { text-align: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 20px; }
.contact-email-btn { margin-left: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-links a { color: var(--text-light); text-decoration: none; font-weight: 300; margin-right: 20px; font-size: 0.9rem; }
.copyright { font-size: 0.8rem; opacity: 0.6; margin-top: 10px; }


/* --- Motion Animation (Initial State) --- */
.animate-in,
.about-us-section,
.free-exam-section, 
.why-choose-section, 
.analytics-detail-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1200px) {
    nav a:not(.auth-button, .cta-button) { margin-left: 10px; font-size: 0.9rem; }
}

@media (max-width: 1050px) {
    header .container { flex-direction: column; }
    nav { margin-top: 10px; justify-content: center; }
    nav a { margin: 5px 10px; }
    .analytics-grid, .feature-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
    .two-column-grid { grid-template-columns: 1fr; }
    .analytics-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-links, .social-links { margin-bottom: 15px; }
    .hero-section .container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-graphic { min-width: 100%; text-align: center; }
    .hero-content h2 { font-size: 3rem; }
    .hero-content p { font-size: 1.2rem; }
}

@media (max-width: 576px) {
    .feature-cards-grid { grid-template-columns: 1fr; }
    .cta-button { margin-left: 0; display: block; width: 100%; margin-top: 10px; }
    .nav-cta { display: none; } /* Hide CTA button in mobile nav to save space */
    .about-content-box h2 { font-size: 2rem; }
}



/* ================================================= */
/* CONTACT AND FINAL FOOTER SECTION STYLES */
/* ================================================= */

.contact-us {
    /* Apply the dark background and light text to the main section */
    background-color: var(--bg-style-700); /* Assuming #343a40 */
    color: var(--text-footer); /* Assuming #f8f9fa (light/white) */
    padding: 50px 0;
    text-align: center;
}

.contact-us .container {
    max-width: 900px; /* Constrain width for better readability of text block */
}

/* Contact Info Block */
.contact-info-block {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white divider */
}

.contact-info-block h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: white; /* Ensure headings are bright white */
    margin-bottom: 15px;
}

.contact-info-block p {
    color: var(--light-brand-color); /* Lighter gray for body text */
    margin-bottom: 25px;
}

.contact-info-block .highlight-orange {
    color: var(--secondary-color); /* Orange highlight for the link text */
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-block .highlight-orange:hover {
    color: white;
}

/* Email CTA Button */
.contact-email-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.1em;
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.contact-email-btn:hover {
    background-color: #ffa500;
}

/* Footer Links and Copyright */
.contact-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-foolter-links {
    margin-bottom: 15px;
}

.contact-foolter-links a {
    color: var(--footer-text); /* White links */
    text-decoration: none;
    margin: 0 12px;
    font-size: 0.9em;
    transition: color 0.2s;
}

.contact-foolter-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5); /* Muted white for copyright line */
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .contact-us {
        padding: 40px 0;
    }
    .contact-info-block h3 {
        font-size: 1.5em;
    }
    .contact-foolter-links a {
        display: block; /* Stack links vertically on small screens */
        margin: 5px 0;
    }
}


/* Final Copyright Bar (Site Footer) */
.site-footer {
    /* Uses the darkest background color defined in your variables */
    background-color: var(--bg-dark-footer); 
    color: var(--text-footer); /* Uses white/light text */
    padding: 10px 20px;
    text-align: center;
    font-size: 0.9em;
    width: 100%;
    box-sizing: border-box; 
    /* Ensures the link is separated from the text if it's not wrapped in a block element */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px; /* Space between copyright text and email link */
}

.site-footer a {
    color: var(--secondary-color); /* Uses the highlight orange for the email link */
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff; /* White color on hover for high contrast */
}

