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

/* 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; }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    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);
}

/* ========================= */
/* CSS VARIABLES */
/* ========================= */
:root {
    --primary-blue: #004080;
    --secondary-blue: #0073e6;
    --background-white: #ffffff;
    --background-light-blue: #e6f0ff;
    --text-dark-blue: #003366;
    --text-light-blue: #3399ff;
    --shadow: 0 6px 18px rgba(0, 51, 102, 0.15);
}
/* ========================= */
/* HERO SECTION */
/* ========================= */
.hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--background-white);
    text-align: center;
    padding: 6rem 3rem;
    margin-top: 75px; /* Account for fixed navbar */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================= */
/* GENERAL SECTION STYLES */
/* ========================= */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
}

.about-section {
    text-align: center;
}

.about-section .container {
    max-width: 900px;
}

/* ========================= */
/* SERVICES SECTION */
/* ========================= */
.services-section {
    background-color: var(--background-light-blue);
}

.service-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}
.service-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0, 51, 102, 0.25); }
.service-card h3 {
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

/* ========================= */
/* JOURNEY SECTION */
/* ========================= */
.journey-section {
    background-color: var(--primary-blue);
    color: var(--background-white);
}

.journey-section h2 {
    color: var(--background-white);
}
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--background-white);
    top: 0; bottom: 0; left: 50%;
    margin-left: -2px;
    border-radius: 3px;
    opacity: 0.5;
}
.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -14px;
    background-color: var(--background-white);
    border: 4px solid var(--secondary-blue);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -14px;
}
.timeline-content {
    padding: 1.5rem 2rem;
    background-color: var(--secondary-blue);
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: inline-block;
    max-width: 400px;
    color: var(--background-white);
    text-align: left;
}
.timeline-content h4 {
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    font-weight: 400;
    opacity: 0.9;
}

/* ========================= */
/* FOUNDER MESSAGE SECTION */
/* ========================= */
.founder-message {
    background-color: var(--background-white);
    color: var(--primary-blue);
    text-align: center;
}

.founder-content {
    max-width: 900px;
    margin: 0 auto;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.founder-content h4 {
    font-size: 1.7rem;
    font-weight: 700;
}

.founder-title {
    font-weight: 600;
    opacity: 0.75;
}

/* ========================= */
/* TEAM SECTION */
/* ========================= */
.team-section {
    background-color: var(--background-light-blue);
}
.team-tier {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.team-member {
    background: var(--background-white);
    padding: 2rem 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    color: var(--primary-blue);
    text-align: center;
    flex-basis: 250px;
}
.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 115, 230, 0.3);
}
.icon {
    font-size: 3.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    display: block;
}
.team-member h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-member p {
    color: var(--secondary-blue);
    font-weight: 600;
    margin: 0;
}
.founder-card {
    flex-basis: 350px;
    padding: 3rem 1rem;
}
.founder-card .icon {
    font-size: 4rem;
}

.founder-card h4 {
    font-size: 1.5rem;
}
.dev-card {
    flex-basis: 220px;
    padding: 1.5rem 1rem;
}
.dev-card .icon {
    font-size: 3rem;
}

.dev-card h4 {
    font-size: 1.1rem;
}

/* ========================= */
/* FAQ SECTION */
/* ========================= */
.faq-section .container {
    max-width: 900px;
}

.faq-container {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #cce0ff;
    margin-bottom: 1rem;
}
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
    padding: calc(1.25rem + 3px) 0; /* +3px vertical space */
    cursor: pointer;
    position: relative;
    color: var(--primary-blue);
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 1.6rem;
    color: var(--secondary-blue);
    transition: transform 0.3s;
}
.faq-question.active::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: var(--primary-blue);
    font-weight: 400;
}
.faq-answer p {
    padding: 0 1rem 1rem;
    margin: 0;
}

/* ========================= */
/* ANIMATIONS */
/* ========================= */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s 0.4s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 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;
  }
}

/* ========================= */
/* MOBILE RESPONSIVE STYLES */
/* ========================= */
/* 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);
        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;
    }

    /* Hero Section */
    .hero {
        padding: 4rem 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Service Cards */
    .service-cards-container {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    /* Team Section */
    .team-tier {
        gap: 1.5rem;
    }

    .team-member {
        flex-basis: 100%;
        max-width: 350px;
    }

    /* FAQ Section */
    .faq-section .container {
        padding: 0 1.5rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }
}

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

    /* Timeline adjustments */
    .timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 10px;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-item::after {
        left: 18px;
    }

    .timeline-content {
        max-width: 100%;
    }

    section h2 {
        font-size: 2rem;
    }
}

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

/* Layout */
.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);
}

/* Left: Logo */
.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;
}

/* Right: Columns */
.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 Section */
.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;
}


/* Small screens */
@media (max-width: 480px) {
    .footer-bottom p { font-size: 0.85rem; padding: 0 12px; }
    .footer-links { gap: 10px; padding: 0 8px; }
     .timeline-item::after {
        left: 18px;
    }
}

/* Tablet layout (761px–1024px): logo fixed on left, sections stacked 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;
    }
}

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

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

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .faq-item { margin-bottom: 1.25rem; }
    .faq-question { padding: calc(1.5rem + 3px) 0; }
    .nav-container {
        padding: 0 16px;
        height: 65px;
    }

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

    .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;
    }
     .timeline-item::after {
        left: 18px;
    }
    .info-subtext{
        text-align: justify;
    }
    /* .timeline-item reveal visible{
        right: 10px;
    } */
}
/* Small Mobile Devices (360px and below) */
@media (max-width: 390px) {
    .faq-item { margin-bottom: 1.35rem; }

    /* Reserve space on the right for the +/- icon and vertically center it */
    .faq-question {
        padding: calc(1.5rem + 1.7px) 44px; /* top/bottom and right padding for icon */
        position: relative;
        display: block;
    }

    .faq-question::after {
        /* override default to ensure proper placement on very small screens */
        content: '+';
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.4rem;
        color: var(--secondary-blue);
        line-height: 1;
        transition: transform 0.25s ease;
    }

    /* keep translateY when rotated for active state */
    .faq-question.active::after {
        transform: translateY(-50%) rotate(45deg);
    }
     .timeline-item::after {
        left: 18px;
    }

    .nav-container {
        padding: 0 12px;
        height: 60px;
    }

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




/* Mobile: justify about/timeline paragraphs (keep headings centered) */
@media screen and (max-width: 480px) {
  /* Justify timeline and about paragraphs */
  .timeline-content,
  .timeline-content p,
  .about-section .container p,
  .about-section p,
  .hero p,
  .service-card p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.6 !important;
  }

  /* Keep section headings centered */
  section h2,
  .timeline-content h4,
  .about-section h2 {
    text-align: center !important;
  }

  /* Reduce horizontal padding slightly on very small screens */
  .timeline,
  .about-section .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Extra-small screens */
@media screen and (max-width: 320px) {
  .timeline-content,
  .timeline-content p,
  .about-section .container p,
  .about-section p,
  .hero p,
  .service-card p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.6 !important;
  }

  section h2,
  .timeline-content h4,
  .about-section h2 {
    text-align: center !important;
  }

  .timeline,
  .about-section .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}



/* Ensure hero/header text stays centered on small screens (undo any justify rules) */
@media screen and (max-width: 480px) {
  .hero,
  .hero h1,
  .hero p,
  .hero .header-content {
    text-align: center !important;
  }
}

@media screen and (max-width: 320px) {
  .hero,
  .hero h1,
  .hero p,
  .hero .header-content {
    text-align: center !important;
  }
}





