/* =========================================
   VARIABLES (S N AGENCY THEME)
========================================= */
:root {
    --primary-color: #312e93; /* Deep Teal */
    --secondary-color: #d4af37; /* Elegant Gold */
    --accent-color: #312e93;
    --text-color: #312e93;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', 'Arial', sans-serif; color: var(--text-color); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.mt-2 { margin-top: 2rem; }

/* =========================================
   NAVIGATION & LANGUAGE MENU
========================================= */
.navbar { background-color: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 999; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo img { height: 55px; }
.nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.nav-links.active { display: flex; }
.nav-links li { text-align: center; }
.nav-links a { display: block; padding: 15px; font-weight: 600; color: var(--primary-color); }
.nav-links a:hover, .nav-links a.active { background-color: var(--bg-light); color: var(--secondary-color); }
.nav-links i { margin-inline-end: 5px; }
.hamburger { font-size: 26px; cursor: pointer; color: var(--primary-color); }

/* Language Dropdown */
.lang-menu { position: relative; display: inline-block; }
.lang-menu .dropdown-content { display: none; position: absolute; right: 0; top: 100%; background-color: var(--white); min-width: 140px; box-shadow: 0px 8px 20px rgba(0,0,0,0.1); z-index: 1000; border-radius: 5px; overflow: hidden; }
html[dir="rtl"] .lang-menu .dropdown-content { right: auto; left: 0; }
.lang-menu:hover .dropdown-content { display: block; }
.dropdown-content a { color: var(--primary-color) !important; padding: 12px 20px !important; text-align: start !important; font-weight: 500 !important; border-bottom: 1px solid var(--bg-light); }
.dropdown-content a:hover { background-color: var(--bg-light); color: var(--secondary-color) !important; padding-inline-start: 25px !important; }

/* =========================================
   STICKY CONTACT WIDGET
========================================= */
.sticky-widget { position: fixed; top: 50%; right: 0; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 1000; }
html[dir="rtl"] .sticky-widget { right: auto; left: 0; }
.sticky-widget a { color: var(--white); padding: 15px; font-size: 24px; border-radius: 10px 0 0 10px; box-shadow: -2px 2px 10px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; width: 55px; transition: var(--transition); }
html[dir="rtl"] .sticky-widget a { border-radius: 0 10px 10px 0; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); }
.sticky-widget a.whatsapp { background-color: #25D366; }
.sticky-widget a.phone { background-color: var(--primary-color); }
.sticky-widget a:hover { width: 75px; padding-inline-start: 20px; }

/* =========================================
   BUTTONS
========================================= */
.btn { display: inline-block; padding: 14px 35px; border-radius: 5px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); margin-inline: 5px; }
.btn-primary { background-color: var(--secondary-color); color: var(--white); }
.btn-primary:hover { background-color: #b8972e; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); }
.btn-secondary { background-color: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-secondary:hover { background-color: var(--white); color: var(--primary-color); }
html[dir="rtl"] .fa-arrow-right, html[dir="rtl"] .fa-angle-right { transform: scaleX(-1); }

/* =========================================
   NEW HOME PAGE SECTIONS
========================================= */
/* 1. Hero */
.hero { background: linear-gradient(#312e939b, #312e93a6), url('https://img.magnific.com/premium-photo/global-hr-web-recruitment-management-business-innovation-growth-opportunities-concept-hr-management-recruitment-strategy-global-business-innovation-growth-opportunities_918839-226242.jpg?semt=ais_test_b&w=740&q=80') center/cover; height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 0 20px; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;}
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 800px; margin: 0 auto 30px; }

/* 2. Split About Snippet */
.split-section { padding: 100px 0; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.split-text h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.split-img img { width: 100%; border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* 3. Stats Section */
.stats-section { background-color: var(--primary-color); color: var(--white); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.stat-box h3 { font-size: 3.5rem; color: var(--secondary-color); margin-bottom: 5px; }
.stat-box p { font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* 4. Destinations Cards */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-color); position: relative; display: inline-block; padding-bottom: 10px; }
.section-title h2::after { content:''; position: absolute; bottom:0; left:50%; transform: translateX(-50%); width: 60px; height: 4px; background: var(--secondary-color); }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.dest-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: var(--transition); text-align: center; padding-bottom: 20px;}
.dest-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.dest-card img { width: 100%; height: 200px; object-fit: cover; }
.dest-card h3 { color: var(--primary-color); margin: 20px 0 10px; font-size: 1.5rem; }

/* Other General Components */
.alt-block { display: flex; align-items: center; gap: 40px; margin-bottom: 30px; padding: 40px; background: var(--white); border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: var(--transition); }
.alt-block:nth-child(even) { flex-direction: row-reverse; text-align: end; }
.alt-icon { flex: 0 0 100px; height: 100px; display: flex; align-items: center; justify-content: center; background: var(--bg-light); border-radius: 50%; font-size: 3rem; color: var(--secondary-color); border: 2px solid var(--primary-color); }
.alt-content h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 10px; }

/* Subpages Components */
.rich-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.mission-card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; border-bottom: 4px solid var(--primary-color); transition: var(--transition);}
.core-values ul { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.core-values li { background: var(--bg-light); padding: 15px 20px; border-radius: 8px; font-weight: 600; display: flex; align-items: center; gap: 10px;}
.core-values li i { color: var(--secondary-color); }
.grid-gallery { display: grid; grid-template-columns: 1fr; gap: 15px; }
.gallery-item { overflow: hidden; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }

.info-box { display: flex; align-items: flex-start; margin-bottom: 30px; padding: 20px; background: var(--bg-light); border-radius: 10px; transition: var(--transition); }
.info-box i { font-size: 2rem; color: var(--secondary-color); margin-inline-end: 20px; margin-top: 5px; }

/* =========================================
   3-COLUMN FOOTER
========================================= */
.site-footer { background-color: #312e93; color: var(--white); padding: 60px 0 20px; font-size: 0.95rem; }
.footer-container { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 1.3rem; margin-bottom: 20px; color: var(--secondary-color); position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--secondary-color); }
html[dir="rtl"] .footer-col h4::after { left: auto; right: 0; }
.footer-col .footer-logo { height: 60px; margin-bottom: 20px; background: #fff; padding: 5px; border-radius: 5px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--secondary-color); padding-inline-start: 5px; }
.footer-col p { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.footer-col p i { color: var(--secondary-color); margin-top: 5px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; transition: var(--transition); }
.footer-socials a:hover { background: var(--secondary-color); transform: translateY(-5px); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

/* =========================================
   NEW MULTI-VIEWPORT SCROLL ANIMATIONS
========================================= */
.reveal-up { opacity: 0; transform: translateY(60px); transition: 0.8s ease-out; }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: 0.8s ease-out; }
.reveal-right { opacity: 0; transform: translateX(60px); transition: 0.8s ease-out; }
.reveal-zoom { opacity: 0; transform: scale(0.85); transition: 0.8s ease-out; }

/* Flip horizontal animations for Arabic (RTL) */
html[dir="rtl"] .reveal-left { transform: translateX(60px); }
html[dir="rtl"] .reveal-right { transform: translateX(-60px); }

.reveal-up.active, .reveal-left.active, .reveal-right.active, .reveal-zoom.active { opacity: 1; transform: translate(0) scale(1); }

/* =========================================
   MEDIA QUERIES
========================================= */
@media(max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .split-section { grid-template-columns: 1fr; text-align: center; padding: 60px 0; }
    .alt-block, .alt-block:nth-child(even) { flex-direction: column; text-align: center; padding: 25px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    html[dir="rtl"] .footer-col h4::after { right: 50%; transform: translateX(50%); }
    .footer-col p, .footer-socials { justify-content: center; }
    .rich-grid, .core-values ul { grid-template-columns: 1fr; }
    .lang-menu .dropdown-content { position: relative; box-shadow: none; background-color: var(--bg-light); width: 100%; }
    .dropdown-content a { text-align: center !important; padding-inline-start: 20px !important; }
}

@media(min-width: 768px) {
    .nav-links { display: flex; flex-direction: row; position: static; width: auto; box-shadow: none; }
    .hamburger { display: none; }
    .split-section { grid-template-columns: 1fr 1fr; }
    .grid-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 1024px) { .grid-gallery { grid-template-columns: repeat(4, 1fr); } }