/* ============================================================
   TOGETHER Project — Design System & Stylesheet
   European Erasmus+ Research Project Website
   Version: 1.0
   Last updated: 2026-02-17
   ============================================================ */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */
:root {
    /* ── Brand Colors ── */
    --primary: #0D7C66;
    /* Deep teal — sustainability, nature */
    --primary-dark: #095E4E;
    /* Darker teal for hover states */
    --primary-light: #11A385;
    /* Lighter teal for accents */
    --secondary: #1DA1D4;
    /* Sky blue — EU feel, logo cyan arrow */
    --secondary-dark: #1788B4;
    /* Darker blue for hover states */
    --secondary-light: #4DB8DF;
    /* Lighter blue */
    --accent: #D4266E;
    /* Magenta/rose — logo pink arrow */
    --accent-light: #E84D8A;
    /* Lighter magenta */

    /* ── Neutral Colors ── */
    --dark: #0F1B2D;
    /* Very dark navy */
    --dark-soft: #1A2940;
    /* Softer dark for cards/sections */
    --light: #F2F8F6;
    /* Soft mint/sage background */
    --light-alt: #EBF4F1;
    /* Slightly deeper mint for alternating */
    --white: #FFFFFF;
    --text: #2D3748;
    /* Dark grey-blue body text */
    --text-light: #5A6B7F;
    /* Lighter body text */
    --muted: #CBD5E0;
    /* Borders, subtle elements */
    --muted-light: #E8EDF2;
    /* Very light borders */

    /* ── Gradients ── */
    --gradient-primary: linear-gradient(135deg, #0D7C66 0%, #11A385 100%);
    --gradient-secondary: linear-gradient(135deg, #1788B4 0%, #1DA1D4 100%);
    --gradient-dark: linear-gradient(135deg, #0F1B2D 0%, #1A2940 100%);
    --gradient-hero: linear-gradient(160deg, rgba(15, 27, 45, 0.92) 0%, rgba(13, 124, 102, 0.82) 100%);
    --gradient-accent: linear-gradient(135deg, #D4266E 0%, #E84D8A 100%);
    --gradient-cta: linear-gradient(135deg, #0D7C66 0%, #1DA1D4 100%);

    /* ── Typography ── */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* ── Spacing ── */
    --section-padding: 100px 0;
    --section-padding-sm: 60px 0;
    --container-padding: 0 15px;

    /* ── Sizing ── */
    --navbar-height: 80px;
    --border-radius: 10px;
    --border-radius-sm: 6px;
    --border-radius-lg: 16px;
    --border-radius-pill: 50px;

    /* ── Shadows ── */
    --shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.06);
    --shadow-md: 0 4px 20px rgba(15, 27, 45, 0.08);
    --shadow-lg: 0 8px 40px rgba(15, 27, 45, 0.12);
    --shadow-xl: 0 12px 60px rgba(15, 27, 45, 0.16);
    --shadow-card: 0 4px 24px rgba(15, 27, 45, 0.07);
    --shadow-hover: 0 8px 32px rgba(13, 124, 102, 0.15);

    /* ── Transitions ── */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ==========================================================================
   2. BASE & RESET
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip to content link (accessibility) */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    z-index: 100000;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    color: var(--white);
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}


/* Focus-visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1,
.h1 {
    font-weight: 700;
}

h2,
.h2 {
    font-weight: 700;
}

h3,
.h3 {
    font-weight: 700;
}

h4,
.h4 {
    font-weight: 600;
}

h5,
.h5 {
    font-weight: 600;
}

h6,
.h6 {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

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

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.text-muted {
    color: var(--text-light) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

/* Highlight text with accent underline */
.text-highlight {
    position: relative;
    display: inline;
    background-image: linear-gradient(120deg, rgba(13, 124, 102, 0.15) 0%, rgba(13, 124, 102, 0.15) 100%);
    background-repeat: no-repeat;
    background-size: 100% 35%;
    background-position: 0 85%;
}


/* ==========================================================================
   4. SPINNER / LOADER
   ========================================================================== */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: var(--white);
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-grow {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
}


/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--border-radius-pill);
    transition: var(--transition);
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    box-shadow: none;
}

/* Primary button — teal */
.btn-primary {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 124, 102, 0.35);
}

/* Secondary button — blue */
.btn-secondary {
    background: var(--gradient-secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 161, 212, 0.35);
}

/* Accent button — magenta */
.btn-accent {
    background: var(--gradient-accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 38, 110, 0.35);
}

/* Outline buttons */
.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline-secondary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* White button */
.btn-white {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--light);
    border-color: var(--light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Light button */
.btn-light {
    background: var(--light);
    border-color: var(--light);
    color: var(--primary);
}

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

/* Square buttons (icon buttons) */
.btn-square {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: var(--border-radius-pill);
}

.btn-sm-square {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: var(--border-radius-pill);
}

.btn-lg-square {
    width: 50px;
    height: 50px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: var(--border-radius-pill);
}

/* Small pill tag */
.btn-tag {
    font-size: 0.8rem;
    padding: 5px 16px;
    border-radius: var(--border-radius-pill);
    font-weight: 500;
    letter-spacing: 0.03em;
}


/* ==========================================================================
   6. NAVBAR
   ========================================================================== */
.sticky-top {
    top: -150px;
    transition: .5s;
    z-index: 9999;
}

.navbar {
    padding: 12px 0 !important;
    height: var(--navbar-height);
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .navbar-brand img {
    height: 48px;
    width: auto;
}

.navbar .navbar-brand .brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    outline: none;
    position: relative;
    transition: var(--transition-fast);
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 1px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--white);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Dropdown styling */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    font-size: 0.75rem;
}

/* Navbar scrolled state — solid background */
.navbar-scrolled {
    background: var(--dark) !important;
    box-shadow: var(--shadow-md);
}

/* Mobile navbar */
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 15px;
        background: var(--dark);
        border-radius: var(--border-radius);
        margin-top: 10px;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar .navbar-nav .nav-link::after {
        display: none;
    }
}

/* Desktop dropdown */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .4s;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        padding: 12px 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .4s;
        opacity: 1;
    }
}


/* ==========================================================================
   7. HERO HEADER (Landing Page)
   ========================================================================== */
.hero-header {
    margin-top: calc(-1 * var(--navbar-height));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

.hero-header .hero-logo {
    max-width: 160px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-header h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 600px;
}

.hero-header .hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-pill);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll-indicator .scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    margin: 8px auto 0;
    animation: scrollBounce 2.5s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(5px);
        opacity: 1;
    }
}

/* Responsive hero */
@media (max-width: 991.98px) {
    .hero-header h1 {
        font-size: 2.4rem;
    }

    .hero-header {
        min-height: 90vh;
        padding-top: 120px;
    }
}

@media (max-width: 575.98px) {
    .hero-header h1 {
        font-size: 1.9rem;
    }

    .hero-header p {
        font-size: 1rem;
    }

    .hero-header .hero-logo {
        max-width: 120px;
    }
}


/* ==========================================================================
   8. PAGE HEADER (Inner Pages)
   ========================================================================== */
.page-header {
    margin-top: calc(-1 * var(--navbar-height));
    padding: calc(var(--navbar-height) + 60px) 0 60px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, rgba(15, 27, 45, 0.93) 0%, rgba(13, 124, 102, 0.85) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: var(--white);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 575.98px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header {
        min-height: 260px;
    }
}


/* ==========================================================================
   9. SECTION TITLES
   ========================================================================== */
.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 24px;
}

/* Decorative bar under section titles */
.section-title::before {
    position: absolute;
    content: "";
    width: 50px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 8px;
    height: 3px;
    bottom: 0;
    left: 56px;
    background: var(--accent);
    border-radius: 3px;
}

/* Centered section title */
.section-title.text-center::before {
    left: 50%;
    margin-left: -29px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 27px;
}

/* Small label above section title */
.section-label {
    display: inline-block;
    padding: 5px 18px;
    background: rgba(13, 124, 102, 0.08);
    border: 1px solid rgba(13, 124, 102, 0.2);
    border-radius: var(--border-radius-pill);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Section spacing */
.section-padding {
    padding: var(--section-padding);
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: var(--section-padding-sm);
    }
}


/* ==========================================================================
   10. CARDS — General
   ========================================================================== */
.card-custom {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--muted-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 124, 102, 0.15);
}

.card-custom .card-body {
    padding: 28px;
}


/* ==========================================================================
   11. TEAM MEMBER CARDS
   ========================================================================== */
.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--muted-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
    text-align: center;
    padding: 32px 24px;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 124, 102, 0.2);
}

.team-card .team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--light);
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-card:hover .team-photo {
    border-color: var(--primary);
}

.team-card .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Initials placeholder */
.team-card .team-initials {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 4px solid var(--light);
    transition: var(--transition);
}

.team-card:hover .team-initials {
    border-color: var(--primary);
    transform: scale(1.03);
}

.team-card h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.team-card .team-university {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card .team-role {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.team-card .team-bio {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.team-card .team-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-card .team-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.team-card .team-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* University group heading */
.university-group {
    margin-bottom: 48px;
}

.university-group-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 12px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--muted-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.university-group-title .uni-flag {
    font-size: 1.5rem;
}


/* ==========================================================================
   12. NEWS CARDS
   ========================================================================== */
.news-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--muted-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.news-card .news-img {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-card .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-img img {
    transform: scale(1.03);
}

.news-card .news-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .news-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card .news-date i {
    font-size: 0.75rem;
}

.news-card h5 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    flex: 1;
}

.news-card .news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.news-card .news-link:hover {
    gap: 10px;
}

.news-card .news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.news-card .news-tag {
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: var(--border-radius-pill);
    background: rgba(13, 124, 102, 0.08);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* ==========================================================================
   13. TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    padding: 20px 0;
}

/* Central vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--muted-light);
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px;
}

/* Left items */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 50px;
    padding-left: 0;
}

/* Right items */
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 50px;
    padding-right: 0;
}

/* Dot on the line */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
    top: 4px;
    z-index: 2;
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

/* Timeline card */
.timeline-content {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--muted-light);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.timeline-content h5 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.timeline-content .timeline-date {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Phase color coding */
.timeline-item.phase-opening::before {
    background: var(--secondary);
    box-shadow: 0 0 0 3px var(--secondary);
}

.timeline-item.phase-cocreation::before {
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item.phase-data::before {
    background: #F59E0B;
    box-shadow: 0 0 0 3px #F59E0B;
}

.timeline-item.phase-software::before {
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item.phase-integration::before {
    background: #8B5CF6;
    box-shadow: 0 0 0 3px #8B5CF6;
}

.timeline-item.phase-dissemination::before {
    background: #10B981;
    box-shadow: 0 0 0 3px #10B981;
}

/* Current marker */
.timeline-item.current .timeline-content {
    border-color: var(--primary);
    border-width: 2px;
}

.timeline-item.current::after {
    content: 'We are here';
    position: absolute;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--white);
    background: var(--accent);
    padding: 3px 12px;
    border-radius: var(--border-radius-pill);
    white-space: nowrap;
    top: -2px;
}

.timeline-item.current:nth-child(odd)::after {
    right: 18px;
}

.timeline-item.current:nth-child(even)::after {
    left: 18px;
}

/* Responsive timeline */
@media (max-width: 767.98px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        left: 0 !important;
        text-align: left !important;
    }

    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }

    .timeline-item.current::after {
        left: 50px !important;
        right: auto !important;
    }
}


/* ==========================================================================
   14. STATS / COUNTER SECTION
   ========================================================================== */
.stats-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 124, 102, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(29, 161, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    padding: 30px 15px;
    position: relative;
    z-index: 1;
}

.stat-item .stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--secondary-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-item h2 span {
    color: var(--secondary-light);
}

.stat-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 500;
}


/* ==========================================================================
   15. PARTNER LOGOS / UNIVERSITIES
   ========================================================================== */
.partner-item {
    text-align: center;
    padding: 24px 16px;
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-2px);
}

.partner-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 2rem;
    transition: var(--transition);
    border: 2px solid var(--muted-light);
}

.partner-item:hover .partner-logo-placeholder {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.partner-item h6 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.partner-item .partner-country {
    font-size: 0.82rem;
    color: var(--text-light);
}


/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-cta);
}

.footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer a {
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition-fast);
}

.footer a:hover {
    color: var(--white);
}

.footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer .footer-brand img {
    height: 42px;
}

.footer .footer-brand .brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

/* Footer links */
.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    font-size: 0.92rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer .btn.btn-link:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: 0.8rem;
    color: var(--primary);
}

/* Social buttons in footer */
.footer .btn.btn-social {
    margin-right: 8px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-fast);
    font-size: 0.85rem;
}

.footer .btn.btn-social:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* EU funding bar */
.footer .eu-funding {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    margin-top: 20px;
}

.footer .eu-funding img {
    max-height: 50px;
}

.footer .eu-funding p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* Copyright bar */
.footer .copyright {
    padding: 20px 0;
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
}

.footer .copyright a {
    color: rgba(255, 255, 255, 0.5);
}

.footer .copyright a:hover {
    color: var(--white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/* ==========================================================================
   17. BACK TO TOP
   ========================================================================== */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    background: var(--primary-dark);
}


/* ==========================================================================
   18. ACCORDION (FAQs)
   ========================================================================== */
.accordion .accordion-item {
    border: 1px solid var(--muted-light);
    border-radius: var(--border-radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion .accordion-button {
    background: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    padding: 18px 24px;
    border-radius: var(--border-radius) !important;
}

.accordion .accordion-button:not(.collapsed) {
    color: var(--white);
    background: var(--gradient-primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion .accordion-body {
    padding: 20px 24px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ==========================================================================
   19. CTA / NEWSLETTER SECTION
   ========================================================================== */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cta);
    opacity: 0.95;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.cta-section .eu-logo {
    max-height: 60px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--border-radius);
}


/* ==========================================================================
   20. SCREENSHOT SHOWCASE
   ========================================================================== */
.screenshot-showcase .phone-mockup {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.screenshot-showcase .phone-mockup:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(15, 27, 45, 0.25);
}

.screenshot-showcase .phone-mockup img {
    border-radius: 24px;
    width: 100%;
    height: 480px;
    object-fit: contain;
    background: var(--dark);
    display: block;
}

.screenshot-showcase .phone-mockup .phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: var(--dark);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

/* Screenshot grid layout */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.screenshot-grid .phone-mockup:nth-child(2) {
    margin-top: 40px;
}

@media (max-width: 767.98px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .screenshot-grid .phone-mockup:nth-child(2) {
        margin-top: 0;
    }
}


/* ==========================================================================
   21. FACT SHEET / FEATURES GRID
   ========================================================================== */
.fact-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--muted-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.fact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 124, 102, 0.15);
}

.fact-item .fact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(13, 124, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
}

.fact-item:hover .fact-icon {
    background: var(--primary);
    color: var(--white);
}

.fact-item h6 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.fact-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}


/* ==========================================================================
   22. WORK PACKAGE CARDS
   ========================================================================== */
.wp-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    border: 1px solid var(--muted-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.wp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 0 4px 4px 0;
}

.wp-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.wp-card .wp-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13, 124, 102, 0.08);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.wp-card h5 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.wp-card .wp-lead {
    font-size: 0.82rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

.wp-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}


/* ==========================================================================
   23. DISCIPLINE TAGS
   ========================================================================== */
.discipline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.discipline-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--border-radius-pill);
    background: var(--white);
    border: 1px solid var(--muted-light);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.discipline-tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.discipline-tag i {
    font-size: 0.85rem;
    color: var(--primary);
}

.discipline-tag:hover i {
    color: var(--white);
}


/* ==========================================================================
   24. CONTACT FORM
   ========================================================================== */
.contact-form .form-control {
    border: 1px solid var(--muted-light);
    border-radius: var(--border-radius);
    padding: 14px 20px;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition-fast);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 124, 102, 0.12);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: var(--muted);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(13, 124, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item h6 {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}


/* ==========================================================================
   25. COMMUNITY OF PRACTICE
   ========================================================================== */
.cop-feature {
    text-align: center;
    padding: 30px 20px;
}

.cop-feature .cop-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--border-radius-lg);
    background: rgba(13, 124, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}

.cop-feature:hover .cop-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.cop-feature h5 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.cop-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}


/* ==========================================================================
   26. OBJECTIVE CARDS
   ========================================================================== */
.objective-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    border: 1px solid var(--muted-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.objective-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.objective-card .objective-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 20px;
    color: var(--white);
}

.objective-card .objective-number.bg-1 {
    background: var(--gradient-primary);
}

.objective-card .objective-number.bg-2 {
    background: var(--gradient-secondary);
}

.objective-card .objective-number.bg-3 {
    background: var(--gradient-accent);
}

.objective-card h5 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.objective-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 0;
}


/* ==========================================================================
   27. OWL CAROUSEL CUSTOMIZATION
   ========================================================================== */
.screenshot-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.screenshot-carousel .owl-nav .owl-prev,
.screenshot-carousel .owl-nav .owl-next {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition);
}

.screenshot-carousel .owl-nav .owl-prev:hover,
.screenshot-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--white);
}

.screenshot-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.screenshot-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--muted);
    border: none;
    transition: var(--transition);
}

.screenshot-carousel .owl-dot.active {
    width: 28px;
    border-radius: 12px;
    background: var(--primary);
}

/* Showcase caption panel (beside the phone mockup) */
.showcase-captions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.showcase-caption-item {
    padding: 18px 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    opacity: 0.45;
}

.showcase-caption-item:hover {
    background: rgba(13, 124, 102, 0.05);
    opacity: 0.75;
}

.showcase-caption-item.active {
    background: rgba(13, 124, 102, 0.07);
    border-left-color: var(--primary);
    opacity: 1;
}

.showcase-caption-item .caption-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.showcase-caption-item h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--dark);
    transition: var(--transition);
}

.showcase-caption-item.active h5 {
    color: var(--primary-dark);
}

.showcase-caption-item p {
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.55;
}


/* ==========================================================================
   28. GREENCOMP SECTION
   ========================================================================== */
.greencomp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(13, 124, 102, 0.06);
    border: 1px solid rgba(13, 124, 102, 0.15);
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.greencomp-badge:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}


/* ==========================================================================
   29. UTILITY CLASSES
   ========================================================================== */

/* Overlays */
.overlay-dark {
    position: relative;
}

.overlay-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 27, 45, 0.7);
    z-index: 1;
}

.overlay-dark>* {
    position: relative;
    z-index: 2;
}

/* Dividers */
.divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    margin: 16px 0;
}

.divider.center {
    margin-left: auto;
    margin-right: auto;
}

/* Badge styles */
.badge-primary {
    background: rgba(13, 124, 102, 0.1);
    color: var(--primary);
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--border-radius-pill);
    font-size: 0.78rem;
}

.badge-secondary {
    background: rgba(29, 161, 212, 0.1);
    color: var(--secondary);
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--border-radius-pill);
    font-size: 0.78rem;
}

.badge-accent {
    background: rgba(212, 38, 110, 0.1);
    color: var(--accent);
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--border-radius-pill);
    font-size: 0.78rem;
}

/* Subtle pattern background */
.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230D7C66' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Section alternate background */
.bg-light-alt {
    background-color: var(--light-alt);
}

/* Max widths for content */
.max-w-600 {
    max-width: 600px;
}

.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

/* Gradient text */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive spacing helpers */
.py-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.py-section-sm {
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (max-width: 767.98px) {
    .py-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}


/* ==========================================================================
   30. ANIMATIONS & HOVER EFFECTS
   ========================================================================== */

/* Smoother WOW.js animation overrides */
.animated {
    animation-duration: 0.9s !important;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-header .animated {
    animation-duration: 1.1s !important;
}

/* Subtle page entrance */
@keyframes pageIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

main {
    animation: pageIn 0.5s ease-out;
}

/* Fade in up custom */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Image hover zoom */
.img-hover-zoom {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.img-hover-zoom img {
    transition: var(--transition-slow);
}

.img-hover-zoom:hover img {
    transform: scale(1.04);
}


/* ==========================================================================
   30b. SMOOTH REVEAL SYSTEM (Intersection Observer)
   Modern scroll-triggered reveals — replaces excessive WOW.js usage
   ========================================================================== */

/* Single element reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered children — the ROW container gets this class.
   Individual children animate in sequence when parent gets .revealed */
.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.revealed>*:nth-child(1) {
    transition-delay: 0.06s;
}

.stagger-children.revealed>*:nth-child(2) {
    transition-delay: 0.12s;
}

.stagger-children.revealed>*:nth-child(3) {
    transition-delay: 0.18s;
}

.stagger-children.revealed>*:nth-child(4) {
    transition-delay: 0.24s;
}

.stagger-children.revealed>*:nth-child(5) {
    transition-delay: 0.30s;
}

.stagger-children.revealed>*:nth-child(6) {
    transition-delay: 0.36s;
}

.stagger-children.revealed>*:nth-child(7) {
    transition-delay: 0.42s;
}

.stagger-children.revealed>*:nth-child(8) {
    transition-delay: 0.48s;
}

.stagger-children.revealed>*:nth-child(9) {
    transition-delay: 0.54s;
}

.stagger-children.revealed>*:nth-child(10) {
    transition-delay: 0.60s;
}

.stagger-children.revealed>*:nth-child(n+11) {
    transition-delay: 0.66s;
}

.stagger-children.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right,
    .stagger-children>* {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ==========================================================================
   31. RESPONSIVE OVERRIDES
   ========================================================================== */

/* Large desktops */
@media (min-width: 1400px) {
    .hero-header h1 {
        font-size: 3.6rem;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .stat-item h2 {
        font-size: 2.2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* Small tablets & large phones */
@media (max-width: 767.98px) {
    .section-title h2 {
        font-size: 1.6rem;
    }

    .stat-item {
        padding: 20px 10px;
    }

    .stat-item h2 {
        font-size: 2rem;
    }

    .team-card {
        padding: 24px 16px;
    }

    .wp-card {
        padding: 20px;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    body {
        font-size: 15px;
    }

    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }

    .news-card .news-img {
        height: 160px;
    }
}


/* ==========================================================================
   32. PRINT STYLES
   ========================================================================== */
@media print {

    .navbar,
    .back-to-top,
    .footer,
    #spinner {
        display: none !important;
    }

    .hero-header,
    .page-header {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-header::before,
    .page-header::before {
        display: none;
    }

    body {
        color: #000;
        font-size: 12pt;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}