@font-face {
  font-family: 'Inter';
  src: url('../Fonts/Inter/Inter-VariableFont_opsz\,wght.ttf');
  font-style: normal;
}

:root {
--navy: #001a35;
--gold: #0056b3;
--white: #ffffff;
--transition: all 0.3s ease;

--primary-navy: #002147;
--accent-gold: #0056b3;
--text-dark: #1a1a1a;
--text-muted: #555555;
--bg-light: #f8f9fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif;}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0f0f0f; /* Deep professional dark */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
}

.loader-content {
  text-align: center;
}

.logo-text {
  color: #ffffff;
  font-family: 'Inter', sans-serif; /* Or your brand font */
  font-weight: 300;
  letter-spacing: 10px;
  margin-bottom: 20px;
  animation: spread 2.5s ease-in-out infinite;
}

.logo-text span {
  font-weight: 700;
  color: #0056b3; /* A sophisticated gold/bronze accent */
}

.progress-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: #0056b3;
  position: absolute;
  animation: load 2s infinite ease-in-out;
}

@keyframes spread {
  0%, 100% { letter-spacing: 10px; opacity: 0.7; }
  50% { letter-spacing: 14px; opacity: 1; }
}

@keyframes load {
  0% { left: -100%; width: 30%; }
  50% { left: 0%; width: 60%; }
  100% { left: 100%; width: 100%; }
}

/* Class to hide preloader */
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}


/* --- Navbar Styles --- */
.navbar {
position: sticky;
top: 0;
left: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px); /* Modern glass effect */
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 8%;
z-index: 1000;
box-shadow: 0 2px 15px rgba(0,0,0,0.05);
transition: var(--transition);
}

.logo {
font-family:  'Inter', sans-serif;
font-size: 1.5rem;
font-weight: 700;
color: var(--navy);
text-decoration: none;
letter-spacing: -1px;
}

.logo span { color: var(--gold); }

.nav-links {
display: flex;
list-style: none;
gap: 35px;
}

.nav-links a {
text-decoration: none;
color: var(--navy);
font-weight: 500;
font-size: 0.95rem;
position: relative;
padding: 5px 0;
transition: var(--transition);
}

/* The Hover Effect */
.nav-links a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--gold);
transition: var(--transition);
}

.nav-links a:hover::after {
width: 100%;
}

.nav-links a:hover {
color: var(--gold);
}

/* --- THE ACTIVE FEATURE --- */
.nav-links a.active {
color: var(--gold);
font-weight: 700;
}

.nav-links a.active::after {
width: 100%; /* Keeps the underline visible on active page */
}

/* Mobile Menu Icon */
.menu-toggle {
display: none;
font-size: 1.5rem;
color: var(--navy);
cursor: pointer;
}

/* --- Responsive Design --- */
@media (max-width: 850px) {
.menu-toggle { 
    display: block; 
}

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 25px;
    clip-path: circle(0% at 100% 0); /* Hidden by default */
    transition: transform 0.5s ease-in-out, clip-path 0.5s ease-in-out;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.nav-links.open {
    clip-path: circle(150% at 100% 0); /* Shows menu */
}
}

/* :root {
--primary-navy: #002147;
--accent-gold: #FFB400;
--text-dark: #1a1a1a;
--text-muted: #555555;
--bg-light: #f8f9fa;
--white: #ffffff;
--transition: all 0.3s ease;
} */

/* --- Global Reset & Base Styles --- */

body {
font-family: 'Inter', sans-serif;
line-height: 1.7;
color: var(--text-dark);
background-color: var(--white);
overflow-x: hidden;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 25px;
}

h1, h2, h3, h4, h5 {
font-weight: 800;
line-height: 1.2;
}

.text-gold { color: var(--accent-gold); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.bg-navy { background-color: var(--primary-navy); }

/* --- Section Spacing --- */
section {
padding: 100px 0;
}

.grid {
display: grid;
gap: 40px;
}

/* --- Hero Section --- */
.hero {
background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 33, 71, 0.85)), 
            url('../Media/Image/aboutBgImage.jpg') center/cover no-repeat;
height: 80vh;
min-height: 500px;
display: flex;
align-items: center;
color: var(--white);
text-align: center;
}

.badge {
display: inline-block;
background: var(--accent-gold);
color: var(--white);
padding: 6px 16px;
font-weight: 700;
border-radius: 4px;
font-size: 0.8rem;
margin-bottom: 20px;
letter-spacing: 1px;
}

.hero h1 {
font-size: clamp(2.5rem, 5vw, 4rem);
margin-bottom: 20px;
}

.hero p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
opacity: 0.9;
}

/* --- Overview Section --- */
.overview .grid {
grid-template-columns: 1.5fr 1fr;
align-items: center;
}

.section-title {
font-size: 2.2rem;
margin-bottom: 25px;
color: var(--primary-navy);
position: relative;
}

.section-title::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: var(--accent-gold);
margin-top: 10px;
}

.section-title.text-center::after {
margin: 10px auto 0;
}

.content p {
margin-bottom: 20px;
color: var(--text-muted);
}

.stats-grid {
display: flex;
flex-direction: column;
gap: 20px;
}

.stat-card {
background: var(--primary-navy);
color: var(--white);
padding: 40px;
border-radius: 12px;
text-align: center;
transition: var(--transition);
}

.stat-card:hover {
transform: translateY(-5px);
background: #002d62;
}

.stat-card h3 {
font-size: 3rem;
color: var(--white);
margin-bottom: 5px;
}

/* --- Vision & Mission --- */
.vision-mission .grid {
grid-template-columns: 1fr 1fr;
}

.card {
background: var(--white);
padding: 50px;
border-radius: 15px;
box-shadow: 0 20px 40px rgba(0,0,0,0.05);
border-bottom: 5px solid transparent;
transition: var(--transition);
}

.card:hover {
border-bottom-color: var(--accent-gold);
transform: translateY(-10px);
}

.card .icon {
font-size: 3rem;
margin-bottom: 20px;
}

.card h3 {
margin-bottom: 15px;
color: var(--primary-navy);
}

/* --- Core Values --- */
.values-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 50px;
margin-top: 50px;
}

.value-item {
background: var(--bg-light);
padding: 30px;
border-radius: 8px;
border-left: 5px solid var(--gold);
transition: var(--transition);
/* display: flex;
flex-direction: column;
justify-content: center; */
}

.value-item:hover {
background: var(--white);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
border-left-color: var(--accent-gold);
}

.value-item h4 {
color: var(--gold);
margin-bottom: 15px;
text-transform: uppercase;
font-size: 1rem;
letter-spacing: 1px;
}

.value-item p{
    font-size: 13px;
}

/* --- Why Choose Us (CTA Section) --- */
.cta {
color: var(--white);
}

.cta .text-white{
    color: var(--white);
}

.cta .grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
margin-top: 50px;
}

.why-card {
padding: 35px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
background: rgba(255, 255, 255, 0.03);
}

.why-card h5 {
color: var(--white);
font-size: 1.25rem;
margin-bottom: 15px;
}

.why-card p {
color: #cbd5e0;
font-size: 0.95rem;
}

/* --- Responsive Media Queries --- */

/* Tablets */
@media (max-width: 992px) {
.overview .grid, .vision-mission .grid {
    grid-template-columns: 1fr;
}

.stats-grid {
    flex-direction: row;
}

.stat-card {
    flex: 1;
}
}

/* Mobile Phones */
@media (max-width: 600px) {
section {
    padding: 60px 0;
}

.hero h1 {
    font-size: 2.2rem;
}

.stats-grid {
    flex-direction: column;
}

.card {
    padding: 30px;
}

.section-title {
    font-size: 1.8rem;
}
}

.clients-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-family: 'Arial', sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.client-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.client-card img {
    max-width: 100%;
    max-height: 80px;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}

/* Interaction Effects */
.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.client-card:hover img {
    filter: grayscale(0%);
}

/* --- Footer Style --- */
  footer {
      background: #000;
      color: white;
      padding: 80px 0 40px;
      margin-top: 50px;
  }

  .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1.5fr;
      gap: 40px;
      padding-bottom: 50px;
      border-bottom: 1px solid #333;
  }

  .footer-logo h2 { font-family: 'Montserrat'; font-size: 1.8rem; margin-bottom: 15px; }
  .footer-col h4 { margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; color: #999; font-size: 0.9rem; }

  /* Responsive */
  @media (max-width: 992px) {
      .service-row, .service-row:nth-child(even) { flex-direction: column; text-align: center; }
      .feature-list li { justify-content: center; }
      .service-image img { height: 300px; }
      .footer-grid { grid-template-columns: 1fr; text-align: center; }
  }