
html {
  font-size: 18px; /* Default browser is 16px — this increases all text by ~2 units */
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
}


/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #103e89; /* dark blue for text */
  background-color: #ffffff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ===== HEADER ===== */
.header {
  background: rgba(138, 147, 161, 0.4); /* translucent grey */
  backdrop-filter: blur(8px);
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease;
  box-shadow: none;
}

.header.scrolled {
  background: rgba(108, 120, 134, 0.95);
  backdrop-filter: blur(0.95px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* ===== HEADER (Adjusted Font Sizes) ===== */

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
}

.nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.85rem; /* smaller navigation text */
  padding: 5px 14px;  /* slightly tighter spacing */
}

.nav a:hover {
  color: #ab1856; /* highlight - purple-pink */
}

/* ===== MENU TOGGLE (Mobile) ===== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #ffffff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  color: #ffffff;
  text-align: left; /* changed */
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  animation: contentSlideUp 1.5s ease-out forwards;
  opacity: 0;
  max-width: 650px; /* keeps text nicely wrapped */
  margin-left: 5%; /* shifts text away from extreme edge */
}


/* Background image with blur and fade effect */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/IntroSection-1.jpg') no-repeat center center/cover;
  filter: blur(0.3px);
  transform: scale(1.05);
  opacity: 0;
  animation: heroFadeIn 2s ease-in-out forwards;
  z-index: 0;
}

/* Stronger dark + gradient overlay for contrast */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  /* dark left fade + subtle bottom fade combo */
  background: 
    linear-gradient(
      to right,
      rgba(16, 62, 137, 0.95) 0%,   /* deep dark blue on the left */
      rgba(16, 62, 137, 0.7) 35%,   /* medium fade */
      rgba(16, 62, 137, 0.4) 65%,   /* lighter fade */
      rgba(16, 62, 137, 0.1) 85%,   /* almost transparent */
      rgba(16, 62, 137, 0) 100%     /* fully clear */
    ),
    linear-gradient(
      to bottom,
      rgba(16, 62, 137, 0.6),
      rgba(108, 120, 134, 0.3)
    );

  background-blend-mode: overlay;
  z-index: 1;
  opacity: 0;
  animation: overlayFadeIn 2s ease-in-out forwards 0.3s;
}

/* Headings and text */
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero h1 span {
  color: #ab1856;
}

.hero p {
  color: #ffffffcc;
}

/* Button */
.btn {
  display: inline-block;
  background: #ab1856;
  color: #ffffff;
  padding: 12px 25px;
  margin-top: 25px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn:hover {
  background: #103e89;
  color: #ffffff;
}

/* === Animations === */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes contentSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ===== SERVICES ===== */
.services {
  position: relative;
  padding: 5rem 0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

/* background image layer */
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('IntroSection-2.jpg') no-repeat center center/cover;
  filter: blur(2px); /* slight blur */
  transform: scale(1.05);
  z-index: 0;
}

/* dark overlay for readability */
.services::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 62, 137, 0.55); /* blue overlay tint */
  z-index: 1;
}

/* content container */
.services .container {
  position: relative;
  z-index: 2;
}

/* section heading */
.services h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers last row */
  gap: 2rem;
}
.service-card {
  flex: 1 1 calc(33.333% - 2rem);
  max-width: 300px;
}

/* service cards styling */
.service-card {
  background: #6c7886; /* your grey palette color */
  padding: 2rem;
  border-radius: 12px;
  border-top: 5px solid #103e89; /* your accent color */
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  flex: 1 1 calc(33.333% - 2rem);
  max-width: 300px;
}

.service-card:hover {
  transform: translateY(-5px);
  border-top: 5px solid #103e89; /* your accent color */
  background: #ab1856; /* pink accent on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.service-card h3 {
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: #e0e0e0;
}

/* ===== ABOUT SECTION (Two Layouts) ===== */
.about-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  min-height: 500px;
  background-color: #f8f9fc;
}

/* LEFT LAYOUT */
.about-left {
  flex: 1;
  background: url('IT.gif') no-repeat center center/cover;
  display: flex;              /* centers the image */
  justify-content: center;
  align-items: center;
  background: #ffffff;        /* light grey background behind image */
  min-height: 500px;
}

.about-left img {
  width: 100%;                 /* adjust image size here (try 60–80%) */
  height: auto;
  border-radius: 10px;        /* optional: soft rounded edges */
  object-fit: contain;        /* prevents image distortion */
}


/* RIGHT LAYOUT */
.about-right {
  flex: 1;
  padding: 4rem;
  color: #6c7886;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.about-right h2 {
  font-size: 2.2rem;
  color: #103e89;
  margin-bottom: 1.5rem;
}

.about-right h2 span {
  color: #ab1856;
}

.about-right p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-right .motto {
  margin-top: 2rem;
  font-size: 1.1rem;
  font-style: italic;
  color: #103e89;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
  }

  .about-left, .about-right {
    flex: unset;
    width: 100%;
  }

  .about-right {
    padding: 2rem;
    text-align: center;
  }
}


/* ===== CONTACT / CONSULTATION SECTION ===== */
.contact.section {
  background-color: #f8f9fc;
  padding: 5rem 0;
}

.consultation-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  gap: 3rem;
}

/* LEFT SIDE */
.consultation-left {
  flex: 1;
  background: linear-gradient(rgba(171, 24, 86, 0.85), rgba(16, 62, 137, 0.85)),
              url("contact-bg.jpg") center/cover no-repeat;
  color: #ffffff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px;
}

.consultation-left h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.consultation-left h2 span {
  color: #ffb3cf; /* light pink accent */
}

.consultation-left p {
  font-size: 1.05rem;
  color: #ffffffcc;
  max-width: 450px;
}

/* RIGHT SIDE FORM */
.consultation-right {
  flex: 1;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.consultation-right h3 {
  text-align: center;
  color: #ab1856;
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #6c7886;
  border-radius: 6px;
  font-size: 1rem;
  background: #fdfdfd;
  color: #103e89;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ab1856;
  outline: none;
}

.contact-form button {
  background: #ab1856;
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #103e89;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .consultation-container {
    flex-direction: column;
  }

  .consultation-left,
  .consultation-right {
    padding: 2rem;
    text-align: center;
  }

  .consultation-left p {
    margin: 0 auto;
  }
}

.footer {
  background-color: #5c5c5d;
  color: #fff;
  padding: 3rem 0 1rem;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Column 1 */
.footer-about {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-about p {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f58bb6;
}

/* Column 2 */
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer-contact h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-contact p {
  margin: 6px 0;
  color: #e0e0e0;
}

.footer-contact a {
  color: #f58bb6;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Social Icons */
.footer-socials {
  margin-top: 1rem;
}

.footer-socials a img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s;
}

.footer-socials a:hover img {
  transform: scale(1.2);
}

/* Column 3 (Image) */
.footer-image {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-image img {
  max-width: 250px;
  width: 100%;
  border-radius: 12px;
  object-fit: contain;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-image img {
    max-width: 200px;
  }
}



/* ===== ABOUT US (Right-aligned text) ===== */
.about-text {
  text-align: right; /* aligns heading and paragraph to the right */
}

.about-text p,
.about-text h2,
.about-text .motto {
  margin-left: auto; /* ensures proper alignment for block elements */
}

/* ===== Navigation Pill Hover Effect (Pink) ===== */
.nav ul li {
  position: relative;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 25px; /* pill shape */
  transition: all 0.3s ease;
  position: relative;
}

/* Hover - pink pill + triangle pointer */
.nav a:hover {
  background-color: #ab1856; /* pink accent */
  color: #ffffff;
}

.nav a:hover::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ab1856; /* same pink */
}

/* Active (current page) state */
.nav a.active {
  background-color: #ab1856;
  color: #ffffff;
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ab1856;
}

/* === SECTION ANIMATION BASE === */
section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* When visible */
section.show {
  opacity: 1;
  transform: translateY(0);
}

.brand-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 1.2px;
  font-size: 1rem; /* smaller for header */
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
}

.brand-text .blue {
  color: #1d3e7a;
}

.brand-text .pink {
  color: #ab1856;
}

.hero {
  position: relative;
  padding: 5rem 0; /* remove the header height offset */
  color: #efefef;
  text-align: left;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 0; /* ensure no gap */
}

body {
  margin: 0;
  padding-top: 70px; /* keeps space for fixed header only */
}

@media (max-width: 768px) {
  body {
    padding-top: 100px; /* extra for mobile header */
  }
}
