/* ========================================
   Modern Conference Website Styles
   AMWP Theme — Antennas, Metasurfaces & Wave Propagation
   Palette: Deep Navy · Propagation Cyan · Resonance Violet
   ======================================== */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #0B2545;       /* deep space navy */
    --secondary-color: #06152A;     /* near-black navy */
    --accent-color: #00B4C8;        /* propagation cyan */
    --meta-color: #5A30B5;          /* metasurface violet */
    --text-dark: #0F1E2E;           /* ink navy */
    --text-light: #5C7A95;          /* muted steel */
    --bg-light: #F4F7FA;            /* signal white */
    --white: #ffffff;

    /* Tints */
    --primary-tint: #EBF0F7;
    --accent-tint: #E0F9FA;
    --meta-tint: #EEE9FB;
    --accent-deep: #007A88;
    --border-cool: #DAE3ED;

    /* Shadows — cool-tinted */
    --shadow-sm: 0 1px 2px 0 rgb(11 37 69 / 0.06);
    --shadow: 0 4px 6px -1px rgb(11 37 69 / 0.10), 0 2px 4px -2px rgb(11 37 69 / 0.08);
    --shadow-lg: 0 10px 15px -3px rgb(11 37 69 / 0.10), 0 4px 6px -4px rgb(11 37 69 / 0.08);
    --shadow-xl: 0 20px 25px -5px rgb(11 37 69 / 0.10), 0 8px 10px -6px rgb(11 37 69 / 0.08);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    --font-size-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --h2-size: clamp(1.5rem, 1.2rem + 3vw, 2.5rem);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 100px;
}

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

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

/* ========================================
   Layout
   ======================================== */

.container {
    max-width: min(1200px, 100% - 2.5rem);
    margin-inline: auto;
}

.contact-map {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
}

.contact-map iframe {
    max-width: 800px;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.brand-logo {
    height: 42px;
    width: auto;
    display: block;
    margin-left: -20px;
}

.brand-text {
    font-size: 1.55rem;
    font-weight: 650;
    letter-spacing: 0.4px;
    color: #1b1a1a;
    line-height: 1;
    white-space: nowrap;
    margin-bottom: -18px;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(255 255 255);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: var(--space-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-image {
    height: 56px;
    width: auto;
    image-rendering: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-menu a {
    display: inline-flex;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-base);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    background: rgb(11 37 69 / 0.08);
    padding: 6px 12px;
    border-radius: var(--radius-md);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-submit {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-deep);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--accent-color);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--accent-color);
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgb(255 255 255 / 0.97);
    backdrop-filter: blur(12px);
    padding: var(--space-xs) 0;
    margin: 0;
    list-style: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: var(--space-xs) var(--space-md);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.dropdown-menu li a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.dropdown-menu li a.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.dropdown > a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding-block: calc(80px + var(--space-2xl)) var(--space-2xl);
    overflow: hidden;
    transform: translateY(-100px);
    background:
        linear-gradient(
            135deg,
            rgba(11, 37, 69, 0.78) 0%,
            rgba(6, 21, 42, 0.82) 100%
        ),
        url("/static/Images/DJI_0594.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgb(0 180 200 / 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgb(90 48 181 / 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.25);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgb(0 180 200 / 0.18);
    border: 1px solid rgb(0 180 200 / 0.4);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: #7EE8F4;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 1000;
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 4px rgb(0 0 0 / 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: var(--space-lg);
    font-weight: 700;
    color: #B8D4EC;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    color: #D6E4F7;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgb(255 255 255 / 0.12);
    backdrop-filter: blur(10px);
    padding: 0.75rem var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 800;
    border: 1px solid rgb(255 255 255 / 0.15);
}

.detail-item a {
    text-decoration: none;
    color: inherit;
}
.detail-item a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

.detail-item svg {
    width: 18px;
    height: 18px;
    color: #00B4C8;
}

.icon {
    font-size: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: #002B32;
    font-weight: 1000;
}

.btn-primary:hover {
    background: var(--accent-deep);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgb(0 180 200 / 0.3);
}

.btn-secondary {
    background: rgb(255 255 255 / 0.12);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 1000;
}

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: clamp(60px, 10vw, 120px);
}

.hero-wave path {
    fill: var(--white);
}

/* ========================================
   Explore Section
   ======================================== */

.explore-section {
    padding-block: var(--space-2xl);
    background: linear-gradient(
        180deg,
        rgb(11 37 69 / 0.04),
        rgb(0 180 200 / 0.06)
    );
    text-align: center;
}

.explore-badge {
    display: inline-block;
    background: rgb(11 37 69 / 0.10);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.explore-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.explore-title span {
    background: linear-gradient(
        90deg,
        var(--accent-color),
        var(--meta-color)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.explore-subtitle {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    font-size: 1.05rem;
    color: var(--text-light);
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
    gap: var(--space-xl);
    justify-content: center;
}

.explore-card {
    text-align: center;
    transition: transform var(--transition-base);
}

.explore-card:hover {
    transform: translateY(-6px);
}

.explore-img {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgb(0 180 200 / 0.6);
    box-shadow: var(--shadow-lg);
}

.explore-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.learn-more {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgb(11 37 69 / 0.80);
    color: var(--white);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
}

.explore-img:hover .learn-more {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.learn-more:hover {
    background: rgb(11 37 69 / 0.95);
}

/* ========================================
   Place Details Section
   ======================================== */

.place-section {
    padding-block: var(--space-2xl);
    background: var(--bg-light);
}

.place-about {
    max-width: 900px;
    margin: var(--space-lg) auto var(--space-xl);
    text-align: center;
}

.place-about p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.place-map {
    display: flex;
    justify-content: center;
}

.place-map iframe {
    width: 100%;
    max-width: 900px;
    height: 420px;
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Common Section Styles
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2,
.page-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
    text-align: center;
}

.header-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--meta-color));
    margin-inline: auto;
    border-radius: var(--radius-sm);
}

.subtitle {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    text-align: center;
}

.sub-heading {
    margin-block: var(--space-lg) var(--space-sm);
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

/* ========================================
   Conference Info Section
   ======================================== */

.conference-info {
    padding-block: var(--space-2xl);
    background: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: var(--space-lg);
}

.info-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    color: var(--accent-color);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    padding-block: var(--space-2xl);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: var(--space-xl);
    align-items: center;
}

.about-content p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
    line-height: 1.8;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ========================================
   Host Section
   ======================================== */

.host-section {
    padding-block: var(--space-2xl);
    background: var(--bg-light);
}

.host-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: var(--space-xl);
    align-items: center;
}

.host-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.host-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.host-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgb(255 255 255 / 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-md);
    border-radius: var(--radius-xl);
    font-weight: 700;
    color: var(--primary-color);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    box-shadow: var(--shadow);
}

.host-badge span {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: var(--space-xs);
}

.host-info h2 {
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    font-size: 2rem;
}

.host-info p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Committee Section
   ======================================== */

.committee-section {
    padding-block: var(--space-2xl);
    background: var(--white);
}

.committee-title {
    text-align: center;
    margin: var(--space-xl) 0 var(--space-md);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
    justify-items: center;
    margin-bottom: var(--space-xl);
    overflow: visible;
}

.committee-grid.single {
    max-width: 300px;
    margin-inline: auto;
}

.committee-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
}

.committee-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.committee-card img {
    display: block;
    margin: 0 auto var(--space-sm);
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgb(0 180 200 / 0.5);
}

.committee-card.text-only {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.committee-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    text-align: center;
}

.committee-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    text-align: center;
}

.committee-card.text-only h4 {
    font-size: 1rem;
}

.committee-card.text-only p {
    font-size: 0.85rem;
}

.info-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.learn-more {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* ========================================
   Tracks Section
   ======================================== */

.tracks-section {
    padding-block: var(--space-2xl);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--space-md);
}

.track-card {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgb(11 37 69 / 0.3);
    background: var(--secondary-color);
}

.track-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    color: var(--accent-color);
}

.track-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.track-block {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow);
    border-left: 6px solid var(--accent-color);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transition: all var(--transition-base);
}

.track-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.track-block h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.track-block ul {
    padding-left: var(--space-md);
}

.track-block ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* ========================================
   Important Dates Section
   ======================================== */

.dates-section {
    padding-block: var(--space-2xl);
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin-inline: auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--accent-color);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 0 0 10px var(--white), 0 0 0 12px var(--accent-color);
    color: var(--white);
}

.timeline-icon svg {
    width: 26px;
    height: 26px;
    stroke: #fff;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.date {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

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

.status.extended {
    color: #dc2626;
    font-weight: 600;
}

/* ========================================
   Registration Section
   ======================================== */

.registration-section {
    padding-block: var(--space-2xl);
    background: var(--white);
    text-align: center;
}

.fee-card {
    background: #ffffff;
    border: 1px solid var(--border-cool);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

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

thead {
    background: var(--primary-color);
}

tbody tr:nth-child(even) {
    background: var(--bg-light);
}

th, td {
    padding: var(--space-sm);
    border-bottom: 1px solid var(--border-cool);
    text-align: left;
}

th {
    font-weight: 600;
    color: #ffffff;
}

td {
    color: var(--text-dark);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--primary-tint);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.payment-card {
    border: 1px solid var(--border-cool);
    border-radius: 10px;
    padding: 30px;
    background: #fff;
}

.payment-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--text-dark);
}

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

.payment-table td {
    padding: 8px 6px;
    vertical-align: top;
    font-size: 0.95rem;
}

.payment-table td:first-child {
    width: 40%;
    color: var(--text-light);
}

/* ========================================
   Venue Section
   ======================================== */

.venue-section {
    padding-block: var(--space-2xl);
    background: var(--bg-light);
}

.venue-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.venue-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.venue-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto var(--space-lg);
}

.venue-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.venue-tag {
    background: rgb(11 37 69 / 0.08);
    color: var(--primary-color);
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.travel-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
}

.travel-card:nth-child(1) {
    background: rgb(11 37 69 / 0.05);
}

.travel-card:nth-child(2) {
    background: rgb(0 180 200 / 0.05);
}

.travel-card:nth-child(3) {
    background: rgb(90 48 181 / 0.05);
}

.travel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.travel-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.travel-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Past Events Section
   ======================================== */

.past-events {
    padding-block: var(--space-2xl);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin-inline: auto;
}

.event-card {
    display: grid;
    place-items: center;
    padding: var(--space-lg);
}

.event-badge {
    width: 180px;
    height: 220px;
    background: var(--primary-color);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 2px solid rgb(0 180 200 / 0.3);
}

.event-badge:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.badge-text {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: #B8D4EC;
}

.badge-year {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
}

.badge-ieee {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    border-top: 2px solid rgb(0 180 200 / 0.4);
    padding-top: var(--space-xs);
    color: var(--accent-color);
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    padding-block: var(--space-2xl);
    background: var(--bg-light);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: var(--space-lg);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}

.general-contact {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    margin-block: var(--space-lg);
    max-width: 800px;
    margin-inline: auto;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    transition: all var(--transition-base);
    text-align: center;
}

.general-contact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.general-contact p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.general-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    background: rgb(11 37 69 / 0.06);
    border: 1px solid rgb(11 37 69 / 0.12);
}

.general-contact a:hover {
    color: var(--accent-deep);
    background: var(--accent-tint);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(0 180 200 / 0.15);
}

.general-contact a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgb(0 180 200 / 0.2);
}

.contact-info p a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
    word-break: break-all;
}

.contact-info p a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-photo {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    object-fit: fill;
    border-radius: 50%;
    border: 3px solid rgb(0 180 200 / 0.7);
    box-shadow: var(--shadow-sm);
}

.contact-info {
    flex: 1;
}

.developer-section {
    padding-block: var(--space-xl);
    background: var(--bg-light);
}

.developer-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgb(11 37 69 / 0.08);
}

.dev-badge {
    background: rgb(0 180 200 / 0.12);
    color: var(--accent-deep);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: var(--space-xs);
}

.dev-socials {
    display: flex;
    gap: 15px;
    margin-top: var(--space-sm);
    align-items: center;
}

.dev-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.dev-socials a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.dev-socials a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.dev-socials a:hover svg {
    transform: translateY(-3px);
}

.developer-card .contact-photo {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    object-fit: fill;
    border: 3px solid var(--accent-color);
}

@media (max-width: 500px) {
    .developer-card {
        flex-direction: column;
        text-align: center;
    }
    .dev-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Coming Soon Section
   ======================================== */

.coming-soon-section {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: var(--space-2xl) var(--space-sm);
}

.coming-container {
    text-align: center;
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
}

.coming-container h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.coming-container p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--space-lg);
    font-style: italic;
}

.spinner {
    border: 4px solid rgb(0 0 0 / 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-inline: auto;
    margin-bottom: var(--space-sm);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding-block: var(--space-xl) var(--space-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
    color: var(--white);
}

.footer-section h4 {
    margin-bottom: var(--space-sm);
    color: var(--accent-color);
    font-size: 1.2rem;
}

.footer-section p {
    color: #A0C4E8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section ul li a {
    color: #A0C4E8;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section a {
    color: #A0C4E8;
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgb(255 255 255 / 0.1);
    color: #5C7A95;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    color: #A0C4E8;
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-color);
    stroke-width: 2.2;
    flex-shrink: 0;
}

.footer-contact a {
    color: #A0C4E8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-20px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .container { padding-inline: var(--space-md); }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 968px) {
    .contact-map iframe { height: 300px; }

    .nav-toggle { display: flex; z-index: 1001; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background: var(--white);
        backdrop-filter: none;
        transition: right var(--transition-slow);
        padding: calc(80px + var(--space-lg)) var(--space-lg) var(--space-xl) var(--space-lg);
        gap: var(--space-md);
        justify-content: flex-start;
        z-index: 999;
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-menu.open { right: 0; }

    .nav-menu::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgb(11 37 69 / 0.04) 0%, rgb(0 180 200 / 0.04) 100%);
        z-index: -1;
    }

    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(50px);
        transition: all var(--transition-slow);
    }

    .nav-menu.open li { opacity: 1; transform: translateX(0); }
    .nav-menu.open li:nth-child(1) { transition-delay: 0.10s; }
    .nav-menu.open li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.open li:nth-child(3) { transition-delay: 0.20s; }
    .nav-menu.open li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.open li:nth-child(5) { transition-delay: 0.30s; }
    .nav-menu.open li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.open li:nth-child(7) { transition-delay: 0.40s; }
    .nav-menu.open li:nth-child(8) { transition-delay: 0.45s; }

    .nav-menu a {
        display: block;
        padding: var(--space-sm) 0;
        font-size: 1.2rem;
        font-weight: 600;
        border-bottom: 1px solid rgb(0 0 0 / 0.08);
    }

    .nav-menu a::after { display: none; }
    .nav-menu a:hover { transform: translateX(10px); }

    .nav-menu .btn-submit {
        display: block;
        width: 100%;
        margin-top: var(--space-md);
        margin-bottom: var(--space-md);
        border: 2px solid var(--accent-color);
        padding: 0.875rem var(--space-md);
        font-size: 1.1rem;
        border-bottom: 2px solid var(--accent-color);
        text-align: center;
        opacity: 1 !important;
        transform: none !important;
    }

    .nav-toggle.open {
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 1001;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        background: rgb(11 37 69 / 0.05);
        box-shadow: none;
        padding: var(--space-xs) 0 var(--space-xs) var(--space-md);
        margin-top: var(--space-xs);
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.open .dropdown-menu { display: block; }

    .dropdown-menu li a {
        padding: var(--space-xs) var(--space-sm);
        font-size: 1rem;
        border-bottom: 1px solid rgb(0 0 0 / 0.05);
    }

    .timeline::before { left: 30px; }

    .timeline-item,
    .timeline-item:nth-child(odd) { flex-direction: row; }

    .timeline-icon { position: absolute; left: 0; }
    .timeline-content { width: calc(100% - 80px); margin-left: 80px; }

    .about-grid,
    .host-content { grid-template-columns: 1fr; }

    .venue-card { padding: var(--space-lg); }
    .venue-card h3 { font-size: 1.5rem; }
    .travel-card { padding: var(--space-md); }
}

@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: var(--space-lg); text-align: center; }
    .footer-section { align-items: center; }
    .footer-section ul { padding: 0; }
    .footer-section ul li { margin-bottom: 0.75rem; }
    .footer-section p { margin-bottom: 0.75rem; }
    .events-grid { grid-template-columns: 1fr; }
    .hero-content { transform: none !important; opacity: 1 !important; }
}

@media (max-width: 640px) {
    .hero-details { flex-direction: column; gap: var(--space-sm); }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .nav-menu { padding: calc(70px + var(--space-sm)) var(--space-md) calc(var(--space-xl) + var(--space-md)) var(--space-md); }
    .nav-menu a { font-size: 1.1rem; padding: 0.875rem 0; }
    .nav-menu .btn-submit { padding: 0.75rem var(--space-md); font-size: 1.05rem; }
    .general-contact { padding: var(--space-md); }
    .general-contact p { font-size: 1rem; flex-direction: column; gap: var(--space-xs); }
    .general-contact a { width: 100%; text-align: center; }
    table { font-size: 0.9rem; }
    th, td { padding: var(--space-xs); }
}

@media (max-width: 480px) {
    .contact-map iframe { height: 240px; border-radius: var(--radius-lg); }
    .container { padding-inline: var(--space-sm); }
    .detail-item { font-size: 0.85rem; padding: var(--space-xs) var(--space-sm); }
    .info-card, .contact-card, .committee-card { padding: var(--space-md); }
    .about-image img, .host-image img { height: 300px; }
    .nav-menu { padding: calc(60px + var(--space-sm)) var(--space-sm) calc(var(--space-lg) + var(--space-md)) var(--space-sm); }
    .nav-menu a { font-size: 1rem; padding: 0.75rem 0; }
    .nav-menu .btn-submit { padding: 0.75rem var(--space-sm); font-size: 1rem; margin-top: var(--space-sm); }
    .nav-toggle { width: 25px; gap: 4px; }
    .spinner { width: 40px; height: 40px; }
    .venue-card { padding: var(--space-md); }
    .travel-card { padding: var(--space-sm); }
    .footer { padding: 2.5rem 0 1.5rem; }
    .footer-section h3, .footer-section h4 { font-size: 1.2rem; }
    .footer-section p, .footer-section a { font-size: 0.95rem; line-height: 1.6; }
    .footer-bottom { font-size: 0.85rem; padding-top: 1.5rem; }
}

@media (max-width: 375px) {
    .nav-menu { padding: calc(60px + var(--space-xs)) var(--space-xs) var(--space-lg) var(--space-xs); gap: var(--space-sm); }
    .nav-menu a { font-size: 0.95rem; padding: 0.65rem 0; }
    .nav-menu .btn-submit { padding: 0.65rem var(--space-sm); font-size: 0.95rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 0.95rem; }
    .detail-item { font-size: 0.8rem; padding: 0.5rem var(--space-xs); }
    .btn { padding: 0.65rem var(--space-sm); font-size: 0.9rem; }
    .about-image img, .host-image img { height: 250px; }
    .nav-toggle { width: 22px; gap: 3px; }
    .footer-section h3, .footer-section h4 { font-size: 1.1rem; }
    .footer-section p, .footer-section a { font-size: 0.9rem; }
}

@media (max-width: 320px) {
    .nav-menu { padding: calc(55px + var(--space-xs)) var(--space-xs) var(--space-md) var(--space-xs); }
    .nav-menu a { font-size: 0.9rem; padding: 0.6rem 0; }
    .nav-menu .btn-submit { padding: 0.6rem var(--space-xs); font-size: 0.9rem; }
    .hero h1 { font-size: 1.5rem; }
    .container { padding-inline: 0.75rem; }
    .info-card, .contact-card, .committee-card { padding: var(--space-sm); }
}

@media (max-height: 500px) and (orientation: landscape) {
    .nav-menu { padding-top: calc(50px + var(--space-xs)); gap: var(--space-xs); }
    .nav-menu a { padding: 0.5rem 0; font-size: 0.95rem; }
    .nav-menu .btn-submit { margin-top: var(--space-xs); margin-bottom: var(--space-xs); padding: 0.5rem var(--space-sm); }
}

@media print {
    .nav-toggle, .nav-menu, .hero-buttons, .footer { display: none; }
    body { font-size: 12pt; }
    .container { max-width: 100%; }
}

/* ========================================
   Utility Classes
   ======================================== */

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

/* ========================================
   Focus Styles (Accessibility)
   ======================================== */

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}