/* ==========================================================
   BASIC RESET
   This removes the default spacing browsers add so our
   sizes are easier to control.
========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    /* This pushes the page content down so it is not hidden
       behind the sticky navigation bar at the top */
    padding-top: 50px;
}


/* ==========================================================
   HEADER SECTION
   Soft Romanian-flag blue background, comfortable on the eyes
========================================================== */
.main-header {
    background-color: #2E5AAC;   /* soft comfortable blue */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

/* Holds both logos together on the left side */
.header-logos {
    display: flex;
    gap: 15px;
}

/* The circle that holds each logo */
.logo-circle {
    width: 120px;              /* made bigger than before */
    height: 120px;
    border-radius: 50%;      /* this makes the box a circle */
    background-color: black;
    overflow: hidden;         /* keeps the image inside the circle */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The middle text: title and subtitle */
.header-text {
    text-align: center;
    color: white;
}

.header-text h1 {
    font-size: 85px;
}

.header-text p {
    font-size: 20px;
    margin-top: 5px;
}

/* The Apply Now and Login buttons in the header */
.header-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* ==========================================================
   GENERAL BUTTON STYLES
   Every button on the page uses the ".btn" class, then a
   second class gives it its own color
========================================================== */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 25px;      
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-blue {
    background-color: #3B82F6; /* shiny light blue */
}

.btn-red {
    background-color: #E63946; /* shiny red */
}

.btn-green {
    background-color: #4CAF50; /* light green */
}

.btn-darkblue {
    background-color: #1B3A6B; /* dark blue */
}


/* ==========================================================
   NAVIGATION SECTION
   This bar stays on top of the page even when scrolling
========================================================== */
.main-nav {
    background-color: #2E5AAC;
    position: fixed;      /* keeps the nav bar always on screen */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 40px;
    z-index: 100;          /* keeps the nav bar above other content */
}


.nav-list {
    list-style: none;      
    display: flex;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-size: 19px;    
    font-weight: bold;   
}

.nav-list a:hover {
    text-decoration: underline;
}

/* ==========================================================
   PROGRAMS DROPDOWN MENU
   Shows the list of Program steps when hovering over
   "Programs" in the navigation bar
========================================================== */
.has-dropdown {
    position: relative;   /* so the dropdown-menu can position itself under this link */
}

.dropdown-menu {
    display: none;             /* hidden until the user hovers */
    list-style: none;
    position: absolute;
    top: 100%;                 /* sits right below the "Programs" link */
    left: 0;
    background-color: #2E5AAC;
    min-width: 260px;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.has-dropdown:hover .dropdown-menu {
    display: block;             /* reveal the dropdown on hover */
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: normal;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #1B3A6B;
}

/* Search bar in the navigation */
.search-form {
    display: flex;
}

.search-form input {
    padding: 6px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.search-form button {
    padding: 6px 10px;
    border: none;
    background-color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* ==========================================================
   BODY SECTION
========================================================== */

.hero-section {
    background-color: #ffffff;
    text-align: center;
    padding: 3rem 1.5rem;
}

.main-title {
    font-size: 2.2rem;
    color: #0b2545;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-cards-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.preview-card {
    width: 100px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .preview-card img {
        width: 100%;
        height: 120%;
        object-fit: cover;
    }

.main-preview-card {
    width: 150px;
    height: 150px;
}

/* ======================================================
   INTRO SECTION
======================================================= */
.intro-section {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.intro-text {
    font-size: 1.1rem;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid #007bff;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #0b2545;
}

/* ======================================================
   COVERAGE SECTION
======================================================= */
.coverage-section {
    background-color: #eef2f7;
    padding: 3rem 1.5rem;
}

.section-title {
    text-align: center;
    color: #0b2545;
    font-size: 1.8rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.coverage-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.coverage-item {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ======================================================
   BENTO GRID STRUCTURE
======================================================= */
.structure-section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.bento-card {
    padding: 1.5rem;
    border-radius: 10px;
}

.card-dark {
    background-color: #134074;
    color: #ffffff;
}

.card-light {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.card-green {
    background-color: #2a9d8f;
    color: #ffffff;
}

.card-light-large {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    grid-column: span 1;
}

.illustration-placeholder {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #888888;
    font-style: italic;
}

/* ======================================================
   DIFFERS & DIMENSIONS
======================================================= */
.differs-section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.differs-banner {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.differs-tags {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.pill-tag {
    background-color: #e0e1dd;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.dimension-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
}

    .dimension-card h3 {
        color: #0b2545;
        margin-bottom: 0.5rem;
    }

    .dimension-card ul {
        margin-top: 1rem;
        padding-left: 1.2rem;
    }

    .dimension-card li {
        margin-bottom: 0.4rem;
    }

/* ======================================================
   OUTCOMES SECTION
======================================================= */
.outcomes-section {
    background-color: #ffffff;
    padding: 3rem 1.5rem;
}

.outcomes-list {
    max-width: 900px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}

.check-icon {
    color: #2a9d8f;
    font-weight: bold;
}


/* ==========================================================
   FOOTER SECTION
========================================================== */
.main-footer {
    background-color: #2E5AAC;
    color: white;
    display: flex;
    padding: 40px;
    position: relative;
}

.footer-left,
.footer-right {
    flex: 1;
    padding: 0 30px;
}

.footer-left h3 {
    margin-bottom: 15px;
}

.footer-left p {
    margin-bottom: 8px;
}

/* Thin white line between the two footer sections */
.footer-divider {
    width: 1px;
    background-color: white;
}

.footer-right {
    display: flex;
    flex-direction: column;
}

.footer-right a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-right a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 15px;
    font-size: 14px;
}

/* Small logo circle in the corner of the footer */
.footer-logo {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================
   EPHE INSTITUTE LINK
   Every place the words "EPHE Institute" appear as a link
========================================================== */
.ephe-link {
    color: inherit;       /* keeps the same text color as the paragraph */
    font-weight: bold;
}
