* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica", "Arial", sans-serif;
}

/* NAVBAR */

.navbar {
  background: #ffffff;
  color: #000;
  padding: 1rem 0;
  position: fixed;
  top: 35px;
  left: 0;
  width: 100%;
  z-index: 1000;
  font-size: 22px;
  font-family: "Helvetica", "Arial", sans-serif;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
}

/* container */

.nav-container {
  height: 69px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* logo */

.logo img {
  height: 108px;
}

/* nav links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* links */

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  position: relative;
}

/* hover effect */

.nav-links a:hover {
  color: linear-gradient(135deg, #e6e7ea, #d1d9e8);
}

/* ABOUT DROPDOWN */

.about-menu {
  position: relative;
  cursor: pointer;
  font-weight: 600;
}

/* hidden box */

.about-dropdown {
  position: absolute;
  top: 40px;
  left: 0;

  background: white;
  min-width: 170px;

  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: 0.3s;
}

/* links inside */

.about-dropdown a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.about-dropdown a:hover {
  background: #f1f1f1;
}

/* show on hover */

.about-menu:hover .about-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ACCOUNT MENU */

.account {
  position: relative;
  cursor: pointer;
  font-weight: 600;
}

/* dropdown */

.dropdown {
  position: absolute;
  top: 40px;
  right: 0;

  background: white;
  min-width: 160px;

  border-radius: 6px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: 0.3s ease;
}

/* dropdown links */

.dropdown a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

/* hover */

.dropdown a:hover {
  background: #f1f1f1;
}

/* show dropdown */

.account:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== TOP INFO BELT ===== */
.top-right {
  display: flex;
  gap: 12px;
}

.social {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social:hover {
  transform: translateY(-2px) scale(1.05);
  background: #ff5e00;
  color: black;
}

/* underline animation */

.nav-item {
  position: relative;
  padding-bottom: 6px;
}

/* line */

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: linear-gradient(135deg, rgb(156, 93, 5), rgb(156, 93, 5));
  transition: width 0.3s ease;
}

/* hover effect */

.nav-item:hover::after {
  width: 100%;
}

.top-bar {
  background: #0b0a24;
  color: white;
  padding: 6px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  position: fixed;
  top: 0;
  width: 100%;
  height: 45px; /* important */
  z-index: 1100;
}

.top-bar span {
  margin-right: 20px;
}

.top-right a {
  color: rgb(156, 93, 5);
  margin-left: 15px;
  text-decoration: none;
}

.top-right a:hover {
  color: rgb(156, 93, 5);
}

/* Push header down because of top bar */
.header {
  top: 30px; /* instead of 0 */
}

/* HERO SECTION */

.hero {
  background: #ffffff;

  padding: 100px 8% 100px;

  overflow: hidden;
}

/* container */

.hero-container {
  max-width: 1300px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 70px;
}

/* left content */

.hero-content {
  flex: 1;
}

/* small tag */

.hero-tag {
  display: inline-block;

  padding: 10px 22px;

  border-radius: 40px;

  background: rgba(255, 94, 0, 0.08);

  color: #ff5e00;

  font-size: 13px;

  letter-spacing: 2px;

  margin-bottom: 30px;

  font-weight: 600;
}

/* heading */

.hero-content h1 {
  font-size: 53px;

  line-height: 1.05;

  color: #111111;

  margin-bottom: 28px;
}

/* orange word */

.hero-content h1 span {
  color: #ff5e00;
}

/* paragraph */

.hero-content p {
  font-size: 19px;

  line-height: 1.9;

  color: #444;

  max-width: 700px;

  margin-bottom: 45px;
}

/* buttons */

.hero-buttons {
  display: flex;

  gap: 20px;
}

/* buttons common */

.hero-buttons button {
  padding: 15px 34px;

  border-radius: 12px;

  cursor: pointer;

  font-size: 16px;

  font-weight: 600;

  transition: 0.3s ease;
}

/* primary */

.primary-btn {
  background: #ff5e00;

  color: white;
  border: none;
}

.primary-btn:hover {
  transform: translateY(-4px);

  background: #e65100;
}

/* secondary */

.secondary-btn {
  background: white;

  border: 1px solid #d1d5db;

  color: #111;
}

.secondary-btn:hover {
  transform: translateY(-4px);
  border: 1px solid #ff5e00;

  color: #ff5e00;
}

/* ================= VIDEO SIDE ================= */

.hero-video {
  flex: 1;

  display: flex;

  justify-content: center;
}

/* video box */

.video-box {
  width: 560px;

  border-radius: 25px;

  overflow: hidden;

  position: relative;

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);

  border: 6px solid white;
}

/* subtle orange glow */

.video-box::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  background: #ff5e00;

  filter: blur(100px);

  opacity: 0.18;

  top: -50px;
  right: -50px;

  z-index: 2;
}

/* video */

.video-box video {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
}

/* dark overlay */

.video-box::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));

  pointer-events: none;
}

/* ================= MOBILE ================= */

@media (max-width: 950px) {
  .hero-container {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 54px;
  }

  .video-box {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 140px 5% 80px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

.footer {
  background: #36393b;
  color: #fff;
  padding: 40px 0 0; /* less vertical padding */
  font-size: 19px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 2px 4px 4px 2px; /* less side margin */
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr;
  gap: 125px; /* more gap between columns */
}

.footer-box h3,
.footer-box h4 {
  color: #ff8c00;
  margin-bottom: 13px;
}

.footer-box p,
.footer-box li,
.footer-box a {
  color: #ccc;
  line-height: 1.9;
  font-size: 14px;
  text-decoration: none;
}

.footer-box a:hover {
  color: rgb(156, 114, 54);
  text-decoration: none;
}

.footer-box ul {
  list-style: none;
  padding: 0;
  text-decoration: none;
}

.footer-box ul li {
  margin-bottom: 8px;
}

/* ---------- App-like Social Buttons ---------- */

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
}

.social-links a {
  background: #fff;
  color: #1c1f22;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
  background: rgb(156, 114, 54);
  color: #000;
  transform: translateY(-2px);
}

/* ---------- Bottom Bar ---------- */

.footer-bottom {
  margin-top: 35px;
  padding: 15px;
  text-align: center;
  background: #4b4e52;
  font-size: 13px;
  color: #aaa;
}

/*=========================
        MVV SECTION
=========================*/

.mvv-section {
  padding: 70px 5%;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f7fb 100%);
  text-align: center;
}

.mvv-section h2 {
  font-size: 42px;
  font-weight: 700;
  color: #0b0a24;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

/*.mvv-section h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #ff5e00;
  display: block;
  margin: 12px auto 0;
  border-radius: 50px;
}*/

/*=========================
        CONTAINER
=========================*/

.mvv-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1500px;
  margin: auto;
}

/*=========================
          BOX
=========================*/

.mvv-box {
  background: #fff;
  padding: 40px 35px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.05);

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.05),
    0 3px 8px rgba(0, 0, 0, 0.04);

  position: relative;
  overflow: hidden;

  transition: all 0.35s ease;
}

/* Premium Orange Accent */

.mvv-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;

  width: 100%;
  height: 5px;

  background: linear-gradient(90deg, #ff5e00, #ff914d);
}

/* Hover */

.mvv-box:hover {
  transform: translateY(-8px);

  border-color: rgba(255, 94, 0, 0.35);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(255, 94, 0, 0.15);
}

/*=========================
          ICON
=========================*/

.mvv-icon {
  width: 75px;
  height: 75px;

  margin: 0 auto 25px;

  border-radius: 50%;

  background: rgba(255, 94, 0, 0.1);

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 34px;

  transition: 0.35s;
}

.mvv-box:hover .mvv-icon {
  background: #ff5e00;

  transform: rotate(8deg) scale(1.08);
}

/*=========================
         HEADING
=========================*/

.mvv-box h3 {
  font-size: 26px;
  font-weight: 700;

  color: #0b0a24;

  margin-bottom: 18px;

  transition: 0.3s;
}

.mvv-box:hover h3 {
  color: #ff5e00;
}

/*=========================
           TEXT
=========================*/

.mvv-box p {
  font-size: 15.8px;

  line-height: 1.9;

  color: #000000;

  text-align: left;
}

/* Bold keywords */

.mvv-box b {
  color: #0b0a24;
}

/*=========================
        RESPONSIVE
=========================*/

@media (max-width: 992px) {
  .mvv-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mvv-section {
    padding: 70px 20px;
  }

  .mvv-section h2 {
    font-size: 34px;
  }

  .mvv-container {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .mvv-box {
    padding: 30px 25px;
  }
}

/*mvv ends here*/

/* ACHIEVEMENTS SECTION */

.achievements {
  padding: 50px 8%;
  background: #fbfbfb;
  text-align: center;
}

.achievements h2 {
  font-size: 38px;
  margin-bottom: 50px;
  color: #0b0a24;
}

/* GRID */

.achievement-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* BOX */

.achievement-box {
  background: white;
  padding: 35px 40px;
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  border: 1px solid #ff5e00; /* 👈 small border added */
}

/* HOVER EFFECT */

.achievement-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* NUMBER */

.achievement-box h3 {
  font-size: 40px;
  color: #ff5e00;
}

/* TEXT */

.achievement-box p {
  margin-top: 10px;
  color: #0b0a24;
  font-size: 15px;
  font-family: "Helvetica", "Arial", sans-serif;
}

.journey-section {
  padding: 80px 10%;
  background: #fbfbfb;
}

.journey-title {
  text-align: center;
  font-size: 38px;
  margin-bottom: 70px;
  color: #0b0a24;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

.timeline-scroll {
  max-height: 600px; /* Adjust height as needed */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
}

/* Custom Scrollbar */
.timeline-scroll::-webkit-scrollbar {
  width: 8px;
}

.timeline-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: #ff5e00;
  border-radius: 10px;
}

.timeline-scroll::-webkit-scrollbar-thumb:hover {
  background: #ff5e00;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  background: linear-gradient(to bottom, #ff5e00, #ff5e00, #ff5e00);
  box-shadow: 0 0 10px rgba(163, 111, 62, 0.4);
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* top accent line */
.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ff5e00;
}

/* hover effect */
.timeline-content:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
  color: #ff5e00;
  margin-bottom: 10px;
}

/* circle */
.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border: 4px solid #ff5e00;
  top: 30px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left::after {
  right: -10px;
}

.timeline-item.right::after {
  left: -10px;
}

.timeline-item::after {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(163, 111, 62, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(163, 111, 62, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(163, 111, 62, 0);
  }
}

/* mobile */

@media (max-width: 900px) {
  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 10px;
  }
}

/* TIMELINE ANIMATION */

.timeline-item {
  opacity: 0;
  transition: all 0.8s ease;
}

/* start positions */

.timeline-item.left {
  transform: translateX(-80px);
}

.timeline-item.right {
  transform: translateX(80px);
}

/* when visible */

.timeline-item.show {
  opacity: 1;
  transform: translateX(0);
}

/*services css start from here*/
.services {
  padding: 75px 0;
  position: relative;
  background: #fbfbfd;
}

/* Grid Background */
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
}

/* Cards Layout */
.cards {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.card {
  background: #e6e7ea;
  border-radius: 25px;
  overflow: hidden;
  transition: 0.4s ease;
  position: relative;
  display: flex;
  flex: 1;
}

.card:hover {
  transform: translateY(-10px);
}

.card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 60px 25px 30px;
  color: #0b0a24;
}

.card-content h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #2b004f;
  line-height: 1.4;
}

.card-content p {
  font-size: 15px;
  color: #0b0a24;
  line-height: 1.4;
  text-align: justify;
}

/* Responsive */
@media (max-width: 900px) {
  .mvv-container {
    grid-template-columns: 1fr;
  }
}
/*services end here*/

/* ==========================
   CERTIFICATE SECTION
========================== */

.certificate-section {
  padding: 30px 8%;
  background: #fbfbfd;
  text-align: center;
}

/*=========================
    SECTION HEADING
=========================*/
.section-heading {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-heading span {
  display: block;
  color: #ff5e00;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: 48px;
  font-weight: 700;
  color: #0b0a24;
  margin: 0;
  line-height: 1.2;
  position: relative;
}

.section-heading h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #ff5e00;
  border-radius: 10px;
  display: block;
  margin: 15px auto 0;
}

.section-heading p {
  margin-top: 25px;
  font-size: 17px;
  color: #666;
  line-height: 1.8;
  max-width: 650px;
}

.cert-content {
  padding: 15px 18px 20px;

  text-align: center;

  border-top: 1px solid #eee;

  background: #fff;
}

.cert-content h3 {
  font-size: 18px;
  color: #0b0a24;
  font-weight: 600;
  margin: 0 0 8px;
}

.cert-content p {
  margin: 0;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================
   CERTIFICATE GRID
========================== */

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

/* ==========================
   CERTIFICATE CARD
========================== */

.certificate-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  height: 430px;

  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;

  border: 2px solid transparent;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  transition: all 0.35s ease;

  cursor: pointer;
}

.cert-image {
  height: 320px; /* Same image area for every card */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: #fff;
}

.certificate-card::after {
  content: "";
  position: absolute;

  inset: 0;

  border-radius: 18px;

  box-shadow: 0 0 0 rgba(255, 94, 0, 0);

  transition: 0.35s;

  pointer-events: none;
}

.certificate-card:hover::after {
  box-shadow: 0 0 35px rgba(255, 94, 0, 0.12);
}

/* ==========================
   CERTIFICATE IMAGE
========================== */

.certificate-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;

  object-fit: contain;

  transition: 0.35s ease;

  cursor: pointer;
}

.certificate-card:hover {
  transform: translateY(-8px);
  border-color: #ff5e00;
  box-shadow: 0 20px 40px rgba(255, 94, 0, 0.18);
  cursor: pointer;
}

.certificate-card:hover img {
  transform: scale(1.03);
}

/* ==========================
   CUSTOM SCROLLBAR
========================== */

.certificate-card::-webkit-scrollbar {
  width: 8px;
}

.certificate-card::-webkit-scrollbar-track {
  background: #f2f2f2;
  border-radius: 10px;
}

.certificate-card::-webkit-scrollbar-thumb {
  background: #ff5e00;
  border-radius: 10px;
}

.certificate-card::-webkit-scrollbar-thumb:hover {
  background: #d64d00;
}

/* Firefox */
.certificate-card {
  scrollbar-width: thin;
  scrollbar-color: #ff5e00 #f2f2f2;
}

/* ==========================
   MODAL
========================== */
.cert-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  overflow-x: auto;
  padding: 30px;
}

.modal-content {
  display: block;
  max-width: 90vw !important;
  max-height: 90vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  margin: auto;
}

.close {
  position: fixed;
  top: 20px;
  right: 20px;

  width: 50px;
  height: 50px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: #000;
  color: #fff;

  border: none;
  border-radius: 50%;

  font-size: 34px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  line-height: 1;

  cursor: pointer;
  z-index: 99999;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.close:hover {
  background: #ff5e00;
  color: #fff;
  transform: scale(1.08);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1200px) {
  .certificate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================
   MOBILE
========================== */
@media (max-width: 768px) {
  .certificate-section {
    padding: 60px 15px;
  }

  .cert-title {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .certificate-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    justify-items: center;
  }

  .certificate-card {
    width: 100%;
    max-width: 350px;
    height: 420px;
    border: 10px solid #fff;
    border-radius: 16px;
  }

  .certificate-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }

  .cert-modal {
    padding: 15px;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .close {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 45px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    z-index: 99999; /* Keep it above the image */
    background: rgba(0, 0, 0, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .close:hover {
    color: #ff5e00;
  }
}

/*working ke images*/
/* WORK SECTION */

.gallery-section {
  padding: 100px 5%;
  background: linear-gradient(180deg, #fbfbfd 0%, #f4f7fb 100%);
}

/* HEADER */

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.gallery-header h2 {
  font-size: 42px;
  color: #0b0a24;
  font-weight: 700;
  position: relative;
}
/* underline animation */

.gallery-header h2::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -12px;

  width: 70px;

  height: 4px;

  border-radius: 50px;

  background: #ff5e00;
}

/* view all button */

.view-all-btn {
  padding: 13px 28px;
  text-decoration: none;
  background: #ff5e00;

  color: #fff;

  border-radius: 50px;

  font-weight: 600;

  transition: 0.35s;

  box-shadow: 0 8px 18px rgba(255, 94, 0, 0.18);
}

.view-all-btn:hover {
  transform: translateY(-3px);

  background: #e75400;

  box-shadow: 0 12px 24px rgba(255, 94, 0, 0.28);
}

.view-all-btn:hover {
  background: #ff5e00;
  transform: translateY(-2px);
}

/* IMAGE GRID */

.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */

.gallery-card {
  position: relative;

  overflow: hidden;

  border-radius: 18px;

  background: #fff;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);

  transition: 0.35s;

  cursor: pointer;
}

/* IMAGE */

.gallery-card img {
  width: 100%;

  height: 300px;

  object-fit: cover;

  transition: 0.5s;
}

/* HOVER EFFECT */

.gallery-card:hover {
  transform: translateY(-8px);
}

.gallery-card:hover img {
  transform: scale(1.12);
}

/* overlay */

.gallery-card::after {
  transform: scale(1.08);
}

.gallery-card:hover::after {
  opacity: 1;
}

.gallery-card {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.6s ease;
}

.gallery-card.show {
  opacity: 1;
  transform: translateY(0);
}

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding: 50px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
}

/* grid inside modal */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* close button */

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
/* ================= TABLET RESPONSIVE ================= */

@media (max-width: 992px) {
  .gallery-section {
    padding: 80px 5%;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .gallery-header h2 {
    font-size: 34px;
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 600px) {
  .gallery-section {
    padding: 60px 20px;
  }

  /* HEADER */

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 35px;
  }

  .gallery-header h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .gallery-header h2::after {
    width: 50%;
    height: 3px;
  }

  /* BUTTON */

  .view-all-btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
  }

  /* CARD GRID */

  .gallery-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* CARD */

  .gallery-card {
    border-radius: 20px;
  }

  /* IMAGE */

  .gallery-card img {
    height: 240px;
  }

  /* MODAL */

  .gallery-modal {
    padding: 80px 20px 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-grid img {
    border-radius: 8px;
  }

  /* CLOSE BUTTON */

  .close {
    top: 15px;
    right: 20px;
    font-size: 34px;
  }
}

/* logo slider means clients*/
.clients-section {
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}

.clients-section h2 {
  font-size: 45px;
  margin-bottom: 50px;
  color: #0b0a24;
}
.clients-section p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #000000;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 50px 0;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.logo-track img {
  background: #fff;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 180px;
  height: 160px;
  object-fit: contain;
}

.logo-track img:hover {
  filter: grayscale(0%);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 94, 0, 0.6);
}

/* Left scroll */
.scroll-left {
  animation: scrollLeft 25s linear infinite;
}

/* Right scroll */
.scroll-right {
  animation: scrollRight 25s linear infinite;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* TIMELINE ANIMATION */

.timeline-item {
  opacity: 0;
  transition: all 0.8s ease;
}

/* start positions */

.timeline-item.left {
  transform: translateX(-80px);
}

.timeline-item.right {
  transform: translateX(80px);
}

/* visible state */

.timeline-item.show {
  opacity: 1;
  transform: translateX(0);
}

.timeline-content:hover {
  transform: translateY(-8px);
  transition: 0.3s;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* section responsive dynamic */ /* section responsive dynamic */ /* section responsive dynamic */
/* =============================== */
/*   SAFE GLOBAL AUTO LAYOUT       */
/* =============================== */

/* 1. PAGE FLOW SAFE (NO OVERLAP) */
section {
  display: block;
  height: auto;
  margin-bottom: 40px;
}

/* 2. BOX MODEL CONSISTENCY */
* {
  box-sizing: border-box;
}

/* 3. SAFE GRID ONLY FOR SIMPLE SECTIONS */
/* (EXCLUDING TIMELINE + CERTIFICATES) */
.cards,
.mvv-container,
.gallery-container,
.achievement-container,
.services .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* 4. FLEX SAFE FOR SIMPLE ROW SECTIONS */
.hero-container,
.achievement-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

/* 5. UNIVERSAL CARD FLEXIBILITY */
[class*="card"],
[class*="box"],
[class*="item"],
[class*="content"],
[class*="info"] {
  height: auto;
  min-height: fit-content;
  display: flex;
  flex-direction: column;
}

/* 6. TEXT SAFE */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
}

/* 7. MEDIA RESPONSIVE */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* 8. REMOVE FIXED WIDTH ISSUES */
[class*="box"],
[class*="card"] {
  width: auto !important;
}

/* 9. SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}

.news-bar {
  margin-top: 128px;
  background: #0b0a24;
  color: white;
  height: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.news-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scrollNews 25s linear infinite;
  will-change: transform;
  padding-left: 100%; /* KEY FIX */
}

@keyframes scrollNews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.news-track.pause {
  animation-play-state: paused;
}

.news-item {
  cursor: pointer;
  font-weight: 500;
}

/* POPUP */
.news-detail {
  display: none;
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px; /* increased width */
  max-width: 90%;
  height: 600px;
  max-height: 95vh; /* increased height */
  overflow-y: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  z-index: 9999;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}
.news-detail img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 10px;
}
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}
