:root {
    --primary-color: #29ABE2;
    --secondary-color: #1e88c7;
    --accent-color: #f5a623;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
}

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1e88c7;
    border-color: #1e88c7;
}

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

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
}

.top-bar a {
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navigation */
.navbar {
    padding: 0;
    height: 100px;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 90px;
    width: auto;
    margin-right: 20px;
    position: relative;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    transition: transform 0.2s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-collapse {
    align-self: center;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem !important;
    font-size: 1rem;
}

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

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        padding: 0.5rem 0;
    }

    .navbar-logo {
        height: 70px;
    }

    .navbar-collapse {
        margin-top: 1rem;
    }
}

/* Hero Section */
.hero-slide {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    opacity: 0.95;
}

.hero-cta {
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3) !important;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 20px;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(41, 171, 226, 0.9);
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

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

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

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Tour Cards */
.tour-card {
    transition: all 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.tour-image-wrapper {
    position: relative;
    border-radius: 10px 10px 0 0;
}

.tour-image {
    transition: transform 0.4s ease;
}

.tour-card:hover .tour-image {
    transform: scale(1.1);
}

.tour-price-badge {
    z-index: 10;
}

.tour-price-badge .badge {
    backdrop-filter: blur(10px);
    animation: pulse-badge 2s infinite;
}

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

/* Service Boxes */
.service-box {
    transition: all 0.3s;
}

.service-box:hover {
    background-color: white !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
}

footer a {
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(41, 171, 226, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero-slide {
        min-height: 450px;
    }

    .hero-title {
        font-size: 2rem !important;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-cta {
        padding: 0.75rem 2rem !important;
        font-size: 0.9rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 991px) {
    .hero-slide {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.25rem !important;
    }
}

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Registration Benefits Section */
.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.registration-cta-box {
    transition: all 0.3s ease;
}

.registration-cta-box:hover {
    transform: translateY(-5px);
}

/* Registration CTA Elements */
.btn-register {
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(41, 171, 226, 0.3);
    animation: pulse-glow 2s infinite;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(41, 171, 226, 0.5) !important;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 8px rgba(41, 171, 226, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(41, 171, 226, 0.6);
    }
}

/* Floating Registration Button */
.floating-register-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s ease;
}

.floating-register-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-register-btn .btn {
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1rem;
    animation: float-bounce 3s ease-in-out infinite;
}

.floating-register-btn .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(41, 171, 226, 0.5) !important;
}

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

/* Registration CTA Footer */
.registration-cta-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: transform 0.3s ease;
}

.registration-cta-footer:hover {
    transform: scale(1.02);
}

.registration-cta-footer .btn-light:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive for Registration Elements */
@media (max-width: 768px) {
    .floating-register-btn {
        bottom: 20px;
        right: 20px;
    }

    .floating-register-btn .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .floating-register-btn .btn-text {
        display: none;
    }

    .floating-register-btn .btn i {
        margin-right: 0 !important;
    }

    .btn-register {
        font-size: 0.85rem;
        padding: 0.5rem 1rem !important;
    }

    .registration-cta-footer {
        padding: 2rem 1rem !important;
    }

    .registration-cta-footer h4 {
        font-size: 1.25rem;
    }

    .registration-cta-footer p {
        font-size: 0.9rem;
    }
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.rounded {
    border-radius: 0.5rem !important;
}