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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #ffffff;
    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);
}

/* Mobile Menu Responsive */
@media (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);
        gap: 0;
        padding: 24px 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;
    }
}
/* 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;
  }
}

/* ========================= */
/* ANIMATIONS */
/* ========================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================= */
/* PRODUCTS SECTION */
/* ========================= */
.products-section {
  background: #ffffff;
  color: black;
  padding: 8rem 5% 6rem;
  text-align: center;
  margin-top: 75px;
}

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

.products-header {
  margin-bottom: 4rem;
}


.section-subtitle {
  color: #0462a5;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
  text-transform: uppercase;
}
.section-main {
  font-size: 2.5rem;
  font-weight: 800;
  color:#2774d8 ;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}



.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}





.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.product-card {
  background: #fff;
  color: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid #f0f0f0;
}


.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: #0462a5;
}


.product-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}


.product-card:hover .product-img {
  transform: scale(1.05);
}


.product-content {
  padding: 2rem 1.5rem;
  text-align: left;
}


.product-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  line-height: 1.4;
}


.product-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


.view-link {
  color: #0462a5;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}


.view-link:hover {
  color: #055a97;
  gap: 10px;
}


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

/* Large Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
    .products-section {
        padding: 6.5rem 5% 4.5rem;
    }

    .section-main {
        font-size: 2.2rem;
    }

    .products-grid {
        gap: 2.5rem;
        padding: 0 16px;
    }

    .product-img {
        height: 340px;
        object-fit: cover;
    }

    .product-content {
        padding: 1.75rem 1.25rem;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

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

    .products-section {
        padding: 5.5rem 20px 3.5rem;
        margin-top: 70px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .section-main {
        font-size: 1.9rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 1.65rem;
        line-height: 1.4;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0;
    }

    .product-card {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 14px;
    }

    .product-img {
        height: 320px;
        object-fit: cover;
    }

    .product-content {
        padding: 1.75rem 1.5rem;
    }

    .product-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

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

    .view-link {
        font-size: 0.95rem;
    }
    .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;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
        height: 65px;
    }

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

    .products-section {
        padding: 4.5rem 20px 3rem;
        margin-top: 65px;
    }

    .products-header {
        margin-bottom: 2.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }

    .section-main {
        font-size: 1.65rem;
        line-height: 1.3;
        margin-bottom: 12px;
        padding: 0 8px;
    }

    .section-title {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .products-grid {
        gap: 2rem;
        padding: 0;
    }

    .product-card {
        border-radius: 12px;
        max-width: 100%;
    }

    .product-img {
        height: 260px;
        object-fit: cover;
    }

    .product-content {
        padding: 1.5rem 1.25rem;
    }

    .product-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .product-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .view-link {
        font-size: 0.9rem;
        font-weight: 600;
    }
}

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

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

    .products-section {
        padding: 4rem 16px 2.5rem;
        margin-top: 60px;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    .section-main {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .products-grid {
        gap: 1.75rem;
    }

    .product-img {
        height: 240px;
    }

    .product-content {
        padding: 1.25rem 1rem;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-desc {
        font-size: 0.875rem;
    }
}
/* ========================= */
/* FOOTER SECTION */
/* ========================= */
.footer {
    background: linear-gradient(135deg, #001f3f, #004b8d, #0074d9);
    padding: 50px 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;
}




/* Slightly smaller text and tighter padding on very small screens */
@media (max-width: 480px) {
    .footer-bottom p {
        font-size: 0.85rem;
        padding: 0 12px;
    }

    .footer-links {
        gap: 10px;
        padding: 0 8px;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .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;
    }
}

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

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

.view-link:focus {
    outline: 3px solid #0462a5;
    outline-offset: 2px;
}

/* Touch-friendly active states */
@media (hover: none) {
    .product-card:active {
        transform: translateY(-8px) scale(0.99);
    }
    
    .view-link:active {
        color: #055a97;
    }
}

/* 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;
    }
    
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image loading optimization */
.product-img {
    background-color: #f5f7fa;
}

/* Performance optimization for mobile */
@media (max-width: 768px) {
    .product-card {
        will-change: auto; /* Reduce GPU usage on mobile */
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 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 (761px–1024px): logo fixed on left, three columns on right */
@media (min-width: 761px) and (max-width: 1024px) {
  .footer-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: start;
    gap: 20px;
  }

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

  .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: 28px;
    row-gap: 24px;
  }

  .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: 4px; }
}

@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;
    }
}
/* Tablets (768px and below) */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

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





/* MOBILE: justify full product page content (keep headings centered) */
@media screen and (max-width: 480px) {
  .products-section p,
  .products-header p,
  .section-main,
  .section-main p,
  .section-title,
  .section-title p,
  .product-content p,
  .product-desc,
  .product-card p,
  .product-title + p,
  .view-link
   {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.6 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Keep main headings centered for visual balance */
  .section-main,
  .section-title,
  .product-title {
    text-align: center !important;
  }

  /* reduce horizontal padding slightly so justified text fits */
  .products-section,
  .product-content,
  .product-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* VERY SMALL PHONES */
@media screen and (max-width: 320px) {
  .products-section p,
  .products-header p,
  .product-content p,
  .product-desc,
  .product-card p
   {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.45 !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
  }

  .section-main,
  .section-title,
  .product-title {
    text-align: center !important;
  }

  .products-section,
  .product-content,
  .product-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

