/* =========================================================
   SMARTQ PROJECT WEBSITE
   MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {

    --navy: #0A2342;
    --navy-dark: #06172d;
    --navy-light: #12375f;

    --gold: #FFCC00;
    --gold-light: #ffe477;

    --charcoal: #212529;
    --gray-dark: #495057;
    --gray: #6c757d;
    --gray-light: #adb5bd;

    --off-white: #F8F9FA;
    --white: #ffffff;

    --border: rgba(10, 35, 66, 0.12);
    --border-light: rgba(255, 255, 255, 0.12);

    --shadow-sm:
        0 8px 25px rgba(10, 35, 66, 0.08);

    --shadow:
        0 20px 50px rgba(10, 35, 66, 0.12);

    --shadow-lg:
        0 30px 80px rgba(10, 35, 66, 0.18);

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;

    --transition:
        0.3s ease;

}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {

    font-family: "Inter", sans-serif;

    color: var(--charcoal);

    background:
        var(--off-white);

    line-height: 1.7;

    overflow-x: hidden;

}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.container {

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 18px 0;

    transition:
        background var(--transition),
        box-shadow var(--transition),
        padding var(--transition);

}

.navbar.scrolled {

    padding: 12px 0;

    background:
        rgba(10, 35, 66, 0.96);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(15px);

}

/* Keep the fixed navigation readable over pages that begin on a light surface. */
body:has(.section-light, .contact-section) .navbar {
    background: rgba(248, 249, 250, 0.96);
    box-shadow: 0 10px 30px rgba(10, 35, 66, 0.1);
    backdrop-filter: blur(15px);
}

body:has(.section-light, .contact-section) .brand {
    color: var(--navy);
}

body:has(.section-light, .contact-section) .brand-text span {
    color: rgba(10, 35, 66, 0.62);
}

body:has(.section-light, .contact-section) .nav-link {
    color: rgba(10, 35, 66, 0.72);
}

body:has(.section-light, .contact-section) .nav-link:hover,
body:has(.section-light, .contact-section) .nav-link.active {
    color: var(--navy);
}

body:has(.section-light, .contact-section) .menu-toggle {
    background: rgba(10, 35, 66, 0.08);
}

body:has(.section-light, .contact-section) .menu-toggle span {
    background: var(--navy);
}

body.home-page .navbar {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body.home-page .brand,
body.home-page .nav-link {
    color: rgba(255, 255, 255, 0.82);
}

body.home-page .brand-text span {
    color: rgba(255, 255, 255, 0.65);
}

body.home-page .navbar.scrolled {
    background: rgba(10, 35, 66, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
}

.nav-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   BRAND
   ========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--white);

}

.brand-mark {

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        var(--gold);

    color:
        var(--navy);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 14px;

    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(255, 204, 0, 0.2);

}

.brand-mark img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.2;

}

.brand-text strong {

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 17px;

    font-weight: 800;

}

.brand-text span {

    margin-top: 3px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.12em;

}


/* =========================================================
   NAV MENU
   ========================================================= */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 5px;

}

.nav-link {

    position: relative;

    padding: 9px 12px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 13px;

    font-weight: 600;

    transition:
        color var(--transition);

}

.nav-link::after {

    content: "";

    position: absolute;

    left: 12px;
    right: 12px;

    bottom: 3px;

    height: 2px;

    background:
        var(--gold);

    transform:
        scaleX(0);

    transform-origin:
        center;

    transition:
        transform var(--transition);

}

.nav-link:hover,
.nav-link.active {

    color:
        var(--white);

}

.nav-link:hover::after,
.nav-link.active::after {

    transform:
        scaleX(1);

}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {

    display: none;

    width: 45px;
    height: 45px;

    border: 0;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.08);

    cursor: pointer;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

}

.menu-toggle span {

    width: 21px;
    height: 2px;

    background:
        var(--white);

    transition:
        transform var(--transition),
        opacity var(--transition);

}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        var(--navy);

    background-image:
        url("../assets/images/registrar-bg.jpg");

    background-size: cover;

    background-position: center;

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            115deg,
            rgba(6, 23, 45, 0.96) 0%,
            rgba(10, 35, 66, 0.87) 45%,
            rgba(10, 35, 66, 0.65) 100%
        );

}

.hero-content {

    position: relative;

    z-index: 2;

    padding:
        150px 0 120px;

    max-width: 900px;

}


/* =========================================================
   HERO BADGE
   ========================================================= */

.university-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        8px 14px;

    margin-bottom: 25px;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, 0.07);

    color:
        rgba(255, 255, 255, 0.86);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    backdrop-filter:
        blur(12px);

}

.badge-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--gold);

    box-shadow:
        0 0 0 5px rgba(255, 204, 0, 0.12);

}


/* =========================================================
   HERO TYPOGRAPHY
   ========================================================= */

.hero-label {

    margin-bottom: 12px;

    color:
        var(--gold);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.2em;

}

.hero-title {

    margin: 0;

    color:
        var(--white);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        clamp(70px, 12vw, 145px);

    line-height:
        0.85;

    letter-spacing:
        -0.07em;

    font-weight:
        800;

}

.hero-title span {

    color:
        var(--gold);

}

.hero-subtitle {

    max-width: 760px;

    margin-top: 25px;

    color:
        var(--white);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        clamp(26px, 4vw, 46px);

    line-height:
        1.12;

    letter-spacing:
        -0.035em;

    font-weight:
        700;

}

.hero-description {

    max-width: 680px;

    margin-top: 24px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        16px;

    line-height:
        1.8;

}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding:
        0 22px;

    border-radius:
        10px;

    font-size:
        13px;

    font-weight:
        700;

    cursor:
        pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        color var(--transition);

}

.btn:hover {

    transform:
        translateY(-3px);

}

.btn-primary {

    background:
        var(--gold);

    color:
        var(--navy);

    box-shadow:
        0 12px 25px rgba(255, 204, 0, 0.18);

}

.btn-primary:hover {

    background:
        var(--gold-light);

    box-shadow:
        0 15px 30px rgba(255, 204, 0, 0.28);

}

.btn-glass {

    border:
        1px solid rgba(255, 255, 255, 0.2);

    background:
        rgba(255, 255, 255, 0.08);

    color:
        var(--white);

    backdrop-filter:
        blur(10px);

}

.btn-glass:hover {

    background:
        rgba(255, 255, 255, 0.15);

}


/* =========================================================
   HERO STATS
   ========================================================= */

.hero-stats {

    display: flex;

    align-items: center;

    gap: 24px;

    margin-top: 55px;

}

.hero-stat {

    display: flex;

    flex-direction: column;

}

.hero-stat strong {

    color:
        var(--white);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        22px;

    font-weight:
        800;

}

.hero-stat span {

    margin-top: 2px;

    color:
        rgba(255, 255, 255, 0.5);

    font-size:
        10px;

    font-weight:
        600;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;

}

.stat-divider {

    width: 1px;

    height: 38px;

    background:
        rgba(255, 255, 255, 0.18);

}


/* =========================================================
   SCROLL INDICATOR
   ========================================================= */

.scroll-indicator {

    position: absolute;

    z-index: 3;

    bottom: 28px;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.15em;

}

.scroll-line {

    width: 1px;

    height: 35px;

    background:
        linear-gradient(
            to bottom,
            var(--gold),
            transparent
        );

}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {

    position: relative;

    padding:
        110px 0;

}

.section-light {

    background:
        var(--off-white);

}

.section-dark {

    background:
        var(--navy);

    color:
        var(--white);

}

.section-blue {

    background:
        linear-gradient(
            145deg,
            #0A2342,
            #12375f
        );

    color:
        var(--white);

}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading {

    max-width: 720px;

    margin-bottom: 55px;

    margin-left: 0;
    margin-right: 0;
    text-align: left;

}

.section-heading.light {

    color:
        var(--white);

}

.section-label {

    display: inline-block;

    margin-bottom: 15px;

    color:
        var(--navy);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        0.16em;

}

.section-heading.light .section-label {

    color:
        var(--gold);

}

.section-heading h2 {

    color:
        var(--navy);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        clamp(34px, 5vw, 54px);

    line-height:
        1.1;

    letter-spacing:
        -0.045em;

}

.section-heading.light h2 {

    color:
        var(--white);

}

.section-heading h2 span {

    display: block;

    color:
        var(--gold);

}

.section-heading p {

    max-width: 650px;

    margin-top: 18px;

    color:
        var(--gray);

    font-size:
        15px;

}

.section-heading.light p {

    color:
        rgba(255, 255, 255, 0.62);

}
.section-blue .section-heading .section-label {
    color: var(--gold);
}

/* Full-width dark sections do not use the optional .light heading modifier. */
.section-sequence-full .section-heading .section-label,
.section-gantt-full .section-heading .section-label {
    color: var(--gold);
}

.section-sequence-full .section-heading h2,
.section-gantt-full .section-heading h2 {
    color: var(--white);
}

.section-sequence-full .section-heading p,
.section-gantt-full .section-heading p {
    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   OVERVIEW CARDS
   ========================================================= */

.overview-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}

.overview-card {

    position: relative;

    min-height: 280px;

    padding: 32px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        var(--white);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}

.overview-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow);

}

.card-number {

    position: absolute;

    top: 20px;
    right: 25px;

    color:
        rgba(10, 35, 66, 0.05);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        70px;

    line-height:
        1;

    font-weight:
        800;

}

.card-icon {

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    margin-bottom: 28px;

    border-radius:
        13px;

    background:
        rgba(255, 204, 0, 0.15);

    color:
        var(--navy);

    font-size:
        22px;

    font-weight:
        800;

}

.overview-card h3 {

    margin-bottom: 10px;

    color:
        var(--navy);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        19px;

}

.overview-card p {

    color:
        var(--gray);

    font-size:
        13px;

    line-height:
        1.75;

}


/* =========================================================
   OVERVIEW HIGHLIGHT
   ========================================================= */

.overview-highlight {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-top: 25px;

    padding: 25px 28px;

    border:
        1px solid rgba(255, 204, 0, 0.3);

    border-radius:
        var(--radius);

    background:
        rgba(255, 204, 0, 0.08);

}

.highlight-icon {

    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    display: grid;

    place-items: center;

    border-radius:
        50%;

    background:
        var(--gold);

    color:
        var(--navy);

    font-weight:
        800;

}

.overview-highlight strong {

    color:
        var(--navy);

    font-size:
        14px;

}

.overview-highlight p {

    margin-top: 4px;

    color:
        var(--gray-dark);

    font-size:
        13px;

}


/* =========================================================
   GOALS
   ========================================================= */

.goals-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}

.goal-card {

    position: relative;

    padding:
        35px;

    border:
        1px solid var(--border-light);

    border-radius:
        var(--radius);

    background:
        rgba(255, 255, 255, 0.045);

    transition:
        background var(--transition),
        transform var(--transition),
        border-color var(--transition);

}

.goal-card:hover {

    transform:
        translateY(-5px);

    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 204, 0, 0.3);

}

.goal-number {

    display: block;

    margin-bottom: 45px;

    color:
        var(--gold);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        13px;

    font-weight:
        800;

}

.goal-card h3 {

    max-width: 400px;

    margin-bottom: 10px;

    color:
        var(--white);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        20px;

}

.goal-card p {

    color:
        rgba(255, 255, 255, 0.58);

    font-size:
        13px;

}


/* =========================================================
   VISUAL CARDS
   ========================================================= */

.visual-card {

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        var(--white);

    box-shadow:
        var(--shadow);

}

.visual-card.dark-card {

    border-color:
        var(--border-light);

    background:
        rgba(255, 255, 255, 0.045);

    box-shadow:
        none;

}

.visual-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding:
        25px 28px;

    border-bottom:
        1px solid var(--border);

}

.dark-card .visual-header {

    border-bottom-color:
        var(--border-light);

}

.visual-header span {

    color:
        var(--gray);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        0.16em;

}

.dark-card .visual-header span {

    color:
        var(--gold);

}

.visual-header h3 {

    margin-top: 5px;

    color:
        var(--navy);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        18px;

}

.dark-card .visual-header h3 {

    color:
        var(--white);

}

.view-image {

    flex-shrink: 0;

    padding:
        9px 14px;

    border:
        1px solid var(--border);

    border-radius:
        8px;

    background:
        transparent;

    color:
        var(--navy);

    font-size:
        11px;

    font-weight:
        700;

    cursor:
        pointer;

    transition:
        background var(--transition),
        color var(--transition);

}

.view-image:hover {

    background:
        var(--navy);

    color:
        var(--white);

}

.dark-card .view-image {

    border-color:
        var(--border-light);

    color:
        var(--white);

}

.dark-card .view-image:hover {

    background:
        var(--gold);

    color:
        var(--navy);

}


/* =========================================================
   IMAGE CONTAINER
   ========================================================= */

.image-container {

    position: relative;

    min-height:
        300px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:
        #eef1f5;

}

.dark-card .image-container {

    background:
        rgba(0, 0, 0, 0.16);

}

.image-container img {

    position: relative;

    z-index: 2;

    width: 100%;

    height: auto;

    border-radius:
        10px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12);

}

.image-placeholder {

    position: absolute;

    inset: 30px;

    z-index: 1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        2px dashed rgba(10, 35, 66, 0.15);

    border-radius:
        12px;

    color:
        var(--gray);

    text-align:
        center;

}

.image-placeholder span {

    color:
        var(--navy);

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        0.1em;

}

.image-placeholder p {

    margin-top:
        5px;

    font-size:
        12px;

}

.image-container img[src] {

    background:
        var(--white);

}


/* =========================================================
   ACTIVITY SEQUENCE
   ========================================================= */

.sequence-container {

    position: relative;

    max-width:
        900px;

    margin:
        0 auto;

}

.sequence-line {

    position: absolute;

    left:
        24px;

    top:
        25px;

    bottom:
        25px;

    width:
        1px;

    background:
        rgba(255, 255, 255, 0.15);

}

.sequence-item {

    position: relative;

    display: grid;

    grid-template-columns:
        50px 1fr;

    gap:
        25px;

    padding:
        20px 0;

}

.sequence-number {

    position: relative;

    z-index: 2;

    width:
        48px;

    height:
        48px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(255, 204, 0, 0.35);

    border-radius:
        50%;

    background:
        var(--navy);

    color:
        var(--gold);

    font-size:
        11px;

    font-weight:
        800;

}

.sequence-content {

    padding:
        5px 0 15px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

}

.sequence-content > span {

    color:
        var(--gold);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        0.15em;

}

.sequence-content h3 {

    margin:
        6px 0;

    color:
        var(--white);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        18px;

}

.sequence-content p {

    color:
        rgba(255, 255, 255, 0.56);

    font-size:
        13px;

}


/* =========================================================
   TABLE
   ========================================================= */

.table-wrapper {

    overflow-x:
        auto;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        var(--white);

    box-shadow:
        var(--shadow-sm);

}

table {

    width:
        100%;

    border-collapse:
        separate;

    border-spacing:
        0;

    min-width:
        650px;

}

thead {

    background:
        var(--navy);

}

th {

    padding:
        17px 20px;

    color:
        var(--white);

    font-size:
        10px;

    font-weight:
        800;

    text-align:
        left;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;

    border-right: 1px solid rgba(255, 255, 255, 0.14);

}

td {

    padding:
        17px 20px;

    border-bottom:
        1px solid var(--border);

    color:
        var(--gray-dark);

    font-size:
        13px;

    border-right: 1px solid rgba(10, 35, 66, 0.08);

}

tbody tr {

    transition:
        background var(--transition);

}

tbody tr:hover {

    background:
        rgba(255, 204, 0, 0.06);

}

tbody tr:last-child td {

    border-bottom:
        0;

}

td:first-child {

    color:
        var(--navy);

    font-weight:
        800;

}


/* =========================================================
   BUDGET
   ========================================================= */

.budget-layout {

    display:
        grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap:
        25px;

    align-items:
        stretch;

}

.budget-total {

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        45px;

    border-radius:
        var(--radius);

    background:
        var(--navy);

    color:
        var(--white);

    box-shadow:
        var(--shadow);

}

.budget-total span {

    color:
        var(--gold);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        0.15em;

}

.budget-total strong {

    margin:
        8px 0;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        clamp(40px, 6vw, 65px);

    line-height:
        1;

}

.budget-total p {

    color:
        rgba(255, 255, 255, 0.55);

    font-size:
        12px;

}

.budget-table {

    padding:
        25px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        var(--white);

    box-shadow:
        var(--shadow-sm);

}

.budget-row {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        18px 5px;

    border-bottom:
        1px solid var(--border);

}

.budget-row span {

    color:
        var(--gray-dark);

    font-size:
        13px;

}

.budget-row strong {

    color:
        var(--navy);

    font-size:
        14px;

}

.budget-row.total {

    margin-top:
        5px;

    border-bottom:
        0;

}

.budget-row.total span,
.budget-row.total strong {

    color:
        var(--navy);

    font-weight:
        800;

}


/* =========================================================
   TEAM
   ========================================================= */

.team-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        18px;

}

.team-card {

    padding:
        30px;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    border-radius:
        var(--radius);

    background:
        rgba(255, 255, 255, 0.05);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);

}

.team-card:hover {

    transform:
        translateY(-6px);

    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 204, 0, 0.3);

}

.member-avatar {

    width:
        58px;

    height:
        58px;

    display:
        grid;

    place-items:
        center;

    margin-bottom:
        22px;

    border-radius:
        16px;

    overflow:
        hidden;

    background:
        var(--gold);

    color:
        var(--navy);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        16px;

    font-weight:
        800;

}

.member-avatar img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    display:
        block;

}

.member-role {

    display:
        block;

    margin-bottom:
        8px;

    color:
        var(--gold);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        0.13em;

}

.team-card h3 {

    color:
        var(--white);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        17px;

    line-height:
        1.35;

}

.team-card p {

    margin-top:
        10px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size:
        12px;

    line-height:
        1.7;

}
.member-links {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.member-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255, 204, 0, 0.35);
    border-radius: 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.member-link:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.team-home-action {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {

    padding:
        100px 0;

    background:
        var(--off-white);

}

.contact-card {

    position:
        relative;

    overflow:
        hidden;

    padding:
        70px 50px;

    border-radius:
        var(--radius-lg);

    background:
        var(--navy);

    text-align:
        center;

    box-shadow:
        var(--shadow-lg);

}

.contact-card::before {

    content:
        "";

    position:
        absolute;

    width:
        300px;

    height:
        300px;

    top:
        -150px;

    right:
        -100px;

    border-radius:
        50%;

    background:
        rgba(255, 204, 0, 0.1);

}

.contact-card::after {

    content:
        "";

    position:
        absolute;

    width:
        200px;

    height:
        200px;

    bottom:
        -120px;

    left:
        -80px;

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, 0.04);

}

.contact-badge {

    position:
        relative;

    z-index:
        1;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        55px;

    height:
        55px;

    margin-bottom:
        20px;

    border-radius:
        15px;

    background:
        var(--gold);

    color:
        var(--navy);

    font-size:
        11px;

    font-weight:
        800;

}

.contact-card h2 {

    position:
        relative;

    z-index:
        1;

    color:
        var(--white);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        clamp(28px, 5vw, 48px);

    line-height:
        1.15;

}

.contact-card h2 span {

    display:
        block;

    color:
        var(--gold);

}

.contact-card p {

    position:
        relative;

    z-index:
        1;

    max-width:
        620px;

    margin:
        18px auto 28px;

    color:
        rgba(255, 255, 255, 0.58);

    font-size:
        13px;

}


/* =========================================================
   IMAGE MODAL
   ========================================================= */

.image-modal {

    position:
        fixed;

    inset:
        0;

    z-index:
        2000;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        30px;

    background:
        rgba(3, 12, 24, 0.94);

    opacity:
        0;

    visibility:
        hidden;

    transition:
        opacity var(--transition),
        visibility var(--transition);

    backdrop-filter:
        blur(10px);

}

.image-modal.open {

    opacity:
        1;

    visibility:
        visible;

}

.image-modal img {

    max-width:
        min(1200px, 94vw);

    max-height:
        88vh;

    object-fit:
        contain;

    border-radius:
        10px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5);

    transform:
        scale(0.96);

    transition:
        transform var(--transition);

}

.image-modal.open img {

    transform:
        scale(1);

}

.modal-close {

    position:
        absolute;

    top:
        25px;

    right:
        30px;

    width:
        45px;

    height:
        45px;

    display:
        grid;

    place-items:
        center;

    border:
        1px solid rgba(255, 255, 255, 0.2);

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, 0.08);

    color:
        var(--white);

    font-size:
        28px;

    line-height:
        1;

    cursor:
        pointer;

    transition:
        background var(--transition),
        color var(--transition);

}

.modal-close:hover {

    background:
        var(--gold);

    color:
        var(--navy);

}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {

    opacity:
        0;

    transform:
        translateY(25px);

    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);

}

.reveal.visible {

    opacity:
        1;

    transform:
        translateY(0);

}

.overview-grid .reveal:nth-child(2),
.goals-grid .reveal:nth-child(2),
.team-grid .reveal:nth-child(2) {
    transition-delay: 100ms;
}

.overview-grid .reveal:nth-child(3),
.goals-grid .reveal:nth-child(3),
.team-grid .reveal:nth-child(3) {
    transition-delay: 180ms;
}

.goals-grid .reveal:nth-child(4),
.team-grid .reveal:nth-child(4) {
    transition-delay: 260ms;
}

.team-grid .reveal:nth-child(5) {
    transition-delay: 340ms;
}

@keyframes smartq-rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-loaded .wbs-column,
.page-loaded .seq-v-card {
    animation: smartq-rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-loaded .wbs-column:nth-child(2),
.page-loaded .seq-v-card:nth-child(2) {
    animation-delay: 80ms;
}

.page-loaded .wbs-column:nth-child(3),
.page-loaded .seq-v-card:nth-child(3) {
    animation-delay: 160ms;
}

.page-loaded .wbs-column:nth-child(4),
.page-loaded .seq-v-card:nth-child(4) {
    animation-delay: 240ms;
}

.page-loaded .wbs-column:nth-child(5),
.page-loaded .seq-v-card:nth-child(5) {
    animation-delay: 320ms;
}

.page-loaded .wbs-column:nth-child(6),
.page-loaded .seq-v-card:nth-child(6) {
    animation-delay: 400ms;
}

.page-loaded .wbs-column:nth-child(7),
.page-loaded .seq-v-card:nth-child(7) {
    animation-delay: 480ms;
}

.page-loaded .wbs-column:nth-child(8),
.page-loaded .seq-v-card:nth-child(8) {
    animation-delay: 560ms;
}

.page-loaded .wbs-column:nth-child(9),
.page-loaded .seq-v-card:nth-child(9) {
    animation-delay: 640ms;
}


/* =========================================================
   PAGE LOADED
   ========================================================= */

body.page-loaded .hero-content {

    transition:
        opacity 0.6s ease;

}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .nav-menu {

        gap:
            0;

    }

    .nav-link {

        padding:
            8px 8px;

        font-size:
            11px;

    }

    .overview-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .team-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {

        width:
            min(100% - 28px, 600px);

    }

    .navbar {

        padding:
            14px 0;

    }

    .menu-toggle {

        display:
            flex;

    }

    .nav-menu {

        position:
            fixed;

        top:
            73px;

        left:
            14px;

        right:
            14px;

        max-height:
            calc(100vh - 90px);

        overflow-y:
            auto;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        padding:
            12px;

        border:
            1px solid rgba(255, 255, 255, 0.1);

        border-radius:
            15px;

        background:
            rgba(6, 23, 45, 0.98);

        box-shadow:
            0 25px 50px rgba(0, 0, 0, 0.3);

        backdrop-filter:
            blur(15px);

        opacity:
            0;

        visibility:
            hidden;

        transform:
            translateY(-10px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);

    }

    .nav-menu.open {

        opacity:
            1;

        visibility:
            visible;

        transform:
            translateY(0);

    }

    body:has(.section-light, .contact-section) .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.72);
    }

    body:has(.section-light, .contact-section) .nav-menu .nav-link:hover,
    body:has(.section-light, .contact-section) .nav-menu .nav-link.active {
        color: var(--white);
    }

    .nav-link {

        padding:
            13px 15px;

        border-radius:
            8px;

        font-size:
            13px;

    }

    .overview-card:hover,
    .goal-card:hover,
    .team-card:hover,
    .wbs-column:hover,
    .seq-v-card:hover {
        transform: translateY(-4px);
    }

    .nav-link:hover,
    .nav-link.active {

        background:
            rgba(255, 255, 255, 0.06);

    }

    .nav-link::after {

        display:
            none;

    }

    .hero {

        min-height:
            800px;

    }

    .hero-content {

        padding:
            130px 0 100px;

    }

    .hero-title {

        font-size:
            clamp(70px, 23vw, 110px);

    }

    .hero-subtitle {

        font-size:
            27px;

    }

    .hero-description {

        font-size:
            14px;

    }

    .hero-stats {

        gap:
            14px;

    }

    .hero-stat strong {

        font-size:
            17px;

    }

    .hero-stat span {

        font-size:
            8px;

    }

    .section {

        padding:
            80px 0;

    }

    .overview-grid,
    .goals-grid,
    .team-grid,
    .budget-layout {

        grid-template-columns:
            1fr;

    }

    .section-heading {

        margin-bottom:
            40px;

    }

    .visual-header {

        align-items:
            flex-start;

        flex-direction:
            column;

    }

    .image-container {

        padding:
            15px;

    }

    .image-placeholder {

        inset:
            15px;

    }

    .sequence-item {

        grid-template-columns:
            42px 1fr;

        gap:
            17px;

    }

    .sequence-line {

        left:
            20px;

    }

    .sequence-number {

        width:
            40px;

        height:
            40px;

        font-size:
            9px;

    }

    .budget-total {

        padding:
            35px;

    }

    .contact-card {

        padding:
            55px 25px;

    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .brand-text span {

        display:
            none;

    }

    .hero-buttons {

        flex-direction:
            column;

        align-items:
            stretch;

    }

    .btn {

        width:
            100%;

    }

    .hero-stats {

        display:
            grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap:
            10px;

    }

    .stat-divider {

        display:
            none;

    }

    .hero-stat strong {

        font-size:
            15px;

    }

    .overview-card,
    .goal-card,
    .team-card {

        padding:
            25px;

    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible {

    outline:
        3px solid var(--gold);

    outline-offset:
        3px;

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;

    }

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

    }

}
/* =========================================================
   WBS FULL-WIDTH (NO HORIZONTAL SCROLL)
   ========================================================= */

.section-wbs-full {
    padding-left: 0;
    padding-right: 0;
}

.visual-card-full {
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

.wbs-container {
    width: 100%;
    padding: 20px 12px;
    background: var(--navy-dark);
    overflow: hidden; /* Prevents horizontal scrollbar completely */
}

.wbs-grid {
    display: grid;
    /* Force exactly 9 columns that auto-shrink to fit 100% of the screen width */
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0; /* Allows grid items to shrink below content size */
}

.wbs-column {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0; /* Critical to prevent overflowing */

    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.wbs-column:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 204, 0, 0.65);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.wbs-column--blue {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(15, 44, 89, 0.08));
    border-color: rgba(96, 165, 250, 0.45);
}

.wbs-column--green {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(15, 44, 89, 0.08));
    border-color: rgba(74, 222, 128, 0.45);
}

.wbs-column--orange {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.18), rgba(15, 44, 89, 0.08));
    border-color: rgba(251, 146, 60, 0.45);
}

.wbs-column--red {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.18), rgba(15, 44, 89, 0.08));
    border-color: rgba(248, 113, 113, 0.45);
}

.wbs-column--indigo {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.18), rgba(15, 44, 89, 0.08));
    border-color: rgba(167, 139, 250, 0.45);
}

.wbs-column--yellow {
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.18), rgba(15, 44, 89, 0.08));
    border-color: rgba(250, 204, 21, 0.45);
}

.wbs-column--mint {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.18), rgba(15, 44, 89, 0.08));
    border-color: rgba(52, 211, 153, 0.45);
}

.wbs-column--pink {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.18), rgba(15, 44, 89, 0.08));
    border-color: rgba(244, 114, 182, 0.45);
}

.column-title {
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}

.column-title strong {
    display: block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.column-title span {
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.task {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 6px 6px;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.task b {
    color: var(--gold);
    margin-right: 3px;
    display: inline-block;
}

/* Compact text on smaller screen sizes so columns never overflow */
@media (max-width: 1400px) {
    .wbs-container {
        padding: 15px 8px;
    }

    .wbs-grid {
        gap: 5px;
    }

    .wbs-column {
        padding: 8px 5px;
    }

    .column-title span {
        font-size: 10px;
    }

    .task {
        padding: 5px 4px;
        font-size: 9.5px;
    }
}
/* =========================================================
   VERTICAL ACTIVITY SEQUENCING FLOWCHART
   ========================================================= */

.seq-vertical-board {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1e293b;
    max-width: 850px;
    margin: 0 auto;
}

/* Header Banner */
.seq-header-banner {
    background: #0F2C59;
    color: #ffffff;
    width: 100%;
    max-width: 520px;
    padding: 14px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: left;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(15, 44, 89, 0.15);
}

.seq-banner-logo {
    width: 44px;
    height: 44px;
    background: #FFC107;
    color: #0F2C59;
    font-weight: 900;
    font-size: 18px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.seq-header-banner h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.seq-header-banner p {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* Terminals & Arrows */
.seq-v-terminal {
    padding: 6px 28px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.seq-v-start {
    background: #cbd5e1;
    color: #334155;
}

.seq-v-end {
    background: #bbf7d0;
    color: #166534;
}

.seq-v-arrow {
    color: #0F2C59;
    font-size: 18px;
    font-weight: 900;
    margin: 4px 0;
}

/* Flow Container & Cards */
.seq-v-flow {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seq-v-card {
    width: 100%;
    border-radius: 12px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(15, 44, 89, 0.14);
    border-left: 5px solid #64748b;
}

.seq-v-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 44, 89, 0.14);
}

/* Left Section: Icon + Title */
.seq-v-left {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.seq-v-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.seq-v-left h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

/* Right Section: Bulleted List */
.seq-v-right ul {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.seq-v-right li {
    font-size: 11.5px;
    color: #334155;
    line-height: 1.35;
}

/* Specific Phase Colors Matching Image */
.seq-v-blue { background-color: #f2f6fc; border-left-color: #3b82f6; }
.seq-v-green { background-color: #f2f8f3; border-left-color: #22c55e; }
.seq-v-yellow { background-color: #fcfaf0; border-left-color: #d4a514; }
.seq-v-pink { background-color: #fcf3f4; border-left-color: #e05272; }
.seq-v-purple { background-color: #f7f3fb; border-left-color: #8b5cf6; }
.seq-v-teal { background-color: #eff9f7; border-left-color: #0d9488; }
.seq-v-orange { background-color: #fcf6ef; border-left-color: #ea580c; }
.seq-v-magenta { background-color: #fbf2f7; border-left-color: #db2777; }
.seq-v-periwinkle { background-color: #f2f4fc; border-left-color: #6366f1; }

/* Responsive Adjustments */
@media (max-width: 640px) {
    .seq-v-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .seq-v-left {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-right: 0;
        padding-bottom: 8px;
    }

}   /* =========================================================
   SMARTQ GANTT CHART (COLOR CODED TABLE LAYOUT)
   ========================================================= */

.section-gantt-full {
    padding-left: 0;
    padding-right: 0;
}

.gantt-board {
    background: #ffffff;
    padding: 24px;
    border-radius: var(--radius-sm);
    color: #1e293b;
    overflow: hidden;
}

/* Header */
.gantt-project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 12px;
}

.gantt-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sq-logo {
    width: 44px;
    height: 44px;
    background: #0F2C59;
    color: #FFC107;
    font-weight: 900;
    font-size: 18px;
    display: grid;
    place-items: center;
    border-radius: 10px;
}

.gantt-brand h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0F2C59;
}

.gantt-brand p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #64748b;
}

.gantt-tagline {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #0F2C59;
}

/* Table */
.gantt-table-container {
    width: 100%;
    overflow-x: auto;
}

.gantt-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 11.5px;
}

.gantt-table th, 
.gantt-table td {
    border-right: 1px solid #d5deea;
    border-bottom: 1px solid #d5deea;
    padding: 6px 8px;
}

.gantt-table th:first-child,
.gantt-table td:first-child {
    border-left: 1px solid #d5deea;
}

.gantt-table thead th {
    background: #0F2C59;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
}

.col-id { width: 35px; text-align: center; font-weight: 700; }
.col-activity { width: 220px; font-weight: 700; text-align: left; }
.col-duration { width: 85px; text-align: center; }

/* Weeks Grid Header */
.weeks-title {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 11px;
}

.weeks-cells {
    display: grid;
    grid-template-columns: repeat(19, 1fr);
    text-align: center;
    padding-top: 4px;
    font-size: 10px;
}

.weeks-cells span {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.weeks-cells span:last-child {
    border-right: 0;
}

/* Interactive Row Color Tinting (Matching Reference Image) */
.row-phase-1 { background-color: #EBF3FE; }
.row-phase-2 { background-color: #EAF7EC; }
.row-phase-3 { background-color: #FFF9E6; }
.row-phase-4 { background-color: #FDE8E8; }
.row-phase-5 { background-color: #F0EBF9; }
.row-phase-6 { background-color: #E6F7F7; }
.row-phase-7 { background-color: #FFF2E6; }
.row-phase-8 { background-color: #FCE8F3; }
.row-phase-9 { background-color: #EAF4EA; }

/* Timeline Bar Container in Grid */
.col-grid {
    padding: 4px !important;
    display: grid;
    grid-template-columns: repeat(19, 1fr);
    align-items: center;
    background-image: linear-gradient(to right, rgba(100, 116, 139, 0.2) 1px, transparent 1px);
    background-size: calc(100% / 19) 100%;
}

.timeline-bar {
    height: 18px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Phase Specific Color Bars */
.bar-1 { background-color: #2563EB; } /* Project Planning */
.bar-2 { background-color: #16A34A; } /* Requirements Analysis */
.bar-3 { background-color: #EAB308; } /* System Design */
.bar-4 { background-color: #EF4444; } /* System Development */
.bar-5 { background-color: #8B5CF6; } /* System Integration */
.bar-6 { background-color: #06B6D4; } /* Testing & QA */
.bar-7 { background-color: #F97316; } /* Deployment */
.bar-8 { background-color: #EC4899; } /* Documentation */
.bar-9 { background-color: #15803D; } /* Closure */

/* Footer / Legend / Note */
.gantt-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.gantt-note-card {
    display: flex;
    order: 2;
    width: 100%;
    gap: 12px;
    background: rgba(15, 44, 89, 0.06);
    border: 1px solid rgba(15, 44, 89, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    max-width: none;
}

.note-icon {
    font-size: 20px;
}

.note-text strong {
    display: block;
    font-size: 12px;
    color: #0F2C59;
}

.note-text p {
    margin: 4px 0 0 0;
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.35;
}

.gantt-legend {
    order: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    padding: 14px;
    border: 1px solid rgba(15, 44, 89, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 28px rgba(15, 44, 89, 0.08);
    backdrop-filter: blur(12px);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Mobile & Tablet responsiveness */
@media (max-width: 1024px) {
    .gantt-footer {
        flex-direction: column;
    }
    .gantt-note-card {
        max-width: 100%;
    }
    .gantt-legend {
        grid-template-columns: repeat(2, 1fr);
    }
}

tbody tr:nth-child(even) {
    background: rgba(10, 35, 66, 0.025);
}