/* GENERAL & ROOT STYLES */
:root {
    --primary-orange: #F39C12;
    --dark-navy: #2C3E50;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --text-color: #5D6D7E;
    --heading-color: #2C3E50;
    --border-color: #DEE2E6;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--heading-color);
    font-weight: 700;
}

h1 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.2; }
h2 { font-size: 2.25rem; margin-bottom: 2.5rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* FADE-IN ANIMATION */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER */
.header {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--dark-navy);
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links a {
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 600;
    margin-left: 2rem;
    transition: color .3s ease;
}
.nav-links a:hover { color: var(--primary-orange); }

/* HERO SECTION */
.hero {
    background-color: var(--light-bg);
    text-align: center;
    padding: 6rem 0;
}
.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* CREDIBILITY BAR */
.credibility-bar {
    background-color: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}
.credibility-bar .logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.credibility-bar img {
    height: 40px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.credibility-bar img:hover {
    opacity: 1;
}

/* MEET YOUR GUIDE SECTION */
.guide-section {
    text-align: center;
}
.guide-section .guide-intro {
    max-width: 650px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

/* LEARNING PATHWAY SECTION */
.pathway-section {
    background-color: var(--light-bg);
}
.pathway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.pathway-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.pathway-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-orange);
}
.pathway-card .card-icon {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

/* SIGNUP / COMMUNITY SECTION */
.signup-section {
    background-color: var(--dark-navy);
    color: var(--white);
    text-align: center;
}
.signup-section h2 { 
    color: var(--white); 
}
.signup-section p { 
    color: var(--light-bg); 
    max-width: 600px; 
    margin: 0 auto 2rem; 
}
.signup-section .ml-form-embedWrapper {
    max-width: 500px;
    margin: 0 auto;
    background-color: transparent !important;
}
.signup-section .form-control {
    width: 100%;
    height: 50px;
    font-size: 1.1rem;
    padding: 0 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    color: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; 
}
.signup-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.signup-section .form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.3);
}
.signup-section .btn-primary {
    padding: 0.9rem 1.5rem;
    margin-top: 1rem;
}

/* ABOUT PAGE SPECIFIC & PRIVACY PAGE */
.about-hero {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--light-bg);
}
.about-content-section {
    padding-top: 2rem !important;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.about-content h2 {
    text-align: left;
    margin-top: 3rem;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 0.5rem;
    display: inline-block;
}
.about-content p {
    margin-bottom: 1.5rem;
}
.about-content p a {
    font-weight: 600;
    color: var(--primary-orange);
    text-decoration: none;
}
.about-content p a:hover {
    text-decoration: underline;
}
.expertise-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.expertise-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.expertise-card i {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

/* FOOTER */
.footer {
    background-color: var(--dark-navy);
    color: var(--light-bg);
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #4a5568;
}
.footer h2 {
    color: var(--white);
    margin-bottom: 1rem;
}
.footer p {
    margin-bottom: 0;
}
.footer-links {
    margin: 1.5rem 0;
}
.footer-links a {
    color: var(--light-bg);
    text-decoration: none;
    margin: 0 0.5rem;
}
.footer-links a:hover {
    text-decoration: underline;
}
.link-separator {
    color: var(--text-color);
}
#manage-consent-link {
    cursor: pointer;
}
.social-media {
    margin-bottom: 1.5rem;
}
.social-media a {
    color: var(--light-bg);
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: color .3s ease;
}
.social-media a:hover {
    color: var(--primary-orange);
}
.footer-disclaimer {
    font-size: 0.9rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    opacity: 0.7;
}

/* GDPR CONSENT BANNER */
#gdpr-consent-banner {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-navy);
    color: var(--light-bg);
    padding: 1.5rem;
    z-index: 2000;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    transition: bottom 0.5s ease;
}
.gdpr-consent-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.gdpr-consent-content p {
    margin: 0;
    color: var(--light-bg);
    line-height: 1.6;
}
.gdpr-consent-content a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
}
.gdpr-consent-content a:hover {
    text-decoration: underline;
}
.gdpr-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}
.gdpr-hidden-form {
    display: none !important; /* Initially hides the form */
}

/* RESPONSIVE & MOBILE */
.hamburger-menu { 
    display: none; 
    cursor: pointer; 
    background: transparent;
    border: none;
    padding: 0;
}
.hamburger-menu .bar {
    display: block; width: 25px; height: 3px;
    margin: 5px auto; transition: all .3s ease-in-out;
    background-color: var(--dark-navy);
}
.mobile-nav {
    position: fixed; top: 0; right: -100%; width: 70%;
    height: 100vh; background-color: var(--dark-navy);
    z-index: 999; transition: right .3s ease-in-out;
    display: flex; flex-direction: column;
    align-items: center; padding-top: 5rem;
}
.mobile-nav a {
    color: var(--white); text-decoration: none;
    font-size: 1.5rem; font-weight: 600; margin: 1.5rem 0;
}
.mobile-nav.is-active { right: 0; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    .nav-links { display: none; }
    .hamburger-menu { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; }

    .gdpr-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* DEFINITIVE FIX for mobile header text wrapping */
    .logo-text {
        font-size: 1.2rem; /* Reduce font size for all mobile/tablet views */
    }
    .logo-img {
        height: 40px; /* Slightly smaller logo */
    }
    .logo-container {
        gap: 10px; /* Reduce space between logo and text */
    }
}

@media (min-width: 550px) {
    .signup-section .ml-block-form {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .signup-section .ml-form-formContent {
        flex-grow: 1;
    }
    .signup-section .ml-form-embedSubmit {
        margin-top: 0;
    }
     .signup-section .btn-primary {
        margin-top: 0; 
    }
}

@media (max-width: 549px) {
    .signup-section .btn-primary {
        width: 100%;
        max-width: 300px;
    }
}