
/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
}

/* ===== FIXED NAVBAR AT TOP - NEW CODE ===== */
.sub-header {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0px; /* MUST match .top-bar height */
  left: 0;
  width: 100%;
  padding: 16px 50px;
  background: #ffff;
  color: #000;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.45rem;
  font-weight: bold;
  color: #000000;
  gap: 0px;
}

.logo-img {
  height: 60px;
  width: auto;
  margin-right: 5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
}

.nav-links li {
  margin-left: 18px;
}

.nav-links a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.22s;
}

.nav-links a:hover,
.nav-links .active {
  color: #ff3535;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1200;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #817c7c;
  border-radius: 3px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
.sub-header-content {
  position: relative;
  z-index: 10;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  padding: 80px 20px;
  order: 2;
  margin-top: auto;
  margin-bottom: auto;
}

.sub-header-content h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}

.sub-header-content p {
  font-size: 1.4rem;
  color: #fff;
}

.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.sub-header-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}


/* Video Background for Header */
.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.sub-header-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Make sure header has position relative */
.sub-header {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Ensure text is visible over video */
.sub-header-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.sub-header-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.sub-header-content p {
  font-size: 1.2rem;
  color: #fff;
}





/* Partnership Introduction - Image Left, Content Right */
.partnership-intro {
  padding: 80px 20px;
  background: #fff;
}

.partnership-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto 0;
}

.partnership-image {
  width: 100%;
}

.partnership-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.partnership-text {
  text-align: left;
}

.partnership-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.partnership-text strong {
  color: #d32f2f;
  font-weight: 600;
}

/* About Section */
.infinity-about {
  padding: 80px 20px;
  background: #f8fafc;
  text-align: center;
}

.subtitle {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 50px;
}

.about-content {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.about-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  flex: 1 1 300px;
  max-width: 360px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-icon {
  width: 70px;
  height: 70px;
  background: #d32f2f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.about-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #222;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* Services Section */
.infinity-services {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 30px auto 0;
}

.service-card {
  background: #f8fafc;
  padding: 40px 30px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s;
  text-align: center;
}

.service-card:hover {
  border-color: #d32f2f;
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.2);
  transform: translateY(-8px);
}

.service-card i {
  font-size: 2.8rem;
  color: #d32f2f;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #222;
}

.service-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #666;
}

/* Why Choose Section */
.why-choose {
  padding: 80px 20px;
  background: #f8fafc;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.feature-item {
  background: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(211, 47, 47, 0.1);
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #d32f2f;
  position: relative;
  z-index: 1;
}

.feature-item p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #555;
  position: relative;
  z-index: 1;
}

/* CTA Section */
.infinity-cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  text-align: center;
  color: #fff;
  margin-bottom: 100px;
}

.infinity-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.infinity-cta p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-cta,
.btn-secondary-cta {
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.btn-primary-cta {
  background: #fff;
  color: #d32f2f;
}

.btn-primary-cta:hover {
  background: #f5f5f5;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary-cta {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary-cta:hover {
  background: #fff;
  color: #d32f2f;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background-color: #20b958;
    transform: scale(1.1);
}

.animate-from-right, .animate-from-left {
 opacity: 0;
 transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}

.animate-from-right {
 transform: translateX(60px);
}
.animate-from-left {
transform: translateX(-60px);
}

.in-view {
opacity: 1 !important;
transform: translateX(0) !important;
}
/* ===== FOOTER TOP SECTION ===== */
.footer-top {
  background: #ff0000;
  padding: 40px 0 70px;
  position: relative;
  color: #fff;
  overflow: visible;
}

.footer-top-content {
  width: 85%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-text {
  max-width: 400px;
}

.footer-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-text p {
  font-size: 0.95rem;
  color: #fff;
  opacity: 0.9;
}

.footer-call {
  background: #fff;
  color: #ff4b2b;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.footer-call i {
  font-size: 1.2rem;
}

/* Footer Top Image Overlay */
.footer-image {
  position: absolute;
  right: 40%;
  bottom: -5px;
  z-index: 4;
}

.footer-image img {
  width: 220px;
  max-width: 100%;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.footer-image img:hover {
  transform: scale(1.05);
}


/* ===== FOOTER MAIN ===== */
.footer-main {
  background: #ffff;
  color: #000000;
  padding: 60px 0;
}

/* Grid for 4 equal columns */
.footer-container {
  width: 85%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 30px;
  align-items: start;
}

/* Footer Logo Section */
.footer-logo-section img {
  width: 150px;
  margin-bottom: 15px;
}

.footer-logo-section p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-social a {
  color: #fff;
  margin-right: 12px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ff4b2b;
}

/* Footer Columns */
.footer-column h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  border-bottom: 2px solid #ff4b2b;
  display: inline-block;
  padding-bottom: 5px;
}
.footer-column img{
  height: 200px;   /* or your preferred size */
  width: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 10px;
}

.footer-column h4 {
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #f0c14b;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column li i {
  font-size: 0.8rem;
  color: #ff4b2b;
}

.footer-column a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #ff4b2b;
}

/* Footer Bottom */
.footer-bottom {
  background: #003a45;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}
.copyright {
  background-color: #000000;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  user-select: none;
  margin-top: 20px;
}

.copyright-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .footer-image {
    display: none;
  }}
@media (max-width: 767px) {
  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 98%;
    padding: 10px 0;
  }
}
@media (max-width: 767px) {
  .company-break {
    display: block;
  }
}
@media (min-width: 768px) {
  .company-break {
    display: inline;
  }
}
@media (max-width: 767px) {
  .navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #000;
    padding: 12px 10px;
    position: fixed;
    width: 100vw;
    z-index: 1101;
  }
  .logo {
    display: flex;
    align-items: center;
    font-size: 0.92rem;
    gap: 2px;
    max-width: 68vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: static;
    cursor: pointer;
    z-index: 1201;
  }
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 300px;
    height: 100vh;
    background: #000;
    box-shadow: -8px 0 30px rgba(0,0,0,0.17);
    padding: 60px 0 0 0;
    display: none;
    z-index: 1200;
    align-items: flex-start;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    margin-bottom: 32px;
    padding-left: 32px;
  }
  .nav-links li:last-child {
    margin-bottom: 0;
  }
  .nav-links a {
    color: #fff;
    font-size: 1.4rem;
    border-radius: 12px;
    display: block;
    padding: 18px 0 8px 0;
    background: transparent;
    transition: background 0.18s;
    text-align: left;
    width: 100%;
  }
  .nav-links a:hover,
  .nav-links li.active a {
    background: #ff0000;
    color: #fff;
  }
}
/* Responsive Navbar for Mobile */
@media (max-width: 767px) {
  .navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    background: #ffff;
    padding: 12px 10px;
    z-index: 1101;
  }
  .logo { max-width: 68vw; }
  .hamburger { display: flex; z-index: 1201; }
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 300px;
    height: 100vh;
    background: #000;
    box-shadow: -8px 0 30px rgba(0,0,0,0.17);
    padding: 60px 0 0 0;
    display: none;
    z-index: 1200; /* Ensure above navbar */
    align-items: flex-start;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    color: #fff;
    font-size: 1.4rem;
    padding: 18px 0 8px 32px;
    display: block;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .partnership-intro {
    padding: 36px 8px; /* reduce padding for mobile */
  }
  .partnership-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 98vw;
    margin: 15px auto 0;
    align-items: center;
  }
  .partnership-image,
  .partnership-text {
    width: 100%;
    max-width: 450px; /* optional, for a readable text block */
  }
  .partnership-image img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: cover;
  }
  .partnership-text {
    text-align: left;
    font-size: 1rem;
    padding: 0 4px;
  }
  .section-title {
    font-size: 1.3rem;
  }
}

