@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #07559a;
    --deep: #073e70;
    --green: #3a9b5b;
    --gold: #b59a70;
    --bg: #f5f8fa;
    --text: #17324d;
    --muted: #64748b;
    --border: #d9e4ec;
    --danger: #b42318;
    --line: #e2eaef;

}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Cairo, Arial, sans-serif;
    color: var(--text);
    line-height: 1.9;
    background: #fff
}

a {
    color: var(--blue);
    text-decoration: none
}

.container {
    width: min(1180px, 92%);
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px)
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--deep)
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain
}

.nav-links {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap
}

.nav-links a {
    font-size: 13px;
    font-weight: 700
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 9px;
    cursor: pointer;
    color: var(--blue);
    line-height: 0
}

.nav-button,
.pill {
    padding: 7px 16px;
    background: var(--blue);
    color: #fff !important;
    border-radius: 8px
}

.hero {
    padding: 30px 0;
    position: relative;
    /* base: no direct background-image — image moved to ::before for controllable opacity */
    background-color: transparent;
}

/* background image layer (semi-transparent via opacity) */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('University_Visual_Identity.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.40; /* semi-transparent image */
    pointer-events: none;
    z-index: 0;
}

/* subtle overlay layer for contrast (adjusted on small screens) */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0); /* transparent by default */
    pointer-events: none;
    z-index: 1;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 45px;
    align-items: center
}

.hero h1 {
    font-size: 48px;
    line-height: 1.3;
    color: var(--deep);
    margin: 8px 0
}

.hero h2 {
    font-size: 25px;
    line-height: 1.75;
    color: var(--blue);
    margin: 0
}

.hero p {
    font-size: 17px;
    color: #313a41;
    font-weight: bold;

}

.hero-logo {
    text-align: center;
}

.hero-logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, .08))
}

.btn {
    display: inline-block;
    border-radius: 9px;
    padding: 10px 22px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer
}

/* Disabled button visual style */
.btn[disabled], .btn.disabled, button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    filter: grayscale(20%);
    box-shadow: none;
    border-color: rgba(0,0,0,0.06);
}

.btn.primary[disabled], .btn.primary.disabled, button[disabled].primary {
    background: #7aa0c6;
    color: #fff;
}

.btn { transition: background .12s ease, opacity .12s ease; }

.primary {
    background: var(--blue);
    color: #fff
}

.secondary {
    background: #fff;
    border-color: var(--blue)
}
.secondary:hover {
    background: var(--blue);
    color: #fff !important
}
.danger {
    background: #fff;
    border-color: #e2a9a3;
    color: var(--danger)
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0
}

.section {
    padding: 70px 0
}

.alt {
    background: var(--bg)
}

.head {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 28px
}

.head b {
    color: var(--green)
}

.head h2 {
    margin: 0;
    color: var(--deep);
    font-size: 31px
}
.grid1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px
}
.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 28px rgba(15, 50, 80, .05)
}

.card h3 {
    color: var(--blue);
    margin-top: 0
}

.notice {
    padding: 16px 18px;
    border-right: 4px solid var(--green);
    background: #eef8f1;
    border-radius: 8px
}

.axis .num {
    font-size: 50px;
    font-weight: 800;
    color: #e8f0f5;
    float: left
}

.axis h3 {
    min-height: 78px
}
/* ===== TRACKS (axes accordion) ===== */
.axis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px
}

.axis-card {
  position: relative;
  overflow: hidden
}

.axis-number {
  position: absolute;
  left: 18px;
  top: 10px;
  font-size: 54px;
  font-weight: 800;
  color: #edf3f7;
  direction: ltr
}

.axis-card h3 {
  position: relative;
  min-height: 75px;
  padding-left: 45px
}

.axis-card li {
  margin-bottom: 8px
}

.axes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.axis-title {
  flex: 1;
  font-size: 1.17rem;
  font-weight: bold;
  color: var(--blue);
} 

.timeline {
    max-width: 920px;
    margin: auto
}

.trow {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border)
}

.tdate {
    font-weight: 800;
    color: var(--blue)
}

.program-day {
    margin-bottom: 30px
}

.program-day h3 {
    color: var(--deep);
    background: #eef5f9;
    padding: 13px 18px;
    border-radius: 10px
}

.session {
    display: grid;
    grid-template-columns: 180px 1fr 140px;
    gap: 18px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--border);
    align-items: center
}

.session .time {
    font-weight: 800;
    direction: ltr;
    text-align: right;
    color: var(--blue)
}

.tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #edf5f0;
    color: #267244;
    display: inline-block
}

.sponsor {
    text-align: center
}

.sponsor img {
    width: 100%;
    max-width: 310px;
    height: 120px;
    object-fit: contain
}

.sponsor small {
    color: var(--muted)
}

.footer {
    background: #073e70;
    color: #fff;
    padding: 35px 0
}

.footer-grid {
    display: flex;
    justify-content: space-between
}

.footer p {
    margin: 3px 0;
    color: #dbe8f2
}

.form {
    max-width: 900px;
    margin: 50px auto
}

.form .card {
    padding: 32px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.full {
    grid-column: 1/-1
}

input,
select,
textarea {
    font: inherit;
    padding: 10px 12px;
    border: 1px solid #cbd9e3;
    border-radius: 8px
}

textarea {
    min-height: 100px
}

.check {
    display: flex;
    gap: 8px;
    align-items: flex-start
}

.admin-body {
    background: #f4f7fa
}

.admin-shell {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh
}

.admin-side {
    background: #073e70;
    color: #fff;
    padding: 22px;
    position: sticky;
    top: 0;
    height: 100vh
}

.admin-side h2 {
    font-size: 18px;
    margin-top: 0
}

.admin-side a {
    display: block;
    color: #e8f2f8;
    padding: 10px 12px;
    border-radius: 8px;
    margin: 4px 0
}

.admin-side a:hover,
.admin-side a.active {
    background: rgba(255, 255, 255, .12)
}

.admin-main {
    padding: 28px
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px
}

.stat strong {
    display: block;
    font-size: 30px;
    color: var(--blue)
}

.admin-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px
}

.admin-card h2 {
    margin-top: 0;
    color: var(--deep);
    font-size: 21px
}

.table-wrap {
    overflow: auto
}

.admin-table {
    width: 100%;
    border-collapse: collapse
}

.admin-table th,
.admin-table td {
    border: 1px solid var(--border);
    padding: 8px;
    white-space: nowrap;
    font-size: 13px
}

.admin-table th {
    background: #edf4f8
}

.admin-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.mini {
    padding: 5px 9px;
    font-size: 12px
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.flash {
    padding: 12px 15px;
    border-radius: 8px;
    background: #edf8f0;
    color: #1f6b39;
    margin-bottom: 15px
}

.flash.err {
    background: #fff0ef;
    color: #9c241a
}

.muted {
    color: var(--muted);
    font-size: 13px
}
/*-----------------------------*/
.vm-boxes {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
}

.vm-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--green);
    border-radius: 10px;
    padding: 18px 20px;
}

.vm-box:nth-child(2) {
    border-inline-start-color: var(--blue);
}

.vm-tag {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--teal);
    background: var(--teal-soft);
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.vm-box:nth-child(2) .vm-tag {
    color: var(--gold);
    background: rgba(168, 135, 92, 0.14);
}

.strip {
    background: #fff;
    box-shadow: 0 8px 35px rgba(20, 50, 70, .08);
    position: relative;
    z-index: 5
}

.stripgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.stripgrid>div {
    padding: 19px;
    text-align: center;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line)
}

/* .stripgrid>div:last-child {
    border: 0
} */

.stripgrid span {
    display: block;
    font-size: 13px;
    color: var(--text)
}

.stripgrid b,
.stripgrid a {
    color: var(--blue);
    font-size: 14px
}
.objectives {
  margin-top: 22px
}
.objectives li {
    margin-bottom: 9px;
}
/*-----------------------------*/
@media(max-width:950px) {
    .nav-wrap {
        flex-wrap: wrap;
        position: relative
    }

    .nav-toggle {
        display: inline-block
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 12px 20px 18px;
        box-shadow: 0 12px 30px rgba(20, 50, 70, .12)
    }

    .nav-links.open {
        display: flex
    }

    .nav-links a {
        padding: 9px 4px;
        border-bottom: 1px solid var(--line)
    }

    .nav-links .lang-switch {
        align-self: flex-start;
        margin-top: 8px;
        padding: 7px 14px;
        border-bottom: 0
    }

    .hero-grid,
    .grid2,
    .grid3,
    .two-col,
    .stat-grid {
        grid-template-columns: 1fr 1fr
    }

    .admin-shell {
        grid-template-columns: 1fr
    }

    .admin-side {
        position: relative;
        height: auto
    }

    .admin-main {
        padding: 18px
    }

    .stripgrid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stripgrid>div {
        border-left: 0;
        border-bottom: 1px solid var(--line)
    }
}

@media(max-width:650px) {
    .site-header {
        position: sticky;
    }

    .nav-wrap {
        min-height: 64px;
        gap: 10px;
    }

    .brand {
        font-size: 13px;
        max-width: calc(100% - 52px);
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .hero {
        padding: 20px 0 28px;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 3rem);
        line-height: 1.25;
    }

    .hero h2 {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-grid,
    .grid2,
    .grid3,
    .two-col,
    .stat-grid,
    .form-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        margin-bottom: 12px;
    }

    .hero-logo img {
        max-width: 240px;
    }

    .actions {
        justify-content: center;
    }

    .actions .btn {
        width: 100%;
        max-width: 240px;
        text-align: center;
    }

    /* .hero::after {
        background: rgba(0,0,0,0.55);
    } */

    /* .hero h1,
    .hero h2,
    .hero p {
        color: #090101;
    } */

    .full {
        grid-column: auto
    }

    .trow,
    .session {
        grid-template-columns: 1fr
    }

    .session .time {
        text-align: right
    }

    .footer-grid {
        flex-direction: column
    }

    .stripgrid {
        grid-template-columns: 1fr
    }

    .stripgrid>div {
        border-left: 0;
        border-bottom: 1px solid var(--line)
    }

}
.axis-desc {
    color: var(--muted);
    font-size: 14px;
    margin: 2px 0 10px
}

.nav-mobile-reg {
    display: none
}

@media(max-width:950px) {
    .nav-mobile-reg {
        display: inline-block
    }
}

/* Language switcher */
.lang-switch {
    font-weight: 700;
    font-size: 13px;
    padding: 7px 14px;
    border: 1px solid var(--blue);
    border-radius: 8px;
    color: var(--blue) !important;
    white-space: nowrap
}

.lang-switch:hover {
    background: var(--blue);
    color: #fff !important
}