/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  font-family: "Inria Serif", serif;
  overflow-y: scroll; /* keeps layout stable */
}
body::-webkit-scrollbar {
  width: 0;
  background: transparent;
}
/* Navbar styling */
.nav-links a.active {
  color: #0066ff; /* Highlight color */
  position: relative;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent; /* ✅ No background color */
  padding: 15px 40px;
  position: absolute; /* ✅ Makes it overlay the hero section */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* ✅ Keeps navbar above hero */
}

.logo img {
  height: 60px;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0066ff;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #000;
  padding: 10px 0;
  border-radius: 6px;
  display: none;
  flex-direction: column;
  min-width: 240px;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu a {
  color: #fff;
  font-weight: 500;
  display: block;
}

.dropdown-menu a:hover {
  color: #0066ff;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Contact button */
.contact-btn {
  background-color: #001aff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #0033ff;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.bar {
  position: absolute;
  left: 50%;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background-color: #fff;
  transform-origin: center;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

/* Bar positions */
.bar:nth-child(1) {
  transform: translate(-50%, -8px);
}
.bar:nth-child(2) {
  transform: translate(-50%, 0);
}
.bar:nth-child(3) {
  transform: translate(-50%, 8px);
}

/* Active state (Close X) */
.menu-toggle.active .bar:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: rgba(0, 0, 0, 0.95); /* ✅ Slight transparency for mobile menu */
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 25px 0;
    gap: 25px;
    display: none;
    border-top: 1px solid #111;
  }

  .nav-links.active {
    display: flex;
  }

  /* Center and clean dropdown */
  .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    background-color: transparent;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding-top: 5px;
  }

  .dropdown-menu li {
    padding: 0;
  }

  /* Show dropdown when parent tapped or hovered */
  .dropdown:hover .dropdown-menu {
    display: flex;
  }

  /* Contact button centered */
  .contact-btn {
    background-color: #001aff;
    text-align: center;
    padding: 12px 25px;
  }
}
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 4%;
  overflow: hidden;
}

/* Background Image */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(40%) contrast(120%);
}

/* Text Section */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 3px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: "Inria Serif", serif;
}

.hero p {
  font-size: 1.3rem;
  color: #b3b3b3;
  line-height: 1.3;
  margin-top: 10px;
}

.hero h1 span {
  color: #3b82f6;
}

/* Responsive Hero */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .hero-content {
    padding: 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }
}







/* About Title */
.about-title h1 {
  font-size: 7rem;
  font-weight: 800;
  color: #262626;
  margin-left: 60px;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

.about {
  padding: 60px 20px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
  flex-wrap: wrap;
}

/* Image */
.about-image img {
  width: 100%;
  max-width: 600px;
 
  object-fit: cover;
}
.about-image {
  flex: 1.2;   /* gives slightly more space to image */
}
/* Content */
.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
  color: #ffffff;
}

.highlight {
  color: #1a73e8;
}

.about-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 600px;
  color: #cfcfcf;
}

/* Responsive */
@media (max-width: 768px) {
  .about-title h1 {
    font-size: 3rem;
    text-align: center;
    margin-left: 0;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .about-content p {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .about-image img {
    max-width: 100%;
  }
}






/* Section */
.why-choose {
  text-align: center;
  padding: 60px 20px;
}

.why-choose h1 {
  font-size: 7rem;
  font-weight: 800;
  color: #262626;
  margin-bottom: 50px;
  font-family: 'Inter', sans-serif;
}

/* Card Container */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Card */
.card {
  background-color: #000;
  border: 1px solid #262626;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 71, 255, 0.3);
}

/* Icon as Image */
.icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(29%) sepia(96%) 
          saturate(7487%) hue-rotate(228deg) brightness(102%) contrast(101%);
}

/* Text Styles */
.card h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.card p {
  font-size: 0.95rem;
  color: #a2a2a2;
  line-height: 1.5;
}

/* ============================= */
/*  Responsive Adjustments */
/* ============================= */

/* Large screens (desktops) */
@media (min-width: 1200px) {
  .why-choose h1 {
    font-size: 6rem;
  }
}

/* Medium screens (tablets) */
@media (max-width: 991px) {
  .why-choose h1 {
    font-size: 4rem;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .card {
    padding: 25px;
  }
}

/* Small screens (mobile) */
@media (max-width: 600px) {
  .why-choose {
    padding: 40px 15px;
  }

  .why-choose h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .card {
    padding: 20px;
  }

  .icon {
    width: 40px;
    height: 40px;
  }

  .card h2 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.9rem;
  }
}




/* Section Title */
.section-title {
  text-align: left;
  font-size: 7rem;
  font-weight: 800;
  color: #262626;
  font-family: 'Inter', sans-serif;
  padding: 60px 40px 30px;
}
/* Featured Container */
.featured-container {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 450px;
  background-color: #0000ff;
  flex-wrap: wrap;
}

/* Reverse layout for alternating sections */
.featured-container.reverse {
  flex-direction: row-reverse;
}

/* Featured Content */
.featured-content {
  background-color: #000000;
  flex: 1 1 50%;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.featured-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 25px;
}

/* Specializations List */
.specialization-list {
  margin-bottom: 25px;
}

.specialization-list h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.specialization-list ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #ccc;
}

.specialization-list li {
  font-size: 1rem;
  margin-bottom: 5px;
  line-height: 1.5;
}

/* Featured Image */
.featured-image {
  flex: 1 1 50%;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .featured-container {
    flex-direction: column;
    min-height: auto;
  }

  .featured-container.reverse {
    flex-direction: column;
  }

  .featured-content,
  .featured-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .featured-image {
    height: 300px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .featured-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .featured-content {
    padding: 25px 20px;
  }

  .featured-content h2 {
    font-size: 1.6rem;
  }

  .specialization-list h3 {
    font-size: 1.1rem;
  }

  .specialization-list li {
    font-size: 0.95rem;
  }
}





/* Footer Styles */
.footer {
  background-color: #000000;
  padding: 60px 5%;
  color: #d8d8d8;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cfcfcf;
  max-width: 450px;
}

.footer-col {
  width: 200px;
  margin-left: 40px;
}

/* === Headings with Half Underline === */
.footer-col h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block; /* ensures underline fits text width */
}

/* create the underline */
.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50%; /* 👈 half-width underline */
  height: 2px;
  background-color: #424242; /* accent color */
  border-radius: 2px;
}

/* Lists */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col ul li i {
  color: #707070;
  font-size: 1rem;
  min-width: 18px;
  text-align: center;
}

.footer-col ul li a {
  color: #bfc4cf;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #b5b5b5;
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-col {
    margin-left: 0;
  }

  .footer-about {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 10px;
  }

  .footer-col {
    margin: 0 auto;
    width: auto;
  }

  .footer-col h3 {
    margin-top: 20px;
  }

  /* center underline on small screens */
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col ul li {
    justify-content: center;
  }

  .footer-about {
    max-width: 100%;
    margin: 0 auto;
  }
}
