/* ===== ComSAR 2026 - main.css (Global Styles) ===== */

/* =========================
   00. Theme, Reset, Shared UI
========================= */
:root {
    --theme-primary: #07162f;
    --theme-secondary: #12345f;
    --theme-accent: #ff5900;
    --theme-accent-alt: #4fd1c5;
    --theme-accent-strong: #090572;
    --theme-highlight: #d94f00;
    --theme-background: #ffffff;
    --theme-surface: #ffffff;
    --theme-surface-soft: #f7fbff;
    --theme-text: #23395d;
    --theme-text-light: #e7eefc;
    --theme-text-muted: #6b7a95;
    --theme-border: #e5ecf8;
    --theme-shadow: rgba(7, 22, 47, 0.12);
    --theme-hero-gradient: linear-gradient(135deg, #0b183f 0%, #1d3a6c 52%, #0b243f 100%);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--theme-text);
    background: var(--theme-background);
    line-height: 1.7;
    overflow-x: hidden;
}

.section-padding {
    padding: 60px 0;
}

.section-divider {
    width: 100%;
    margin: 3rem 0;
    border: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.16);
}

.section-heading {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 10px;
    color: var(--theme-primary);
    font-weight: 700;
}

.section-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: #a93600;
}

.section-heading.mx-auto {
    display: inline-block;
}

.section-heading.mx-auto::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subheading {
    margin-bottom: 40px;
    color: #bffcff;
    font-size: 1.08rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary-custom,
.btn-secondary-custom,
.btn-light-outline,
.btn-outline-light {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    color: var(--theme-surface);
    background: var(--theme-accent);
    border: 1px solid var(--theme-accent);
}

.btn-primary-custom:hover {
    color: var(--theme-surface);
    background: #c84800;
    border-color: #c84800;
    transform: translateY(-2px);
}

.btn-secondary-custom,
.btn-light-outline,
.btn-outline-light {
    color: var(--theme-surface);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-secondary-custom {
    border-color: rgba(248, 108, 8, 0.97);
}

.btn-secondary-custom:hover,
.btn-light-outline:hover,
.btn-outline-light:hover {
    color: var(--theme-surface);
    background: rgba(255, 255, 255, 0.16);
}

.content-card {
    display: block;
    height: 100%;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(7, 22, 47, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(7, 22, 47, 0.12);
}

/* Top announcement bar — moved to assets/css/header.css */

/* Navbar/button styles moved to assets/css/header.css */

/* =========================
   11. Shared Inner-Page Styles
========================= */
.main-content {
    padding-bottom: 60px;
    background: rgba(241, 245, 250, 0.45);
}

.section-padding.page-band,
.page-band {
    background: var(--theme-surface-soft);
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #d7e3ef;
}

.section-lead {
    max-width: 720px;
    margin: 0 auto;
    color: var(--theme-text-muted);
    line-height: 1.85;
    text-align: justify;
}

.inner-hero {
    position: relative;
    padding: 90px 0 75px;
    overflow: hidden;
    color: var(--theme-surface);
    background:
        linear-gradient(135deg, rgba(7, 22, 47, 0.95), rgba(9, 63, 22, 0.9)),
        url("http://conference.unaux.com/Untitled%20design.png") no-repeat right 8% center;
    background-size: min(360px, 45vw);
}

.inner-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% 45%;
    height: 280px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(79, 209, 197, 0.18), rgba(79, 209, 197, 0));
}

.inner-hero .container {
    position: relative;
    z-index: 1;
}

.inner-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--theme-accent-alt);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inner-hero h1 {
    margin-bottom: 1rem;
    color: var(--theme-surface);
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.08;
}

.inner-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--theme-text-light);
    font-size: 1.08rem;
}

.inner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.inner-hero-mark {
    display: grid;
    min-height: 250px;
    place-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.inner-hero-mark i {
    margin-bottom: 0.8rem;
    color: var(--theme-accent-alt);
    font-size: 4rem;
    line-height: 1;
}

.inner-hero-mark span {
    display: block;
    color: var(--theme-surface);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}

.person-tile {
    display: block;
    height: 100%;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(7, 22, 47, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.person-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(7, 22, 47, 0.12);
}

.person-tile h3,
.content-card h3 {
    margin-bottom: 0.75rem;
    color: var(--theme-primary);
    font-size: 1.18rem;
    font-weight: 700;
}

.person-tile p,
.content-card p {
    margin-bottom: 0;
    color: var(--theme-text-muted);
}

.person-tile i {
    margin-bottom: 1rem;
    color: var(--theme-accent-strong);
    font-size: 2.6rem;
}

.link-card span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: var(--theme-accent-strong);
    font-weight: 700;
}

.list-panel {
    max-width: 980px;
    margin: 1rem auto 0;
}

.styled-list {
    display: grid;
    gap: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.styled-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
    border: 1px solid #dce9fb;
    border-radius: 1rem;
}

.styled-list strong {
    color: var(--theme-primary);
    font-weight: 700;
}

.styled-list span {
    color: var(--theme-accent-strong);
    font-weight: 600;
    text-align: right;
}

.styled-list span:empty {
    color: #93a3b8;
    font-weight: 500;
}

.speaker-card {
    padding: 1.3rem;
    background: var(--theme-surface);
    border: 1px solid #e2ebf7;
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(7, 22, 47, 0.06);
}

.speaker-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.speaker-card li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid #eef3fb;
}

.speaker-card li:last-child {
    border-bottom: 0;
}

.speaker-card strong {
    color: var(--theme-primary);
    font-weight: 700;
}

.speaker-card span {
    color: #54657d;
    white-space: nowrap;
}

.colorful-table {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16, 42, 67, 0.06);
}

.colorful-table thead {
    color: #ffffff;
    background: #0d3a66;
}

.colorful-table th,
.colorful-table td {
    padding: 14px 16px;
}

.colorful-table td {
    color: #334e68;
    font-size: 15px;
    font-weight: 500;
}

.row-blue { background: #f3f6fb; border-left: 4px solid #0d3a66; }
.row-green { background: #f2f7f2; border-left: 4px solid #198754; }
.row-yellow { background: #fff4ed; border-left: 4px solid #d94f00; }
.row-purple { background: #f6f2fb; border-left: 4px solid #6f42c1; }
.row-red { background: #fff2f2; border-left: 4px solid #b02a37; }
.row-dark { background: #eef1f4; border-left: 4px solid #343a40; }

/* =========================
   12. Responsive Adjustments
========================= */
@media (max-width: 991.98px) {
    .navbar-brand {
        padding: 5px 8px;
    }

    .navbar-brand img.navbar-logo {
        max-width: 150px !important;
        max-height: 34px !important;
    }

    .navbar .nav-item {
        text-align: center;
    }
    /* Contact button responsive rules moved to assets/css/header.css */

    .footer {
        padding-top: 50px;
    }
}

@media (max-width: 767.98px) {
    .top-bar,
    .top-bar .text-end {
        text-align: center !important;
    }

    .top-bar .text-end {
        margin-top: 5px;
    }

    .section-padding { padding: 40px 0; }

    .section-heading {
        font-size: 1.9rem;
    }

    .section-subheading {
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    .inner-hero {
        padding: 65px 0 55px;
        text-align: center;
        background-size: 260px;
    }

    .inner-hero p {
        margin-right: auto;
        margin-left: auto;
    }

    .inner-actions {
        justify-content: center;
    }

    .inner-hero-mark {
        min-height: 190px;
    }

    .styled-list li,
    .speaker-card li {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .styled-list span {
        text-align: left;
    }

    .footer {
        padding-top: 45px;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links {
        margin-bottom: 25px;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer .text-md-end {
        margin-top: 10px;
        text-align: center !important;
    }

    .back-to-top {
        right: 18px;
        bottom: 18px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        padding: 4px 6px;
    }

    .navbar-brand img.navbar-logo {
        max-width: 130px !important;
        max-height: 28px !important;
    }
}

/* =========================
   13. Coming Soon Page
========================= */
.coming-soon-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    color: #ffffff;
    background: var(--theme-hero-gradient);
}

.coming-soon-shell {
    width: min(100%, 760px);
}

.coming-soon-card {
    padding: 2.5rem;
    color: #112240;
    text-align: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.coming-soon-eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.4rem 0.8rem;
    color: var(--theme-secondary);
    background: #e8f4ff;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coming-soon-card h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
}

.coming-soon-text {
    margin-bottom: 1.6rem;
    color: #4b5f7d;
    font-size: 1.02rem;
}

.coming-soon-details {
    display: grid;
    gap: 0.8rem;
    margin: 1.4rem 0 1.8rem;
}

.coming-soon-details div {
    padding: 0.85rem 1rem;
    background: #f7fbff;
    border: 1px solid #e0ebf8;
    border-radius: 14px;
}

.coming-soon-details strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--theme-secondary);
}

.coming-soon-details span {
    color: #566a84;
}

.coming-soon-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

@media (max-width: 576px) {
    .section-padding {
        padding: 36px 0;
    }

    .container,
    .container-fluid {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .coming-soon-card {
        padding: 1.5rem;
    }

    .coming-soon-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }

    .btn-primary-custom,
    .btn-secondary-custom,
    .btn-light-outline,
    .btn-outline-light {
        width: 100%;
        align-items: center;
    }
}
