html {
  scroll-behavior: smooth;
}

section, div {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* General Layout */
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #ffffff; 
}

/* --- NEW: TEXT REVEAL CODES --- */
.reveal-text {
  opacity: 0;
  transform: translateY(30px); /* Starts 30px lower */
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal-text.visible {
  opacity: 1;
  transform: translateY(0); /* Moves to original spot */
}

/* Delay paragraph slightly so heading moves first */
p.reveal-text {
  transition-delay: 0.2s;
}
/* ----------------------------- */

/* 1. Sticky Navigation Bar */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  padding-left: 20px;
}

.nav-logo {
  height: 60px;
  display: block;
}

/* 2. Header Banner */
.header-banner {
  margin-top: 80px; 
  background-image: url('cover.png');
  background-size: cover;
  background-position: center;
  height: 650px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 50px;
}

.header-banner h3 {
  font-size: 2rem;
  margin: 0;
  letter-spacing: 3px;
  font-weight: 100; 
  text-transform: capitalize;
}

.header-banner {
  position: relative;
  width: 95vw;
  height: 90vh;
  max-height: 700px;
  overflow: hidden;
  background: none; /* IMPORTANT */
}

.cover-video {
  position: absolute;
  object-position: left bottom;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  max-width: 100%;
  max-height: 100%;
  display: block;
  left: 50%;
  transform: translateX(-50%);
}

.header-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
}



/* Our Story Section */
.products-intro {
  text-align: center;
  padding: 50px 60px 50px;
  background-color: #ffffff;
  color: #444;
}

.products-intro h3 {
  font-size: 3rem;
  font-weight: 100;
  margin-bottom: 30px;
}

.products-intro p {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
}

.products-heading {
  text-align: center;
  padding: 40px 60px 20px;
  background-color: #ffffff;
}

.products-heading h3 {
  font-size: 3rem;
  font-weight: 100;
  color: #444;
  margin: 0;
}

/* 3. Grid & Hover Effects */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 80px;
}

.brand-item {
  text-decoration: none;
}

.image-box {
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.brand-item:hover img {
  transform: scale(1.08);
}

.brand-text {
  padding-top: 18px;
  color: #444;
}

.brand-text h4 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
}

.brand-text p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
}

.brand-text span {
  font-weight: 600;
  font-size: 14px;
}

/* 4. MODIFIED FOOTER SECTION */
.contact-section {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 12%,
    #eef3f8 28%,
    #1b4d73 61%,
    #0f3558 73%,
    #081f33 100%
  );
  padding: 1px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  position: relative;
}

.footer-image {
  flex: 1;
  max-width: 30%;
  margin-left: -15px;
}

.footer-image img {
  width: 95%;
  height: auto;
  border-radius: 6px;
}

.contact-container {
  flex: 1;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: auto;
  margin-right: -50px;
}

.contact-text {
  color: #ffffff;
  font-size: 23px;
  font-weight: 400;
  margin-top: 6px;
  margin-bottom: 10px;
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.contact-text:hover::after { 
  width: 100%; 
}

.contact-text .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.contact-text:hover .arrow {
  transform: translateX(6px);
}


.info-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  margin-top: 5px;
  font-weight: 500;
}

.info-wrapper p {
  line-height: 1.5;
  font-size: 0.9rem;
  margin-top: 10px;
  margin-bottom: 50px;
  opacity: 0.9;
  margin: 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.contact-details span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.contact-details i {
  font-size: 0.9rem;
  color: #ffffff;
  opacity: 0.8;
}

.footer-copy {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.77rem;
  font-weight: 300;
  opacity: 0.7;
  white-space: nowrap;
}

/* 5. FINAL MOBILE REPAIR */
@media (max-width: 900px) {

    /* Prevent horizontal scroll globally */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Navbar adjustment */
    .sticky-nav {
        height: 70px;
        width: 100%;
    }

    .nav-logo {
        height: 45px;
    }

    /* Video Header Fix */
    .header-banner {
        width: 100%;
        height: 50vh;
        margin-top: 70px;
        padding: 0 15px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-banner h3 {
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
    }

    /* Grid Fix */
    .countries-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        gap: 30px;
    }

    /* FOOTER ALIGNMENT FIX */
    .contact-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px 20px;
        width: 100%;
        box-sizing: border-box;
        gap: 40px;
        background: linear-gradient(
            180deg,
            #ffffff 15%,
            #eef3f8 28%,
            #1b4d73 61%,
            #0f3558 73%
        );
    }

    .footer-image {
        max-width: 60%;
        margin: 0 auto;
    }

    .contact-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
    }

    .contact-text {
        font-size: 22px;
        margin: 0 auto;
        text-align: center;
    }

    .info-wrapper {
        text-align: center;
        width: 100%;
    }

    .info-wrapper h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .address {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .contact-details {
        align-items: center;
        margin-top: 20px;
    }

    /* ===== COPYRIGHT — GUARANTEED CENTER FIX ===== */
    .footer-copy {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-left: 340px;
        padding: 0px 54px !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        white-space: normal !important;
        line-height: 1.5 !important;
        font-size: 0.75rem;
        box-sizing: border-box;
    }
    

}