/* =========================================
   GLOBAL STYLES
========================================= */
body {
    -webkit-user-select: none; /* Chrome, Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;         /* Standard */
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  color: #fff;
  background-color: #0a0f24;
  margin: 0;
}

header {
  position: relative;
  z-index: 10;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
}

/* =========================================
   NAVBAR
========================================= */
.bg-white {
  background-color: #fff !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
  padding: 1.2rem 0;
}

.navbar-brand img {
  height: 65px;
  width: auto;
  transition: height 0.3s ease;
}

.company-name {
  font-size: 12px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.navbar-light .navbar-nav .nav-link {
  color: #000;
  font-weight: 500;
  margin: 0 12px;
  transition: color 0.3s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #0d6efd;
  border-bottom: 2px solid #0d6efd;
}

/* Tablet Navbar */
@media (max-width: 992px) {
  .navbar-brand img {
    height: 60px;
  }
}

/* =========================================
   CUSTOM MOBILE MENU STYLING (Iwebco)
========================================= */
.custom-toggler {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 28px;
  width: 36px;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.toggler-bar {
  height: 3px;
  width: 100%;
  background-color: #004080; /* Iwebco Blue */
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Change to X when active */

/* Change color of the “X” lines when active */
.custom-toggler.active .toggler-bar {
  background-color: #0d6efd; 
}

.custom-toggler.active .toggler-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.custom-toggler.active .toggler-bar:nth-child(2) {
  opacity: 0;
}
.custom-toggler.active .toggler-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay Styling */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 0;
  width: 100%;
  background: linear-gradient(135deg, #001f3f, #004080);
  overflow: hidden;
  transition: height 0.4s ease;
  z-index: 1000;
}

.nav-overlay.active {
  height: 100vh;
}

.overlay-menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.overlay-link {
  display: block;
  font-size: 1.5rem;
  color: white;
  padding: 15px 0 5px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.overlay-link.active {
  border-bottom: 2px solid #0d6efd;
  color: #0d6efd;
}

.overlay-link:hover {
  /* border-bottom: 2px solid #0d6efd; */
  color: #0d6efd;
}

/* Hide Bootstrap collapse on mobile */
@media (max-width: 991px) {
  .navbar-collapse {
    display: none !important;
  }
}

/* =========================================
   GRADIENT ANIMATION
========================================= */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  padding: 60px 0 10px !important;
  background: linear-gradient(270deg, #001f3f, #004080, #001f3f);
  background-size: 600% 600%;
  animation: gradientShift 20s ease infinite;
}

.hero-section .row {
  align-items: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #eaeaea;
}

.hero-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  max-width: 90%;
  height: auto;
  border-radius: 10px;
}

.slide-wrapper {
  overflow: hidden;
}

.slide-open {
  transform: translateX(100%);
  opacity: 0;
  animation: slideOpen 2s ease-out 0.3s forwards;
}

@keyframes slideOpen {
  0% { transform: translateX(100%); opacity: 0; }
  60% { transform: translateX(-10%); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

/* =========================================
   TEAM SECTION
========================================= */
.team-section {
  margin-top: 0 !important;
  padding: 10px 0 50px !important;
  background: linear-gradient(270deg, #001f3f, #004080, #001f3f);
  background-size: 600% 600%;
  animation: gradientShift 20s ease infinite;
}

.team-section h2 {
  color: #fff;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.team-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 64, 128, 0.3);
}

.team-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
}

.team-info {
  flex-grow: 1;
  padding: 20px;
  text-align: center;
}

.team-info h5 {
  font-weight: 600;
  color: #001f3f;
}

.team-info p {
  font-size: 0.95rem;
  color: #666;
}

/* =========================================
   SERVICES SECTION (GRID LAYOUT)
========================================= */
.services-section {
  padding: 0px 0 50px;
  background: linear-gradient(270deg, #001f3f, #004080, #001f3f);
  background-size: 600% 600%;
  animation: gradientShift 20s ease infinite;
}

.section-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.service-card {
  background-color: #fff;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  color: #000;
  text-align: center;
  padding: 40px 25px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 64, 128, 0.3);
}

.service-icon {
  font-size: 2.5rem;
  /* color: #004080; */
  color:#0d6efd;
  /* transition: color 0.3s ease; */
}

/* .service-card:hover .service-icon {
  color: #0d6efd;
} */

.service-card img{
  width: 45px;
  height: auto;
}

.service-card h5 {
  font-weight: 600;
  color: #001f3f;
  margin-top: 15px;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-top: 10px;
  text-align: left;
}

/* =========================================
   CONTACT SECTION
========================================= */
.contact-section {
  padding: 10px 0 0;
  background: linear-gradient(270deg, #001f3f, #004080, #001f3f);
  background-size: 600% 600%;
  animation: gradientShift 20s ease infinite;
}

.contact-card,
.contact-form {
  background-color: #fff;
  color: #000;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 64, 128, 0.2);
}

.form-control {
  border: 1px solid #ccc;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.form-control:hover {
  background-color: #f0f8ff;
  border-color: #004080;
}

.form-control:focus {
  background-color: #e6f2ff;
  border-color: #003366;
  box-shadow: 0 0 5px rgba(0, 64, 128, 0.3);
  outline: none;
}

/* =========================================
   BUTTONS
========================================= */
.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #003366;
  border-color: #002b66;
}

/* =========================================
   FOOTER
========================================= */
footer {
  background-color: rgba(0, 0, 51, 0.3);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.social-link {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #00aaff;
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(0, 170, 255, 0.6);
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
========================================= */
/* Hide custom mobile button on large screens */
@media (min-width: 992px) {
  .custom-toggler {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 60px 20px;
    min-height: auto;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 0.95rem;
    text-align: left;   
  }

  .hero-image {
    max-width: 80%;
  }

  .team-section,
  .services-section {
    padding: 40px 0;
  }

  .team-card img,
  .service-card img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    padding: 40px 15px;
    height: auto;
  }

  .hero-text {
    text-align: center;
    margin-bottom: 20px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.9rem;
    text-align: left;
  }

  .hero-image {
    width: 90%;
    max-width: 350px;
  }

  .team-section h2,
  .section-title {
    font-size: 1.6rem;
  }

  .team-card,
  .service-card {
    margin-bottom: 20px;
  }

  .team-card img {
    height: 160px;
  }

  .team-info {
    padding: 15px;
  }

  footer {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 0.85rem;
    text-align: left;
  }

  .team-card img {
    height: 140px;
  }

  .team-section,
  .services-section {
    padding: 30px 0;
  }

  .social-link {
    font-size: 20px;
  }
}
