/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Matching image exactly */
    --color-primary-green: #00B894; /* Teal/Green for CTAs - matches image */
    --color-primary-green-dark: #00A085;
    --color-primary-green-light: #00D4B8;
    --color-heading-dark: #1A365D; /* Dark blue for headings */
    --color-text-muted: #64748B; /* Muted gray for subtext */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-kiosk-black: #0A0A0A; /* Very dark black for kiosks */
    --color-kiosk-blue: #1E90FF; /* Bright blue for CORON text */
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --header-height: 70px;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-heading-dark);
    overflow-x: hidden;
}

/* ============================================
   HEADER / NAVIGATION - MODERNIZED
   ============================================ */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
    padding: 0.875rem 0;
    min-height: var(--header-height);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-heading-dark) !important;
    text-decoration: none;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-heading-dark);
    letter-spacing: -0.02em;
}

.navbar-nav {
    gap: 0.25rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--color-heading-dark) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.625rem 1rem !important;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--color-primary-green);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--color-primary-green) !important;
    background: rgba(0, 184, 148, 0.06);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: var(--color-primary-green) !important;
    background: rgba(0, 184, 148, 0.1);
}

.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform 0.25s ease;
    border-top-color: var(--color-heading-dark);
    opacity: 0.7;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    border-top-color: var(--color-primary-green);
    opacity: 1;
}

/* Modern Dropdown Menu - Hover Enabled */
.dropdown-menu {
    margin-top: 0.5rem !important;
    padding: 0.5rem !important;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 220px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: none;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdownFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-heading-dark);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0.125rem 0;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--color-primary-green);
    transition: transform 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.1) 0%, rgba(0, 184, 148, 0.05) 100%);
    color: var(--color-primary-green);
    transform: translateX(4px);
    padding-left: 1.25rem;
}

.dropdown-item:hover i {
    transform: scale(1.15);
    color: var(--color-primary-green);
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
    border-color: var(--color-heading-dark);
}

/* Get Started Button - Header (Modernized) */
.btn-get-started-header {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-dark) 100%);
    color: var(--color-white) !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.625rem 1.75rem;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.25);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.btn-get-started-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-get-started-header:hover {
    background: linear-gradient(135deg, var(--color-primary-green-dark) 0%, var(--color-primary-green) 100%);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.35);
}

.btn-get-started-header:hover::before {
    left: 100%;
}

.btn-get-started-header:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 184, 148, 0.3);
}

/* Navbar Toggler - Modernized */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 184, 148, 0.15);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

/* Mobile navigation improvements */
@media (max-width: 991px) {
    .navbar-header {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .navbar-nav {
        gap: 0.25rem;
    }
    
    .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        padding: 0.25rem 0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem;
        background: rgba(248, 250, 252, 0.8);
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
        border-radius: 10px;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
    }
    
    .btn-get-started-header {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: calc( 100vh - 70px );
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('hero-bg.jpg'); /* Update this to your image without text */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize background for mobile */
@media (max-width: 767px) {
    .hero-background {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

/* Overlay for better text readability if needed */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.hero-title {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-heading-dark);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.title-line {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-heading-dark);
}

.title-accent {
    font-size: 85%;;
    color: var(--color-primary-green);
}

.title-sub {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-heading-dark);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Get Started Button - Hero */
.btn-get-started-hero {
    background-color: var(--color-primary-green);
    color: var(--color-white) !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 168, 150, 0.3);
}

.btn-get-started-hero:hover {
    background-color: var(--color-primary-green-dark);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 168, 150, 0.4);
}

/* ============================================
   DIGITAL KIOSKS SECTION
   ============================================ */
.kiosks-container {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 1rem 1rem 2rem;
    margin-top: auto;
}

.kiosks-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.kiosk {
    position: relative;
    width: 280px;
    max-width: 100%;
}

.kiosk-screen {
    background-color: var(--color-kiosk-black);
    border-radius: 8px 8px 0 0;
    padding: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    aspect-ratio: 9 / 16;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.kiosk-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('landing.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1.2rem;
    color: var(--color-white);
    background-blend-mode: overlay;
}

.kiosk-top-text {
    font-size: 0.75rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: auto;
    padding-top: 0.5rem;
}

.kiosk-welcome {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin: 1rem 0 0.5rem;
    line-height: 1.2;
}

.kiosk-location {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-kiosk-blue);
    text-align: center;
    margin: 0.5rem 0;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.kiosk-country {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    text-align: center;
    margin-bottom: auto;
}

.kiosk-partnership {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: auto;
    padding-bottom: 0.5rem;
}

.play-icon {
    width: 16px;
    height: 16px;
    background-color: #FF0000;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.5rem;
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 2.754rem;
    }
    
    .title-line {
        font-size: 2.75rem;
    }
    
    .title-sub {
        font-size: 2.5rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .kiosks-wrapper {
        gap: 2rem;
    }
    
    .kiosk {
        width: 260px;
    }
}

/* Large Tablet / Small Desktop (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .title-line {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.9rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .kiosks-wrapper {
        gap: 1.8rem;
    }
    
    .kiosk {
        width: 240px;
    }
    
    .kiosk-welcome {
        font-size: 1.7rem;
    }
    
    .kiosk-location {
        font-size: 3.2rem;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .navbar-nav {
        gap: 0.3rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.45rem 0.9rem !important;
    }
    
    .btn-get-started-header {
        font-size: 0.9rem;
        padding: 0.55rem 1.3rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .title-line {
        font-size: 2em;
    }
    
    .title-sub {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2.2rem;
    }
    
    .btn-get-started-hero {
        font-size: 1.05rem;
        padding: 0.95rem 2.2rem;
    }
    
    .kiosks-wrapper {
        gap: 1.5rem;
    }
    
    .kiosk {
        width: 220px;
    }
    
    .kiosk-welcome {
        font-size: 1.6rem;
    }
    
    .kiosk-location {
        font-size: 3rem;
    }
    
    .kiosk-country {
        font-size: 0.95rem;
    }
}

/* Mobile Landscape / Small Tablet (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    :root {
        --header-height: 65px;
    }
    
    .navbar {
        padding: 0.6rem 0;
        min-height: var(--header-height);
    }
    
    .navbar-brand {
        font-size: 0.85rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .logo-text {
        font-size: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.88rem;
        padding: 0.5rem 0.75rem !important;
    }
    
    .btn-get-started-header {
        font-size: 0.88rem;
        padding: 0.5rem 1.1rem;
        margin-top: 0.5rem;
    }
    
    .hero-section {
        margin-top: var(--header-height);
    }
    
    .hero-content {
        padding: 2rem 1.25rem 1.25rem;
    }
    
    .title-line {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.98rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .btn-get-started-hero {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        min-width: 200px;
    }
    
    .kiosks-container {
        padding: 1.5rem 1rem 2rem;
    }
    
    .kiosks-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }
    
    .kiosk {
        width: 180px;
        max-width: calc(50% - 0.6rem);
    }
    
    .kiosk-content {
        padding: 1.2rem 1rem;
    }
    
    .kiosk-welcome {
        font-size: 1.4rem;
        margin: 0.8rem 0 0.4rem;
    }
    
    .kiosk-location {
        font-size: 2.5rem;
    }
    
    .kiosk-country {
        font-size: 0.9rem;
    }
    
    .kiosk-partnership {
        font-size: 0.65rem;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    :root {
        --header-height: 60px;
    }
    
    .navbar {
        padding: 0.5rem 0;
        min-height: var(--header-height);
    }
    
    .navbar-brand {
        font-size: 0.8rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 0.75rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.6rem 1rem !important;
        text-align: left;
    }
    
    .btn-get-started-header {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        width: 100%;
        margin-top: 0.5rem;
        text-align: center;
    }
    
    .hero-section {
        margin-top: var(--header-height);
        min-height: calc(100vh - var(--header-height));
    }
    
    .hero-content {
        padding: 2rem 1rem 1rem;
    }
    
    .title-line {
        font-size: 1.5rem;
        line-height: 1.15;
        margin-bottom: 0.2rem;
    }
    
    .title-sub {
        font-size: 1.3rem;
        margin-top: 0.3rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.8rem;
        padding: 0;
        line-height: 1.6;
    }
    
    .btn-get-started-hero {
        font-size: 0.95rem;
        padding: 0.85rem 1.8rem;
        min-width: 180px;
        width: auto;
    }
    
    .kiosks-container {
        padding: 1rem 0.75rem 1.5rem;
    }
    
    .kiosks-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    
    .kiosk {
        width: 100%;
        max-width: 260px;
    }
    
    .kiosk-content {
        padding: 1rem 0.9rem;
    }
    
    .kiosk-top-text {
        font-size: 0.7rem;
        padding-top: 0.4rem;
    }
    
    .kiosk-welcome {
        font-size: 1.3rem;
        margin: 0.6rem 0 0.3rem;
    }
    
    .kiosk-location {
        font-size: 2.2rem;
        margin: 0.3rem 0;
    }
    
    .kiosk-country {
        font-size: 0.85rem;
    }
    
    .kiosk-partnership {
        font-size: 0.6rem;
        gap: 0.4rem;
    }
    
    .play-icon {
        width: 14px;
        height: 14px;
        font-size: 0.45rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .navbar-brand {
        font-size: 0.75rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .logo-text {
        font-size: 0.7rem;
    }
    
    .hero-content {
        padding: 2.5rem 0.75rem 1rem;
    }
    
    .title-line {
        font-size: 1.5rem;
    }
    
    .title-sub {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-get-started-hero {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
        min-width: 160px;
    }
    
    .kiosk {
        max-width: 240px;
    }
    
    .kiosk-welcome {
        font-size: 1.2rem;
    }
    
    .kiosk-location {
        font-size: 2rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

/* Ensure proper spacing and alignment */
.container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Responsive container padding */
@media (max-width: 1199px) {
    .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 991px) {
    .container-fluid {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 767px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 575px) {
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Improve touch targets for mobile */
@media (max-width: 767px) {
    .nav-link,
    .btn-get-started-header,
    .btn-get-started-hero {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Improve dropdown menu on mobile */
@media (max-width: 991px) {
    .dropdown-menu {
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Better text wrapping */
.hero-title,
.title-line,
.title-sub {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Improve hero background on mobile */
@media (max-width: 767px) {
    .hero-background {
        background-attachment: scroll;
        background-position: center top;
    }
}

/* ============================================
   PAGE CONTENT STYLES
   ============================================ */
main {
    min-height: calc(100vh - var(--header-height));
}

.card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
}

.card.visible,
.card-animated {
    opacity: 1;
    transform: translateY(0);
}

.card:hover,
.card-animated:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Auto-animate sections (only if they have animation class) */
section.animate-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: 2px solid var(--color-primary-green);
    background: linear-gradient(to right, var(--color-primary-green), var(--color-primary-green-light));
    color: var(--color-white);
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    color: var(--color-white);
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: var(--color-heading-dark);
    margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 184, 148, 0.25);
}

/* Dropdown Menu Improvements - Consolidated with modern styles above */
    text-align: center;
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.2;
}

/* ============================================
   PARALLAX & ANIMATIONS
   ============================================ */

/* Section Spacing */
section {
    scroll-margin-top: calc(var(--header-height) + 2rem);
}

/* Parallax Container */
.parallax-container {
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.parallax-element {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Scroll Reveal Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation Delays */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.pulse-animation {
    animation: pulse 3s ease-in-out infinite;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Card Hover Effects */
.card-animated {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.card-animated:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Text Gradient Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-primary-green), var(--color-primary-green-light), var(--color-primary-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s linear infinite;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Performance Optimizations */
.parallax-element,
.fade-in-up,
.fade-in-left,
.fade-in-right,
.scale-in {
    will-change: transform, opacity;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .parallax-element,
    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .scale-in,
    .float-animation,
    .pulse-animation,
    .shimmer,
    .gradient-text {
        animation: none;
        transform: none;
        transition: none;
    }
}

/* Responsive adjustments for page content */
@media (max-width: 767px) {
    main {
        padding: 2rem 0 !important;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* ============================================
   LOCATION ENABLED TAG BADGE
   ============================================ */
.enabled-tag {
    top: 15px;
    right: 15px;
    z-index: 10;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-dark) 100%);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 18px !important;
    border-radius: 25px !important;
    animation: pulse-badge 2s ease-in-out infinite;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.enabled-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.5), 0 3px 10px rgba(0, 0, 0, 0.2);
}

.enabled-tag i {
    font-size: 1rem;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 184, 148, 0.6), 0 2px 10px rgba(0, 0, 0, 0.2);
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .enabled-tag {
        top: 10px;
        right: 10px;
        font-size: 0.75rem;
        padding: 6px 14px !important;
    }
    
    .enabled-tag i {
        font-size: 0.875rem;
    }
}
