/* --- Variables & Reset --- */
:root {
    /* Brand Colors based on "Innovare" Logo */
    --primary-blue: #0a2540;
    /* Deep Navy Blue */
    --accent-teal: #00b894;
    /* Vibrant Teal/Green */
    --accent-teal-dark: #008f72;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --light-bg: #f5f6fa;
    --whatsapp-green: #25D366;

    /* Typography */
    --font-main: 'Poppins', sans-serif;

    /* Spacing */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn-primary,
.btn-whatsapp,
.btn-whatsapp-large,
.btn-email-large {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--accent-teal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-teal-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    margin-right: 15px;
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* --- Header --- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
}

.logo-img {
    height: 60px;
    /* Adjust to fit navbar */
    width: auto;
    display: block;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.logo-text span {
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--primary-blue);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-teal);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    /* Almost full screen */
    background-image: url('../img/hero_scrum_meeting.png');
    /* Will be generated */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(0, 184, 148, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: left;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-motto {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    color: var(--accent-teal);
    /* Highlight color */
    color: #4cd1c5;
    /* Lighter teal for contrast on dark bg */
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

/* --- Features --- */
.features {
    padding: 60px 0;
    background: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -100px;
    /* Overlap Hero */
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* --- Global Benefits Section --- */
.benefits-global {
    padding: 60px 0 30px;
    background: var(--light-bg);
}

.benefits-box {
    background: var(--white);
    border: 2px dashed rgba(10, 37, 64, 0.15);
    /* Uses primary-blue tint */
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 50px;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.benefit-item i {
    color: var(--accent-teal);
    font-size: 1.3rem;
}

.benefit-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 15px;
}

/* --- Courses Catalog --- */
.courses {
    padding: 60px 0 100px;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
}

.highlight {
    color: var(--accent-teal);
}

/* New Category Layout */
.course-category {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 50px;
    overflow: hidden;
    border-left: 6px solid var(--accent-teal);
    transition: transform 0.3sease;
}

.course-category:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-header {
    padding: 35px 45px;
    background: linear-gradient(to right, rgba(10, 37, 64, 0.04), transparent);
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.cat-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.cat-info h3 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.cat-info p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 850px;
    margin-bottom: 15px;
    /* Added spacing between paragraphs */
}

.cat-info strong {
    color: var(--accent-teal-dark);
}

.benefit-bullets {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefit-bullets li {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-bullets li i {
    color: var(--accent-teal);
    font-size: 1.1rem;
}

.inspiring-quote {
    color: var(--primary-blue) !important;
    font-size: 1.1rem !important;
    font-weight: 600;
    margin-top: 20px !important;
    border-left: 4px solid var(--accent-teal);
    padding-left: 15px;
}

.badg-top-seller {
    display: inline-block;
    font-size: 0.75rem;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: #d63031;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(214, 48, 49, 0.2);
}

.badg-top-seller i {
    margin-right: 4px;
}

.course-list-grid {
    padding: 30px 45px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.course-item {
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 25px;
    transition: 0.2s;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.course-item:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.12);
    transform: translateY(-3px);
}

.course-item h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    flex-grow: 1;
    font-weight: 600;
    line-height: 1.4;
}

.badg-exam {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(0, 184, 148, 0.1);
    color: var(--accent-teal-dark);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.btn-sm {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-sm:hover {
    background: var(--accent-teal);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 184, 148, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .course-list-grid {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- Contact CTA --- */
.contact-cta {
    padding: 80px 0;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.contact-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-buttons-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-whatsapp-large,
.btn-email-large {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.btn-whatsapp-large {
    background-color: var(--whatsapp-green);
}

.btn-whatsapp-large:hover {
    background-color: #1ebc57;
    transform: scale(1.02);
}

.btn-email-large {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
}

.btn-email-large:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* --- Footer --- */
footer {
    background: #051321;
    color: #b2bec3;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-teal);
}

.footer-social a {
    font-size: 1.5rem;
    margin-right: 20px;
}

.footer-social a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-motto {
        font-size: 1.4rem;
    }

    .course-card {
        text-align: center;
    }

    .course-icon {
        margin: 0 auto 20px;
    }
}