/* ==========================================================================
   ELYON MEDIA GROUP - PAGEPILING SLIDESHOW STYLESHEET
   Non-scrollable full-page slideshow with wheel & bullet navigation.
   Colors & typography strictly matching Antenna Group & Wide Media Group.
   ========================================================================== */

:root {
    /* Antenna Group Official Color Palette */
    --ag-dark-bg: #0B132B;           /* Primary dark section background */
    --ag-brands-bg: #0D162C;         /* Brands section background */
    --ag-card-bg: #1C2541;           /* Brands card background */
    --ag-light-bg: #FFFFFF;          /* Light section background */
    
    --ag-teal: #5BC0BE;              /* Antenna Group signature teal */
    --ag-teal-hover: #328A88;        /* Button hover */
    
    --ag-text-light: #FFFFFF;        /* Dark sections text */
    --ag-text-dark: #181D4E;         /* Light sections text */
    --ag-text-muted: #abb8c3;        /* Secondary muted text */
    
    --ag-divider: #5BC0BE;           /* 1px divider color */
    
    /* Typography */
    --ag-font-heading: 'Outfit', 'Montserrat', sans-serif;
    --ag-font-body: 'Roboto', sans-serif;
    --ag-font-mono: 'Montserrat', sans-serif;
}

/* Page Reset & Non-scrollable Fullscreen Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    margin: 0;
    padding: 0;
    background-color: var(--ag-dark-bg);
    color: var(--ag-text-light);
    font-family: var(--ag-font-body);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    scroll-behavior: smooth;
}

html.pp-html, html:has(body.pp-body), body.pp-body {
    overflow: hidden !important;
    height: 100vh;
    width: 100vw;
}

.ag-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

img, svg, video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   PAGEPILING SLIDESHOW CONTAINER
   ========================================================================== */
.pp-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.pp-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.55, 0.085, 0, 0.99);
    will-change: transform;
}

.pp-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.pp-slide-inner {
    padding-top: 60px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    scrollbar-width: none;
}

.pp-slide-inner::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   TOP HEADER (Antenna Group Style)
   ========================================================================== */
.ag-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
    background: rgba(11, 19, 43, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s, border-color 0.3s;
}

.ag-header.light-slide {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(24, 29, 78, 0.1);
}

.ag-header.light-slide .ag-nav-link {
    color: var(--ag-text-dark);
}

.ag-header.light-slide .ag-nav-link:hover,
.ag-header.light-slide .ag-nav-link.active {
    color: var(--ag-teal);
}

.ag-header.light-slide .ag-mobile-toggle span {
    background: var(--ag-text-dark);
}

.ag-header-container {
    max-width: 1170px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ag-logo-wrap {
    display: flex;
    align-items: center;
}

.ag-logo-img {
    height: 44px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.ag-nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.ag-nav-link {
    font-family: var(--ag-font-heading);
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ag-text-light);
    transition: color 0.2s;
    position: relative;
    padding: 6px 0;
}

.ag-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ag-teal);
    transition: width 0.3s ease;
}

.ag-nav-link:hover,
.ag-nav-link.active {
    color: var(--ag-teal);
}

.ag-nav-link:hover::after,
.ag-nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle */
.ag-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.ag-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    transition: all 0.3s;
}

.ag-mobile-drawer {
    display: none;
    background: #0B132B;
    border-bottom: 2px solid var(--ag-teal);
    padding: 20px;
}

.ag-mobile-drawer.active {
    display: block;
}

.ag-mobile-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ag-drawer-link {
    font-family: var(--ag-font-heading);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
}

.ag-drawer-link:hover {
    color: var(--ag-teal);
}

/* ==========================================================================
   BULLET NAVIGATION (#pp-nav - Wide Media Group Style)
   Directly from https://widemedia.gr/wide/css/jquery.pagepiling.css
   ========================================================================== */
#pp-nav {
    position: fixed;
    z-index: 1000;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
    opacity: 1;
}

#pp-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#pp-nav li {
    display: block;
    width: 14px;
    height: 13px;
    margin: 14px 7px;
    position: relative;
}

#pp-nav li a {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

#pp-nav span {
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border: 1px solid #FFFFFF;
    background: rgba(0, 0, 0, 0);
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    transition: all 0.3s ease;
}

#pp-nav li a.active span {
    background: var(--ag-teal);
    border-color: var(--ag-teal);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--ag-teal);
}

.pp-tooltip {
    position: absolute;
    top: -3px;
    color: #FFFFFF;
    font-size: 12px;
    font-family: var(--ag-font-mono);
    font-weight: 600;
    white-space: nowrap;
    max-width: 220px;
    right: 22px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(6px);
    text-transform: uppercase;
    background: rgba(11, 19, 43, 0.92);
    padding: 2px 10px;
    border: 1px solid rgba(91, 192, 190, 0.3);
}

#pp-nav li:hover .pp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Bullet navigation skin on light slides */
#pp-nav.dark-skin span {
    border-color: #181D4E;
}

#pp-nav.dark-skin li a.active span {
    background: var(--ag-teal);
    border-color: var(--ag-teal);
}

#pp-nav.dark-skin .pp-tooltip {
    background: #181D4E;
    color: #FFFFFF;
}

/* ==========================================================================
   SLIDE 0: HERO (Antenna Group Video Hero)
   ========================================================================== */
.section-hero {
    background-color: #000000;
}

.hero-video-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 2;
}

.hero-video.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 3;
}

.hero-inner {
    position: relative;
    z-index: 4;
    padding-top: 40px;
}

.hero-text-block {
    max-width: 950px;
}

.hero-title {
    font-family: var(--ag-font-heading);
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.2em;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: var(--ag-font-body);
    font-size: clamp(16px, 1.35vw, 21px);
    font-weight: 400;
    line-height: 1.6em;
    color: #FFFFFF;
    max-width: 820px;
}

/* ==========================================================================
   EDITORIAL SLIDES (Dark & Light Alternating - Antenna Group Style)
   ========================================================================== */
.section-ag-dark {
    background-color: var(--ag-dark-bg); /* #0B132B */
    color: var(--ag-text-light);
}

.section-ag-light {
    background-color: var(--ag-light-bg); /* #FFFFFF */
    color: var(--ag-text-dark);
}

.ag-heading-wrap {
    margin-bottom: 20px;
}

.ag-section-title {
    font-family: var(--ag-font-heading);
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    line-height: 1.2em;
    color: #FFFFFF;
    text-transform: uppercase;
}

.ag-section-title.dark-text {
    color: var(--ag-text-dark);
}

.ag-tagline-teal {
    font-family: var(--ag-font-heading);
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 700;
    color: var(--ag-teal);
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.ag-divider {
    width: 100%;
    height: 1px;
    background-color: var(--ag-divider);
    margin-top: 20px;
    margin-bottom: 28px;
}

.ag-text-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ag-text-content p {
    font-family: var(--ag-font-body);
    font-size: clamp(14px, 1.1vw, 16.5px);
    line-height: 1.8;
    text-align: justify;
    color: #FFFFFF;
}

.ag-text-content.dark-text p {
    color: var(--ag-text-dark);
}

.ag-quote-text {
    font-style: italic;
    color: var(--ag-teal) !important;
    border-left: 2px solid var(--ag-teal);
    padding-left: 16px;
    margin-top: 8px;
}

.ag-vision-lead {
    font-size: clamp(18px, 1.5vw, 22px) !important;
    font-weight: 500;
    line-height: 1.6 !important;
    color: var(--ag-text-dark) !important;
}

.ag-mission-statement {
    font-size: clamp(18px, 1.5vw, 22px) !important;
    font-weight: 500;
    line-height: 1.6 !important;
    color: #FFFFFF !important;
}

.ag-mission-motto {
    font-family: var(--ag-font-heading);
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 700;
    color: var(--ag-teal);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ag-spacer-20 {
    height: 20px;
}

/* ==========================================================================
   SLIDE 5: BRANDS (Antenna Group Brands/Digital Style #0D162C)
   ========================================================================== */
.section-ag-brands {
    background-color: var(--ag-brands-bg); /* #0D162C */
}

.remote_item_navigation {
    position: relative;
    margin-bottom: 24px;
}

.remote_item_navigation-arrows {
    display: block;
}

.remote_item_navigation-prev,
.remote_item_navigation-next {
    cursor: pointer;
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: #FFFFFF;
    top: 28px;
    border: none;
    transition: color 0.2s;
}

.remote_item_navigation-prev {
    left: -35px;
}

.remote_item_navigation-next {
    right: -35px;
}

.remote_item_navigation-prev:hover,
.remote_item_navigation-next:hover {
    color: var(--ag-teal);
}

.ue-items-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: center;
}

.ue-items-wrapper::-webkit-scrollbar {
    display: none;
}

/* Brand Button Strip Item */
.ue-item-button {
    flex-shrink: 0;
    width: 155px;
    height: 80px;
    background-color: rgba(11, 19, 43, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
}

.ue-item-hero {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ue-item-hero-img {
    max-height: 56px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.ue-item-button:hover .ue-item-hero-img {
    opacity: 0.75;
}

.ue-item-button.active {
    border-color: var(--ag-teal);
    background-color: rgba(28, 37, 65, 0.6);
}

.ue-item-button.active .ue-item-hero-img {
    opacity: 1;
}

/* Brand Display Box (#1C2541 - elementor-element-e05871c) */
.elementor-element-e05871c {
    background-color: var(--ag-card-bg); /* #1C2541 */
    padding: 36px 40px;
    border-radius: 0px;
    transition: opacity 0.3s ease;
}

.brand-slide-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 44px;
    align-items: center;
}

.brand-slide-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 19, 43, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    min-height: 220px;
    max-height: 250px;
}

.brand-slide-logo {
    max-width: 270px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-slide-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.elementor-heading-title {
    font-family: var(--ag-font-heading);
    font-size: 26px;
    font-weight: bold;
    color: var(--ag-teal); /* #5BC0BE */
    line-height: 1.2;
}

.elementor-text-desc p {
    font-family: var(--ag-font-body);
    font-size: 15px;
    line-height: 1.65;
    color: #FFFFFF;
    text-align: justify;
}

.elementor-button {
    display: inline-block;
    background-color: var(--ag-teal); /* #5BC0BE */
    color: #FFFFFF;
    font-family: var(--ag-font-heading);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 28px;
    border-radius: 0px;
    transition: background-color 0.2s;
    margin-top: 6px;
}

.elementor-button:hover {
    background-color: var(--ag-teal-hover);
    color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .ag-nav {
        display: none;
    }

    .ag-mobile-toggle {
        display: flex;
    }

    .brand-slide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .brand-slide-logo-col {
        min-height: 160px;
    }

    .remote_item_navigation-prev,
    .remote_item_navigation-next {
        display: none;
    }
}

@media (max-width: 767px) {
    #pp-nav {
        display: none;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .elementor-element-e05871c {
        padding: 24px 18px;
    }
}

/* ==========================================================================
   SUBPAGES & LEGAL PAGES (Privacy Policy, Terms of Use)
   ========================================================================== */
body.subpage-body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100vh;
    height: auto;
    width: 100%;
    background-color: var(--ag-dark-bg);
    color: var(--ag-text-light);
    font-family: var(--ag-font-body);
    font-size: 16px;
    line-height: 1.8;
}

.subpage-hero {
    position: relative;
    padding: 140px 0 60px;
    background: linear-gradient(180deg, rgba(13, 22, 44, 0.95) 0%, rgba(11, 19, 43, 1) 100%);
    border-bottom: 1px solid rgba(91, 192, 190, 0.2);
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(91, 192, 190, 0.15), transparent 70%);
    pointer-events: none;
}

.subpage-hero-inner {
    position: relative;
    z-index: 2;
}

.subpage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91, 192, 190, 0.1);
    border: 1px solid rgba(91, 192, 190, 0.3);
    color: var(--ag-teal);
    font-family: var(--ag-font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    margin-bottom: 16px;
}

.subpage-title {
    font-family: var(--ag-font-heading);
    font-size: clamp(32px, 3.8vw, 50px);
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.subpage-subtitle {
    font-family: var(--ag-font-body);
    font-size: clamp(16px, 1.2vw, 19px);
    color: var(--ag-text-muted);
    max-width: 780px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.subpage-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--ag-text-muted);
    font-family: var(--ag-font-heading);
}

.subpage-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.subpage-meta-item svg {
    color: var(--ag-teal);
}

/* Legal Content Layout */
.legal-main {
    padding: 60px 0 100px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

/* Sidebar Table of Contents */
.legal-sidebar {
    position: sticky;
    top: 110px;
    background: var(--ag-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
}

.legal-toc-title {
    font-family: var(--ag-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--ag-teal);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(91, 192, 190, 0.25);
}

.legal-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-toc-link {
    display: flex;
    align-items: center;
    font-family: var(--ag-font-body);
    font-size: 13.5px;
    color: var(--ag-text-muted);
    padding: 6px 10px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.legal-toc-link:hover,
.legal-toc-link.active {
    color: #FFFFFF;
    background: rgba(91, 192, 190, 0.08);
    border-left-color: var(--ag-teal);
    padding-left: 14px;
}

.legal-sidebar-card {
    margin-top: 24px;
    padding: 20px;
    background: rgba(11, 19, 43, 0.6);
    border: 1px solid rgba(91, 192, 190, 0.2);
}

.legal-sidebar-card h4 {
    font-family: var(--ag-font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.legal-sidebar-card p {
    font-size: 12.5px;
    color: var(--ag-text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.legal-sidebar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ag-font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--ag-teal);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.2s;
}

.legal-sidebar-btn:hover {
    color: #FFFFFF;
}

/* Legal Content Body */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.legal-section {
    background: var(--ag-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px 40px;
    scroll-margin-top: 110px;
    transition: border-color 0.3s;
}

.legal-section:hover {
    border-color: rgba(91, 192, 190, 0.3);
}

.legal-section-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section-num {
    font-family: var(--ag-font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--ag-teal);
}

.legal-section-title {
    font-family: var(--ag-font-heading);
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-text-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-text-block p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    text-align: justify;
}

.legal-text-block h4 {
    font-family: var(--ag-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--ag-teal);
    margin-top: 10px;
}

.legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0;
    padding-left: 8px;
}

.legal-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.legal-list li::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 4px;
    width: 6px;
    height: 6px;
    background: var(--ag-teal);
    border-radius: 50%;
}

.legal-callout-box {
    background: rgba(11, 19, 43, 0.85);
    border-left: 3px solid var(--ag-teal);
    padding: 20px 24px;
    margin: 12px 0;
}

.legal-callout-box p {
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-callout-box p:last-child {
    margin-bottom: 0;
}

.legal-callout-box strong {
    color: var(--ag-teal);
}

/* ==========================================================================
   GLOBAL CORPORATE FOOTER (.ag-footer)
   ========================================================================== */
.ag-footer {
    background-color: #060B1A;
    color: var(--ag-text-light);
    border-top: 1px solid rgba(91, 192, 190, 0.2);
    position: relative;
    z-index: 10;
}

.ag-footer-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 70px 24px 30px;
}

.ag-footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 50px;
}

.ag-footer-col {
    display: flex;
    flex-direction: column;
}

.ag-footer-logo-wrap {
    display: inline-block;
    margin-bottom: 18px;
}

.ag-footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.ag-footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ag-text-muted);
    margin-bottom: 20px;
    max-width: 320px;
}

.ag-footer-tagline {
    font-family: var(--ag-font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ag-teal);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ag-footer-heading {
    font-family: var(--ag-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #FFFFFF;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.ag-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--ag-teal);
}

.ag-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ag-footer-link {
    font-family: var(--ag-font-body);
    font-size: 13.5px;
    color: var(--ag-text-muted);
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.ag-footer-link:hover {
    color: var(--ag-teal);
    transform: translateX(3px);
}

.ag-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--ag-text-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

.ag-footer-contact-item svg {
    flex-shrink: 0;
    color: var(--ag-teal);
    margin-top: 3px;
}

.ag-footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.ag-footer-copyright {
    font-size: 13px;
    color: var(--ag-text-muted);
}

.ag-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.ag-footer-legal-links a {
    font-size: 13px;
    color: var(--ag-text-muted);
    transition: color 0.2s;
}

.ag-footer-legal-links a:hover {
    color: var(--ag-teal);
}

/* ==========================================================================
   SLIDE 5 FOOTER STRIP (Within index.html Slideshow)
   ========================================================================== */
.slide-footer-strip {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.slide-footer-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.slide-footer-logo {
    height: 24px;
    width: auto;
    opacity: 0.85;
}

.slide-footer-copy {
    font-size: 12.5px;
    color: var(--ag-text-muted);
}

.slide-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.slide-footer-links a {
    font-family: var(--ag-font-heading);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ag-text-muted);
    transition: color 0.2s;
}

.slide-footer-links a:hover {
    color: var(--ag-teal);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(28, 37, 65, 0.85);
    border: 1px solid rgba(91, 192, 190, 0.4);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--ag-teal);
    border-color: var(--ag-teal);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* ==========================================================================
   CONTACT PAGE STYLING (Corporate Media Group Standard)
   ========================================================================== */
.contact-main {
    padding: 60px 0 100px;
    background-color: var(--ag-dark-bg);
    min-height: calc(100vh - 400px);
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-card {
    background: rgba(28, 37, 65, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 28px 26px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(91, 192, 190, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(91, 192, 190, 0.12);
    color: var(--ag-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-card-title {
    font-family: var(--ag-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.contact-card-sub {
    font-size: 12.5px;
    color: var(--ag-teal);
    font-weight: 500;
}

.contact-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.detail-icon {
    color: var(--ag-teal);
    margin-top: 3px;
    flex-shrink: 0;
}

.detail-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ag-text-muted);
}

.detail-text strong {
    display: block;
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-accent-link {
    color: var(--ag-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-accent-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Department Directories */
.dept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.dept-item {
    background: rgba(11, 19, 43, 0.65);
    padding: 16px 18px;
    border-radius: 6px;
    border-left: 3px solid var(--ag-teal);
    transition: transform 0.2s, background 0.2s;
}

.dept-item:hover {
    background: rgba(11, 19, 43, 0.9);
    transform: translateX(3px);
}

.dept-name {
    display: block;
    font-family: var(--ag-font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 3px;
}

.dept-desc {
    display: block;
    font-size: 12.5px;
    color: var(--ag-text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.dept-email {
    display: inline-block;
    font-size: 13px;
    color: var(--ag-teal);
    font-weight: 500;
    transition: color 0.2s ease;
}

.dept-email:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Map Card */
.contact-map-wrapper {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
}

.map-action-wrap {
    margin-top: 14px;
    text-align: right;
}

.map-direct-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ag-font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--ag-teal);
    transition: color 0.2s ease, transform 0.2s ease;
}

.map-direct-btn:hover {
    color: #FFFFFF;
    transform: translateX(2px);
}

/* Contact Form Column */
.contact-form-card {
    background: rgba(28, 37, 65, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(91, 192, 190, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    padding: 38px 34px;
    position: relative;
}

.form-header-wrap {
    margin-bottom: 26px;
}

.form-badge {
    display: inline-block;
    background: rgba(91, 192, 190, 0.12);
    border: 1px solid rgba(91, 192, 190, 0.3);
    color: var(--ag-teal);
    font-family: var(--ag-font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.form-title {
    font-family: var(--ag-font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.form-desc {
    font-size: 14px;
    color: var(--ag-text-muted);
    line-height: 1.6;
}

/* Form Fields */
.elyon-form {
    display: flex;
    flex-direction: column;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-label {
    font-family: var(--ag-font-heading);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.form-label .req {
    color: var(--ag-teal);
    font-weight: 700;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--ag-text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(11, 19, 43, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 13px 16px 13px 44px;
    color: #FFFFFF;
    font-family: var(--ag-font-body);
    font-size: 14px;
    transition: all 0.25s ease;
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--ag-teal);
    box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.2);
    background: rgba(11, 19, 43, 0.95);
}

.input-wrapper:focus-within .input-icon {
    color: var(--ag-teal);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235BC0BE'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
}

.form-select option {
    background-color: #0B132B;
    color: #FFFFFF;
    padding: 10px;
}

.textarea-wrapper .input-icon {
    top: 14px;
}

.form-textarea {
    padding-top: 12px;
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* GDPR Checkbox */
.form-checkbox-group {
    margin-top: 4px;
    margin-bottom: 24px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(11, 19, 43, 0.7);
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-container:hover .custom-checkbox {
    border-color: var(--ag-teal);
}

.checkbox-container input:checked ~ .custom-checkbox {
    background: var(--ag-teal);
    border-color: var(--ag-teal);
}

.checkbox-container input:checked ~ .custom-checkbox::after {
    content: '';
    display: block;
    width: 5px;
    height: 10px;
    border: solid #0B132B;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-text {
    font-size: 13px;
    color: var(--ag-text-muted);
    line-height: 1.5;
}

.contact-inline-link {
    color: var(--ag-teal);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.contact-inline-link:hover {
    color: #FFFFFF;
}

.form-field-error {
    color: #FF6B6B;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.form-group.has-error .form-field-error {
    display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea,
.form-group.has-error .form-select {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

/* Cloudflare Turnstile Captcha */
.form-captcha-group {
    margin-bottom: 22px;
}

.cf-turnstile {
    min-height: 65px;
    display: flex;
    justify-content: flex-start;
}

/* Submit Button & Spinner */
.form-action-row {
    margin-top: 6px;
}

.form-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--ag-teal);
    color: #0B132B;
    border: none;
    padding: 16px 28px;
    font-family: var(--ag-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    background: var(--ag-teal-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 192, 190, 0.3);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner-svg {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
}

.spinner-svg .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Status Alert */
.form-status-alert {
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 13.5px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-status-alert.alert-success {
    background: rgba(91, 192, 190, 0.15);
    border: 1px solid var(--ag-teal);
    color: #FFFFFF;
}

.form-status-alert.alert-error {
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid #FF6B6B;
    color: #FFFFFF;
}

/* Success View */
.form-success-view {
    text-align: center;
    padding: 30px 10px;
}

.success-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(91, 192, 190, 0.12);
    border: 2px solid var(--ag-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-title {
    font-family: var(--ag-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.success-text {
    font-size: 14.5px;
    color: var(--ag-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.success-ticket-box {
    background: rgba(11, 19, 43, 0.85);
    border: 1px dashed rgba(91, 192, 190, 0.4);
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.ticket-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--ag-text-muted);
    letter-spacing: 1px;
}

.ticket-id {
    font-family: var(--ag-font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--ag-teal);
}

.form-reset-btn {
    background: transparent;
    border: 1px solid var(--ag-teal);
    color: var(--ag-teal);
    padding: 12px 26px;
    font-family: var(--ag-font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.form-reset-btn:hover {
    background: var(--ag-teal);
    color: #0B132B;
}

/* ==========================================================================
   RESPONSIVE ENHANCEMENTS FOR LEGAL, CONTACT & FOOTER
   ========================================================================== */
@media (max-width: 991px) {
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .legal-sidebar {
        position: relative;
        top: 0;
    }

    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ag-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .contact-main {
        padding: 40px 0 70px;
    }

    .contact-form-card {
        padding: 26px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ag-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal-section {
        padding: 24px 20px;
    }

    .slide-footer-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ag-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}
