/* Page styles for strategic-project-management.html
   Moved verbatim from the page's <style> block, plus extracted inline styles below. */

:root {
    --primary: #7B0000;
    /* Elite Maroon */
    --primary-dark: #5a0000;
    --secondary: #C5A021;
    /* Matte Gold */
    --secondary-light: #e0b93d;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --text-main: #121212;
    --text-muted: #555;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Components --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(123, 0, 0, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 0, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.section-padding {
    padding: 5rem 0;
}

/* --- Header --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-group img {
    height: 30px;
    object-fit: contain;
}

.logo-group img[alt*="IIT"] {
    height: 65px;
}

.divider {
    width: 1px;
    height: 30px;
    background: #ddd;
}

/* --- Hero --- */
.hero {
    position: relative;
    background: #050505;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: 3rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(123, 0, 0, 0.3) 0%, transparent 60%),
        linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    background: rgba(197, 160, 33, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* --- Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- Curriculum --- */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    background: white;
}

.accordion-header i {
    font-style: normal;
    font-size: 1.5rem;
    color: var(--secondary);
    transition: transform 0.3s;
}

.accordion-content {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    background: #fafafa;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 1.5rem 2.5rem 2.5rem;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content ul {
    list-style: none;
}

.accordion-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.accordion-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background: var(--secondary);
}

/* --- Cards Section --- */
.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.benefit-card {
    background: var(--bg-alt);
    padding: 3.5rem;
    border-radius: 30px;
    transition: var(--transition);
}

.benefit-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.check {
    color: var(--secondary);
    font-weight: bold;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 40px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-banner p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
footer {
    background: #0a0a0a;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logos img {
    height: 45px;
    margin-right: 2rem;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

/* --- Animations --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1.2rem;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .spm-hero-meta {
        margin-top: 2.5rem;
        gap: 1.25rem 2rem;
    }

    .stats-grid {
        margin-top: 0;
        padding-top: 2rem;
    }

    .benefit-card {
        padding: 2.5rem 1.5rem;
    }

    .accordion-header {
        padding: 1.25rem 1.25rem;
        font-size: 1rem;
    }

    .accordion-content {
        padding: 0 1.25rem;
    }

    .accordion-item.active .accordion-content {
        padding: 1.25rem 1.25rem 1.75rem;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
    }

    .cta-banner h2 {
        font-size: 2.2rem;
    }

    .spm-price {
        font-size: 2rem;
    }

    .spm-cta-apply {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        max-width: 100%;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-btn {
        display: none;
    }

    .logo-group {
        gap: 1rem;
    }

    .logo-group img[alt*="IIT"] {
        height: 48px;
    }
}

/* --- Extracted inline styles (formerly style="..." attributes) --- */

/* Header "Join the Cohort" nav button */
.spm-btn-compact {
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
    min-height: 42px;
}

/* Gold accent text (hero h1 span, next-cohort date) */
.spm-text-gold {
    color: var(--secondary);
}

/* Hero cohort/deadline row */
.spm-hero-meta {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
}

/* "Next Cohort" / "Deadline" labels */
.spm-meta-label {
    opacity: 0.6;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* Cohort/deadline date values */
.spm-meta-value {
    font-size: 1.2rem;
}

/* Stats section wrapper */
.spm-stats-section {
    padding-bottom: 5rem;
}

/* Program Experience section background */
.spm-bg-alt {
    background: var(--bg-alt);
}

/* Program Experience feature grid */
.spm-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 3rem;
}

/* Program Experience feature cards */
.spm-feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

/* Feature card headings */
.spm-feature-title {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Muted body text */
.spm-text-muted {
    color: var(--text-muted);
}

/* Capstone project description */
.spm-capstone-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA banner price line */
.spm-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 2rem;
}

/* "/month" suffix in price */
.spm-price-unit {
    font-size: 1rem;
    opacity: 0.6;
}

/* CTA "Apply Now" button */
.spm-cta-apply {
    border-radius: 50px;
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
    background: white;
    color: var(--primary);
}

/* Footer right column */
.spm-text-right {
    text-align: right;
}

/* Footer copyright line */
.spm-footer-copy {
    text-align: center;
    opacity: 0.4;
    font-size: 0.9rem;
}

/* Footer brand line (bottom-left) + site credit (bottom-right) */
.footer-grid { flex-wrap: wrap; gap: 8px 24px; margin-bottom: 1.2rem; }
.spm-footer-brand { margin: 0; opacity: .75; font-size: .95rem; }
.spm-footer-credit { margin: 0; opacity: .75; font-size: .9rem; }
.spm-footer-credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.spm-footer-credit a:hover { opacity: .8; }
