:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #2d3436;
    --bg-color: #f8f9fa;
    --border-color: #e2e8f0;
}

/* Global Styles */
:root {
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    padding-top: 76px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.search-form {
    max-width: 900px;
    margin: 0 auto;
}

/* Destination Cards */
.destination-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.destination-card:hover {
    transform: translateY(-10px);
}

.destination-card img {
    height: 200px;
    object-fit: cover;
}

/* Destination Cards with Flags */
.flag-header {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.flag-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .flag-card-img {
    transform: scale(1.1);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.features-list li {
    margin-bottom: 10px;
    color: #4a5568;
}

.features-list li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.destination-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.destination-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.destination-card .flag-icon {
    width: 1.5em;
    height: 1.5em;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.destination-card .card-text {
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.destination-card .btn-outline-primary {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Cards */
.service-card {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* WhatsApp Float Button */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

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

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Navbar Styles */
.navbar {
    background: rgba(33, 37, 41, 0.9) !important;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img.logo {
    height: 50px;
    width: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

/* Add margin-top to all main content sections */
.hero-section,
.about-hero,
.language-hero,
.contact-section,
.car-rental-hero,
.visa-section {
    margin-top: 76px;
}

/* Button Styles */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: all 0.3s ease;
}

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

/* Destinations Page Styles */
.destination-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/destinations-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 400px;
    position: relative;
}

.destination-detail {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.destination-detail:last-child {
    border-bottom: none;
}

.destination-flag {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
}

.destination-flag .flag-icon {
    width: 80% !important;
    height: 80% !important;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.destination-flag:hover .flag-icon {
    transform: scale(1.05);
}

.destination-detail h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.destination-detail .lead {
    color: #666;
    margin-bottom: 2rem;
}

.destination-detail .features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.destination-detail .features li {
    margin-bottom: 1rem;
    color: #4a5568;
}

.destination-detail .features i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

.visa-options {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.visa-options ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.visa-options li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    padding-left: 20px;
    position: relative;
}

.visa-options li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Visa Page Styles */
.visa-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1569154941061-e231b4725ef1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 400px;
    position: relative;
}

.visa-filter {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.visa-filter .form-select {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    font-size: 0.95rem;
    color: #4a5568;
    transition: all 0.3s ease;
}

.visa-filter .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.visa-card .card {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.visa-card .card-header {
    background: var(--primary-color);
    color: white;
    padding: 15px;
}

.visa-card .card-header .flag-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.visa-card .card-header h5 {
    display: inline;
    margin: 0;
}

.visa-card .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 15px 0;
}

.visa-card .card-body ul li {
    margin-bottom: 8px;
}

/* DCADS Hero Section */
.dcads-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/premium_photo-1661429023637-3d97b82b67d5.avif');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-top: 76px;
}

.dcads-hero .hero-buttons {
    margin-top: 2rem;
}

.dcads-hero .btn {
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dcads-hero .display-3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Car Rentals Page Styles */
.car-rental-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1485291571150-772bcfc10da5?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Featured Cars Carousel */
.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

/* Car Fleet Cards */
.car-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-card img {
    border-radius: 10px 10px 0 0;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.car-card .card-body {
    padding: 20px;
}

.car-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.car-card .specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.car-card .specs span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-card .specs i {
    color: var(--secondary-color);
}

.car-card .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.car-card .btn {
    background: var(--primary-color);
    border: none;
    padding: 10px 20px;
    transition: background 0.3s ease;
}

.car-card .btn:hover {
    background: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .car-rental-hero {
        height: 40vh;
    }

    .carousel-item img {
        height: 300px;
    }

    .car-card {
        margin-bottom: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 100px 0;
    }
    
    .search-form {
        padding: 15px;
    }
    
    .destination-card {
        margin-bottom: 20px;
    }
}

/* Utility classes */
.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Language Courses Page Styles */
.language-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1523050854058-772bcfc10da5?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Language Program Cards */
.language-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
}

.language-card:hover {
    transform: translateY(-5px);
}

.language-card .card-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-card .flag-icon {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.language-card h5 {
    margin: 0;
    font-weight: 600;
}

.language-card .card-body {
    padding: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.features-list li {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--secondary-color);
}

.language-card .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Course Features Section */
.feature-box {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.feature-box i {
    color: var(--secondary-color);
}

.feature-box h4 {
    margin: 20px 0;
    color: var(--primary-color);
}

.feature-box p {
    color: #666;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-hero {
        height: 40vh;
    }

    .language-card {
        margin-bottom: 20px;
    }

    .feature-box {
        margin-bottom: 20px;
    }
}

/* Contact Page Styles */
.contact-section {
    background-color: #f8f9fa;
}

.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.info-item p {
    margin: 0;
    color: #666;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0.8rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}

.contact-form label {
    color: #444;
    font-weight: 500;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    padding: 0.8rem 2rem;
    font-weight: 500;
}

.map-container {
    height: 450px;
    width: 100%;
}

.map-container iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form-wrapper {
        margin-top: 2rem;
    }

    .info-item {
        margin-bottom: 1rem;
    }

    .map-container {
        height: 300px;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-top: 76px;
}

.about-content {
    background: white;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Service Boxes */
.service-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.service-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-box p {
    color: #666;
    margin: 0;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-hero {
        height: 40vh;
    }

    .about-image img {
        height: 300px;
    }

    .service-box,
    .feature-card {
        margin-bottom: 20px;
    }
}

/* Price Styles */
.price-range {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    color: #28a745;
    font-weight: 500;
    border-left: 4px solid #28a745;
}

.price-tag,
.price {
    background: #e8f5e9;
    color: #28a745;
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
    margin: 10px 0;
    font-weight: 500;
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button Hover Effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.bouncing-logo {
    width: 80px;
    height: 80px;
    animation: bounce 1s infinite;
}

/* Enhanced PWA Install Button */
.pwa-install {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pwa-install:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* PWA Install Tooltip */
.pwa-tooltip {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    max-width: 250px;
    display: none;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.pwa-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0,0,0,0.8) transparent transparent transparent;
}

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

    
/* Footer PWA Install Button */
.pwa-install-footer {
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.pwa-install-footer:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.pwa-install-footer.installed {
    background: #28a745;
    border-color: #28a745;
    pointer-events: none;
}

/* Footer Install Button Tooltip */
.footer-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    display: none;
    margin-bottom: 8px;
}

.footer-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0,0,0,0.8) transparent transparent transparent;
}
