/* 
   Maattam.ai Global Stylesheet
   Theme: Professional White & Blue
*/

:root {
    /* Primary Brand Colors - Change these to update the site instantly */
    --primary-blue: #0056b3;
    --primary-dark: #003d80;
    --accent-green: #22c55e;
    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    
    /* Text Colors */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;

    /* Shadows & Borders */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --border-color: #e2e8f0;
    --radius: 12px;
}

/* Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-light); 
    color: var(--text-main); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { 
    color: var(--text-main); 
    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 1.5rem; 
}
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; border-bottom: 2px solid var(--primary-blue); display: inline-block; padding-bottom: 0.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary-blue); }

p { margin-bottom: 1rem; color: var(--text-muted); }

/* Layout Containers */
.section-padding { padding: 80px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
/* 3-Column Grid (Common for Course Highlights) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 4-Column Grid (Common for Mentors/Small Features) */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* Shadow Boxes */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

/* Lists - Standard (For Blogs) */
.blog-list {
    margin: 1.5rem 0;
    list-style-type: disc;
    padding-left: 1.5rem;
}
.blog-list li { margin-bottom: 0.75rem; color: var(--text-muted); }

/* Lists - Column Style (For Course Syllabus) */
.syllabus-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    list-style: none;
    margin-top: 1rem;
}
.syllabus-list li {
    font-size: 0.9rem;
    padding: 0.5rem;
    background: var(--bg-alt);
    border-radius: 6px;
    display: flex;
    align-items: center;
}
.syllabus-list li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
    margin-right: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}
.btn-primary { background: var(--primary-blue); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-whatsapp { background: var(--accent-green); color: var(--white); }

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Menu (Hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 260px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    z-index: 1001;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border: 1px solid var(--border-color);
}

/* Dropdown Links */
.dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--bg-alt);
    color: var(--primary-blue);
}

/* Show Menu on Hover (Desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Indicator Arrow */
.dropdown > a::after {
    content: ' ▾';
    font-size: 0.7rem;
    vertical-align: middle;
}

/* Mobile Adjustments for Dropdown */
@media (max-width: 992px) {
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        background: var(--bg-alt);
    }
    .nav-menu.active .dropdown:hover .dropdown-content {
        display: block;
    }
}
.faq-wrapper {
    margin-top: 2.5rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 25px;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin-top: 0.7rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

footer {
    background: #0f172a;
    color: #cbd5f5;
    padding: 60px 5% 20px; margin-top: 40px;
}

/* Responsive Utility */
@media (max-width: 768px) {
    .section-padding { padding: 50px 5%; }
    h1 { font-size: 2rem; }
}
