@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --primary-color: #0f172a;
  --secondary-color: #1e293b;
  --accent-color: #38bdf8;
  --accent-hover: #0ea5e9;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --bg-main: #020617;
  --card-bg: rgba(30, 41, 59, 0.4);
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.3),
    0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  --mesh-grad: radial-gradient(at 0% 0%,
      hsla(210, 100%, 15%, 1) 0,
      transparent 50%),
    radial-gradient(at 50% 0%, hsla(200, 100%, 10%, 1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(190, 100%, 15%, 1) 0, transparent 50%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-main);
  background-image: var(--mesh-grad);
  background-attachment: fixed;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
}

/* Noise Overlay */

/* Feature Panels (Horizontal Layout) */
.feature-panel-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}

.feature-panel {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
  transition: var(--transition);
  text-decoration: none;
}

.feature-panel:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-color);
  transform: translateX(10px);
}

.feature-icon-box {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
      rgba(56, 189, 248, 0.1) 0%,
      rgba(56, 189, 248, 0.05) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-color);
  transition: var(--transition);
}

.feature-panel:hover .feature-icon-box {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--white);
}

.feature-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.05rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

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

/* Scrollbar Modernization */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  z-index: 1000;
  padding: 12px 30px;
  transition: var(--transition);
}

header.scrolled {
  top: 0;
  width: 100%;
  border-radius: 0;
  background: rgba(15, 23, 42, 0.95);
  padding: 15px 50px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo i {
  color: var(--accent-color);
  font-size: 1.8rem;
  animation: rotateGlobe 10s linear infinite;
}

@keyframes rotateGlobe {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Toggle - Hidden on Desktop */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--accent-color);
}

/* Language Switcher Refinement */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--white);
  padding: 8px 35px 8px 15px !important;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.lang-select:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.lang-select option {
  background: var(--primary-color);
  color: var(--white);
}

/* Responsive Header Updates */
@media (max-width: 991px) {
  .nav-links {
    display: none;
    /* Hidden by default on mobile, toggled via JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    z-index: 1000;
  }
}

/* Button Styling */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden !important;
  margin-bottom: 0 !important;
  z-index: 1;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* Modern Sections */
section {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg,
      var(--white) 0%,
      var(--accent-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards & Interactions */
.card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(30, 41, 59, 1);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RTL Support Redefined */
[dir="rtl"] {
  font-family: "Montserrat", "Inter", sans-serif;
}

/* Loading Screen */
.loader-wrapper {
  position: fixed;
  inset: 0;
  background: var(--bg-main);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid var(--secondary-color);
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Global Footer Redesign */
footer {
  padding: 80px 0 60px;
  background: var(--primary-color);
  position: relative;
  overflow: hidden !important;
  margin: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
  z-index: 10;
}

.footer-brand-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 15vw, 20rem);
  font-weight: 900;
  color: var(--white);
  opacity: 0.02;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.footer-section h3 {
  font-size: 1.25rem;
  /* margin-bottom: 30px; */
  color: var(--white);
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(8px);
}

.footer-contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.footer-contact-item i {
  color: var(--accent-color);
  margin-top: 5px;
}

.footer-social-row {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.social-circle:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Globe Container in About/Home */
#globe-container {
  filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.2));
}

/* Founder / CEO Section Refinements */
.founder-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  overflow: hidden !important;
  margin-bottom: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.ceo-quote-mark {
  position: absolute;
  top: -20px;
  left: 40px;
  font-size: 10rem;
  font-family: serif;
  color: var(--accent-color);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

.ceo-signature {
  font-family: "Dancing Script", cursive;
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-top: 20px;
  display: block;
  opacity: 0.9;
}

.founder-img-wrapper {
  position: relative;
  overflow: hidden !important;
  margin-bottom: 0 !important;
  min-height: 500px;
}

.founder-img {
  width: 100%;

  object-fit: cover;
  transition: transform 0.8s ease;
}

.founder-card:hover .founder-img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-img-wrapper {
    min-height: 350px;
  }
}

/* Hyper-minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  header {
    width: 100%;
    top: 0;
    border-radius: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Oversized Decorative Typography */
.text-huge {
  position: absolute;
  font-size: 15rem;
  font-weight: 900;
  color: var(--white);
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.text-gradient {
  background: linear-gradient(135deg,
      var(--white) 0%,
      var(--accent-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Enhanced Magnetic Elements */
.magnetic-item {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Glassmorphism 2.0 Refinement */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

@media (max-width: 991px) {
  .text-huge {
    font-size: 8rem;
  }
}

/* Gallery Section Styles */
/* Gallery Section Styles - Continuous Moving Slider */
.gallery {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  overflow: hidden !important;
  margin-bottom: 0 !important;
}

.gallery-slider {
  width: 100%;
  overflow: hidden !important;
  margin-bottom: 0 !important;
  padding: 40px 0;
  position: relative;
}

/* Linear Gradient Overlays for smooth edges */
.gallery-slider::before,
.gallery-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 250px;

  z-index: 2;
  pointer-events: none;
}

.gallery-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.gallery-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.gallery-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 80s linear infinite;
  will-change: transform;
}

.gallery-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

.gallery-item {
  position: relative;
  border-radius: 30px;
  overflow: hidden !important;
  margin-bottom: 0 !important;
  width: 400px;
  aspect-ratio: 16/10;
  border: 1px solid var(--glass-border);
  background: var(--card-bg);
  transition: var(--transition);
  flex-shrink: 0;
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
}

.gallery-img {
  width: 100%;

  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(2, 6, 23, 0.95) 0%,
      rgba(2, 6, 23, 0.2) 60%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.gallery-overlay h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 8px;
}

.gallery-overlay p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 768px) {

  .gallery-slider::before,
  .gallery-slider::after {
    width: 100px;
  }

  .gallery-item {
    width: 300px;
  }

  .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
    padding: 20px;
  }

  .gallery-track {
    animation-duration: 40s;
  }
}

/* Custom Image Sections */
.image-showcase .showcase-item img:hover {
  transform: scale(1.05);
}

.operations-showcase img {
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.operations-showcase:hover img {
  transform: scale(1.03);
}

.heritage-legacy-image img {
  transition: transform 1.2s ease;
}

.heritage-legacy-image:hover img {
  transform: scale(1.1);
}

.values-image-section img {
  transition: transform 0.8s ease;
}

.values-image-section:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .image-showcase {
    grid-template-columns: 1fr !important;
  }

  .operations-showcase>.container>div {
    flex-direction: column !important;
  }

  .heritage-legacy-image div {
    height: 350px !important;
  }

  .values-image-section div {
    height: 300px !important;
  }
}

/* Lenis smooth scrolling support */
html {
  height: auto;
  scroll-behavior: auto;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}