:root {
    --primary: #FD5E53;
    /* Sunset Orange - main accent */
    --primary-dark: #E43414;
    /* Red Sunset - darker accent */
    --secondary: #FF8559;
    /* Coral - secondary accent */
    --secondary-dark: #E73121;
    /* Vermilion - darker secondary */
    --dark: #1b1b1b;
    /* Near black for backgrounds */
    --dark-footer: #0f0f0f;
    --light-gray: rgba(255, 255, 255, 0.8);
    --accent-orange: #FE6900;
    /* Safety Orange */
    --accent-red: #FA4536;
    /* Coral Red */
}

body {
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Color utilities */
.text-primary-dark {
    color: var(--primary-dark) !important;
}

.text-light-gray {
    color: var(--light-gray) !important;
}

.bg-primary-soft {
    background-color: rgba(253, 94, 83, 0.1) !important;
}

.bg-success-soft {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

.bg-info-soft {
    background-color: rgba(254, 105, 0, 0.1) !important;
}

.bg-dark-footer {
    background: linear-gradient(to top, #353434, #829ce2) !important;
    /* Lighter slate gradient */
}


.small-text {
    font-size: 10px;
    /* adjust size as needed */
    color: #0f0f0f;
    margin: 0;
    /* remove extra spacing */
    line-height: 1;
    /* optional: tighter line spacing */
}


/* Navigation */
/* Navigation - Modern glassmorphism with sunset tint */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(253, 94, 83, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#loginModal .modal-dialog {
    max-width: 380px;
    /* reduce width here */
}


.nav-item.contact-space {
    margin-right: 10px;
    /* adjust spacing as needed */
}


.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-link-custom {
    color: #334155 !important;
    /* Darker slate for better contrast */
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link-custom:hover {
    color: var(--primary-dark) !important;
    background: linear-gradient(135deg, rgba(253, 94, 83, 0.1) 0%, rgba(255, 133, 89, 0.1) 100%);
    transform: scale(1.05);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(253, 94, 83, 0.25);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 52, 20, 0.35);
}

/* Navbar brand text colors */
.navbar-brand {
    color: #1e293b !important;
}

.navbar-brand .text-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lh-tight {
    line-height: 1.08;
    /* You can try 1.0 or 1.05 for even tighter */
}


/* Hero Section */
/* Hero Section - Lighter background */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #9b6e4a 100%);
    padding-top: 20px;
    min-height: 100vh;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    /* Increased from 0.1 for more visibility */
    background-image: radial-gradient(#ff8559 1px, transparent 1px);
    background-size: 30px 30px;
}


.badge-custom {
    background-color: rgba(253, 94, 83, 0.15);
    border: 1px solid rgba(253, 94, 83, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.875rem;
}

.gradient-text {
    /* Fluid gradient with a 'shine' to mimic water reflection */
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-orange) 25%, #f0da14 50%, var(--accent-orange) 75%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: liquidFlow 3s linear infinite;
}

@keyframes liquidFlow {
    to {
        background-position: 200% center;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(253, 94, 83, 0.4);
}

.shadow-primary {
    box-shadow: 0 10px 20px rgba(253, 94, 83, 0.3);
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: 2px solid var(--dark);
    margin-left: -8px;
}

.avatar-circle:first-child {
    margin-left: 0;
}

.avatar-circle:nth-child(2) {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%);
}

.avatar-circle:nth-child(3) {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 100%);
}

/* Hero Image - No background, no shadow */
.hero-image-wrapper {
    max-width: 450px;
    margin: 0 auto;
}

.hero-image-container {
    background: transparent;
    box-shadow: none;
}

.hero-image-container img {
    background: transparent;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

.floating-card {
    position: absolute;
    background-color: rgba(27, 27, 27, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(253, 94, 83, 0.2);
    border: 1px solid rgba(253, 94, 83, 0.2);
}

.floating-card-1 {
    right: -20px;
    top: 80px;
}

.floating-card-2 {
    left: -30px;
    bottom: 130px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(253, 94, 83, 0.1);
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Classes Section */
.class-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;

}

.class-card:hover {
    background: linear-gradient(135deg, var(--dark) 0%, #2d1810 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(253, 94, 83, 0.2);
    border-color: var(--primary);
}

.class-card:hover h3,
.class-card:hover p,
.class-card:hover li {
    color: white !important;
}

.class-card-dark {
    background: linear-gradient(135deg, var(--dark) 0%, #2d1810 100%);
    border-color: rgba(253, 94, 83, 0.3);
    box-shadow: 0 20px 40px rgba(253, 94, 83, 0.3);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.class-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: white !important;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-red) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(253, 94, 83, 0.3);
}

/* Button style when CARD is hovered but BUTTON is NOT hovered */
.class-card:hover .btn:not(:hover) {
    background: white !important;
    color: black !important;
    border-color: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Registration Section */
.blob {
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(253, 94, 83, 0.2);
    border-radius: 50%;
    filter: blur(80px);
    animation: blob 7s infinite;
}

.blob-1 {
    right: -80px;
    top: 160px;
    background: rgba(253, 94, 83, 0.2);
}

.blob-2 {
    left: -80px;
    bottom: 160px;
    background: rgba(254, 105, 0, 0.2);
    animation-delay: 2s;
}

@keyframes blob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.icon-circle-lg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.registration-form {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.form-control-custom {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(253, 94, 83, 0.15);
}

.btn-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(253, 94, 83, 0.2);
}

/* Contact Section */
.icon-circle-bordered {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(253, 94, 83, 0.1) 0%, rgba(254, 105, 0, 0.1) 100%);
    border: 1px solid rgba(253, 94, 83, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.hover-secondary:hover {
    color: var(--primary) !important;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(253, 94, 83, 0.1) 0%, rgba(254, 105, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-icon:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.map-container {
    height: 500px;
    position: relative;
}

.map-overlay {
    background: linear-gradient(to top, rgba(27, 27, 27, 0.9), transparent);
}

/* Footer */


.footer-logo-box {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 8px rgba(253, 94, 83, 0.3);
}

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

/* Footer Text Enhancements */
footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hover-white:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-bounce-slow {
    animation: bounce 3s infinite;
}

.animate-bounce-delayed {
    animation: bounce 4s infinite;
    animation-delay: 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 1199.98px) {
    .floating-card-1 {
        right: 10px;
        top: 40px;
    }

    .floating-card-2 {
        left: 10px;
        bottom: 80px;
    }

    .hero-section {
        padding-top: 80px;
    }

    /* Uniform spacing and alignment for mobile/tablet menu */
    .navbar-nav {
        align-items: flex-end;
    }

    .navbar-nav .nav-item {
        margin-bottom: 15px;
        width: 100%;
        /* Ensure full width clickable area if needed, or removing it lets flex-end work better on content */
        text-align: right;
        /* Explicit text alignment */
    }

    .navbar-nav .nav-item:last-child {
        margin-bottom: 0;
    }
}

/* Hero Text vertical shift */
@media (min-width: 992px) {
    .hero-text-shift {
        margin-top: -2rem !important;
    }
}

/* Hero Image vertical shift */
@media (min-width: 992px) {
    .hero-img-shift {
        margin-top: 4rem !important;
    }
}

.avatar-circle {
    border-color: #ffffff !important;
}