/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    padding-top: 56px;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffc107 !important;
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffc107 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('images/taxi.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%); */
    background: linear-gradient(
  135deg,
  rgba(102, 126, 234, 0.3) 0%,
  rgba(118, 75, 162, 0.3) 100%
);
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

/* Feature Cards */
.feature-card {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h5 {
    margin-bottom: 15px;
    font-weight: bold;
}

/* Service Cards */
.service-card {
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    margin-bottom: 15px;
    font-weight: bold;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Why Choose Items */
.why-choose-item {
    font-size: 1.1rem;
    padding: 10px 0;
}

/* Stats Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 60px;
    text-align: center;
    margin-bottom: 0;
}

/* Mission & Vision Cards */
.mission-vision-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.icon-box {
    text-align: center;
}

/* Value Cards */
.value-card {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 1.8rem;
    color: white;
}

/* Fleet Cards */
.fleet-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.fleet-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.fleet-icon {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 20px;
}

/* Feature Box */
.feature-box {
    padding: 30px;
    text-align: center;
}

.feature-box i {
    font-size: 2.5rem;
    display: block;
}

/* Service Detail Pages */
.service-row {
    margin-bottom: 60px;
}

.service-detail {
    padding: 20px;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon-large i {
    font-size: 2.5rem;
    color: white;
}

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

.service-features li {
    padding: 10px 0;
    font-size: 1.05rem;
}

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

.additional-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.additional-feature-card i {
    font-size: 2.5rem;
    display: block;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-info-card a {
    text-decoration: none;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

/* Contact Form */
.form-control,
.form-select {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Business Hours Card */
.business-hours-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hours-list {
    font-size: 1.05rem;
}

/* Quick Contact */
.quick-contact {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: white;
    color: #333;
    font-weight: 600;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 20px;
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffc107 !important;
}

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

.social-links a:hover {
    background: #ffc107;
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning {
    background: #ffc107;
    border: none;
    color: #333;
}

.btn-warning:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.btn-outline-warning:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

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

    .stat-card h3 {
        font-size: 2rem;
    }

    .page-header {
        padding: 80px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Form Message */
#formMessage {
    padding: 15px;
    border-radius: 8px;
    display: none;
}

#formMessage.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#formMessage.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Image Styling */
img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-warning {
    color: #ffc107 !important;
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ========== GALLERY PAGE STYLES ========== */

/* Gallery Filters */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-btn:hover {
    background: #f8f9fa;
    border-color: #ffc107;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.filter-btn i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Gallery Grid */
.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    margin-bottom: 0;
}

.gallery-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Card - PERFECT SIZE & POSITIONING */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    /* FIXED HEIGHT for consistent card size */
    height: 350px;
    width: 100%;
    background: #f5f5f5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Gallery Image - PERFECT SIZING & POSITIONING */
.gallery-image {
    width: 100%;
    height: 100%;
    /* object-fit: cover ensures image fills container perfectly */
    object-fit: cover;
    /* object-position centers the image */
    object-position: center center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Remove any default spacing */
    margin: 0;
    padding: 0;
    border: none;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.15);
    filter: brightness(0.7);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(102, 126, 234, 0.85) 0%, 
        rgba(118, 75, 162, 0.95) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.gallery-info {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    z-index: 10;
    max-width: 90%;
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h5 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-info p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.gallery-info .btn {
    background: #ffc107;
    border: 2px solid #ffc107;
    color: #333;
    padding: 10px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.gallery-info .btn:hover {
    background: white;
    color: #667eea;
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.gallery-info .btn i {
    margin-right: 6px;
}

/* Modal Styles - PERFECT IMAGE DISPLAY */
#imageModal .modal-dialog {
    max-width: 900px;
}

#imageModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#imageModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 30px;
}

#imageModal .modal-title {
    font-weight: bold;
    font-size: 1.4rem;
}

#imageModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

#imageModal .btn-close:hover {
    opacity: 1;
}

#imageModal .modal-body {
    padding: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 75vh;
    /* object-fit: contain keeps full image visible */
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Achievement Cards */
.achievement-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    border-color: #ffc107;
}

.achievement-card i {
    font-size: 3.5rem;
    display: block;
}

.achievement-card h3 {
    font-size: 3rem;
    color: #333;
    font-weight: bold;
    margin: 20px 0 10px;
}

.achievement-card p {
    color: #666;
    font-size: 1.15rem;
    margin: 0;
    font-weight: 500;
}

/* Gallery Responsive Design */
@media (max-width: 1199px) {
    .gallery-card {
        height: 320px;
    }
    
    .gallery-info h5 {
        font-size: 1.4rem;
    }
}

@media (max-width: 991px) {
    .gallery-card {
        height: 300px;
    }
    
    .filter-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .gallery-card {
        height: 280px;
    }
    
    .gallery-info h5 {
        font-size: 1.3rem;
    }
    
    .gallery-info p {
        font-size: 0.95rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .gallery-filters {
        gap: 10px;
    }
    
    .achievement-card {
        padding: 30px 20px;
    }
    
    .achievement-card h3 {
        font-size: 2.5rem;
    }
    
    .achievement-card i {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .gallery-card {
        height: 260px;
    }
    
    .gallery-info h5 {
        font-size: 1.2rem;
    }
    
    .gallery-info p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .gallery-info .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .achievement-card {
        padding: 25px 15px;
    }
    
    .achievement-card h3 {
        font-size: 2rem;
    }
    
    .achievement-card i {
        font-size: 2.5rem;
    }
    
    #modalImage {
        max-height: 60vh;
    }
}

/* Loading Animation for Gallery */
@keyframes fadeInGallery {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item.loaded {
    animation: fadeInGallery 0.6s ease forwards;
}

/* Ensure no spacing issues */
.gallery-card,
.gallery-card img {
    line-height: 0;
}

.gallery-card {
    font-size: 0;
}

.gallery-info {
    font-size: 1rem;
    line-height: 1.5;
}