/* ===========================
   CSS Variables
   =========================== */
:root {
    --primary-black: #000000;
    --primary-red: #dc2626;
    --dark-red: #b91c1c;
    --light-red: #ef4444;    
    --light-black: #515151;
    --primary-green: #027e02;
    --light-green: #02e202;
    --primary-blue: #0d6efd;
    --light-blue: #3b82f6;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #1a1a1a;
    --text-gray: #6b7280;
    --border-color: #e5e7eb;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.25);
    
    --transition: all 0.3s ease;
}

/* ===========================
   Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
}

.text-red {
    color: var(--primary-red) !important;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title-white {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--light-gray);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-black);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-color);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.btn-outline-dark {
    border-color: var(--primary-black);
    color: var(--primary-black);
    background: transparent;
}

/* ===========================
   Top Header
   =========================== */
.top-header {
    background: var(--primary-black);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-red);
}

.social-icons a {
    color: var(--white);
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

/* ===========================
   Main Header
   =========================== */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-black);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-black), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--primary-black);
    margin: 0 0.5rem;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-red);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28220, 38, 38, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===========================
   Mega Menu
   =========================== */
.mega-menu {
    position: static;
}

.mega-menu .mega-dropdown {
    position: absolute;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    background: var(--white);
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-heavy);
    padding: 2rem 0;
    margin-top: 0;
    z-index: 1000;
}

.mega-menu .mega-dropdown .container {
    max-width: 1200px;
}

.mega-dropdown .dropdown-header {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-red);
}

.mega-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--text-gray);
    transition: var(--transition);
    border-radius: 8px;
    margin: 0.25rem 0;
}

.mega-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    transform: translateX(5px);
}

.mega-dropdown .dropdown-item i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-red);
}

.mega-dropdown .dropdown-item:hover i {
    color: var(--white);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 50%, var(--primary-red) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    color: var(--primary-black);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 50px;
    right: 100px;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 200px;
    right: 20px;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    top: 350px;
    right: 120px;
    animation-delay: 4s;
}

.floating-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.floating-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.floating-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-heavy);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}


/* ===========================
   Services Section
   =========================== */
.services-section {
    background: var(--light-gray);
    padding: 5rem 0;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transition: var(--transition);
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--dark-red);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===========================
   Why Choose Us Section
   =========================== */
.why-choose-us {
    background: var(--white);
    padding: 5rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--light-gray);
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-content h5 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.feature-content p {
    color: var(--text-gray);
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-black), var(--dark-gray));
    border-radius: 20px;
    color: var(--white);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-top: 2rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: linear-gradient(135deg, #000 30%, #666 100%);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    padding:15px;
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 10px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact .contact-item i {
    width: 20px;
    color: var(--primary-red);
    margin-right: 1rem;
}

.payment-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 1rem;
    text-align: center;
}

.payment-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    font-weight: 600;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.payment-item {
    width: 60px;
    height: 45px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.payment-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.payment-item i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom-links {
    text-align: right;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 1rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1200px) {
    .section-title {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .mega-menu {
        position: relative;
    }
    
    .mega-dropdown {
        position: static !important;
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 1rem 0 !important;
        background: var(--light-gray) !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
    }
    
    .mega-dropdown .container {
        padding: 0 1rem;
    }
    
    .mega-dropdown .row {
        margin: 0;
    }
    
    .mega-dropdown .col-md-3 {
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-image {
        margin-top: 3rem;
        height: 400px;
    }
    
    .floating-card {
        position: static;
        margin-bottom: 1rem;
        animation: none;
    }
    
    .footer-bottom-links {
        text-align: left;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .brand-text {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* UAE Visa section mobile improvements */
    .visa-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .visa-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .visa-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .visa-cta {
        padding: 2rem 1rem;
    }
    
    .visa-cta h3 {
        font-size: 1.5rem;
    }
    
    /* Mobile mega menu improvements */
    .mega-dropdown .col-md-3 {
        margin-bottom: 2rem;
        padding: 0 15px;
    }
    
    .mega-dropdown .dropdown-header {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding: 0.5rem 0;
    }
    
    .mega-dropdown .dropdown-item {
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .mega-dropdown .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .payment-methods {
        gap: 1rem;
    }
    
    .payment-item {
        width: 50px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 1rem;
    }
    
    .footer-title {
        font-size: 2rem;
    }
    
    .top-header {
        text-align: center;
    }
    
    .contact-info {
        margin-bottom: 1rem;
    }
    
    .social-icons {
        text-align: center !important;
    }
}

/* ===========================
   Animation Classes
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===========================
   Utility Classes
   =========================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-red {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}

.bg-gradient-black {
    background: linear-gradient(135deg, var(--primary-black), var(--dark-gray));
}

.border-red {
    border-color: var(--primary-red) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-heavy);
}

/* ===========================
   Scrollbar Styling
   =========================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-red), var(--dark-red));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--dark-red), var(--primary-red));
}