* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,  'Open Sans';
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
}

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

/* ========================= */
/* NAVBAR STYLES */
/* ========================= */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

/* Logo Styles */
.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo img {
    margin-top: 10px;
    height: 30px;
    width: auto;
    transition: 0.3s ease-in-out;
}

.nav-logo img:hover {
    transform: scale(1.1);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-item {
    position: relative;
}

#home {
    background: none;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #349dd1 0%, #2e21bd 100%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #4280d1;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* ========================= */
.home-header {
  position: relative;
  height: 100vh;
  margin-top: 70px; /* keep if navbar fixed, remove if not */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Proper Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark Overlay Layer */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Content on top */
.header-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
}

.header-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.header-content p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Button Style */
 .btn-view-projects {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  border-radius: 3px;
  font-family: 'Segoe UI' ;;
}

.btn-view-projects:hover {
  background: white;
  color: #333;
  transform: translateY(-2px);
}

/* Animations */
 .fade-in {
  animation: fadeIn 1s ease-in;
}

.fade-in-delay {
  animation: fadeIn 1s ease-in 0.3s both;
}

.fade-in-delay-2 {
  animation: fadeIn 1s ease-in 0.6s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  } 
} 
/* Tablet */
@media (max-width: 1024px) {
  .header-content {
    padding: 1.5rem;
  }

  .header-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .header-content p {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
  }

  .btn-view-projects {
    padding: 10px 25px;
    font-size: 12px;
  }
}

/* Tablet refined layout (761px–1024px) */
@media (min-width: 761px) and (max-width: 1024px) {
  /* Hero header */
  .home-header {
    height: 80vh;
  }

  .header-content {
    padding: 1.75rem;
    max-width: 1100px;
  }

  .header-content h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }

  .header-content p {
    font-size: clamp(1rem, 1.9vw, 1.25rem);
    margin-bottom: 1.5rem;
  }

  .btn-view-projects {
    padding: 10px 26px;
    font-size: 12px;
  }

  /* Home section */
  .home-section {
    padding: 44px 5% 0 5%;
    padding-bottom: 0 !important;
  }

  .home-container {
    gap: 12px;
    /* show text first, then logo/video on tablet (1024) */
    flex-direction: column;
    align-items: center;
  }

  .home-text { text-align: center; max-width: 680px; width: 100%; margin-left: auto; margin-right: auto; }
  .home-text h1 { font-size: 2rem; line-height: 1.3; text-align: center; margin: 0 auto 8px; width: auto; max-width: none; white-space: nowrap; overflow: visible; display: block; }
  /* Force center alignment for heading in case base rules override */
  .home-section .home-text h1 { text-align: center !important; }
  .home-text h1 span { display: inline-block; text-align: center; }

  .home-text p { font-size: 1rem; line-height: 1.7; text-align: justify; text-justify: inter-word; margin-left: auto; margin-right: auto; max-width: 680px; }
  .home-text p + p { margin-top: 6px; }
  .home-text p:last-child { margin-bottom: 0; }
  .home-section .button { margin-bottom: 0; }

  .button { margin: 4px auto 0; }

  .home-image { width: 100%; display: flex; justify-content: center; order: -1; }
  .home-text { order: 0; }
  /* Force smaller video on tablet; override base .hero-logo-video later in file */
  .home-section .home-image .hero-logo-video { width: 200px !important; max-width: 200px !important; height: auto; margin-bottom: 6px; }

  /* About section visuals within home */
  .illustration-image {
    max-width: 480px;
  }

  .content-wrapper { gap: 40px; flex-direction: column; align-items: center; }
  .content-side { padding: 0.5rem 0; }
  .section-heading { font-size: 1.9rem; }
  .section-description { font-size: 1.02rem; max-width: 720px; margin-left: auto; margin-right: auto; text-align: justify; text-justify: inter-word; }
  .about-section .button { margin-left: auto; margin-right: auto; }

  /* Tighten spacing at start of About */
  .about-section { padding-top: 8px; }

  /* Center About content block on tablet */
  .about-section .content-side { 
    margin-left: auto; 
    margin-right: auto; 
    text-align: center; 
    max-width: 720px; 
  }
  /* Keep list readable while the block is centered */
  .about-section .features-list { 
    display: inline-block; 
    text-align: left !important; 
    margin-left: 0; 
  }
  .about-section .button { margin-top: 4px; }

  /* Services heading spacing */
  .services-header h2 {
    font-size: 2.1rem;
  }

  .services-header .subhead {
    font-size: 1.02rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
  }

  .service-card { padding: 32px 24px; }

  /* Why choose us */
  .why-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 24px; }
  .why-card { padding: 32px 24px; }
  .why-title { font-size: 2.2rem; }
  .why-subtitle { font-size: 1.02rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .header-content {
    padding: 1rem;
  }

  .header-content h1 {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }

  .header-content p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .btn-view-projects {
    padding: 8px 20px;
    font-size: 11px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .header-content h1 {
    font-size: clamp(1.2rem, 8vw, 2rem);
  }

  .header-content p {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
  }

  .btn-view-projects {
    padding: 6px 16px;
    font-size: 10px;
  }
}
/* ========================= */
/* Home Section Styling */
/* ========================= */
.home-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 10% 40px 10%;
  background: #ffffff;
  overflow: hidden;
  color: black;
}

/* ========================= */
/* Container Layout */
/* ========================= */
.home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ========================= */
/* Text Section */
/* ========================= */
.home-text {
  flex: 1 1 500px;
  z-index: 3;
}

.home-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: black;
  line-height: 1.3;
  text-align: justify;
}

.home-text span {
  color: #0462a5;
}

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

/* ========================= */
/* Button Styling */
/* ========================= */
.button {
  height: 50px;
  width: 150px;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  border: 2px solid #0462a5; 
  overflow: hidden;
  border-radius: 30px;
  color: #0462a5;
  transition: all 0.5s ease-in-out;
      font-family: 'Segoe UI' ;
}

.btn-txt {
  position: relative;
  z-index: 1;
  font-weight: 800;
  letter-spacing: 4px;
}

.type1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.8s ease-in-out;
  background: linear-gradient(90deg, #01e6f3, #014da3, #0095ff); 
  border-radius: 30px;
  visibility: hidden;
  height: 10px;
  width: 10px;
  z-index: 0;
}

.button:hover {
  /* box-shadow: 1px 1px 200px #252525; */
  border: none;
}

.button:hover .btn-txt {
  color: white;
}

.type1:hover::after {
  visibility: visible;
  transform: scale(100) translateX(2px);
}

/* ========================= */
/* Video Section */
/* ========================= */
.home-logo-video {
  flex: 1 1 400px;
  text-align: center;
  z-index: 3;
  overflow: hidden;
  border-radius: 20px; /* optional rounded corners */
}

.hero-logo-video {
  width: 100%;
  max-width: 350px;
  height: auto;
  animation: float 4s ease-in-out infinite;
  /* filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3)); */
  /* border-radius: 20px; */
  object-fit: cover; /* ensures video fills container nicely */
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========================= */
/* Scroll Animation (Optional) */
/* ========================= */
.home-section.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.home-section.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}


/* Main Section */
      .about-section {
        display: flex;
        align-items: center;
        padding: 60px 10% 80px 10%;
        background: #ffffff;
      }

      .container {
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
      }

      .page-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 4rem;
      }

      .content-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
        flex-wrap: wrap;
      }

      /* Illustration Side */
      .illustration-side {
        flex: 1 1 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
      }

      .illustration-image {
        width: 100%;
        max-width: 550px;
        height: auto;
        display: block;
        object-fit: contain;
      }

      /* Content Side */
      .content-side {
        flex: 1 1 500px;
        padding: 1rem 0;
      }

      .section-heading {
        font-size: 2rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 1.5rem;
      }

      .section-description {
        font-size: 1rem;
        color: #7f8c8d;
        line-height: 1.8;
        margin-bottom: 2rem;
      }

      .features-list {
        list-style: none;
        margin-bottom: 2.5rem;
      }

      .feature-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        font-size: 0.95rem;
        color: #555;
      }

      .checkmark {
        width: 20px;
        height: 20px;
        background: #27ae60;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 0.75rem;
        flex-shrink: 0;
      }

/* .about-btn {
    display: inline-block;
    padding: 12px 28px;
   background: linear-gradient(45deg, #86b3f5, #0462a5);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: linear-gradient(90deg, #00e5ff, #0b6cd3);
    transform: translateY(-3px);
} */

/* ========================= */
/* WHY CHOOSE US SECTION */
/* ========================= */
.why-choose-section {
  padding: 80px 10%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.why-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.why-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

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

.why-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0462a5 0%, #31b4f6 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.why-card:hover::before {
  transform: scaleX(1);
}

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

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, #0462a5 0%, #31b4f6 100%);
  transform: scale(1.1) rotate(5deg);
}

.why-icon svg {
  width: 40px;
  height: 40px;
  stroke: #0462a5;
  transition: stroke 0.3s ease;
}

.why-card:hover .why-icon svg {
  stroke: white;
}

.why-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 0.95rem;
  color: #7f8c8d;
  line-height: 1.7;
}

/* ================= Responsive ================= */
@media (max-width: 991px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .illustration-image {
        max-width: 400px;
    }

    .about-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-image img {
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .about-us {
        padding: 80px 5%;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

.services-section {
    padding: 80px 20px;
    background-color: #fff;
}

.services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.services-header h2 {
    font-size: 2.8rem;
    color: #0462a5;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-header .subhead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;

    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #31b4f6 30%, #0462a5 70%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #005fdc 30%, #0462a5 70%);
    transform: scale(1.1);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: #0462a5;
    transition: stroke 0.3s ease;
}

.service-card:hover .service-icon svg {
    stroke: #fff;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
     text-align: center;
   color: #0462a5;
  
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
    text-align: center;
}

/* Force service card paragraphs to be fully justified */
.service-card p {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    line-height: 1.6; /* keep your preferred spacing */
}

/* On very small screens prefer inter-word and allow better wrapping */
@media (max-width: 480px) {
    .service-card p {
        text-align: justify !important;
        text-justify: inter-word;
        hyphens: auto;
    }
}

/* ========================= */
/* BLOG SECTION */
/* ========================= */
.blog-section header {
    background: #222;
    color: #fff;
    padding: 1rem 2rem;
    text-align: center;
}

.search-container {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

#searchInput {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.blog-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.blog-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.blog-card small {
    display: block;
    margin-bottom: 15px;
    color: #666;
}

.blog-card p {
    margin-bottom: 15px;
}

.blog-card button {
    background: #222;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.blog-card button:hover {
    background: #555;
}


/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

@media screen and (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 24px 0;
        gap: 0;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 12px 0;
        padding: 0 24px;
    }

    .nav-link {
        font-size: 17px;
        display: block;
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
/* 
    /* Mobile Dropdown Styles */
    /* .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-arrow {
        display: inline-block;
    } */ */

    /* .has-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-item {
        padding: 10px 20px;
        font-size: 14px;
        color: #333;
    }

    .dropdown-item:hover {
        background: linear-gradient(90deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
        color: #4facfe;
        padding-left: 25px;
    }

    .dropdown-item::before {
        content: '→';
        position: absolute;
        left: 10px;
        opacity: 0;
        transition: opacity 0.3s ease;
        color: #4facfe;
    } */

    .dropdown-item:hover::before {
        opacity: 1;
    }
/* 
    .hero-header {
        height: 70vh;
        min-height: 500px;
    } */

    .header-content {
        padding: 1.5rem;
    }

    .header-content h1 {
        margin-bottom: 0.75rem;
    }

    .content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-image img {
        max-width: 420px;
    }

    .home-section {
        padding: 80px 5%;
        text-align: center;
    }

    .home-container {
        flex-direction: column;
    }

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

    .home-image img {
        width: 80%;
    }

    .blog-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .about-text h2,
    .services-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

}

/* Enforce consistent navbar logo on tablets / iPad sizes */
@media (min-width: 760px) and (max-width: 1024px),
       (max-width: 768px) {
  .nav-container {
    padding: 0 20px !important;
    height: 75px !important;
    align-items: center !important;
  }

  .nav-logo,
  .nav-logo a { display: flex; align-items: center; }

  .nav-logo img {
    height: 30px !important;
    width: auto !important;
    margin-top: 10px !important;
    display: block !important;
    transform: none !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}

/* Tablet navbar logo alignment (760px–1024px) to match products */
@media (min-width: 760px) and (max-width: 1024px) {
  .nav-container { padding: 0 40px; height: 75px; align-items: center; }
  .nav-logo { display: flex; align-items: center; }
  .nav-logo a { display: flex; align-items: center; }
  .nav-logo img { display: block; height: 30px; width: auto; margin-top: 10px !important; }
  .nav-menu { margin-left: auto; align-items: center; }
}

/* Mid-range tablets/large phones (500px–760px) navbar logo alignment */
@media (min-width: 500px) and (max-width: 760px) {
  .nav-container { padding: 0 20px; height: 70px; align-items: center; }
  .nav-logo a { display: flex; align-items: center; }
  .nav-logo img { display: block; height: 28px; width: auto; margin-top: 10px; }
  .nav-menu { margin-left: auto; align-items: center; }
}

/* Exact 600px tablet width tweak */
@media (width: 600px) {
  .nav-container { padding: 0 20px; height: 70px; align-items: center; }
  .nav-logo a { display: flex; align-items: center; }
  .nav-logo img { display: block; height: 28px; width: auto; margin-top: 10px; }
  .nav-menu { margin-left: auto; align-items: center; }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .hero-header {
        height: 55vh;
        min-height: 400px;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    /* Logo video for tablets */
    .home-logo-video {
        max-width: 250px;
    }

    .hero-logo-video {
        max-width: 250px;
    }
}

@media screen and (max-width: 480px) {
    /* Navbar */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    .nav-container {
        padding: 0 16px;
        height: 65px;
    }

    .nav-logo img {
        height: 26px;
        margin-top: 10px;
    }

    /* Hero Header */
    .home-header {
        height: 80vh;
        min-height: 380px;
        max-height: none;
        margin-top: 65px;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .hero-video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 80vh;
        object-fit: cover;
    }

    .header-content {
        padding: 20px 16px;
        width: 100%;
    }

    .header-content h1 {
        margin-bottom: 12px;
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .header-content p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .btn-view-projects {
        padding: 10px 20px;
        font-size: 12px;
        min-height: 44px;
    }

    /* Home Section */
    .home-section {
        padding: 48px 20px 40px;
    }

    .home-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 32px;
    }

    .home-text {
        flex: 1 1 100%;
    }

    .home-text h1 {
        font-size: 1.75rem;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .home-text p {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .home-logo-video {
        flex: 1 1 100%;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        height: 75vh;
    }

    .hero-logo-video {
        width: 100%;
        max-width: 200px;
        height: auto;
    }

    .button {
        height: 48px;
        width: 160px;
        margin: 8px auto 0;
    }

    /* About Section */
    .about-section {
        padding: 48px 20px;
    }

    .page-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        line-height: 1.3;
    }

    .content-wrapper {
        gap: 32px;
    }

    .illustration-side {
        flex: 1 1 100%;
    }

    .illustration-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .content-side {
        flex: 1 1 100%;
        padding: 0;
    }

    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .features-list {
        margin-bottom: 24px;
    }

    .feature-item {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    /* Why Choose Section */
    .why-choose-section {
        padding: 48px 20px;
    }

    .why-title {
        font-size: 1.65rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .why-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        padding: 0 8px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .why-card {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .why-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .why-icon svg {
        width: 32px;
        height: 32px;
    }

    .why-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .why-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Services Section */
    .services-section {
        padding: 48px 20px;
    }

    .services-header {
        margin-bottom: 32px;
    }

    .services-header h2 {
        font-size: 1.65rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .services-header .subhead {
        font-size: 0.95rem;
        margin-bottom: 8px;
        line-height: 1.6;
        padding: 0 8px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        max-width: 100%;
    }

    .service-card {
        padding: 28px 20px;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
       
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .service-icon svg {
        width: 30px;
        height: 30px;
    }

    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 10px;
        text-align: justify;
        
    }

    /* Button */
    .button {
        height: 48px;
        width: 160px;
        font-size: 0.9rem;
    }

    .btn-txt {
        letter-spacing: 2.5px;
    }

}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 15px;
    }

    .hero-header {
        height: 70vh;
        min-height: 500px;
    }

    .header-content {
        padding: 1rem;
    }

    .about-title {
        font-size: 42px;
    }

    .why-content,
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-title {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-heading {
        position: static;
    }
}

/* ========================= */
/* ACCESSIBILITY & TOUCH ENHANCEMENTS */
/* ========================= */

/* Focus states for keyboard navigation */
.nav-link:focus {
    outline: none; /* Remove blue border on navbar links */
}

.button:focus,
.btn-view-projects:focus {
    outline: 3px solid #0462a5;
    outline-offset: 2px;
}

/* Touch-friendly active states */
@media (hover: none) {
    .button:active,
    .btn-view-projects:active {
        transform: scale(0.97);
    }
    
    .service-card:active,
    .why-card:active {
        transform: scale(0.98);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance optimization for mobile */
@media (max-width: 768px) {
    .service-card::before,
    .why-card::before {
        display: none; /* Remove shine effects on mobile */
    }
}

/* ========================= */
/* FOOTER SECTION */
/* ========================= */
.footer {
    background: linear-gradient(135deg, #001f3f, #004b8d, #0074d9);
    padding: 40px 6% 25px;
    font-family: "Segoe UI", Roboto, sans-serif;
    color: white;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-col {
    flex: 0 0 280px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.footer-logo {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
}

.footer-company {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 1rem;
    color: #b8d4ff;
    margin: 0;
}

.footer-columns {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #aee0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p,
.footer-col ul li a {
    color: #e0ecff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a:hover {
    color: #00e1ff;
    transform: translateX(4px);
}

.bottom {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 15px;
}

.bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-links a {
    color: #cde9ff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: #00e1ff;
}

.bottom p {
    font-size: 0.8rem;
    color: #b8d4ff;
    margin-top: 8px;
}
.bottom {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 15px;
    padding-bottom: 20px;
    width: 100%;
    display: block;
}

.bottom p {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 8px;
    white-space: normal !important;
    overflow-wrap: break-word;
}



/* Footer Responsive */
/* Tablet: Adjust footer columns */
@media screen and (max-width: 1200px) {
    .footer-main {
        gap: 10px;
    }

    .footer-logo-col {
        flex: 0 0 240px;
        min-width: 220px;
    }

    .footer-columns {
        gap: 30px;
    }
}

/* Tablet layout (760px–1024px): keep two columns — logo left, sections right */
@media (min-width: 760px) and (max-width: 1024px) {
  .footer {
    padding: 40px 5% 25px;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: start;
    gap: 32px;
    max-width: 100%;
    margin: 0 auto 25px;
    padding-bottom: 25px;
  }

  .footer-logo-col {
    flex: 0 0 260px;
    min-width: 240px;
    align-items: flex-start;
  }

  .footer-logo {
    width: 130px;
    margin-bottom: 10px;
  }

  .footer-tagline {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    grid-template-areas:
      "head navigation"
      "follow follow";
    width: 100%;
    justify-items: start;
    text-align: left;
    column-gap: 32px;
    row-gap: 28px;
  }

  .footer-columns .footer-col:nth-child(1) { 
    grid-area: head; 
  }
  
  .footer-columns .footer-col:nth-child(2) { 
    grid-area: navigation; 
  }
  
  .footer-columns .footer-col:nth-child(3) { 
    grid-area: follow; 
    margin-top: 0;
    width: 100%;
    max-width: 100%;
  }

  .footer-col h3 {
    font-size: 0.88rem;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
  }

  .footer-col p {
    font-size: 0.88rem;
    color: #e0ecff;
    line-height: 1.6;
    margin-bottom: 4px;
  }

  .footer-col ul li {
    margin-bottom: 7px;
  }

  .footer-col ul li a {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .footer-bottom {
    padding-top: 20px;
    max-width: 100%;
  }

  .footer-links {
    gap: 12px;
    margin-bottom: 6px;
  }

  .footer-links a {
    font-size: 0.83rem;
  }

  .footer-bottom p {
    font-size: 0.78rem;
    margin-top: 10px;
  }
}

@media (max-width: 760px) {
    .footer {
        padding: 40px 5% 20px;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-logo-col {
        align-items: center;
        flex: 1;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
    }

    .footer-col h3 {
        font-size: 0.85rem;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 35px 4% 18px;
    }

    .footer-logo {
        width: 120px;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}
/* Small Mobile Devices (360px and below) */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 12px;
        height: 60px;
    }

    .nav-logo img {
        height: 24px;
    }

}
/* Fix About Section button alignment on tablet */
@media (min-width: 761px) and (max-width: 1024px) {
  .about-section .features-list {
    display: block;
    margin: 0 auto;
    text-align: left !important;
    margin-bottom: 20px; /* spacing */
  }

  .button {
    outline: none !important;
    box-shadow: none !important;
  }

  .about-section .button {
    display: block;
    outline: none !important;
    margin: 16px auto 0; /* pushes button down */
  }
}
/* Mid-range tablets/large phones (500px–760px) navbar logo alignment */
@media (min-width: 500px) and (max-width: 760px) {
  .nav-container { padding: 0 20px; height: 70px; align-items: center; }
  .nav-logo a { display: flex; align-items: center; }
  .nav-logo img { display: block; height: 28px; width: auto; margin-top: 10px; }
  .nav-menu { margin-left: auto; align-items: center; }
}






/* Mobile: justify content paragraphs only — keep hero/header centered */
@media screen and (max-width: 480px) {
  /* Paragraphs / content blocks to justify */
  .home-section .home-text p,
  .about-section .section-description,
  .about-section p,
  .content-side p,
  .why-choose-section .why-subtitle,
  .services-header .subhead,
  .service-card p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.6 !important;
  }

  /* Ensure hero / header text remains centered */
  .header-content,
  .header-content p,
  .header-content h1,
  .home-header .header-content,
  .home-section .home-text h1 {
    text-align: center !important;
  }
}

/* Very small phones (320px) — same rules */
@media screen and (max-width: 320px) {
  .home-section .home-text p,
  .about-section .section-description,
  .about-section p,
  .content-side p,
  .why-choose-section .why-subtitle,
  .services-header .subhead,
  .service-card p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.6 !important;
  }

  .header-content,
  .header-content p,
  .header-content h1,
  .home-header .header-content,
  .home-section .home-text h1 {
    text-align: center !important;
  }

  /* reduce horizontal padding on extreme small screens */
  .home-section,
  .about-section,
  .why-choose-section,
  .services-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Very small phones (320px) — same rules */
@media screen and (max-width: 550px) {
  .home-section .home-text p,
  .about-section .section-description,
  .about-section p,
  .content-side p,
  .why-choose-section .why-subtitle,
  .services-header .subhead,
  .service-card p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.6 !important;
  }

  .header-content,
  .header-content p,
  .header-content h1,
  .home-header .header-content,
  .home-section .home-text h1 {
    text-align: center !important;
  }

  /* reduce horizontal padding on extreme small screens */
  .home-section,
  .about-section,
  .why-choose-section,
  .services-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

 







