html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Hero Section Container */
.hero-section {
    background-color: #f8f9fa; /* Soft base slate background */
    min-height: 80vh;
}

/* Base Style for Ambient Glowing Bubbles */
.ambient-bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Creates the soft 3D glow */
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
    animation: floatAnimation 12s ease-in-out infinite alternate;
}

/* Individual Bubble Configurations */
.bubble-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #7928ca 0%, #ff0080 100%); /* Vibrant Purple-Pink */
    top: -50px;
    left: -50px;
}

.bubble-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #0070f3 0%, #00dfd8 100%); /* Vibrant Cyan-Blue */
    bottom: -100px;
    right: -80px;
    animation-delay: -4s;
}

.bubble-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #ff4e50 0%, #f9d423 100%); /* Warm Sunshine Orange */
    top: 40%;
    left: 45%;
    animation-delay: -8s;
}

/* Floating Animation Keyframes */
@keyframes floatAnimation {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    50% {
        transform: translate(40px, -30px) scale(1.08);
    }

    100% {
        transform: translate(-30px, 50px) scale(0.95);
    }
}

/* Modern Glassmorphic Card Overlay */
.glass-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* PUBLIC GALLERY HOVER OVERLAY */
.gallery-card {
    position: relative;
}

    .gallery-card img {
        transition: transform 0.3s ease-in-out;
    }

    .gallery-card:hover img {
        transform: scale(1.05);
    }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* GALLERY CARD ANIMATIONS */
.gallery-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .gallery-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    }

.gallery-img {
    transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.06);
}

/* LIGHTBOX ICON BUTTON */
.gallery-lightbox-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.25s ease;
    text-decoration: none;
}

.gallery-card:hover .gallery-lightbox-btn {
    opacity: 1;
}

.gallery-lightbox-btn:hover {
    background: rgba(13, 110, 253, 0.9);
    color: #fff;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Partner Logo Ticker Styling */
.partner-img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}

.partner-logo-item:hover .partner-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
/* PARTNER LOGO STYLING */
.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-img {
    filter: grayscale(80%);
    opacity: 0.8;
    transition: all 0.25s ease-in-out;
}

.partner-logo-item:hover .partner-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* FALLBACK BADGE FOR LOGOS THAT CANNOT BE HOTLINKED */
.partner-fallback-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4b5563;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
}

.partner-logo-item:hover .partner-fallback-badge {
    color: #0d6efd;
    border-color: #0d6efd;
    transform: translateY(-1px);
}

:root {
    /* Main Brand Palette */
    --brand-teal: #005A5B; /* Primary Admin/Brand Color */
    --brand-teal-dark: #003F40; /* Darker shade for hovers & dark heroes */
    --brand-teal-light: #E6F0F0; /* Light teal background tint */

    --brand-lilac: #C8A2C8; /* Primary Accent Lilac */
    --brand-lilac-dark: #9B6B9E; /* Deeper Lilac for text/buttons */
    --brand-lilac-light: #F7F0F8; /* Soft Lilac background tint */
}

/* Custom Button Styles */
.btn-lilac {
    background-color: var(--brand-lilac-dark);
    color: #ffffff;
    border: none;
}

    .btn-lilac:hover {
        background-color: #835586;
        color: #ffffff;
    }

.btn-outline-lilac {
    border: 2px solid var(--brand-lilac-dark);
    color: var(--brand-lilac-dark);
    background-color: transparent;
}

    .btn-outline-lilac:hover {
        background-color: var(--brand-lilac-dark);
        color: #ffffff;
    }

/* Custom Backgrounds & Text Colors */
.bg-teal {
    background-color: var(--brand-teal) !important;
}

.bg-teal-dark {
    background-color: var(--brand-teal-dark) !important;
}

.bg-teal-subtle {
    background-color: var(--brand-teal-light) !important;
}

.bg-lilac {
    background-color: var(--brand-lilac-dark) !important;
}

.bg-lilac-subtle {
    background-color: var(--brand-lilac-light) !important;
}

.text-teal {
    color: var(--brand-teal) !important;
}

.text-lilac {
    color: var(--brand-lilac-dark) !important;
}

.custom-rotdow-pills .nav-link {
    color: #495057;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

    .custom-rotdow-pills .nav-link.active {
        background-color: var(--rotdow-primary, #800080) !important; /* Fallback if var not set */
        color: #ffffff !important;
        border-color: var(--rotdow-primary, #800080) !important;
    }