* {
  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 section */
/* .hero {
    width: 100%;
    height: 502px;
    background-image: url(img/bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
} */
.hero {
    position: relative;
    width: 100%;
    height: 502px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: #000; */
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    /* line-height: 1.2;
    margin-bottom: 15px; */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    background-color: #d62828;
    color: #fff;
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background-color: #e44f52;
}
/* responsive design */
@media (max-width: 768px) {
    .hero {
        /* height: 80vh; */
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn {
        font-size: 1rem;
        padding: 10px 22px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
        width: 100%;
        background-position: center;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 5px;
    }

    .hero-btn {
        padding: 10px 22px;
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .hero {
        min-height: 90vh;
        background-position: center top;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }
}

/* about us section */
.about-section {
    width: 100%;
    padding: 60px 5%;
    background: #fff;
}

.about-container {
    max-width: 1200px;
    margin: auto;
}

.about-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-text p {
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

.about-btn {
    padding: 12px 30px;
    background: #e60000;
    color: white;
    border-radius: 6px;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    object-fit: cover;
}

.mv-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.mv-image {
    flex: 1;
}

.mv-image img {
    width: 100%;
    max-width: 450px;
    /* border-radius: 12px; */
    object-fit: cover;
}

.mv-text {
    flex: 1;
}

.fa-circle-question {
    width: 50px;
    height: 50px;
    background: #e60000;
    color: #ffefef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.fa-eye {
    width: 50px;
    height: 50px;
    background: #e60000;
    color: #ffefef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.mv-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.mv-text p {
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-top {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text p {
        text-align: justify;
    }

    .mv-block {
        flex-direction: column;
        text-align: center;
    }

    .mv-text {
        order: 2;
    }

    .mv-image {
        order: 1;
        display: flex;
        justify-content: center;
    }

    .fa-circle-question {
        margin-left: 150px;
    }

    .fa-eye {
        margin-left: 150px;
    }
}

/* Featured projects */
.featured-projects {
    padding: 50px 20px;
    background-image: url(img/rec.png);
    padding: 70px 5%;
}
.fp-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}
.fp-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    /* display: flex; */
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.fp-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}
.fp-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    color: black;
}
/* grid */
.fp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
/* card */
.fp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    transition: transform .3s ease;
    display: flex;
}
.fp-card:hover {
    transform: translateY(-5px);
}
.fp-card img {
    width: 393px;
    height: 320px;
    object-fit: cover;
    /* border-radius: 15px; */
}
.fp-info {
    padding: 15px;
    text-align: left;
    background: linear-gradient(to left, #ffbf00, #ff0000);
    line-height: 30px;
}
.fp-info p {
    margin: 6px 0;
    color: white;
}

.fp-btn {
    margin-top: 35px;
    background: #e60000;
    color: white;
    padding: 12px 26px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.fp-btn:hover {
    background: #cc2d3c;
}

@media (max-width: 768px) {
    .fp-card {
        flex-direction: column;
        display: block;
    }

    .fp-box {
        flex-direction: column;
        gap: 25px;
        padding: 20px 10px;
        align-items: center;
    }

    .fp-title {
        font-size: 24px;
        text-align: center;
    }

    .fp-subtitle {
        font-size: 14px;
        text-align: center;
        padding: 0 10px;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .fp-project {
        width: 100%;
        max-width: 330px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        margin: 0 auto;
    }

    .fp-img img {
        width: 100%;
        height: auto;
        display: block;
    }

    .fp-info {
        width: 100%;
        padding: 15px;
        font-size: 13px;
        line-height: 1.4;
        border-radius: 0;
    }

    .fp-info p {
        margin: 5px 0;
        font-size: 13px;
    }

    .fp-btn {
        padding: 12px 50px;
        font-size: 15px;
        border-radius: 7px;
    }

    .featured-projects {
        padding: 40px 15px;
        background-size: cover;
        background-position: center;
    }
}


/* ---- 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;
    }
}