/* ======================================================================
   GLOBAL VARIABLES
====================================================================== */
:root {
  --blue: #1A73E8;
  --blue-dark: #0F5AC0;
  --text: #111214;
  --subtext: #55565A;
  --white: #ffffff;
  --light-grey: #F7F9FC;
  --grey: #E2E6EB;

  --radius: 12px;
  --shadow: 0 6px 20px rgba(8,10,15,0.07);

  --container-width: min(92%, 1200px);
  --nav-height: 70px;
}

/* ======================================================================
   RESET / BASE
====================================================================== */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, Arial;
  color: var(--text);
  background: white;
  padding-top: var(--nav-height);
}

.container {
  width: var(--container-width);
  margin: auto;
}

a { text-decoration: none; color: inherit; }

/* ======================================================================
   HEADER / NAVIGATION
====================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  background: white;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(2,15,40,.12);
  z-index: 9999;
}

.navbar {
  width: var(--container-width);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue);
}

#navMenu {
  display: flex;
  gap: 26px;
}

#navMenu a {
  font-weight: 600;
  padding: 8px;
}

#navMenu a.active,
#navMenu a:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ======================================================================
   SECTIONS
====================================================================== */
.section-white { padding: 70px 0; background: white; }
.section-grey  { padding: 70px 0; background: var(--light-grey); }

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.divider {
  width: 70px;
  height: 3px;
  background: var(--blue);
  margin-bottom: 24px;
  border-radius: 10px;
}

/* ======================================================================
   HERO
====================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.brand-blue {
  color: var(--blue);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--subtext);
}

/* Rotating skills */
.rotating-text {
  height: 28px;
  overflow: hidden;
  position: relative;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.rotating-text span {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.rotating-text span.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hero video */
.hero-video {
  width: 100%;
  height: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: linear-gradient(
    180deg,
    #0F1724,
    rgba(26,115,232,.15),
    #EEF4FF
  );
}

/* Button */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
}

/* ======================================================================
   TRUST SECTION
====================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 26px;
}

.trust-card {
  background: white;
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-card h3 {
  color: var(--blue);
  margin: 0 0 8px 0;
}

/* ======================================================================
   KEY SERVICES
====================================================================== */
.key-services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
  margin-bottom: 40px;
}

.key-card {
  background: white;
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: .25s;
}

.key-card:hover {
  transform: translateY(-4px);
}

/* ======================================================================
   SERVICES PAGE
====================================================================== */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 30px 0;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid #dbe2ea;
  background: #f7f9fc;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.service-content { display: none; }
.service-content.active { display: block; }

.services-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-block {
  background: white;
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow);

  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 30px;
  align-items: flex-start;

  margin-bottom: 35px;
}

.service-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-title-row img {
  width: 44px;
  height: 44px;
}

.service-title-row h3 {
  margin: 0;
}

.service-left p {
  margin-top: 6px;
}

/* Carousel */
.carousel {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #eef4ff;
}

.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s;
}

.carousel img.active {
  opacity: 1;
}

/* ======================================================================
   CONTACT
====================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: flex-start;
}

.contact-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.input-field {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  border: 1px solid var(--grey);
  border-radius: 10px;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.social-icons img {
  width: 32px;
  height: 32px;
}

/* ======================================================================
   FOOTER
====================================================================== */
footer {
  padding: 22px;
  background: var(--light-grey);
  text-align: center;
  margin-top: 40px;
}

/* ======================================================================
   RESPONSIVE
====================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .service-block {
    grid-template-columns: 1fr;
  }

  .carousel {
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .trust-grid,
  .key-services-grid,
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .menu-toggle { display: block; }

  #navMenu {
    display: none;
    position: absolute;
    top: 70px;
    right: 10px;
    background: white;
    padding: 14px;
    box-shadow: var(--shadow);
    border-radius: 10px;
  }

  #navMenu.open { display: block; }
}
/* ======================================================================
   ABOUT PAGE – RESTORED & ISOLATED FIX
====================================================================== */

/* About hero layout */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}

.profile-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-text {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--subtext);
}

/* Timeline */
.timeline {
  border-left: 3px solid var(--blue);
  padding-left: 25px;
  margin-top: 12px;
}

.timeline-item {
  margin-bottom: 24px;
  position: relative;
}

.timeline-item .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: -32px;
  top: 6px;
  box-shadow: 0 0 6px rgba(26,115,232,0.45);
}

.timeline-item p {
  margin: 0;
  color: var(--subtext);
  font-size: 1.05rem;
}

/* Expertise grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 6px 0;
  color: var(--blue);
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.stat-card {
  padding: 22px;
  background: white;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card h3 {
  color: var(--blue);
  font-size: 1.7rem;
  margin: 0;
}

/* About page responsive */
@media (max-width: 900px) {
  .about-hero,
  .expertise-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    border-left: none;
    padding-left: 0;
  }

  .timeline-item .dot {
    display: none;
  }
}
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.appear {
  opacity: 1;
  transform: translateY(0);
}
.nav-cta {
  flex: 0 0 auto !important;
  width: auto !important;
  display: inline-flex !important;
}







