/* ========================================
   CSS VARIABLES & COLOR PALETTE
======================================== */
:root {
    /* Primary Colors */
    /*--primary: #01411C;*/
    /*--primary-light: #0F5132;*/
    /*--primary-lighter: #198754;*/
    /*--primary-gradient: linear-gradient(135deg, #01411C 0%, #0F5132 50%, #198754 100%);*/

    --primary: #e50916;
    --primary-light: #ff1f2b;
    --primary-lighter: #ff4d57;
    --primary-dark: #b2070f;
    --primary-darker: #8b050c;
    --primary-gradient: linear-gradient(135deg, #b2070f 0%, #e50916 50%, #ff1f2b 100%);

    /* Accent Colors */
    --accent: #ff6b75;
    --accent-light: #ff8f97;
    --accent-dark: #d10815;
    
    /* Accent Colors */
    --accent-green: #28a745;
    --accent-gold: #ffc107;
    --pak-light: #e8f5f0;

    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #495057;
    --black: #212529;

    /* Status Colors */
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

/* ========================================
   GLOBAL STYLES & RESETS
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* ========================================
   UTILITY CLASSES
======================================== */
.bg-primary { background: var(--primary) !important; }
.bg-primary-light { background: var(--primary-light) !important; }
.bg-primary-lighter { background: var(--primary-lighter) !important; }
.bg-gradient-primary { background: var(--primary-gradient) !important; }
.bg-pak-light { background: var(--pak-light) !important; }

.text-primary { color: var(--primary) !important; }
.text-primary-light { color: var(--primary-light) !important; }

.text-white { color: var(--white) !important; }
.text-white-light { color: var(--pak-light) !important; }

/* ========================================
   TOP INFO BAR
======================================== */
.top-info-bar {
    background: var(--primary-gradient) !important;
    font-size: 0.875rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.top-link {
    transition: var(--transition-fast);
    font-weight: 500;
}

.top-link:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* ========================================
   MAIN NAVIGATION
======================================== */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition-normal);
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar.sticky-top {
    box-shadow: var(--shadow-md);
}

.logo-img {
    transition: var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background-color: var(--pak-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Dropdown Menu */
.dropdown-menu-modern {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--pak-light);
    color: var(--primary);
    transform: translateX(5px);
}

/* Mobile Toggle */
.navbar-toggler {
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(1, 65, 28, 0.25);
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    font-weight: 600;
    border-radius: var(--radius-lg);
    padding: 0.625rem 1.5rem;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-book {
    background: var(--primary-gradient);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.btn-book:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   MOBILE CONTACT BAR
======================================== */
.mobile-contact-bar {
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: var(--shadow-sm);
}

.mobile-contact-bar a {
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.mobile-contact-bar a:hover {
    transform: scale(1.1);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    /*background: linear-gradient(135deg, #01411C 0%, #0F5132 100%);*/
    /*background: linear-gradient(135deg, #b2070f 0%, #e50916 100%);*/
    /*background: linear-gradient(135deg, #b2070f 0%, #e50916 100%);*/
    /*background: linear-gradient(135deg, #8b050c 0%, #e50916 50%, #ff1f2b 100%);*/
    background: linear-gradient(135deg, #b2070f 0%, #e50916 80%);
    padding: 5rem 0;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: heroShine 20s ease-in-out infinite;
}

@keyframes heroShine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-section h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    font-weight: 600;
    animation: fadeInUp 1.2s ease;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ANNOUNCEMENT BAR
======================================== */
.announcement-bar {
    background: var(--primary-gradient);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.announcement-content {
    animation: scrollText 30s linear infinite;
    white-space: nowrap;
    display: inline-block;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.announcement-content:hover {
    animation-play-state: paused;
}

/* ========================================
   CITY CARDS
======================================== */
.city-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.city-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.city-image-card {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.city-image-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.city-image-card img {
    height: 200px;
    transition: var(--transition-slow);
}

.city-image-card:hover img {
    transform: scale(1.1);
}

.city-card-body {
    text-align: center;
    padding: 1rem;
}

.city-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

/* ========================================
   SERVICE CARDS
======================================== */
.service-card {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.service-card-img-top {
    background: var(--primary-gradient);
    padding: 2rem;
    border-bottom: 4px solid var(--accent-gold);
}

.service-card-img-top i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
}

.card-footer {
    background: transparent;
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* ========================================
   TESTIMONIALS / REVIEWS
======================================== */
.govt-review-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.border-pak-green {
    border-color: var(--primary) !important;
    border-width: 4px !important;
}

.govt-review-section .card {
    border: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.govt-review-section .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.govt-review-section .rounded-circle {
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-md);
}

/* ========================================
   FOOTER
======================================== */
.footer-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.footer-brand img {
    transition: var(--transition-normal);
}

.footer-brand img:hover {
    transform: scale(1.05);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1.125rem;
}

.social-icon:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--shadow-md);
}

/* Contact Info */
.contact-info {
    color: rgba(255, 255, 255, 0.7);
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    min-width: 30px;
}

/* Newsletter Form */
.newsletter-form .input-group {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
}

/* Footer Divider */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ========================================
   FLOATING WHATSAPP BUTTON
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--primary-gradient);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h2 {
        font-size: 1.75rem;
    }

    .hero-section h3 {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .city-section-title {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .scroll-to-top {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-section h2 {
        font-size: 1.5rem;
    }

    .hero-section h3 {
        font-size: 1.1rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .city-image-card img {
        height: 150px;
    }

    .btn-book {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   CUSTOM SCROLLBAR
======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ========================================
   LOADING ANIMATIONS
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

/* ========================================
   ACCESSIBILITY
======================================== */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}
