/* OTRC Frontend Styles - Clean & Modern 2025 */

/* ===== CSS Variables ===== */
:root {
    --otrc-navy: #212550;
    --otrc-navy-dark: #1a1d3e;
    --otrc-navy-light: #2a2f5f;
    --otrc-blue: #0066cc;
    --otrc-gold: #d4af37;
    --otrc-light: #f8f9fa;
    --otrc-gray: #6c757d;
    --otrc-dark: #2c3e50;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Typography ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== Base Styles ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #475569;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #ffffff;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--otrc-navy);
    letter-spacing: -0.015em;
    margin-top: 0;
}

h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 1.875rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: 1.2rem;
    color: #64748b;
}

.text-elegant {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

/* ===== Header Styles ===== */
.frontend-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.frontend-header.scrolled {
    box-shadow: var(--shadow-md);
}

.top-bar {
    background: linear-gradient(90deg, var(--otrc-navy-dark) 0%, var(--otrc-navy) 100%);
    color: white;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--otrc-gold);
}

.frontend-nav {
    background: white !important;
    padding: 0.75rem 0;
}

.frontend-nav .navbar-brand {
    display: flex;
    align-items: center;
    color: var(--otrc-navy);
    font-weight: 700;
    transition: var(--transition);
}

.frontend-nav .navbar-brand img {
    height: 45px;
    margin-right: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.frontend-nav .brand-text {
    display: flex;
    flex-direction: column;
}

.frontend-nav .brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.frontend-nav .brand-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--otrc-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.frontend-nav .navbar-nav .nav-link {
    color: var(--otrc-dark);
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    font-size: 0.925rem;
    letter-spacing: 0.01em;
    transition: var(--transition);
    position: relative;
}

.frontend-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--otrc-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.frontend-nav .navbar-nav .nav-link:hover::after,
.frontend-nav .navbar-nav .nav-link.active::after {
    width: 80%;
}

/* ===== Background Patterns & Visual Effects ===== */
.pattern-dots {
    background-image: radial-gradient(circle, var(--otrc-gold) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.03;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.geometric-bg::before,
.geometric-bg::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    pointer-events: none;
}

.geometric-bg::before {
    top: 10%;
    left: 10%;
}

.geometric-bg::after {
    bottom: 10%;
    right: 10%;
    animation-delay: -10s;
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(33, 37, 80, 0.05) 100%);
    pointer-events: none;
}

/* ===== Hero Section with Carousel ===== */
.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--otrc-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 50vh;
    min-height: 400px;
}

.hero-carousel .carousel-item {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(33, 37, 80, 0.4) 0%, 
        rgba(33, 37, 80, 0.7) 50%,
        rgba(33, 37, 80, 0.9) 100%);
}

.hero-carousel .hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    text-align: center;
}

/* Removed .hero-carousel .hero-title - now using global .hero-title style */
.hero-carousel .hero-title {
    animation: fadeInUp 1s ease;
}

.hero-carousel .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: white !important;
    opacity: 1 !important;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    letter-spacing: 0.01em;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-carousel .hero-divider {
    width: 60px;
    height: 2px;
    background: var(--otrc-gold);
    margin: 2rem auto;
    animation: fadeInUp 1s ease 0.1s both;
}

/* ===== Content Sections ===== */
.content-section {
    padding: 4rem 0;
    position: relative;
}

/* ===== Common Typography & Elements ===== */
.lead-text, .lead {
    font-size: 1.15rem;
    color: var(--otrc-navy);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Floating Animation */
.floating {
    animation: float 3s ease-in-out infinite;
}

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

/* Section Layout */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    color: var(--otrc-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--otrc-navy);
    margin-bottom: 0.5rem;
    font-weight: 600 !important;
    letter-spacing: -0.015em;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--otrc-gold);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.title-underline.center {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 1.75rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    font-weight: 400;
}

/* ===== Cards & Features ===== */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--otrc-navy) 0%, var(--otrc-gold) 100%);
    transform: translateY(-100%);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--otrc-navy) 0%, var(--otrc-navy-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem auto;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--otrc-gold) 0%, #f4d03f 100%);
}

.feature-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--otrc-navy);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-family: 'Inter', sans-serif;
    color: #64748b;
    line-height: 1.65;
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--otrc-navy);
    color: white;
    padding: 3rem 0;
    position: relative;
    border-top: none !important;
    box-shadow: none !important;
    margin-top: -1px !important; /* Overlap slightly to prevent gap */
    z-index: 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-icon {
    font-size: 2rem;
    color: var(--otrc-gold);
    margin-bottom: 1rem;
    opacity: 0.9;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--otrc-gold);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== Squads Section ===== */
.squads-section {
    padding: 4rem 0;
    background: white;
}

.squad-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.squad-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.squad-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.squad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.squad-card:hover .squad-image img {
    transform: scale(1.05);
}

.squad-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--otrc-navy) 0%, var(--otrc-navy-light) 100%);
    color: white;
    text-align: center;
    position: relative;
}

.squad-header.women {
    background: linear-gradient(135deg, #8B1538 0%, #B91C4C 100%);
}

.squad-header.recreational {
    background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
}

.squad-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.squad-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
    letter-spacing: -0.01em;
}

.squad-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: white !important;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.squad-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.squad-description {
    font-family: 'Inter', sans-serif;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    font-size: 0.875rem;
}

.squad-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.squad-features li {
    font-family: 'Inter', sans-serif;
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.5;
}

.squad-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--otrc-gold);
    font-weight: bold;
}

.squad-action {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.squad-card .btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

/* ===== News Cards ===== */
.news-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-card .card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--otrc-navy);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.news-card .card-text {
    font-family: 'Inter', sans-serif;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.85rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--otrc-navy) 0%, var(--otrc-navy-light) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    letter-spacing: -0.015em;
    color: white;
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: white;
    padding: 3rem 0;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--otrc-light) 0%, white 100%);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.newsletter-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--otrc-navy);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.newsletter-form .form-control {
    border: 1px solid rgba(33, 37, 80, 0.1);
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: var(--transition);
}

.newsletter-form .form-control:focus {
    border-color: var(--otrc-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.1);
}

/* ===== Buttons ===== */
.btn {
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
    font-size: 0.9rem;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--otrc-navy) 0%, var(--otrc-navy-light) 100%);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--otrc-navy-dark) 0%, var(--otrc-navy) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: linear-gradient(135deg, var(--otrc-gold) 0%, #f4d03f 100%);
    color: var(--otrc-navy);
    border: none;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #b8941f 0%, var(--otrc-gold) 100%);
    color: var(--otrc-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-navy {
    background: var(--otrc-navy);
    color: white;
    border: none;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.btn-navy:hover {
    background: var(--otrc-navy-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 500;
}

.btn-outline-light:hover {
    background: white;
    color: var(--otrc-navy);
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline-navy {
    border: 2px solid var(--otrc-navy);
    color: var(--otrc-navy);
    background: transparent;
    font-weight: 500;
}

.btn-outline-navy:hover {
    background: var(--otrc-navy);
    color: white;
    border-color: var(--otrc-navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(33, 37, 80, 0.2);
}

.btn-lg {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* ===== Footer ===== */
.frontend-footer {
    background: var(--otrc-navy);
    color: white;
}

.footer-main {
    background: var(--otrc-navy);
    border-top: 1px solid var(--otrc-navy-light);
}

.footer-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: var(--otrc-navy-light);
    color: white;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--otrc-gold);
    color: white;
}

.footer-bottom {
    background: var(--otrc-navy-dark);
    border-top: 1px solid var(--otrc-navy-light);
}

.footer-bottom .footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-bottom .footer-link:hover {
    color: white;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ===== Welcome Section ===== */
.welcome-section {
    padding: 4rem 0;
    background: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.welcome-content {
    padding-right: 2rem;
}

.welcome-features {
    margin-top: 2rem;
    border: none !important;
}

.welcome-features::before,
.welcome-features::after {
    display: none !important;
}

.welcome-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(33, 37, 80, 0.05);
    transition: all 0.3s ease;
    border: none;
}

.welcome-feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(33, 37, 80, 0.1);
}

.feature-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, var(--otrc-gold) 0%, #f4e4b5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: white;
    margin-right: 1rem;
}

.feature-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.feature-text strong {
    color: var(--otrc-navy);
    font-weight: 600;
}

.welcome-images-grid {
    position: relative;
    padding: 2rem;
    background: transparent;
    border: none;
    overflow: hidden;
}

.welcome-image-wrapper {
    position: relative;
}

.welcome-image-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(33, 37, 80, 0.08);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(33, 37, 80, 0.15);
    text-align: center;
}

.badge-number {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--otrc-gold);
}

.badge-text {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.welcome-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    border: none;
    box-shadow: none;
    background: transparent;
}

.welcome-stat-card {
    background: white;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(33, 37, 80, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.welcome-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(33, 37, 80, 0.15);
}

.welcome-stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--otrc-gold);
}

.welcome-stat-info {
    flex: 1;
}

.welcome-stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--otrc-navy);
    line-height: 1;
}

.welcome-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* welcome-title replaced with section-title for consistency */

.welcome-lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--otrc-navy);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.welcome-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}


@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-carousel .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    /* Fix hero content container - don't apply flex to ALL divs */
    .hero-carousel .hero-content {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100%;
    }
    
    .hero-carousel .hero-content .container {
        display: block !important;
        text-align: center;
    }
    
    /* Fix button groups specifically */
    .hero-carousel .hero-buttons,
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    /* Fix other button containers without breaking layout */
    .cta-section .container > div:has(.btn),
    .content-section .text-center > div:has(.btn) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .scroll-reveal {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        width: 100%;
    }
    
    /* Fix buttons in hero and CTA sections */
    .hero-carousel .hero-buttons .btn,
    .hero-buttons .btn,
    .cta-section .btn,
    .scroll-reveal .btn {
        margin: 0 !important;
        margin-bottom: 0.5rem !important;
        width: 200px !important;
        max-width: 90%;
        text-align: center;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Handle button pairs in content sections */
    .content-section div:has(.btn-gold):has(.btn-outline-light) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .content-section div:has(.btn-gold):has(.btn-outline-light) .btn {
        margin: 0 !important;
        width: 200px !important;
        max-width: 90%;
    }
    
    .hero-carousel .hero-buttons .btn:last-child,
    .cta-section .btn:last-child,
    .scroll-reveal .btn:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Remove Bootstrap margins on mobile */
    .btn.me-3,
    .btn.me-2,
    .btn.ms-3,
    .btn.ms-2 {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .stats-section {
        padding: 3rem 0 2rem 0;
    }
    
    .welcome-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .welcome-images-grid {
        padding: 1rem;
    }
    
    .welcome-image-main {
        height: 300px;
    }
    
    .welcome-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-carousel .hero-title,
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .hero-carousel .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-carousel .hero-divider {
        margin: 1rem auto;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .squad-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-carousel .carousel-item {
        height: 70vh;
        min-height: 450px;
    }
    
    .scroll-reveal .btn,
    .hero-carousel .hero-buttons .btn,
    .hero-buttons .btn {
        width: 85% !important;
        max-width: 220px;
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
    }
    
    .hero-carousel .hero-title,
    .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem;
    }
    
    .hero-carousel .hero-subtitle {
        font-size: 0.85rem;
        padding: 0 0.5rem;
        line-height: 1.4;
    }
    
    .hero-carousel .hero-divider {
        width: 40px;
        height: 2px;
        margin: 0.75rem auto;
    }
}

/* ===== Image Section with Parallax ===== */
.image-text-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.image-text-section.parallax {
    background-attachment: fixed;
    background-size: 150%;
    background-position: center 30%;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.image-text-section.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 37, 80, 0.85);
    z-index: 1;
}

.image-text-section .container {
    position: relative;
    z-index: 2;
}

.image-text-section.parallax h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.image-text-section.parallax p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

/* ===== Journey Timeline ===== */
.journey-timeline {
    position: relative;
    padding-left: 40px;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--otrc-gold) 0%, var(--otrc-navy) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.timeline-icon {
    position: absolute;
    left: -40px;
    width: 30px;
    height: 30px;
    background: white;
    border: 3px solid var(--otrc-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--otrc-gold);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    background: var(--otrc-gold);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.timeline-content {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(33, 37, 80, 0.08);
    flex: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(33, 37, 80, 0.15);
}

.timeline-content h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--otrc-navy);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ===== Return to Rowing Section ===== */
.return-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

.return-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.return-images {
    position: relative;
    height: 500px;
}

.return-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(33, 37, 80, 0.15);
}

.return-image-overlay {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid white;
    box-shadow: 0 15px 35px rgba(33, 37, 80, 0.2);
}

/* Removed .return-content h2 - now using .section-title class */

.return-content .lead {
    font-size: 1.15rem;
    color: var(--otrc-navy);
    font-weight: 500;
}

.return-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(33, 37, 80, 0.06);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(33, 37, 80, 0.12);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--otrc-gold) 0%, #f4e4b5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin-right: 1.25rem;
}

.benefit-content h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--otrc-navy);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.return-quote {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
    border-left: 4px solid var(--otrc-gold);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.return-quote p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--otrc-navy);
    margin-bottom: 0.75rem;
}

.return-quote footer {
    font-size: 0.9rem;
    color: var(--otrc-gold);
    font-weight: 600;
}

@media (max-width: 991px) {
    .return-images {
        height: 400px;
    }
    
    .return-image-overlay {
        width: 150px;
        height: 120px;
        bottom: -20px;
        left: -20px;
    }
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 300px;
    box-shadow: 0 10px 30px rgba(33, 37, 80, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item.large {
    grid-column: span 2;
    height: 400px;
}

.gallery-item.tall {
    grid-row: span 2;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(33, 37, 80, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(33, 37, 80, 0.2);
}

.gallery-text h4 {
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
}

/* ===== Split Image Section ===== */
.split-section {
    padding: 5rem 0;
    overflow: hidden;
}

.split-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-image:hover img {
    transform: scale(1.05);
}

.split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.split-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    color: var(--otrc-navy);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.split-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--otrc-gold);
}

.split-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.split-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.split-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
}

.split-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--otrc-gold);
    font-weight: bold;
}

/* ===== Additional Animations ===== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Duplicate float animation removed - defined earlier in Common Typography section */

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes morphing {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-20px) translateX(10px) rotate(2deg); }
    66% { transform: translateY(10px) translateX(-5px) rotate(-1deg); }
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ===== Floating Elements ===== */
.floating {
    animation: float 3s ease-in-out infinite;
}

.floating-delayed {
    animation: float 3s ease-in-out infinite 1.5s;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--otrc-gold) 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: inherit;
    display: inline-block;
}

/* ===== Card Hover Effects ===== */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ===== Decorative Elements ===== */
.decoration-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--otrc-gold) 0%, transparent 100%);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.decoration-line {
    position: absolute;
    width: 100px;
    height: 2px;
    background: var(--otrc-gold);
    opacity: 0.5;
    animation: fadeInRight 1s ease;
}

/* ===== Dropdown Menu Styling ===== */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeInDown 0.3s ease;
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 0.75rem 0;
        margin-top: 0.5rem;
        background: white;
        min-width: 220px;
    }
    
    .navbar-nav .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 30px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid white;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.5rem;
        color: var(--otrc-navy);
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .navbar-nav .dropdown-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: var(--otrc-gold);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .navbar-nav .dropdown-item:hover {
        background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
        color: var(--otrc-navy);
        padding-left: 2rem;
    }
    
    .navbar-nav .dropdown-item:hover::before {
        transform: translateX(0);
    }
    
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ===== Mobile Burger Menu ===== */
.mobile-menu-toggle {
    display: none;
    width: 35px;
    height: 35px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--otrc-gold);
    border-radius: 2px;
    position: absolute;
    left: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 8px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 16px;
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 8px;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--otrc-navy) 0%, #1a1c3d 100%);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100vw;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-logo img {
    height: 40px;
}

.mobile-menu-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    flex: 1;
    padding: 2rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    width: 100%;
    max-width: 100%;
    text-align: left;
    position: relative;
    box-sizing: border-box;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--otrc-gold);
    padding-left: 2.5rem;
}

.mobile-menu-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--otrc-gold);
    border-left: 4px solid var(--otrc-gold);
}

.mobile-menu-link i:first-child {
    width: 30px;
    font-size: 1.2rem;
    color: var(--otrc-gold);
}

.mobile-menu-link span {
    flex: 1;
    margin-left: 1rem;
}

.mobile-menu-link i:last-child {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Mobile Dropdown */
.mobile-menu-dropdown {
    position: relative;
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.mobile-dropdown-content.active {
    max-height: 600px;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem 0.875rem 3rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.mobile-submenu-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding-left: 3.25rem;
}

.mobile-submenu-link i {
    width: 20px;
    font-size: 0.85rem;
    color: var(--otrc-gold);
    opacity: 0.7;
}

.mobile-submenu-link span {
    margin-left: 0.75rem;
    font-size: 0.95rem;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-arrow.active {
    transform: rotate(180deg);
}

/* Mobile Menu Divider */
.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 2rem;
}

/* Mobile Portal Link */
.mobile-portal-link {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin: 0.5rem 1rem;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    padding: 0.75rem 1rem !important;
    width: calc(100% - 2rem);
    box-sizing: border-box;
}

.mobile-portal-link:hover {
    background: rgba(212, 175, 55, 0.2);
}

.mobile-portal-link i:first-child {
    flex: 0 0 20px;
    margin-right: 0.5rem;
    font-size: 1rem;
    color: var(--otrc-gold);
}

.mobile-portal-link span {
    flex: 1 1 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 !important;
    min-width: 0;
    font-size: 0.95rem;
}

.mobile-portal-link i:last-child {
    flex: 0 0 16px;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-footer p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.mobile-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-links a:hover {
    background: var(--otrc-gold);
    transform: scale(1.1);
}

/* Body overflow when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* ===== Mobile Optimization Fixes ===== */

/* Prevent horizontal scroll - global fixes */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
}

@media (max-width: 768px) {
    .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}

.col, [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure images don't cause overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent any absolute positioned elements from causing overflow */
[style*="position: absolute"] {
    max-width: 100vw;
}

/* Fix sections that might overflow */
section {
    overflow-x: hidden;
    width: 100%;
}

/* Fix card and feature elements */
@media (max-width: 768px) {
    .feature-card,
    .squad-card,
    .news-card {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    .stats-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
    }
}

/* Small mobile screens adjustments */
@media (max-width: 480px) {
    .mobile-menu-link {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }
    
    .mobile-submenu-link {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem 0.75rem 2.5rem;
    }
    
    .mobile-submenu-link span {
        font-size: 0.875rem;
    }
    
    .mobile-submenu-link i {
        font-size: 0.8rem;
        width: 18px;
    }
    
    .mobile-portal-link {
        margin: 0.5rem 0.75rem;
        padding: 0.625rem 0.75rem !important;
        width: calc(100% - 1.5rem);
    }
    
    .mobile-portal-link span {
        font-size: 0.875rem;
    }
    
    .mobile-portal-link i:first-child {
        flex: 0 0 18px;
        font-size: 0.9rem;
        margin-right: 0.4rem;
    }
    
    .mobile-portal-link i:last-child {
        flex: 0 0 14px;
        font-size: 0.75rem;
        margin-left: 0.3rem;
    }
}

/* Extra small screens adjustments */
@media (max-width: 380px) {
    .mobile-menu-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .mobile-menu-link i:first-child {
        width: 16px;
        font-size: 0.85rem;
    }
    
    .mobile-menu-link span {
        margin-left: 0.5rem;
        font-size: 0.875rem;
    }
    
    .mobile-submenu-link {
        font-size: 0.8rem;
        padding: 0.625rem 1rem 0.625rem 2.25rem;
    }
    
    .mobile-submenu-link span {
        font-size: 0.8rem;
    }
    
    .mobile-submenu-link i {
        font-size: 0.75rem;
        width: 16px;
    }
    
    .mobile-portal-link {
        margin: 0.4rem 0.6rem;
        padding: 0.5rem 0.6rem !important;
        width: calc(100% - 1.2rem);
    }
    
    .mobile-portal-link span {
        font-size: 0.8rem;
    }
    
    .mobile-portal-link i:first-child {
        flex: 0 0 16px;
        font-size: 0.85rem;
        margin-right: 0.3rem;
    }
    
    .mobile-portal-link i:last-child {
        flex: 0 0 12px;
        font-size: 0.7rem;
        margin-left: 0.25rem;
    }
    
    .mobile-menu-header {
        padding: 0.75rem;
    }
    
    .mobile-menu-logo span {
        font-size: 0.95rem;
    }
    
    .mobile-menu-logo img {
        height: 35px;
    }
}

/* Very small screens (iPhone SE, etc) */
@media (max-width: 320px) {
    .mobile-portal-link {
        margin: 0.25rem 0.5rem;
        padding: 0.4rem 0.5rem !important;
        width: calc(100% - 1rem);
    }
    
    .mobile-portal-link span {
        font-size: 0.75rem;
        letter-spacing: -0.01em;
    }
    
    .mobile-portal-link i:first-child {
        flex: 0 0 14px;
        font-size: 0.75rem;
        margin-right: 0.25rem;
    }
    
    .mobile-portal-link i:last-child {
        flex: 0 0 10px;
        font-size: 0.65rem;
        margin-left: 0.2rem;
    }
    
    .mobile-menu-link {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .mobile-menu-link span {
        font-size: 0.75rem;
    }
}
/* ===== Homepage Testimonial Highlight Section ===== */
.testimonial-highlight-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-highlight {
    padding: 2rem;
}

.testimonial-highlight .text-gold {
    color: var(--otrc-gold);
    opacity: 0.6;
}

.testimonial-quote p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--otrc-navy);
    line-height: 1.8;
    margin: 0;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: var(--otrc-navy);
}

.testimonial-author .text-muted {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .testimonial-quote p {
        font-size: 1.1rem;
    }

    .testimonial-highlight .fa-3x {
        font-size: 2rem !important;
    }
}

/* ===== Announcement Banner ===== */
.announcement-banner {
    background: var(--otrc-navy);
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--otrc-gold);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.announcement-icon {
    background: var(--otrc-gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: announcementPulse 2s infinite;
}

.announcement-icon i {
    font-size: 1.5rem;
    color: var(--otrc-navy);
}

@keyframes announcementPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.announcement-text {
    color: white;
    text-align: center;
}

.announcement-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.announcement-text h3 .highlight {
    color: var(--otrc-gold);
}

.announcement-text p {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.95;
}

.announcement-cta .btn-gold {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .announcement-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .announcement-icon {
        width: 50px;
        height: 50px;
    }

    .announcement-icon i {
        font-size: 1.25rem;
    }

    .announcement-text h3 {
        font-size: 1.25rem;
    }

    .announcement-text p {
        font-size: 0.9rem;
    }
}

/* ===== Floating Learn to Row CTA ===== */
.floating-l2r-cta {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--otrc-navy);
    border-radius: 50px;
    padding: 0;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(33, 37, 80, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.floating-l2r-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(33, 37, 80, 0.5);
}

.floating-l2r-badge {
    background: var(--otrc-gold);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-l2r-badge .badge-year {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--otrc-navy);
    letter-spacing: -0.02em;
}

.floating-l2r-content {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.75rem;
    line-height: 1.2;
}

.floating-l2r-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.floating-l2r-subtitle {
    font-size: 0.75rem;
    color: var(--otrc-gold);
    font-weight: 500;
}

.floating-l2r-arrow {
    padding: 0 1rem 0 0.5rem;
    color: white;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.floating-l2r-cta:hover .floating-l2r-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Hide on very small screens or make it smaller */
@media (max-width: 480px) {
    .floating-l2r-cta {
        left: 10px;
        bottom: 10px;
    }

    .floating-l2r-badge {
        padding: 0.6rem 0.75rem;
    }

    .floating-l2r-badge .badge-year {
        font-size: 0.85rem;
    }

    .floating-l2r-content {
        padding: 0.4rem 0.5rem;
    }

    .floating-l2r-title {
        font-size: 0.8rem;
    }

    .floating-l2r-subtitle {
        font-size: 0.65rem;
    }

    .floating-l2r-arrow {
        padding: 0 0.75rem 0 0.25rem;
        font-size: 0.8rem;
    }
}

/* ===== Floating EasyFundraising CTA ===== */
.floating-easyfundraising {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 50px;
    padding: 0;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.floating-easyfundraising:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.5);
    text-decoration: none;
}

.floating-ef-icon {
    background: #1e3a5f;
    padding: 0.6rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.floating-ef-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.floating-ef-icon i {
    font-size: 1.25rem;
    color: #ffd700;
}

.floating-ef-content {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.75rem;
    line-height: 1.2;
}

.floating-ef-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
}

.floating-ef-subtitle {
    font-size: 0.7rem;
    color: #ffd700;
    font-weight: 500;
}

.floating-ef-arrow {
    padding: 0 1rem 0 0.5rem;
    color: white;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.floating-easyfundraising:hover .floating-ef-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Hide EasyFundraising button on mobile */
@media (max-width: 768px) {
    .floating-easyfundraising {
        display: none;
    }
}

