﻿@font-face {
    font-family: 'VazirmatnFD';
    src: url('../fonts/Vazirmatn-FD-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
  font-family: 'VazirmatnFD';
  src: url('../fonts/Vazirmatn-FD-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
    font-family: 'VazirmatnFD';
    src: url('../fonts/Vazirmatn-FD-SemiBold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

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

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --dark-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --purple: #8b5cf6;
    --green: #10b981;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --gray-back: #e1e1e1e1;
}
a {
    text-decoration: none;
    color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
}

p, span, li {
  font-weight: 400;
}

.small-text {
  font-weight: 300;
}


body {
    font-family: 'VazirmatnFD', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Header Styles */
.top-info-bar {
    background-color: #1f3558;
    color: #fff;
    font-size: .9rem;
}

.top-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: .3rem 0;
    gap: .5rem;
}

.top-info-hours {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.top-info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.top-info-pill {
    background-color: var(--primary-color);
    border-radius: 999px;
    padding: .25rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #fff;
    font-size: .85rem;
    white-space: nowrap;
}
.ltr-text {
    direction: ltr;
    unicode-bidi: embed;
}
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
    .logo img {
        width: 100px;
        height: 80px;
    }

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-link.is-open i {
    transform: rotate(180deg);
}

.btn-consultation {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-consultation:hover {
    background: var(--dark-blue);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

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

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.mega-menu-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column ul li {
    margin-bottom: 0.75rem;
}

.mega-menu-column ul li a {
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s, transform 0.2s;
    padding: 0.25rem 0;
}

.mega-menu-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.mega-menu-column ul li a i {
    font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--purple) 100%);
    padding: 4rem 0;
    color: var(--white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-video {
    position: relative;
}

.video-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-video-card {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(139, 92, 246, 0.7) 100%);
    z-index: 1;
}

.hero-video-card > * {
    position: relative;
    z-index: 2;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-overlay-hero {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-overlay-hero i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-left: 5px;
}

.hero-video-card:hover .play-overlay-hero {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.video-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.video-placeholder p {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
}

.btn-primary:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark-blue);
}

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
/*    padding: 4rem 0;*/
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.section-header .view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
}

.section-header .view-all:hover {
    text-decoration: underline;
}

/* Popular Videos Section - Instagram Style */
.popular-videos {
    background: var(--white);
    padding: 4rem 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.video-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s;
    position: relative;
}

.video-card:hover {
    opacity: 0.9;
}

.video-thumbnail {
    background: var(--gray-800);
    aspect-ratio: 5 / 8;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.play-overlay i {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-left: 3px;
}

.video-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.view-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-badge i {
    font-size: 0.7rem;
    opacity: 0.9;
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0.75rem;
    font-size: 0.95rem;
    color: var(--white);
    text-align: left;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.view-all-videos {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.btn-view-all:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-view-all i {
    font-size: 0.875rem;
}

/* Immigration Types Section */
.immigration-types {
    position: relative;
    overflow: visible;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
    isolation: isolate;
}

.plane-parallax {
    --plane-x: 0px;
    --plane-y: 0px;
    position: fixed;
    top: 30vh;
    left: 80%;
    transform: translate3d(calc(-50% + var(--plane-x)), var(--plane-y), 0);
    width: min(420px, 60vw);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.2s ease-out;
}

.plane-parallax img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: plane-glide 14s ease-in-out infinite alternate;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.type-card {
    padding: 2.5rem;
    border-radius: 16px;
    color: var(--white);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.type-card:hover::before {
    opacity: 1;
}

.type-investment {
    background: linear-gradient(135deg, var(--purple) 0%, #a78bfa 100%);
}

.type-study {
    background: linear-gradient(135deg, var(--green) 0%, #34d399 100%);
}

.type-work {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-blue) 100%);
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.type-card p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.type-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.type-link:hover {
    transform: translateX(-5px);
}

/* Latest Articles Section */
.latest-articles {
    background: var(--gray-100);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

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

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

.article-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-image-1 {
    background: linear-gradient(135deg, var(--purple) 0%, #a78bfa 100%);
}

.article-image-2 {
    background: linear-gradient(135deg, var(--green) 0%, #34d399 100%);
}

.article-image-3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-blue) 100%);
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.article-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.article-link:hover {
    transform: translateX(-5px);
}

/* Latest Visas Section */
.latest-visas {
    background: var(--white);
    padding: 4rem 0;
}

.visas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.visa-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.visa-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.visa-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.visa-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visa-card:hover .visa-image {
    transform: scale(1.1);
}

.visa-image-1 {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.visa-image-2 {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.visa-image-3 {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.visa-image-4 {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.visa-image-5 {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

.visa-image-6 {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.visa-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--green);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    z-index: 2;
}

.visa-badge i {
    font-size: 0.7rem;
}

.visa-country-flag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.visa-content {
    padding: 1.5rem;
}

.visa-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.visa-header h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.visa-date {
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
    padding: 4px 8px;
    background: var(--gray-100);
    border-radius: 6px;
}

.visa-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.visa-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.visa-user i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

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

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

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

.footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-column ul li i {
    margin-left: 0.5rem;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .mega-menu {
        min-width: 500px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .visas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--white);
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 0;
        width: 100%;
    }
    
    .mega-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        min-width: auto;
        background: var(--gray-100);
        border-radius: 8px;
        margin-top: 0.5rem;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .mega-menu.active {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
        padding: 1rem;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn-consultation {
        display: none;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .video-placeholder {
        min-height: 250px;
        padding: 2rem;
    }
    
    .play-overlay-hero {
        width: 70px;
        height: 70px;
    }
    
    .play-overlay-hero i {
        font-size: 1.75rem;
    }
    
    .video-placeholder p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header .view-all {
        margin-right: 0;
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .types-grid,
    .articles-grid,
    .visas-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 2rem 0;
    }

    .plane-parallax {
        top: 18vh;
        left: 55%;
        width: min(340px, 70vw);
        opacity: 0.75;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .video-placeholder {
        min-height: 200px;
        padding: 1.5rem;
    }
    
    .play-overlay-hero {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .play-overlay-hero i {
        font-size: 1.5rem;
    }
    
    .video-placeholder p {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .video-title {
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
    }
    
    .play-overlay {
        width: 50px;
        height: 50px;
    }
    
    .play-overlay i {
        font-size: 1.25rem;
    }
    
    .view-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .video-modal-container {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .video-modal-content {
        padding: 1.5rem;
    }
    
    .video-modal-title {
        font-size: 1.25rem;
    }
    
    .video-modal-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 10px;
        left: 10px;
    }

    .plane-parallax {
        top: 18vh;
        left: 52%;
        width: min(240px, 80vw);
        opacity: 0.7;
    }
}

@keyframes plane-glide {
    0% {
        transform: translateX(18%) translateY(0) rotate(3deg);
        filter: blur(0px);
        opacity: 1;
    }
    50% {
        transform: translateX(-10%) translateY(-15px) rotate(-1deg);
        filter: blur(0.7px);
        opacity: 0.92;
    }
    100% {
        transform: translateX(-32%) translateY(0) rotate(-4deg);
        filter: blur(1.2px);
        opacity: 0.85;
    }
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.video-modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-modal.active .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.video-modal-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-modal-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
    font-weight: 700;
    padding-top: 1rem;
}

.video-modal-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--gray-900);
}

.video-modal-player iframe,
.video-modal-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Prevent video download */
.video-modal-player video {
    pointer-events: auto;
}

.video-modal-player video::-webkit-media-controls-download-button {
    display: none !important;
}

.video-modal-player video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

/* Prevent right-click context menu on video */
.video-modal-player {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.video-modal-player video {
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

/* Disable text selection on video cards */
.video-card {
    user-select: none;
    -webkit-user-select: none;
}

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

/* Animation for fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card,
.type-card,
.article-card,
.visa-card {
    animation: fadeIn 0.6s ease-out;
}

