* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Century Gothic";
}
/* Navigation bar */
.navbar {
    width: 100%;
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo p {
    font-weight: bold;
}
.logo img {
    height: 45px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 4px;
}

.desktop-nav a.active {
    border-bottom: 3px solid #d62828;
}

.contact-btn {
    background: #d62828;
    padding: 10px 22px;
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #b71f1f;
}

.contact-btn-mobile {
    display: none;
}

.fa-bars {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* dropdown */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.dropdown-tab {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}
.arrow {
    margin-left: 5px;
    cursor: pointer;
    font-size: 17px;
}

.submenu {
    position: absolute;
    top: 40px;
    left: 10px;
    background-color: white;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: none;
    list-style: none;
    min-width: 180px;
    z-index: 200;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    color: black;
    text-decoration: none;
    font-size: 14px;
}

.submenu li a:hover {
    background-color: #f2f2f2;
}


@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .arrow {
        cursor: pointer;
        margin-left: 5px;
    }
}

/* mobile nav */
@media (max-width: 768px) {
    .contact-btn {
        display: none;
    }

    .fa-bars {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        display: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .contact-btn-mobile {
        display: block;
        background: #d62828;
        padding: 10px 22px;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-weight: 600;
    }

    .nav-links.show {
        display: flex;
    }
}
/* responsiveness mobile*/
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .fa-bars {
        display: block;
        font-size: 34px;
        cursor: pointer;
        font-weight: bold;
    }
}

@media (max-width: 768px) {

  /* Show submenu ALWAYS inside the mobile menu */
  .dropdown-menu {
    display: block;
    position: static;  
    margin-left: -40px;
    margin-bottom: -50px;
    margin-top: 20px;
  }

  /* Make submenu look smaller */
  .dropdown-menu .sub a {
    font-size: 13px;
    font-weight: normal;
    opacity: 0.85;
    display: block;
    padding: 6px 0;
  }
}


.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 15px rgba(0,0,0,0.2);
    transition: 0.4s;
    padding: 20px;
    z-index: 2000;
}

.mobile-menu.open {
    right: 0;
}

.fa-xmark {
    font-size: 30px;
    text-align: right;
    cursor: pointer;
    margin-bottom: 30px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav a {
    font-size: 18px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.mobile-nav a.active {
    color: #d62828;
    border-left: 4px solid #d62828;
    padding-left: 10px;
}

/* hero */
.services-hero {
    position: relative;
    height: 45vh;
    width: 100%;
  background-image: url("img/services-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}
.services-hero-content {
  position: relative;
  text-align: center;
  padding: 0 20px;
}

.services-hero-content h1 {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
}

/* TABLET */
@media (max-width: 1024px) {
  .services-hero {
    height: 60vh;
  }

  .services-hero-content h1 {
    font-size: 2.4rem;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .services-hero {
    height: 55vh;
    background-position: center center; /* VERY IMPORTANT */
  }

  .services-hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .services-hero {
    height: 50vh;
  }

  .services-hero-content h1 {
    font-size: 1.7rem;
  }
}

/* OUR SERVICES SECTION */
.our-services {
  padding: 80px 6%;
  background: #ffffff;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.services-header p {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.service-card {
  background: #fff;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 18px 0 14px;
}

.service-card ul {
  padding-left: 18px;
}

.service-card ul li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #000;
  margin-bottom: 6px;
}

/* ICON */
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon.red {
  background: #ff0000;
}

.service-icon.yellow {
  background: #ffc107;
}

.service-icon img {
  width: 22px;
  height: 22px;
}

/* TABLET */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .our-services {
    padding: 60px 5%;
  }

  .services-header h2 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px;
  }
}


/* featured projects */
.featured-projects {
  background: #fff;
  padding: 80px 6%;
}

.container {
    text-align: center;
}
.featured-projects h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  background: #fff;
  display: inline-block;
  padding: 8px 24px;
  border-radius: 6px;
  margin: 0 auto;
}
.featured-projects p {
    margin-bottom: 20px;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* IMAGE CARD */
.project-image {
  border-radius: 10px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* INFO CARD */
.project-info {
  /* background: linear-gradient(180deg, #ff5f00, #ff8c00); */
  background: linear-gradient(88.89deg, #FF0000 0.98%, #FFBF00 132.08%);
  color: #fff;
  padding: 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.project-info p {
  margin-bottom: 6px;
}

.project-info strong {
  font-weight: 700;
}

/* TABLET */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .featured-projects {
    padding: 60px 5%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image,
  .project-info {
    width: 100%;
  }

  .project-info {
    font-size: 0.9rem;
  }
}


/* ---- Clients Section ----*/
.clients-section {
    width: 100%;
    padding: 60px 5%;
    background: #fafafa;
    box-sizing: border-box;
}
.clients-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.clients-title {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}
/* stats grid */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    /* max-width: 1000px; */
    margin-top: 10px;
}
.stat {
    background: white;
    border-radius: 8px;
    padding: 18px 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-icon {
    font-size: 28px;
    margin-bottom: 8px;
}
.flexer {
    display: flex;
    justify-content: center;
    gap: 3px;
    align-items: center;
    color: #b71f1f;
}
.stat h3 {
    font-size: 26px;
    color: #d62828;
}
.stat-label {
    font-size: 13px;
    margin-top: 6px;
    color: #444;
}
/* logo carousel viewport */
.logo-row {
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
}
.logo-track {
    display: flex;
    gap: 40px;
    width: max-content;
}
.logo-track img {
    width: 120px;
    height: 60px;
    object-fit: contain;
}
/* animations */
.move-left {
    animation: moveLeft 30s linear infinite;
}
.move-right {
    animation: moveRight 30s linear infinite;
}

@keyframes moveLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes moveRight {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}


/* mobile */

@media (max-width: 768px) {
    .logo-track img {
        width: 90px;
        height: 50px;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .logo-track img { width: 94px; height: 52px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 12px;  }
    .stat-number { font-size: 22px;}
}

@media (max-width: 480px) {
    .clients-section { padding: 30px 4%; }
    .clients-title { font-size: 20px; }
    .logo-track img { width: 86px; height: 46px; }
    .stats { grid-template-columns: 1fr; }
    .stat { flex-direction: row; gap: 12px; align-items: center; padding: 12px; }
    .stat-icon { font-size: 22px; }
    .stat-number { font-size: 20px; }
    .stat-label { text-align: left; }
}

/* CERTIFICATION SECTION */
.certifications {
  background: #fff;
  padding: 60px 5%;
}

.certifications-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px; /* space between logos */
  flex-wrap: wrap;
}

.client-title {
    font-size: 28px;
    margin-top: -40px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Logo wrapper */
.cert-logo {
  /* display: flex; */
  justify-content: center;
  align-items: center;
}

/* Logo image */
.cert-logo img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}

.cert-logo p {
  text-align: center;
}

/* MOBILE */
@media (max-width: 600px) {
  .certifications-container {
    gap: 40px;
  }

  .cert-logo img {
    max-height: 90px;
    /* align-items: center; */
  }

  .cert-logo p {
    /* margin-left: 10px; */
    text-align: center;
  }
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 5% 30px;
}
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.footer-logo img {
    width: 50px;
}
.footer-logo h3 {
    font-size: 16px;
    line-height: 1.3;
}
.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 20px;
}
.footer-socials {
    display: flex;
    gap: 15px;
}
.footer-socials a {
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}
.footer-socials a:hover {
    color: #e60000;
}
.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
}
.footer-col ul li a:hover {
    opacity: 1;
    color: #e60000;
}
.footer-col p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.85;
}
.footer-col i {
    margin-right: 8px;
    color: #e60000;
}
.footer-bottom {
    margin-top: 40px;
    text-align: center;
}
.footer-bottom hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 15px;
}
.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .footer-logo {
        justify-content: flex-start;
    }
    .footer-socials {
        margin-bottom: 20px;
    }
    .footer-col h4 {
        margin-top: 20px;
    }
}