/* ============================================================
   Karnataka Energy Summit - Custom Stylesheet
   All font-sizes declared in px for consistent typography.
   ============================================================ */

/* ---------- Theme Variables ---------- */
:root {
    --ks-primary: #0b3d2e;         /* Deep green - government/energy tone */
    --ks-primary-dark: #072a20;
    --ks-accent: #f4a300;          /* Gold accent - premium summit feel */
    --ks-accent-dark: #d18d00;
    --ks-text-light: #ffffff;
    --ks-text-muted: #d9e4de;
    --ks-bg-navbar: #ffffff;
    --ks-body-text: #1c2833;

    --ks-nav-height: 72px;
    --ks-transition: all 0.3s ease-in-out;
    --ks-font-heading: 'Outfit', 'Segoe UI', Roboto, Arial, sans-serif;
    --ks-font-body: 'Noto Sans', 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Global Base ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--ks-nav-height);
}

body {
    font-family: var(--ks-font-body);
    font-size: 15px;
    color: var(--ks-body-text);
    background-color: #0c2318;
    line-height: 1.6;
    padding-top: var(--ks-nav-height);
}

/* Headings use Outfit; paragraphs & body copy use Noto Sans */
h1, h2, h3, h4, h5, h6,
.section-title,
.navbar-nav .nav-link {
    font-family: var(--ks-font-heading);
}

p,
.section-lead {
    font-family: var(--ks-font-body);
}

/* ============================================================
   NAVBAR
   ============================================================ */

.site-navbar {
    background-color: var(--ks-bg-navbar);
    min-height: var(--ks-nav-height);
    padding-top: 12px;
    padding-bottom: 12px;
    transition: var(--ks-transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* No shadow — keep the navbar flat when scrolled */
.site-navbar.is-scrolled {
    box-shadow: none !important;
    padding-top: 6px;
    padding-bottom: 6px;
}

/* ---------- Nav Links ---------- */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    font-size: 15px;
    color: var(--ks-body-text);
    padding: 10px 16px !important;
    margin: 0 2px;
    transition: var(--ks-transition);
}

/* Underline hover indicator */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background-color: var(--ks-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--ks-primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
    transform: scaleX(1);
}

/* Active menu highlighting */
.navbar-nav .nav-link.active {
    color: var(--ks-primary);
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* ---------- CTA Style Link (Express Interest - Pill w/ White Ring) ---------- */
.navbar-nav .nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 8px 8px 8px 22px !important;
    margin-left: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 12.5px;
    line-height: 1;
    background: linear-gradient(90deg, #a5d048 0%, #4caf50 55%, #0b3d2e 100%);
    border: 4px solid #ffffff;
    box-shadow:
        0 10px 22px rgba(30, 110, 55, 0.35),
        0 3px 8px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 1px rgba(10, 45, 25, 0.35);
    transform: translateY(0);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.3s ease;
}

/* Arrow badge on the right */
.navbar-nav .nav-cta .nav-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.navbar-nav .nav-cta .nav-cta-arrow i {
    font-size: 13px;
    font-weight: 700;
    -webkit-text-stroke: 1px #ffffff;
}

.navbar-nav .nav-cta:hover,
.navbar-nav .nav-cta:focus {
    color: #ffffff !important;
    background: linear-gradient(90deg, #b8e057 0%, #5cbf60 55%, #164a35 100%);
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px rgba(30, 110, 55, 0.42),
        0 4px 10px rgba(0, 0, 0, 0.12);
}

.navbar-nav .nav-cta:hover .nav-cta-arrow {
    background: rgba(255, 255, 255, 0.4);
    transform: translateX(3px);
}

.navbar-nav .nav-cta:active {
    transform: translateY(0);
    box-shadow:
        0 6px 14px rgba(30, 110, 55, 0.32),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hide underline for CTA button */
.navbar-nav .nav-cta::after {
    display: none;
}

/* ---------- Mobile Toggler ---------- */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
    color: var(--ks-primary);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.15);
    outline: none;
}

.toggler-icon {
    font-size: 28px;
    line-height: 1;
    color: var(--ks-primary);
    transition: var(--ks-transition);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon {
    transform: rotate(90deg);
}

/* ============================================================
   RESPONSIVE - Mobile menu appearance
   ============================================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 12px;
        padding: 12px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .navbar-nav .nav-link {
        padding: 12px 8px !important;
        margin: 2px 0;
    }

    /* Convert underline to left border on mobile for clarity */
    .navbar-nav .nav-link::after {
        left: 0;
        right: auto;
        top: 50%;
        bottom: auto;
        width: 3px;
        height: 60%;
        transform: translateY(-50%) scaleY(0);
        transform-origin: center;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link:focus::after,
    .navbar-nav .nav-link.active::after {
        transform: translateY(-50%) scaleY(1);
    }

    .navbar-nav .nav-cta {
        display: inline-block;
        margin-left: 0;
        margin-top: 8px;
        width: fit-content;
    }
}

/* ============================================================
   HERO SECTION - Banner image only
   ============================================================ */
.hero-section {
    width: 100%;
    line-height: 0;
}

.hero-banner {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================================================
   REVEAL-ON-SCROLL ANIMATION
   Base element state + visible state (staggered inside sections)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger child card reveals inside their parent grid/carousel */
.focus-card.reveal,
.why-card.reveal,
.pc-mini.reveal,
.attend-card.reveal,
.speaker-card.reveal {
    transition-delay: 0s;
}

.row > *:nth-child(2) .reveal,
.row > *:nth-child(2) > .reveal { transition-delay: 0.08s; }

.row > *:nth-child(3) .reveal,
.row > *:nth-child(3) > .reveal { transition-delay: 0.16s; }

.row > *:nth-child(4) .reveal,
.row > *:nth-child(4) > .reveal { transition-delay: 0.24s; }

.row > *:nth-child(5) .reveal,
.row > *:nth-child(5) > .reveal { transition-delay: 0.32s; }

.row > *:nth-child(6) .reveal,
.row > *:nth-child(6) > .reveal { transition-delay: 0.4s; }

/* Why Karnataka grid uses CSS Grid instead of Bootstrap row */
.why-cards > .why-card:nth-child(1) { transition-delay: 0s; }
.why-cards > .why-card:nth-child(2) { transition-delay: 0.08s; }
.why-cards > .why-card:nth-child(3) { transition-delay: 0.16s; }
.why-cards > .why-card:nth-child(4) { transition-delay: 0.24s; }
.why-cards > .why-card:nth-child(5) { transition-delay: 0.32s; }
.why-cards > .why-card:nth-child(6) { transition-delay: 0.4s; }

/* Key Participants: left column cards cascade first, center image, then right column cards */
.pc-grid > .pc-col:first-child > .pc-mini.reveal:nth-of-type(1) { transition-delay: 0s; }
.pc-grid > .pc-col:first-child > .pc-mini.reveal:nth-of-type(2) { transition-delay: 0.15s; }
.pc-grid > .pc-col:first-child > .pc-mini.reveal:nth-of-type(3) { transition-delay: 0.3s; }
.pc-grid > .pc-col:first-child > .pc-mini.reveal:nth-of-type(4) { transition-delay: 0.45s; }

.pc-grid > .pc-col-media > .pc-media.reveal { transition-delay: 0.6s; }

.pc-grid > .pc-col:last-child > .pc-mini.reveal:nth-of-type(1) { transition-delay: 0.75s; }
.pc-grid > .pc-col:last-child > .pc-mini.reveal:nth-of-type(2) { transition-delay: 0.9s; }
.pc-grid > .pc-col:last-child > .pc-mini.reveal:nth-of-type(3) { transition-delay: 1.05s; }
.pc-grid > .pc-col:last-child > .pc-mini.reveal:nth-of-type(4) { transition-delay: 1.2s; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   UNIFIED SECTION HEADING SYSTEM
   Applied on top of section-specific styling for consistency
   ============================================================ */
.sec-header {
    margin-bottom: 44px;
    position: relative;
    z-index: 2;
}

/* Pill badge with pulsing dot */
.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px 7px 14px;
    border-radius: 30px;
    font-family: var(--ks-font-heading);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1;
    border: 1.5px solid transparent;
    transition: var(--ks-transition);
}

.sec-badge-green {
    color: #059669;
    background: rgba(16, 185, 129, 0.10);
    border-color: rgba(5, 150, 105, 0.35);
}

/* Small dot inside the badge with a soft pulse */
.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: badgePulse 2s ease-out infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Big centered section title */
.sec-title {
    font-family: var(--ks-font-heading);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #0b2545;
    letter-spacing: 0.3px;
    margin: 0 0 14px;
}

/* Accent word: green gradient text */
.sec-accent {
    background: linear-gradient(135deg, #10b981 0%, #059669 60%, #047857 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Subtitle */
.sec-subtitle {
    font-family: var(--ks-font-body);
    font-size: 15px;
    line-height: 1.65;
    color: #4a5b6b;
    max-width: 640px;
    margin: 0 auto;
    font-weight: 400;
}

/* Dark-background variant (About section stays white in this project, but
   Why Karnataka's title should remain navy on the light bg image) */
.sec-title.on-dark {
    color: #ffffff;
}

.sec-subtitle.on-dark {
    color: #b8c7c1;
}

/* About section header: centered at the top of the section */
.about-section .about-header,
.about-section .about-header .sec-badge,
.about-section .about-header .sec-title,
.about-section .about-header .sec-subtitle {
    text-align: center;
}

.about-section .about-header .sec-title {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Responsive heading sizing ---------- */
@media (max-width: 991.98px) {
    .sec-title    { font-size: 28px; }
    .sec-subtitle { font-size: 14.5px; }
    .sec-header   { margin-bottom: 34px; }
}

@media (max-width: 575.98px) {
    .sec-title    { font-size: 24px; }
    .sec-badge    { font-size: 11.5px; letter-spacing: 1px; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 60px 0;
    background-color: #ffffff;
    color: #1c2833;
    position: relative;
    overflow: hidden;
}

/* Decorative animated wind turbine anchored to the focus-section's bottom-right */
.focus-shape-gif {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 200px;
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    opacity: 0.3;
    filter: grayscale(45%);
}

@media (max-width: 1399.98px) {
    .focus-shape-gif {
        width: 130px;
        right: 15px;
        bottom: 15px;
    }
}

@media (max-width: 1199.98px) {
    .focus-shape-gif {
        width: 110px;
        opacity: 0.1;
    }
}

@media (max-width: 991.98px) {
    .focus-shape-gif {
        display: none;
    }
}

/* ---------- About section header specifics (uses unified .sec-*) ---------- */
.about-title {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

/* Underline that draws in from the left when the title reveals */
.about-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 90px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #10b981 0%, #f4a300 100%);
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.35s;
}

.about-title.is-visible::after,
.reveal.is-visible .about-title::after {
    transform: translateX(-50%) scaleX(1);
}

/* Animated shimmer on the accent word "Energy Innovation" */
.about-title .sec-accent {
    background: linear-gradient(
        90deg,
        #10b981 0%,
        #34d399 25%,
        #f4a300 50%,
        #34d399 75%,
        #10b981 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: aboutAccentShimmer 4s linear infinite;
}

.about-title:hover .sec-accent {
    animation-duration: 1.6s;
}

@keyframes aboutAccentShimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: -220% 50%; }
}

/* ---------- About Collage ---------- */
.about-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    margin-top: 0;
    padding: 6px 6px 24px;
    min-height: 460px;
}

.about-collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(11, 37, 69, 0.14);
    background-color: #eef4f0;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-collage-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 37, 69, 0) 45%,
        rgba(11, 37, 69, 0.28) 100%
    );
    opacity: 0.55;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.about-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.7s ease;
}

.about-collage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(11, 37, 69, 0.22);
}

.about-collage-item:hover img {
    transform: scale(1.08);
}

.about-collage-item:hover::after {
    opacity: 0.35;
}

.about-collage-main {
    grid-column: 1;
    grid-row: 1 / span 2;
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
    animation: aboutCollageFloat 7s ease-in-out infinite;
}

.about-collage-top {
    grid-column: 2;
    grid-row: 1;
    border-top-right-radius: 28px;
    animation: aboutCollageFloat 7s ease-in-out infinite 1.2s;
}

.about-collage-bottom {
    grid-column: 2;
    grid-row: 2;
    border-bottom-right-radius: 28px;
    animation: aboutCollageFloat 7s ease-in-out infinite 2.4s;
}

.about-collage-badge {
    position: absolute;
    left: -14px;
    bottom: -6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-family: var(--ks-font-heading);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.4px;
    border-radius: 30px;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
    z-index: 3;
    white-space: nowrap;
}

.about-collage-badge i {
    font-size: 15px;
    line-height: 1;
}

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

@media (prefers-reduced-motion: reduce) {
    .about-collage-main,
    .about-collage-top,
    .about-collage-bottom {
        animation: none;
    }
}

/* ---------- About content paragraphs ---------- */
.about-content {
    padding: 8px 0 12px;
}

.about-text {
    font-family: var(--ks-font-body);
    font-size: 15px;
    line-height: 1.75;
    color: #3f4a5b;
    margin-bottom: 16px;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: #0b2545;
    font-weight: 600;
}

/* ---------- Venue & Date meta ---------- */
.about-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 26px;
}

.about-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ks-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #0b2545;
}

.about-meta-item i {
    font-size: 20px;
    color: #059669;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .about-section {
        padding: 60px 0;
    }
    .about-title {
        font-size: 22px;
    }
    .about-collage {
        min-height: 400px;
        margin-top: 16px;
    }
}

@media (max-width: 575.98px) {
    .about-title {
        font-size: 20px;
    }
    .about-cta {
        gap: 14px;
    }
    .about-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 140px;
        gap: 10px;
        min-height: 0;
    }
    .about-collage-main {
        grid-column: 1 / span 2;
        grid-row: 1;
        border-radius: 20px;
    }
    .about-collage-top {
        grid-column: 1;
        grid-row: 2;
        border-radius: 16px;
    }
    .about-collage-bottom {
        grid-column: 2;
        grid-row: 2;
        border-radius: 16px;
    }
    .about-collage-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -18px;
        font-size: 11.5px;
        padding: 8px 14px;
    }
}

/* ============================================================
   FOCUS SECTORS SECTION
   ============================================================ */
.focus-section {
    background-image: url('https://html.ditsolution.net/econet/images/solar/about-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 60px 0;
    border-radius: 30px;
    margin: 60px 30px 60px;
    position: relative;
    overflow: hidden;
}

/* ---------- Focus section heading (extends unified .sec-*) ---------- */
.focus-section .sec-header {
    margin-bottom: 50px;
}

/* ---------- Focus Cards ---------- */
.focus-card {
    position: relative;
    height: 100%;
    padding: 34px 28px 30px;
    background: #ffffff;
    border: 1px solid rgba(12, 35, 24, 0.08);
    border-radius: 20px 20px 20px 4px;
    transition: var(--ks-transition);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(12, 35, 24, 0.06);
}

/* Green diagonal wash that slides in from the bottom on hover */
.focus-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(52, 211, 153, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.focus-card:hover {
    border-color: rgba(16, 185, 129, 0.45);
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(12, 35, 24, 0.15);
}

.focus-card:hover::before {
    opacity: 1;
}

/* Circular icon badge with soft mint background */
.focus-icon {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: var(--ks-transition);
    z-index: 1;
}

.focus-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1.5px dashed rgba(16, 185, 129, 0.35);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.8s linear;
}

.focus-card:hover .focus-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.4);
}

.focus-card:hover .focus-icon::after {
    opacity: 1;
    transform: rotate(180deg);
}

.focus-card-title {
    position: relative;
    z-index: 1;
    font-family: var(--ks-font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #0c2318;
    margin-bottom: 10px;
}

.focus-card-text {
        position: relative;
    z-index: 1;
    font-family: var(--ks-font-body);
    font-size: 15px;
    line-height: 1.7;
    color: #000000;
    margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .focus-section {
        padding: 80px 0 60px;
        margin: 15px;
        border-radius: 20px;
    }

    .focus-section .sec-header {
        margin-bottom: 36px;
    }
}

@media (max-width: 575.98px) {
    .focus-card {
        padding: 26px 22px;
    }
    .focus-icon {
        width: 54px;
        height: 54px;
        font-size: 23px;
    }
}

/* ============================================================
   WHY KARNATAKA SECTION - Reference-style Infographic
   ============================================================ */
.why-section {
    position: relative;
    padding: 60px 0;
    min-height: 600px;
    background-image: url('../assets/karnataka_bg-1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    background-color: #eaf5ff;
    color: #0f1c33;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.why-section > .container {
    width: 100%;
}

/* ---------- Why-section heading tweaks (extends unified .sec-*) ---------- */
.why-section .sec-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* ---------- Six vertical cards ---------- */
.why-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-bottom: 0;
}

.why-card {
    position: relative;
    padding: 30px 20px 26px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    overflow: hidden;
    transition: var(--ks-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Subtle diagonal highlight sweep for the glass feel */
.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.15) 100%);
    border-radius: 20px;
    pointer-events: none;
    opacity: 0.9;
}

.why-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 22px 44px rgba(11, 37, 69, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Color themes per data-color attribute */
.why-card[data-color="green"] { --wc-a: #7ec87e; --wc-b: #2ea44f; }
.why-card[data-color="teal"]  { --wc-a: #3fbfae; --wc-b: #128c7a; }
.why-card[data-color="lime"]  { --wc-a: #7bd15a; --wc-b: #3fa031; }
.why-card[data-color="blue"]  { --wc-a: #5aa7ff; --wc-b: #1e63c4; }
.why-card[data-color="cyan"]  { --wc-a: #4ccbde; --wc-b: #0e94a8; }
.why-card[data-color="amber"] { --wc-a: #ffc25c; --wc-b: #eb8b0d; }

/* Circular icon orb */
.wc-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wc-a) 0%, var(--wc-b) 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(11, 37, 69, 0.18), inset 0 -6px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: var(--ks-transition);
}

.why-card:hover .wc-icon {
    transform: scale(1.06) rotate(-4deg);
}

/* H2 special icon */
.wc-h2 {
    font-family: var(--ks-font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
}

.wc-h2 sub {
    font-size: 18px;
    font-weight: 700;
    bottom: -2px;
}

/* Card description text (holds the bullet copy) */
.wc-text {
    font-family: var(--ks-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    color: #1c2833;
    margin-bottom: 0;
    flex: 1;
}

/* Bottom colored accent bar */
/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .why-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    /* Preserve aspect ratio on tablets/phones so the background image doesn't stretch */
    .why-section {
        min-height: auto;
        background-size: cover;
        background-position: center top;
        padding: 50px 0;
    }
}

@media (max-width: 767.98px) {
    .why-section {
        padding: 44px 0;
        background-position: center center;
    }
    .why-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .wc-icon {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .why-section {
        padding: 36px 0;
    }
    .why-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   WHY ATTEND SECTION - Light themed cards
   ============================================================ */
.attend-section {
    position: relative;
    padding: 60px 0;
    background: #ffffff;
    color: #1c2833;
    overflow: hidden;
}

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

.attend-section .sec-header {
    margin-bottom: 44px;
}

/* ---------- Attend Carousel (4 cards per slide) ---------- */
.attend-carousel {
    position: relative;
    padding: 0 60px;
}

.attend-carousel .carousel-inner {
    overflow: hidden;
    padding: 8px 0;
}

/* Each card = image on top + content below */
.attend-card {
    position: relative;
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--ks-transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 22px rgba(11, 37, 69, 0.08);
}

.attend-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 22px 42px rgba(11, 37, 69, 0.15);
}

/* Green underline slides in on hover */
.attend-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.attend-card:hover::after {
    transform: scaleX(1);
}

/* Image at the top of each card */
.attend-media {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #0c2318;
}

.attend-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.attend-card:hover .attend-media img {
    transform: scale(1.08);
}

/* Green tint gradient over the image */
.attend-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 35, 24, 0) 30%, rgba(12, 35, 24, 0.55) 100%);
    pointer-events: none;
}

/* Card body */
.attend-body {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #1c2833;
}

.attend-title {
    font-family: var(--ks-font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #0b2545;
    margin-bottom: 8px;
    min-height: 42px;
}

.attend-text {
    font-family: var(--ks-font-body);
    font-size: 13px;
    line-height: 1.6;
    color: #4a5b6b;
    margin-bottom: 0;
    flex: 1;
}

/* ---------- Carousel Controls (side arrows) ---------- */
.attend-ctrl {
    width: 46px;
    height: 46px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    opacity: 1;
    color: #059669;
    font-size: 18px;
    transition: var(--ks-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.08);
    z-index: 3;
}

.attend-ctrl.carousel-control-prev { left: 0; }
.attend-ctrl.carousel-control-next { right: 0; }

.attend-ctrl:hover,
.attend-ctrl:focus {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
}

.attend-ctrl .carousel-control-prev-icon,
.attend-ctrl .carousel-control-next-icon {
    display: none;
}

/* Hide default carousel indicators (removed for this section) */
.attend-carousel .carousel-indicators {
    display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .attend-section .sec-header {
        margin-bottom: 34px;
    }
    .attend-carousel {
        padding: 0 20px;
    }
    .attend-ctrl {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .attend-media {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .attend-carousel {
        padding: 0 8px;
    }
    .attend-title {
        font-size: 15px;
        min-height: auto;
    }
    .attend-text {
        font-size: 12.5px;
    }
    .attend-ctrl {
        display: none;
    }
}

/* ============================================================
   KEY PARTICIPANTS SECTION
   ============================================================ */
.participants-section {
    padding: 60px 0;
    background-color: #f6faff;
    background-image: url('https://html.awaikenthemes.com/sunex/images/section-bg-1.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    color: #0f1c33;
    position: relative;
}

.participants-section .sec-header {
    margin-bottom: 44px;
}

/* ---------- Layout: columns stack their inner content evenly ---------- */
.pc-grid {
    align-items: stretch;
}

.pc-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.pc-col > * {
    flex: 1;
}

/* Color palette per participant */
.pc-mini[data-pc-color="blue"]  { --pc-a: #2f7ee1; --pc-b: #1e63c4; }
.pc-mini[data-pc-color="green"] { --pc-a: #34c56f; --pc-b: #2ea44f; }
.pc-mini[data-pc-color="amber"] { --pc-a: #ffb838; --pc-b: #eb8b0d; }
.pc-mini[data-pc-color="teal"]  { --pc-a: #29bfae; --pc-b: #128c7a; }

/* Compact card: icon on left + content on right */
.pc-mini {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(11, 37, 69, 0.06);
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.06);
    transition: var(--ks-transition);
    flex: 1;
    overflow: hidden;
}

.pc-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(11, 37, 69, 0.12);
    border-color: var(--pc-b);
}

/* Icon in a gradient orb */
.pc-mini-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pc-a) 0%, var(--pc-b) 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 14px rgba(11, 37, 69, 0.15);
}

.pc-mini-body {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.pc-mini-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-mini-title {
    font-family: var(--ks-font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--pc-b);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 2px 0 6px;
}

.pc-mini-text {
    font-family: var(--ks-font-body);
    font-size: 12.5px;
    line-height: 1.5;
    color: #4a5b6b;
    margin: 0;
}

/* ---------- Center image column ---------- */
.pc-col-media {
    justify-content: center;
    align-items: stretch;
    position: relative;
}

.pc-media {
    position: relative;
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(11, 37, 69, 0.12);
    min-height: 220px;
}

.pc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.pc-media:hover img {
    transform: scale(1.06);
}

/* Green tint gradient over the image */
.pc-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 37, 69, 0) 40%, rgba(11, 37, 69, 0.65) 100%);
    pointer-events: none;
}

/* Small edition tag pill on the image */
.pc-media-tag {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.92);
    color: #059669;
    border-radius: 30px;
    font-family: var(--ks-font-heading);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    /* On tablets: left cards + right cards side by side, center image row on top */
    .pc-grid .pc-col-media {
        order: -1;
        flex-direction: row;
    }
    .pc-media {
        min-height: 180px;
    }
}

@media (max-width: 767.98px) {
    .pc-grid .pc-col-media {
        flex-direction: column;
    }
    .pc-mini-title {
        font-size: 13px;
    }
    .pc-mini-text {
        font-size: 12px;
    }
}

/* ============================================================
   PAST PARTNERS SECTION - Dark mode with background image
   ============================================================ */
.partners-section {
    padding: 60px 0;
    background-color: #0c2318;
    background-image:
        linear-gradient(180deg, rgba(6, 22, 15, 0.85) 0%, rgba(12, 35, 24, 0.9) 100%),
        url('https://events.eletsonline.com/energy/edition-1/assets/energy_bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
    color: #e6ede9;
    position: relative;
    overflow: hidden;
}

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

.partners-section .sec-header {
    margin-bottom: 40px;
}

/* Override the shared section title to render bright on this dark section */
.partners-section .sec-title {
    color: #ffffff;
}

.partners-section .sec-badge-green {
    background: rgba(52, 211, 153, 0.14);
    border-color: rgba(52, 211, 153, 0.5);
    color: #34d399;
}

/* ---------- Two infinite marquee strips ---------- */
.partners-marquee {
    position: relative;
    overflow: hidden;
}

.marquee-track {
    overflow: hidden;
    padding: 8px 0;
    margin-bottom: 20px;
    /* Fade the edges to blend into the background */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track:last-child {
    margin-bottom: 0;
}

.marquee-content {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

/* Strip 1: scrolls LEFT to RIGHT (content shifts from -50% back to 0) */
.marquee-ltr {
    animation: marqueeLtr 45s linear infinite;
}

/* Strip 2: scrolls RIGHT to LEFT (content shifts from 0 to -50%) */
.marquee-rtl {
    animation: marqueeRtl 45s linear infinite;
}

@keyframes marqueeLtr {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

@keyframes marqueeRtl {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Pause on hover so users can inspect a logo */
.marquee-track:hover .marquee-content {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    width: auto;
    height: 180px;
    background: #ffffff;
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-radius: 18px;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    min-width: 200px;
}

.partner-logo img {
    max-width: 100%;
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.partner-logo:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 24px rgba(11, 37, 69, 0.12);
    transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 991.98px) {
    .partner-logo { height: 150px; padding: 22px 32px; min-width: 170px; }
}

@media (max-width: 767.98px) {
    .partner-logo { height: 120px; padding: 18px 26px; min-width: 150px; }
    .marquee-content { gap: 18px; }
}

@media (max-width: 480px) {
    .partner-logo { height: 100px; padding: 14px 20px; min-width: 130px; }
    .marquee-ltr, .marquee-rtl { animation-duration: 35s; }
}

/* ============================================================
   PAST SPEAKERS SECTION
   ============================================================ */
.speakers-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
    color: #0f1c33;
    position: relative;
}

.speakers-section .sec-header {
    margin-bottom: 40px;
}

/* Carousel wrapper (reserve side space for arrows) */
.speakers-carousel {
    position: relative;
    padding: 0 56px;
}

.speakers-carousel .carousel-inner {
    overflow: hidden;
    padding: 8px 0;
}

/* Simple speaker card: image + name + designation */
.speaker-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(11, 37, 69, 0.14);
}

.speaker-media {
    margin-bottom: 14px;
}

.speaker-media img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.speaker-name {
    font-family: var(--ks-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #0b2545;
    margin: 0 0 4px;
}

.speaker-title {
    font-family: var(--ks-font-body);
    font-size: 13px;
    color: #3f4a5b;
    margin: 0 0 2px;
}

.speaker-org {
    font-family: var(--ks-font-body);
    font-size: 13px;
    color: #059669;
    font-weight: 600;
    margin: 0;
}

/* ---------- Carousel Controls ---------- */
.speakers-ctrl {
    width: 46px;
    height: 46px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    opacity: 1;
    color: #059669;
    font-size: 18px;
    transition: var(--ks-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.1);
    z-index: 3;
}

.speakers-ctrl.carousel-control-prev { left: 0; }
.speakers-ctrl.carousel-control-next { right: 0; }

.speakers-ctrl:hover,
.speakers-ctrl:focus {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
}

.speakers-ctrl .carousel-control-prev-icon,
.speakers-ctrl .carousel-control-next-icon {
    display: none;
}

/* Hide default indicator dots (relying on arrows only) */
.speakers-carousel .carousel-indicators {
    display: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .speakers-carousel { padding: 0 24px; }
    .speaker-name { font-size: 15px; min-height: auto; }
    .speaker-title { min-height: auto; }
}

@media (max-width: 575.98px) {
    .speakers-carousel { padding: 0 8px; }
    .speakers-ctrl { display: none; }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f6faff 0%, #eaf5ff 100%);
    color: #0f1c33;
    position: relative;
}

.contact-section .sec-header {
    margin-bottom: 32px;
}

/* Contact card in contact section */
.contact-card {
    max-width: 560px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 12px 34px rgba(11, 37, 69, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.15);
    transition: var(--ks-transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(11, 37, 69, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
}

.contact-card-avatar {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.35);
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-card-role {
    font-family: var(--ks-font-heading);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #059669;
}

.contact-card-name {
    font-family: var(--ks-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #0b2545;
    margin: 0;
}

.contact-card-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ks-font-body);
    font-size: 14px;
    font-weight: 500;
    color: #4a5b6b;
    text-decoration: none;
    margin-top: 4px;
    transition: var(--ks-transition);
}

.contact-card-email i {
    color: #059669;
    font-size: 15px;
}

.contact-card-email:hover {
    color: #059669;
}

/* ============================================================
   REGISTER PAGE (register.html)
   ============================================================ */

/* ---------- Hero (plain, no image) ---------- */
.register-hero {
    padding: 60px 0 30px;
    background: #ffffff;
    color: #0b2545;
}

.register-hero-inner {
    text-align: center;
    max-width: 820px;
}

.register-hero-title {
    font-family: var(--ks-font-heading);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    color: #0b2545;
    margin: 0 0 12px;
    letter-spacing: 0.3px;
}

.register-hero-sub {
    font-family: var(--ks-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #4a5b6b;
    margin: 0 auto;
    max-width: 680px;
}

/* ---------- Form Section ---------- */
.register-section {
    position: relative;
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #f6faff 0%, #eaf5ff 100%);
    color: #0f1c33;
}

.register-form-wrap {
    background: #ffffff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 44px rgba(11, 37, 69, 0.10);
    border: 1px solid rgba(11, 37, 69, 0.06);
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
}

/* Full-height iframe — no internal scrollbars for the form */
.register-iframe {
    display: block;
    width: 100%;
    height: 2200px;
    border: none;
    border-radius: 14px;
    background: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .register-hero {
        padding: 48px 0 24px;
    }
    .register-hero-title {
        font-size: 30px;
    }
    .register-section {
        padding: 40px 0 70px;
    }
    .register-form-wrap {
        padding: 16px;
    }
    .register-iframe {
        height: 2400px;
    }
}

@media (max-width: 575.98px) {
    .register-hero {
        padding: 38px 0 20px;
    }
    .register-hero-title {
        font-size: 24px;
    }
    .register-hero-sub {
        font-size: 14px;
    }
    .register-section {
        padding: 30px 0 60px;
    }
    .register-form-wrap {
        padding: 10px;
        border-radius: 16px;
    }
    .register-iframe {
        height: 2600px;
    }
}

/* ============================================================
   FOOTER - Reference-style: logo / quick links / contact card
   ============================================================ */
.site-footer {
    position: relative;
    padding: 70px 0 0;
    background:
        radial-gradient(700px circle at 10% 0%, rgba(16, 185, 129, 0.28), transparent 55%),
        radial-gradient(700px circle at 100% 100%, rgba(5, 150, 105, 0.35), transparent 55%),
        linear-gradient(135deg, #0b3d2e 0%, #0f4c3a 40%, #128058 100%);
    color: #e6ede9;
    overflow: hidden;
}

/* Soft radial highlight along the top edge for depth */
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1200px 200px at 50% 0%, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

/* ---------- LEFT: Logo block ---------- */
.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo-img {
    display: block;
    width: auto;
    max-width: 260px;
    max-height: 90px;
    height: auto;
    object-fit: contain;
}

.footer-logo-tag {
    font-family: var(--ks-font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0 0 22px;
    letter-spacing: 0.3px;
}

/* Social icons row */
.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    transition: var(--ks-transition);
}

.footer-socials a:hover {
    background: #f4a300;
    border-color: transparent;
    color: #0b3d2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(244, 163, 0, 0.4);
}

/* ---------- MIDDLE: Quick Links ---------- */
.footer-title {
    font-family: var(--ks-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 22px;
    letter-spacing: 0.4px;
}

.footer-contact-title {
    font-family: var(--ks-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: 0.4px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-menu a {
    font-family: var(--ks-font-body);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--ks-transition);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-menu a::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f4a300;
    opacity: 0;
    transition: var(--ks-transition);
}

.footer-menu a:hover {
    color: #f4a300;
    padding-left: 12px;
}

.footer-menu a:hover::before {
    opacity: 1;
    left: 0;
}

/* ---------- RIGHT: Contact Info card ---------- */
.footer-contact-panel {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 26px 28px;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: var(--ks-transition);
}

.footer-contact-panel:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(244, 163, 0, 0.4);
    transform: translateY(-3px);
}

.footer-contact-person {
    font-family: var(--ks-font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(180deg, transparent 60%, rgba(244, 163, 0, 0.35) 60%);
    margin: 4px 0 16px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.footer-contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ks-font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    transition: var(--ks-transition);
    word-break: break-all;
}

.footer-contact-mail i {
    color: #f4a300;
    font-size: 15px;
    flex-shrink: 0;
}

.footer-contact-mail:hover {
    color: #f4a300;
}

/* ---------- Copyright bar ---------- */
.footer-copyright {
    margin-top: 50px;
    padding: 18px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.footer-copyright p {
    font-family: var(--ks-font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 0.3px;
}

.footer-copyright strong {
    color: #ffffff;
    font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .site-footer {
        padding-top: 54px;
    }
    .footer-logo-img { max-width: 220px; max-height: 80px; }
    .footer-title        { font-size: 18px; }
    .footer-contact-person { font-size: 22px; }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding-top: 46px;
    }
    .footer-copyright p {
        font-size: 12px;
    }
    .footer-sep { margin: 0 4px; }
}
