:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
}




/* Hero Carousel */
.carousel {
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-item:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1501594907352-04cda38ebc29');
}

.carousel-item:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1483729558449-99ef09a8c325');
}

.carousel-item:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1464037866556-6812c9d1c72e');
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Section Styling */
.section-header h2 {
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    color: #777;
}

/* Continent Tabs */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    color: #495057;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    position: relative;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom: 3px solid var(--primary-color);
}

.nav-tabs .nav-link:hover:not(.active) {
    border-bottom: 3px solid rgba(52, 152, 219, 0.3);
}

/* Search Box */
#searchInput {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #dee2e6;
}

#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.input-group-text {
    border-radius: 25px 0 0 25px;
    background-color: white;
    border-right: none;
}

/* Country Cards - Modern Premium Design */
.country-card {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 57, 86, 0.12);
}

.country-card .position-relative {
    overflow: hidden;
}

.country-card img {
    height: auto !important;
    width: 100% !important;
    transition: transform 0.6s ease;
}

.country-card:hover img {
    transform: scale(1.08);
}

.country-card .card-body {
    padding: 1.75rem 1rem !important;
    background: #ffffff;
}

.country-card .card-title {
    font-size: 1.4rem !important;
    color: #0d3956 !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
}

.country-card .card-text {
    color: #64748b !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

/* Floating Star Badge */
.country-card .position-absolute.top-0.end-0 {
    z-index: 2;
}

.country-card .bg-white.px-2.py-1.rounded-pill {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px);
    padding: 6px 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Requirement Action Buttons - Refined */
.requirement-actions .btn-info.view-req {
    background: #0d3956 !important;
    border: none !important;
    padding: 10px 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 12px rgba(13, 57, 86, 0.15) !important;
    transition: all 0.3s ease !important;
    white-space: nowrap;
}

.requirement-actions .btn-info.view-req:hover {
    background: #1e4b6b !important;
    box-shadow: 0 6px 16px rgba(13, 57, 86, 0.25) !important;
}

.requirement-actions .btn-outline-secondary {
    border: 1.5px solid #e2e8f0 !important;
    color: #475569 !important;
    padding: 8px 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap;
}

.requirement-actions .btn-outline-secondary:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
    transform: translateY(-1px);
}

/* Book Now Button */
.country-card .book-btn {
    background: linear-gradient(135deg, #0d3956 0%, #1e4b6b 100%) !important;
    border: none !important;
    padding: 14px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    box-shadow: 0 8px 20px rgba(13, 57, 86, 0.2) !important;
    margin-top: 0.5rem !important;
}

.country-card .book-btn:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 12px 25px rgba(13, 57, 86, 0.3) !important;
}


/* Star Ratings */
.fa-star {
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    font-size: large !important;
}


.country-card .card-body {
    padding: 1.5rem;
}

.country-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.country-card .card-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Services Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card i {
    color: var(--primary-color);
}

/* Contact Form */
#contactForm .form-control,
#contactForm .form-select {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
}

#contactForm .form-control:focus,
#contactForm .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}


/* Responsive Adjustments */
@media (max-width: 768px) {

    .carousel,
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-caption {
        bottom: 20%;
        text-align: center;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}

.book-btn {
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.book-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.fa-calendar-check {
    color: white !important;
    font-size: large !important;
}

.fa-search {
    color: #777 !important;
}

.fa-star-half-alt {
    font-size: large !important;
}

.rating {
    color: #f9c74f !important;
}

.cta-background {
    background: whitesmoke;
}

/* Requirement Action Buttons */
.requirement-actions .btn {
    font-size: 0.8rem;
    padding: 0.4rem;
    border-radius: 6px;
    font-weight: 500;
}

.requirement-actions .btn-info {
    color: white;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.requirement-actions .btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
}

#requirementsContent {
    white-space: pre-wrap;
}

.hidden-package {
    display: none !important;
}