/*
Theme Name: PODOCON 26
Description: Custom landing page theme for the Tissue Viability Workshop.
Author: Antigravity
Version: 1.0.1
*/

:root {
    --primary-color: #5c13a0;
    --secondary-color: #f39c12;
    --accent-color: #5c13a0;
    --text-color: #5c13a0;
    --text-light: #ffffff;
    --text-muted: #666666;
    --bg-dark: #5c13a0;
    --bg-light: #f9f9f9;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

@media (min-width: 1025px) {
    body {
        padding-top: 68px;
        /* Offset for fixed header */
    }
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Base Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white !important;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    color: white !important;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 40px;
}

/* Header */
.site-header {
    background: #5c13a0;
    height: 85px;
    /* Exact height for web */
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-main-row {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: auto auto 1fr;
    /* Logo, Capsule, and flexible Menu space */
    align-items: center;
    gap: 60px;
    width: 100%;
    height: 100%;
}

.mobile-branding-row {
    display: contents;
    /* Makes children direct grid items on desktop */
}

.site-header .logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-header .main-logo {
    height: 50px;
    width: auto;
}

.site-header .logo-line {
    width: 100%;
    height: 1px;
    background: white;
    margin: 2px 0;
}

.site-header .logo-date {
    color: white;
    font-size: 10px !important;
    margin: 0;
    white-space: nowrap !important;
    text-transform: none !important;
    font-weight: 400;
    line-height: 1;
}

.sponsorship-row {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 100px;
    padding: 0 5px 0 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap !important;
    height: 50px;
}

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex !important;
}

.sponsor-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.sponsor-block.organized {
    padding-right: 35px;
}

.sponsor-block.sponsored {
    background: white;
    padding: 0 40px;
    border-radius: 100px;
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.08), 10px 0 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sponsor-block .label {
    font-size: 8px !important;
    color: #333;
    font-weight: 500;
    text-transform: none !important;
}

.sponsor-block .logos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sponsor-block .logos img {
    height: 20px;
    width: auto;
}

.main-nav {
    flex: 1;
    /* Take up remaining space to push to right */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    white-space: nowrap !important;
}

/* Mobile Fix - Readable Single Row */
@media (max-width: 1024px) {
    .header-main-row {
        display: block !important;
        /* Break the grid */
        padding: 12px !important;
        width: 100% !important;
    }

    .mobile-branding-row {
        display: flex !important;
        flex-wrap: wrap !important;
        /* Allow two rows */
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 15px 0;
        /* Vertical gap between rows */
    }

    .main-logo-wrapper {
        flex: 0 0 auto;
        order: 1;
        /* Stay top left */
    }

    .menu-toggle {
        order: 2;
        /* Stay top right */
        margin-left: auto !important;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .main-nav .sponsorship-row {
        margin: 20px 15px 30px 15px !important;
        width: auto !important;
        background: white !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        height: auto !important;
        padding: 20px !important;
        flex-direction: column !important;
        gap: 15px !important;
        border-radius: 20px !important;
        border: none !important;
    }

    .main-nav .sponsorship-row .sponsor-block {
        width: 100%;
        justify-content: flex-start !important;
    }

    .main-nav .sponsorship-row .sponsor-block.sponsored {
        background: #fcf9ff !important;
        /* Very light purple tint */
        padding: 15px !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        margin: 0 !important;
    }

    .main-nav .sponsorship-row .label {
        color: #5c13a0 !important;
        /* Professional purple label */
        margin-bottom: 8px !important;
        font-weight: 700 !important;
        font-size: 10px !important;
    }

    .main-nav .sponsorship-row .logos {
        gap: 20px !important;
    }

    .main-nav .sponsorship-row .logos img {
        height: 22px !important;
    }

    .sponsor-block.organized {
        padding-right: 15px !important;
    }

    .sponsor-block.sponsored {
        padding: 6px 20px !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.06);
        margin: -4px !important;
    }

    .sponsor-block .label {
        font-size: 14px !important;
        /* Larger text */
        margin-right: 12px !important;
    }

    .sponsor-block img {
        height: 25px !important;
        /* Refined logo size */
        width: auto;
    }

    .sponsor-block .logos {
        display: flex !important;
        gap: 15px !important;
        /* Professional spacing */
        align-items: center;
    }

    .sponsor-block .logos img {
        height: 25px !important;
        /* Scaled to 25px */
        width: auto;
    }

    .sponsor-block {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .sponsor-block .label {
        font-size: 8px !important;
        /* Readable font */
        font-weight: 700;
        color: #666;
        margin: 0 !important;
    }

    .sponsor-block .logos {
        display: flex !important;
        gap: 5px !important;
    }

    .sponsor-block .logos img {
        height: 14px !important;
        /* Clearer partner logos */
    }

    .menu-toggle {
        display: flex !important;
        flex: 0 0 45px;
        height: 45px;
        justify-content: center;
        align-items: center;
        margin-left: auto !important;
        /* Force to absolute right */
        background: none;
        border: none;
        z-index: 1100;
        padding-right: 0;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: white !important;
    }
}

/* Animation for X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Menu Overlay Fix */
.main-nav.active {
    padding-top: 80px;
    background: rgba(92, 19, 160, 0.98);
    backdrop-filter: blur(10px);
}
}

.sponsor-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.sponsor-block .label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.sponsor-block .logos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sponsor-block .logos img {
    height: 25px;
    width: auto;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .header-main-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .main-logo-wrapper {
        align-items: center;
    }

    .sponsorship-row {
        flex-direction: column;
        padding: 20px;
        border-radius: 20px;
        width: 100%;
        gap: 20px;
    }

    .sponsor-block .logos {
        justify-content: center;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 25px;
        right: 20px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #5c13a0;
        padding: 100px 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: block !important;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 30px !important;
    }

    .main-nav a {
        font-size: 1.5rem !important;
        color: white !important;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: white;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: #f39c12;
    /* High-contrast gold */
}

/* Hero Section */
.hero {
    padding: 0;
    margin-top: 80px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.slide-content {
    width: 100%;
    aspect-ratio: 4000 / 1667;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    background-color: white;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.hero-container {
    height: 100%;
    position: relative;
}

.hero-register-overlay {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: 12%;
    background: transparent;
    z-index: 10;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Welcome Section */
.welcome {
    padding: 60px 0;
    background: #5c13a0;
    background: linear-gradient(135deg, #5c13a0 0%, #3e0d6b 100%);
    color: white;
    position: relative;
    scroll-margin-top: 85px;
    /* Prevents title from being hidden by fixed header */
}

.welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18v4M18 20h4' stroke='rgba(255,255,255,0.15)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
    animation: softAura 15s ease-in-out infinite alternate;
}

.welcome::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

@keyframes softAura {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.15) translate(2%, 2%);
        opacity: 0.9;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    /* Default to purple */
}

.welcome .section-title,
.about .section-title {
    color: white;
    /* White for dark sections */
    position: relative;
    padding-bottom: 15px;
}

.welcome .section-title::after,
.about .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #f39c12;
    border-radius: 2px;
}

.welcome-content {
    /* Wider for fluid container */
    margin: 0;
    /* Align to left container edge */
    text-align: justify !important;
    padding: 0 60px 0 100px;
    /* Indented from left */
    font-size: 1.15rem;
}

.welcome-content p {
    margin-bottom: 25px;
    color: white;
    text-align: justify !important;
}

.welcome-signatures {
    display: flex;
    gap: 80px;
    padding: 40px 60px 0 100px;
    /* Matched indentation */
    margin-top: 20px;
}

.signature-block {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.signature-block:hover {
    transform: translateY(-10px);
}

.sig-image-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
}

.sig-image-placeholder::after {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
}

.sig-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.signature-block:hover .sig-image {
    border-color: #f39c12;
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.4);
}

.sig-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.sig-name {
    color: white;
    font-size: 1.2rem !important;
    margin: 0;
    text-transform: none !important;
    font-weight: 700;
}

.sig-designation {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 5px 0 0 0;
}

@media (max-width: 768px) {
    .welcome {
        padding: 40px 0;
    }

    .welcome .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .welcome-content {
        padding: 0 20px !important;
        font-size: 1rem;
        text-align: left !important;
    }

    .welcome-content p {
        margin-bottom: 15px;
        text-align: justify !important;
    }

    .welcome-signatures {
        flex-direction: column;
        gap: 25px;
        padding: 30px 20px 0 20px !important;
    }

    .signature-block {
        gap: 15px;
    }

    .sig-image {
        width: 80px;
        height: 80px;
    }

    .sig-name {
        font-size: 1.1rem !important;
    }
}

/* Speakers Section */
.speakers {
    padding: 100px 0;
    background: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #f3e5f5 100%);
    position: relative;
    overflow: hidden;
    color: var(--primary-color);
}

.speakers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(120deg, rgba(156, 39, 176, 0.05) 20%, transparent 20.1%),
        linear-gradient(240deg, rgba(156, 39, 176, 0.05) 20%, transparent 20.1%);
    z-index: 0;
}

.speakers .container {
    position: relative;
    z-index: 1;
}

.speakers-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.speaker-card {
    flex: 1;
    min-width: 150px;
    max-width: 180px;
    text-align: center;
}

.speaker-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #e0e0e0;
    border: 2px solid var(--primary-color);
    margin: 0 auto 15px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.speaker-name {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 2px;
    text-transform: uppercase;
    color: #000;
}

.speaker-role {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

/* Registration Fee Bar */
.registration-fee {
    padding: 30px 0;
    background: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #f3e5f5 100%);
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.registration-fee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(120deg, rgba(156, 39, 176, 0.05) 20%, transparent 20.1%),
        linear-gradient(240deg, rgba(156, 39, 176, 0.05) 20%, transparent 20.1%);
    z-index: 0;
}

.fee-content {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

.fee-content .price {
    font-weight: 800;
}

.fee-content .gst {
    font-size: 1.5rem;
    vertical-align: middle;
}

/* About Section */
.about {
    padding: 60px 0;
    background: #5c13a0;
    background: linear-gradient(135deg, #5c13a0 0%, #3e0d6b 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 10px);
    pointer-events: none;
}

.about-row {
    display: flex;
    flex-direction: row;
    /* Side-by-side on web */
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content {
    flex: 1.5;
    /* More space for text */
    color: white;
}

.about-content p {
    text-align: justify !important;
}

/* Mobile Adaptive Stack */
@media (max-width: 1024px) {
    .about-row {
        flex-direction: column;
        gap: 40px;
    }

    .about-content {
        width: 100%;
        text-align: left;
    }
}

.about-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.participation-card {
    flex: 1;
    background: linear-gradient(to right, #ffffff 70%, #fcf9ff 100%);
    padding: 35px 45px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

.participation-card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
}

.participation-card ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.participation-card ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

/* About PODOCON Section */
.about-podocon {
    padding: 80px 0;
    background: #ffffff;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    scroll-margin-top: 85px;
}

.about-podocon .section-title {
    color: var(--primary-color);
    margin-bottom: 40px;
}

.about-podocon .section-title::after {
    background: var(--primary-color);
}

.podocon-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

.podocon-content p {
    margin-bottom: 20px;
}

/* Registration Fee */
.registration-fee {
    padding: 60px 0;
    background: white;
    color: var(--bg-dark);
    text-align: center;
}

.registration-fee h2 {
    font-size: 2.5rem;
    color: var(--bg-dark);
}

/* Elite Symmetrical Bleed Footer */
.site-footer {
    background-color: #2d0050;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(92, 19, 160, 0.4) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 10px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 10px);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-main-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 40px;
}

/* Left: Half-Capsule (Sponsored by) */
.footer-half-capsule {
    background: white;
    padding: 20px 40px 20px 60px;
    border-radius: 0 100px 100px 0;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.footer-sponsor-logo {
    height: 90px !important;
}

/* Right: Half-Capsule (Contact Info) - Bleeding off Right */
.footer-full-capsule {
    background: white;
    padding: 15px 60px 15px 40px;
    border-radius: 100px 0 0 100px;
    /* Bleed off right */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.capsule-content {
    display: flex;
    align-items: center;
    gap: 35px;
}

.capsule-block.secretariat {
    display: flex;
    flex-direction: column !important;
    /* Forces text on top of logo */
    align-items: flex-start;
    gap: 5px;
}

.block-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.secretariat-logo {
    height: 45px;
    width: auto;
}

.capsule-divider {
    width: 3px;
    /* Thicker solid divider */
    height: 45px;
    background: var(--primary-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #f39c12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    /* Dark icons from screenshot */
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.contact-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.5;
    color: white;
    letter-spacing: 1px;
}

/* Mobile Adjustments for Elite Footer */
@media (max-width: 1200px) {
    .footer-main-layout {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .footer-half-capsule {
        width: 100%;
        border-radius: 40px !important;
        /* Full rounded box on mobile */
        padding: 30px 20px;
        text-align: center;
    }

    .footer-sponsor-logo {
        height: 80px !important;
        margin: 0 auto;
    }

    .footer-full-capsule {
        width: 100%;
        margin-right: 0;
        border-radius: 40px !important;
        /* Matches the screenshot */
        padding: 40px 20px;
        text-align: center;
    }

    .capsule-content {
        flex-direction: column;
        gap: 35px;
        align-items: center;
    }

    .capsule-block.secretariat {
        flex-direction: column;
        /* Text on top, logo at bottom */
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-bottom: 15px;
    }

    .capsule-divider {
        display: none;
    }

    .contact-link {
        flex-direction: column !important;
        /* Stack icon above text */
        gap: 15px;
        width: 100%;
    }

    .contact-icon {
        margin: 0 auto;
        width: 60px;
        /* Slightly larger for mobile tap target */
        height: 60px;
        font-size: 28px;
    }

    .contact-text {
        font-size: 24px !important;
        /* Bold, readable size */
        text-align: center;
        width: 100%;
        display: block;
    }
}

.footer-capsules {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.footer-capsule {
    background: white;
    padding: 30px 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    min-height: 120px;
}

.sponsor-capsule {
    border-radius: 0 100px 100px 0;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 80px;
    margin-left: 0;
}

.secretariat-capsule {
    border-radius: 100px 0 0 100px;
    gap: 35px;
    padding-right: 80px;
    margin-right: 0;
}

.sub-footer {
    background: #2d0050;
    padding: 15px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-footer p {
    margin: 0;
}

.capsule-label {
    font-size: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.sponsor-logo {
    height: 45px;
    width: auto;
}

.secretariat-info {
    display: flex;
    flex-direction: column;
}

.secretariat-logo {
    height: 35px;
    width: auto;
}

.contact-divider {
    width: 2px;
    height: 40px;
    background: var(--primary-color);
    opacity: 0.8;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-logo-wrapper {
    display: flex;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #f39c12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: black;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.contact-text {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Comprehensive Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo-group {
        flex-direction: column;
        gap: 15px;
    }

    .footer-capsules {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .sponsor-capsule,
    .secretariat-capsule {
        border-radius: 50px !important;
        width: 95% !important;
        margin: 0 auto !important;
        padding: 20px !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: relative !important;
        top: 0;
        width: 100%;
        padding: 10px 0;
    }

    .header-container {
        flex-direction: column;
        /* Allow rows to stack */
        gap: 15px;
        padding: 10px 15px;
    }

    .logo-group {
        width: 100%;
        display: flex;
        flex-direction: row;
        /* Logos stay horizontal */
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .header-logo-wrapper {
        max-width: 130px;
    }

    .header-capsule {
        flex: 1;
        max-width: 220px;
        padding: 8px 12px;
        height: auto;
        border-radius: 20px;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        top: 0;
        right: 0;
        margin: 0;
        /* Align left */
        align-self: flex-start;
        order: 2;
    }

    .capsule-logos img {
        height: 16px;
    }

    .sponsored img {
        height: 20px;
    }

    .capsule-label {
        font-size: 7px;
    }
}

@media (min-width: 1025px) {
    .main-nav {
        margin-top: 10px;
        width: 100%;
    }
}

.main-nav {
    width: 100%;
}

.main-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 0;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.hero {
    margin-top: 0;
    /* Remove gap after relative header */
}

.hero-content h1 {
    font-size: 1.8rem;
}
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .contact-text {
        font-size: 1.2rem;
    }

    .sponsor-logo {
        height: 35px;
    }

    .secretariat-logo {
        height: 30px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Elite Page Template Styles */
.page-template {
    background: #fcfcfc;
    min-height: 60vh;
}

.page-hero {
    background: linear-gradient(135deg, #5c13a0 0%, #3e0d6b 100%);
    padding: 40px 0 30px;
    /* Slimmer banner */
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.2rem;
    /* More balanced size */
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.page-content {
    padding: 40px 0;
    /* Tightened content space */
    color: #333;
}

/* WP Content Typography */
.page-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #444;
}

.page-content h2 {
    font-size: 2rem;
    color: #5c13a0;
    margin: 50px 0 20px;
    font-weight: 700;
}

.page-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 30px 0 15px;
    font-weight: 700;
}

.page-content ul,
.page-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.page-content li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 40px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-content {
        padding: 40px 0;
    }
}

/* Global Button Fixes */
.btn {
    display: inline-block !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-align: center !important;
}

.btn-primary {
    background-color: var(--secondary-color) !important;
    color: white !important;
    padding: 12px 30px;
}

.btn-large {
    padding: 18px 45px !important;
    font-size: 1.1rem !important;
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: #e67e22 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4) !important;
}