/* Root Variables */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --white: #ffffff;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimize all images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Lazy loading support */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Main Content */
.main-content {
    padding: 0;
    margin: 0;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text-brand {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-menu i {
    margin-right: 5px;
}

/* Dropdown Menu */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-menu .dropdown-toggle .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s;
    margin-left: 2px;
}

.nav-menu .dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(102, 126, 234, 0.2), transparent);
    margin: 8px 15px;
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: none !important;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding-left: 25px;
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

/* Widget Tabs */
.widget-tabs {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    max-width: 900px;
    margin: -30px auto 0;
    position: relative;
    z-index: 10;
}

.tab-buttons {
    display: flex;
    background: var(--bg-light);
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 18px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(102, 126, 234, 0.1);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

/* Section */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Flight Cards */
.flights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.flight-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.flight-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.flight-card-content {
    padding: 20px;
}

.flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.flight-city {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.flight-arrow {
    color: var(--primary-color);
    font-size: 18px;
}

.flight-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.flight-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.flight-detail-item i {
    color: var(--primary-color);
    width: 20px;
}

.flight-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-featured {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

/* Visa Cards */
.visa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.visa-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.visa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.visa-flag {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--bg-light);
}

.visa-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.visa-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.visa-time {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.visa-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* WhatsApp Float 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: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 999;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Alert */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive - Tablet and below */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-section h1 {
        font-size: 40px;
    }
    
    .hero-section p {
        font-size: 18px;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .flights-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .widget-tabs {
        margin: -30px 20px 0;
    }
}

/* Mobile Landscape & Small Tablet */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: left 0.3s;
        gap: 15px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 15px;
        border-bottom: none;
        border-left: 3px solid transparent;
        border-radius: 8px;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--bg-light);
        border-left-color: var(--primary-color);
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 5px 0 0 0;
        padding: 5px 0;
        display: none;
        border: none;
        border-radius: 8px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-toggle {
        display: flex !important;
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown-menu a {
        padding: 10px 15px 10px 30px;
        font-size: 13px;
    }
    
    .dropdown-menu a:hover {
        padding-left: 35px;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-text-brand {
        font-size: 22px;
    }
    
    .logo-img {
        max-height: 40px;
    }
    
    .logo-link {
        gap: 10px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-section p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .flights-grid,
    .visa-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 45%;
        min-width: 150px;
        padding: 15px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .widget-tabs {
        margin: -20px 15px 0;
    }
    
    .flight-card-content {
        padding: 15px;
    }
    
    .flight-city {
        font-size: 18px;
    }
    
    .price-amount {
        font-size: 24px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-text-brand {
        font-size: 18px;
    }
    
    .logo-img {
        max-height: 35px;
    }
    
    .logo-link {
        gap: 8px;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-section h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .hero-section p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        flex: 1 1 100%;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .widget-tabs {
        margin: -15px 10px 0;
        border-radius: 8px;
    }
    
    .flight-card-image {
        height: 160px;
    }
    
    .flight-card-content {
        padding: 12px;
    }
    
    .flight-city {
        font-size: 16px;
    }
    
    .flight-detail-item {
        font-size: 13px;
    }
    
    .price-amount {
        font-size: 22px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .visa-card {
        padding: 20px;
    }
    
    .visa-flag {
        width: 60px;
        height: 60px;
    }
    
    .visa-card h3 {
        font-size: 18px;
    }
    
    .visa-price {
        font-size: 26px;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        font-size: 14px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .logo-text {
        font-size: 18px;
    }
    
    .logo-text-brand {
        font-size: 16px;
    }
    
    .logo-link {
        gap: 6px;
    }
    
    .hero-section h1 {
        font-size: 22px;
    }
    
    .hero-section p {
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .tab-btn {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .flight-city {
        font-size: 15px;
    }
    
    .price-amount {
        font-size: 20px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 15px;
    }
}
