/* ROOT COLORS */
:root{
  --primary-blue:#0E2E5D;
  --accent-cyan:#00AEEF;
  --accent-cyan-2:#0070C0;
  --dark-bg:#0A0A0A;
  --white:#FFFFFF;
  --light-gray:#F5F6F8;
  --muted:#666;
  --transition:all 0.3s ease;
  --radius:12px;
  --shadow:0 8px 28px rgba(14,46,93,0.08);
}

html {
  scroll-behavior: smooth;
}


/* BOXED WRAPPER */
body {
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto;
  background:#EAEFF5;
  color:#111;
}
.boxed {
  max-width:1200px;
  margin:0 auto;
  background:none;
  padding:0 2rem;
}

/* ==========================
   NAVBAR
   ========================== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  transition: var(--transition);
}

.brand-logo {
  height: 60px;
  transition: filter 0.3s ease, opacity 0.3s ease;
}


/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #fff; /* default white for transparent state */
  transition: var(--transition);
}

.nav.scrolled .nav-links a {
  color: var(--primary-blue); /* dark text when background is light */
}

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

/* NAV CTA Button */
.btn-primary.nav-cta {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-2));
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary.nav-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

/* Transparent button text visible on hero background */
.nav.scrolled .btn-primary.nav-cta {
  box-shadow: none;
}

/* NAV TOGGLE (for mobile) */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s ease;
}

.nav.scrolled .nav-toggle {
  color: var(--primary-blue);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Full height of the viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero::before {
  /* dark overlay for contrast */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  z-index: 0;
}

.hero .boxed {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 1s ease both;
}

.hero-content h1 {
  font-family: "Poppins", system-ui;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Fade up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-ctas {
  display:flex;
  gap:1rem;
  justify-content:center;
}
.btn-primary {
  background:linear-gradient(90deg,var(--accent-cyan),var(--accent-cyan-2));
  border:none;
  color:#fff;
  border-radius:8px;
  padding:0.8rem 1.6rem;
  font-weight:600;
  cursor:pointer;
  transition:var(--transition);
}
.btn-primary:hover {transform:translateY(-3px);}
.btn-ghost {
  color:#fff;
  border:1px solid rgba(255,255,255,0.3);
  text-decoration:none;
  border-radius:8px;
  padding:0.8rem 1.2rem;
  transition:var(--transition);
}
.btn-ghost:hover {background:rgba(255,255,255,0.1);}

/* SECTIONS */
.section {
  padding:4rem 0;
}
.section h2 {
  color:var(--primary-blue);
  text-align:center;
  margin-bottom:2rem;
}

/* About Section */
/* === ABOUT SECTION === */
.about-section {
  padding: 100px 0;
  background-color: #f9fafc;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 40px;
  gap: 48px;
}

/* Columns */
.about-left, .about-right {
  flex: 1 1 50%;
}

/* === TEXT STYLES === */
.about-heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #0078ff;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.about-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.about-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-description {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* === TABS === */
.about-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tab-btn {
  border: none;
  background: #e6e6e6;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
  background: #0078ff;
  color: #fff;
}

.tab-content {
  display: none;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
  text-align: left;
}

.tab-content ul {
  list-style: disc;
  margin: 0;            /* Remove top/bottom margin */
  padding-left: 18px;
}

.tab-content li {
  margin-bottom: 8px;
}

/* === IMAGE SIDE === */
.about-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-right img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* === ANIMATION === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .about-container {
    flex-wrap: wrap;
    text-align: center;
  }

  .about-left, .about-right {
    flex: 1 1 100%;
  }

  .about-right img {
    margin-top: 40px;
    max-width: 400px;
  }
}

/* Make vision-mission align with same width */
.vision-mission {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 2rem auto 0;
}

/* === OUR SERVICES SECTION === */
.services-section {
  background: #040f28; /* dark blue */
  color: #ffffff;
  padding: 100px 0;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.section-heading {
  font-size: 14px;
  font-weight: 600;
  color: #4da3ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 14px;
  color: #d0d7e5;
  max-width: 700px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

/* GRID */
.services-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  flex-wrap: wrap;
}

/* CARD STYLE */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 16px 32px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  text-align: center;
  min-width: 280px;
  flex: 1 1 280px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* IMAGE */
.service-img {
  width: 100%;
  max-height: 200px;
  border-radius: 10px;
  margin-bottom: 16px;
  object-fit: cover;
}

/* TITLE & TEXT */
.service-title {
  font-size: 24px;
  font-weight: 700;
  color: #0b1f4b;
  margin-bottom: 10px;
}

.service-description {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* CTA BUTTON */
.service-btn {
  display: inline-block;
  background: #0b1f4b;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.service-btn:hover {
  background: #0078ff;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    flex-wrap: wrap;
  }
}

/* CONTACT */
.contact-form {
  max-width:600px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.contact-form input,
.contact-form textarea {
  padding:0.9rem;
  border:1px solid #ccc;
  border-radius:8px;
  font-size:1rem;
}
.contact-form textarea {
  min-height:140px;
  resize:none;
}

/* FOOTER */
.footer {
  background:var(--primary-blue);
  color:#fff;
  text-align:center;
  padding:1rem 0;
}

/* RESPONSIVE */
@media(max-width:900px){
  .nav-links {display:none;}
  .nav-toggle {display:block;}
  .about-container {flex-direction:column-reverse;}
  .service-card {width:100%;max-width:500px;}
}


/* ============================= */
/* SECTION TYPOGRAPHY SYSTEM     */
/* ============================= */

/* Small label heading above title (e.g., "About Us", "Our Clients") */
.section-heading-dark {
  font-size: 14px;
  font-weight: 600;
  color: #0078ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Main title for section */
.section-title-dark {
  font-size: 32px;
  font-weight: 700;
  color: #0b1f4b;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* Subtitle or description text */
.section-subtitle-dark {
  font-size: 15px;
  font-weight: 400;
  color: #4b5563; /* Muted gray for readability */
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 40px;
}

/* === Alignment Modifiers (optional utility classes) === */
.text-left {
  text-align: left;
}

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

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

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 14px;
  }
}

/* ========================= */
/* CONTACT US SECTION STYLES */
/* ========================= */

.contact-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.contact-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info, 
.contact-form {
  flex: 1;
}

/* Contact Info */
.contact-list {
  list-style: none;
  margin-top: 30px;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 15px;
}

.contact-list i {
  color: #0b1f4b;
  font-size: 18px;
  margin-right: 12px;
}

/* Form Card */
.form-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.052);
  padding: 40px;
  border: 1px solid #d1d5db;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #0b1f4b;
  display: block;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  transition: all 0.3s ease;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Terms Text */
.form-terms {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 20px;
}

/* Submit Button */
.btn-submit {
  background-color: #0b1f4b;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;

}

.btn-submit:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }

  .form-card {
    padding: 30px 20px;
  }
}

.hidden { display: none !important; }

.fake-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.fake-modal {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  position: relative;
}

.fake-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.fake-body h3 {
  color: #0b1f4b;
  margin-bottom: 8px;
}

.fake-body p {
  color: #555;
  font-size: 14px;
  margin-bottom: 20px;
}

.fake-actions .btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fake-actions .btn-primary:hover {
  background: #1d4ed8;
}

@media (max-width: 768px) {
  #contactNavBtn {
    display: none !important;
  }
}

/* =======================
   PORTFOLIO SECTION
======================= */

.portfolio-section {
  padding: 6rem 0;
  background: #ffffff;
}

.portfolio-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 5rem;
}

.portfolio-item:last-child {
  margin-bottom: 0;
}

/* Alternate layout */
.portfolio-item.reverse {
  flex-direction: row-reverse;
}

/* Text column */
.portfolio-text {
  flex: 1 1 50%;
  text-align: left;
}

/* Image column */
.portfolio-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  max-height: 300px;
}
.portfolio-image.portfolio-item.reverse {
  justify-content: right;
}

.portfolio-image img {
  width: 100%;
  max-width: 420px; /* smaller than About Us */
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

/* Typography reused from your system */
.section-heading-portfolio {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  text-align: left;
}

.section-title-portfolio {
  font-size: 30px;
  font-weight: 700;
  color: #0b1f4b;
  margin-bottom: 1rem;
  text-align: left;
}

.section-description-portfolio {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  max-width: 90%;
  text-align: left;
}

/* Responsive */
@media (max-width: 900px) {
  .portfolio-item,
  .portfolio-item.reverse {
    flex-direction: column;
    text-align: left;
  }

  .portfolio-image img {
    max-width: 340px;
  }

  .section-description {
    max-width: 100%;
  }
}
