/* Navbar */

html, body {
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
}
/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 120px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;  /* sticky changed to fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.hero, #features-header, #pricing-header, .about-hero, .contact-header, .faq-header {
    margin-top: 120px; /* same as navbar height */
}

/* Logo */
.logo a {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.logo-img {
    height: 140px;
    width: auto;
    margin-left: -15px;
}

/* Nav menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    position: relative; /* needed for pseudo-element */
    text-decoration: none;
    color: #0b0a0a;
    font-weight: 500;
    font-size: 19px;
    padding: 8px 0;
    transition: color 0.3s;
}

/* Hover effect */
.nav-menu li a:hover {
    color: #000; /* dark hover */
}

/* Active link indicator (underline) */
.nav-menu li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0; /* slightly below text */
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    border-radius: 2px;
    background-color: #000; /* black underline */
    transition: width 0.3s ease;
}

/* On hover or active class, expand underline */
.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: #333;
    z-index: 1100; /* ensure it's above the menu */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .logo-img {
        height: 100px;
    }

    .nav-menu {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 70px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 120px; /* just below navbar */
        right: 20px;
        background-color: #fff;
        width: 220px;
        padding: 15px 0;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        text-align: center;
        gap: 15px;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
        border-radius: 8px;
    }

    /* Active link underline on mobile */
    .nav-menu li a::after {
        bottom: 5px; /* adjust if needed */
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .navbar {
        padding: 0 20px;
        height: 100px;
    }

    .logo-img {
        height: 80px;
    }

    .nav-menu {
        width: 180px;
    }

    .nav-menu li a {
        font-size: 16px;
    }
}


/* Hero Section */
.hero {
  background-color: #fff;
  padding: 0 50px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 20px auto;
  gap: 40px;
}

/* Left Text */
.hero-text {
  flex: 1;
  max-width: 700px;
  margin-left: -40px;
}

.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #111;
}

.hero-text p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1.3rem;
  border-radius: 12px;
  gap: 10px;
  background: #22314A;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  overflow: hidden;
  position: relative;
}

.arrow-wrapper {
  display: inline-flex;
  position: relative;
  width: 35px;
  height: 20px;
  align-items: center;
}

.arrow {
  width: 20px;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  opacity: 0;
  animation: moveFade 2s linear infinite;
}

.arrow.arrow2 {
  animation-delay: 0.5s;
}

@keyframes moveFade {
  0% {
    transform: translate(0, -50%);
    opacity: 0;
  }
  25% {
    transform: translate(5px, -50%);
    opacity: 1;
  }
  50% {
    transform: translate(10px, -50%);
    opacity: 0.3;
  }
  100% {
    transform: translate(15px, -50%);
    opacity: 0;
  }
}

/* Floating animation images */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.about-image {
  animation: float 3s ease-in-out infinite;
}

/* Right Image */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-img {
  width: 500px;
  max-width: 100%;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-content {
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text p {
    font-size: 1.3rem;
  }
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin-left: 0;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }

  .hero-image {
    justify-content: center;
    margin-top: 30px;
  }

  .hero-img {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 12px 20px;
    font-size: 1.1rem;
  }

  .arrow-wrapper {
    width: 25px;
    height: 15px;
  }

  .arrow {
    width: 15px;
  }

  .hero-img {
    max-width: 100%;
  }
}
/* About Section */
.about-section {
  background-color: #fff;
  padding: 40px 60px; 
}

/* Heading */
.about-title h2 {
  font-size: 3rem;
  margin-bottom: 50px;
  color: #0b0a0a;
  text-align: left;
}

/* Container & Grid */
.about-container {
  display: flex;
  justify-content: flex-start; /* align grid start */
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1300px;
}

/* Each Card */
.about-item {
  text-align: left;
  background-color: #fff;
}
.about-item.first-card {
  grid-column: 1 / 2; /* force first card to start at first column */
}

/* Image */
.about-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d1d1d1;
  margin-bottom: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Text */
.about-item p {
  color: #555;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 100%;
}

/* Responsive Design */

/* Large tablets / smaller desktops */
@media (max-width: 1200px) {
  .about-grid {
    gap: 30px;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns for tablets */
    gap: 25px;
  }

  .about-title h2 {
    text-align: center;
  }
}

/* Mobile phones */
@media (max-width: 600px) {
  .about-grid {
    grid-template-columns: 1fr; /* 1 column for mobiles */
    gap: 20px;
  }

  .about-title h2 {
    text-align: center;
  }
}
/* ===============================
   Key Highlights Section
   =============================== */

/* Heading Section */
#key-highlights-header {
    background-color: #fff;
    padding: 0 50px 20px 50px; /* same padding as hero/about sections */
}

#key-highlights-header h1 {
    font-size: 3rem;
    color: #0b0a0a;
    margin: 0;
    text-align: left; /* perfectly left aligned */
}

/* Main Content Container */
#key-highlights-section {
    background-color: #fff;
    padding: 0 50px 40px 50px; /* consistent with other sections */
}

#key-highlights-section .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
    gap: 40px;
}

/* Left Column: Highlights List */
#key-highlights-list {
    flex: 1;
    padding: 0; 
    margin: 0;
}

/* Individual Highlight Items */
.highlight-item {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #555; /* matches hero/about text color */
    padding: 0;
    margin-left: 0;
}

.highlight-item strong {
    display: block;
    font-size: 1.4rem;
    color: #111; /* matches heading style */
    margin-bottom: 7px;
    padding: 0;
}

.highlight-item span {
    display: block;
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
}

/* Right Column: Image */
#key-highlights-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden; /* ensure image doesn’t spill out */
    background-color: #e0e0e0; /* fallback background */
    height: 500px; /* you can adjust this */
}

#key-highlights-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* cover ensures it fills container without stretching */
    border-radius: 12px;
}

/* Swapped Key Highlights Section */
#key-highlights-section-swapped {
    background-color: #fff;
    padding: 60px 50px; /* consistent with other sections */
}

#key-highlights-section-swapped .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    gap: 80px; /* slightly bigger gap for better spacing */
}

/* Left Column: Image */
.key-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e0e0e0;
    margin-top: 100px;
}

.key-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* Right Column: Heading + List */
.key-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Heading */
.key-content h1 {
    font-size: 3rem;
    color: #0b0a0a;
    margin-bottom: 40px; /* slightly bigger gap under heading */
    text-align: left;
}

/* Highlight Items */
.key-content .highlight-item {
    margin-bottom: 30px; /* bigger spacing between bullets */
    line-height: 1.8; /* improved readability */
    color: #555;
}

.key-content .highlight-item strong {
    display: block;
    font-size: 1.5rem; /* slightly bigger for emphasis */
    color: #111;
    margin-bottom: 10px; /* spacing between strong and span */
}

.key-content .highlight-item span {
    display: block;
    font-size: 1.3rem; /* bigger for easier reading */
    color: #555;
}

#who-its-for {
    display: block;
    font-size: 1.6rem;
    color: #555;
    margin-top: 10px;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 500;
}

/* ===============================
   CTA Section
   =============================== */
#cta-section {
    background-color: #f7f9fc; /* light accent background */
    padding: 60px 50px; /* match other sections */
}

#cta-section .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#cta-section h2 {
    font-size: 3rem; /* same as other headings */
    color: #0b0a0a;
    margin-bottom: 20px;
}

#cta-section p {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Primary Button */
.primary-btn {
    background-color: #22314A;
    color: #fff;
}

/* Secondary Button */
.secondary-btn {
    background-color: #fff;
    color: #22314A;
    border: 2px solid #22314A;
}

/* ===============================
   Responsive Design
   =============================== */

/* Large Tablets / Small Laptops */
@media (max-width: 1200px) {
    #key-highlights-section .container,
    #key-highlights-section-swapped .container {
        gap: 30px;
    }

    #key-highlights-image,
    .key-image {
        height: 450px;
    }

    #cta-section {
        padding: 50px 30px;
    }

    #cta-section h2 {
        font-size: 2.5rem;
    }

    #cta-section p {
        font-size: 1.3rem;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 1.2rem;
    }
}

/* Tablets / Large Mobile Devices */
@media (max-width: 900px) {
    #key-highlights-section .container,
    #key-highlights-section-swapped .container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    #key-highlights-image,
    .key-image {
        order: -1;
        height: 280px;
        margin-bottom: 20px;
    }

    #key-highlights-header {
        padding: 20px 15px;
    }

    #key-highlights-section {
        padding: 0 15px 40px 15px;
    }

    .key-content h1,
    .key-content .highlight-item strong,
    .key-content .highlight-item span,
    #key-highlights-list .highlight-item strong,
    #key-highlights-list .highlight-item span {
        text-align: center;
    }

    .key-content .highlight-item {
        margin-bottom: 20px;
    }

    #cta-section {
        padding: 40px 20px;
    }

    #cta-section h2 {
        font-size: 2rem;
    }

    #cta-section p {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
        padding: 14px 0;
    }
}

/* Small Mobile Devices */
@media (max-width: 600px) {
    #key-highlights-header h1,
    .key-content h1,
    #cta-section h2 {
        font-size: 1.8rem;
    }

    #key-highlights-list .highlight-item strong,
    .key-content .highlight-item strong {
        font-size: 1.2rem;
    }

    #key-highlights-list .highlight-item span,
    .key-content .highlight-item span,
    #cta-section p {
        font-size: 1rem;
    }

    #key-highlights-image,
    .key-image {
        height: 200px;
    }

    #key-highlights-section,
    #key-highlights-section-swapped,
    #cta-section {
        padding: 20px 15px;
    }

    .cta-btn {
        font-size: 1rem;
        padding: 12px 0;
    }
}

/* Top gray line */
/* .footer-top-line {
    width: 100%;
    height: 2px;
    background-color: #ccc;
    margin-bottom: 20px;
} */

/* Footer */
.site-footer {
    background-color: #f9f9f9;
    color: #111;
    padding: 40px 0 20px;
}

/* Make footer content start from the very left */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 0 80px 0 50px; /* left = 50px (matches navbar), right = 80px for spacing */
    gap: 30px;
    position: relative;
    box-sizing: border-box;
}

/* ===============================
   Footer Section
   =============================== */

/* Logo section */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 250px;
    margin-bottom: 40px;
}

.footer-logo-img {
    width: 200px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
    margin-left: -20px;
}

/* Social Icons */
.social-icons {
    position: absolute;
    bottom: 0;
    left: 50px; /* aligned with padding */
    display: flex;
    gap: 15px;
}

.social-icons a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    flex-grow: 1;
    justify-content: space-evenly;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #555;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #555;
}

/* ===============================
   Responsive Design
   =============================== */

/* Tablets / Large Mobile Devices */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .footer-logo {
        width: 100%;
        align-items: center;
    }

    .social-icons {
        position: static;
        justify-content: center;
        margin-top: 10px;
    }

    .footer-links {
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }
}

/* Small Mobile Devices */
@media (max-width: 600px) {
    .footer-logo-img {
        width: 120px;
    }

    .social-icons a img {
        width: 20px;
        height: 20px;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        margin-top: 20px;
    }
}

/* Very Small Devices / Portrait Mobiles */
@media (max-width: 400px) {
    .footer-logo-img {
        width: 150px;
    }

    .social-icons {
        gap: 10px;
    }

    .footer-column h4 {
        font-size: 0.95rem;
    }

    .footer-column ul li a {
        font-size: 0.85rem;
    }
}
/* =========================
   Scroll To Top Button
========================= */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background-color: #eee9e9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.rocket-container {
  position: relative;
  display: inline-block;
}

.rocket-container img {
  display: block;
  width: 40px;
  height: auto;
  z-index: 2;
}

.rocket-flame {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 20px;
  background: linear-gradient(to top, yellow, orange, red);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  pointer-events: none;
}

/* Flame animation */
@keyframes rocketFlame {
  0% {
    opacity: 1;
    transform: translateX(-50%) scaleY(0.5) translateY(-15px);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1.2) translateY(5px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.5) translateY(20px);
  }
}

#scrollToTopBtn:hover {
  transform: scale(1.1);
}

/* =========================
   Responsive Adjustments
========================= */

/* Tablets */
@media (max-width: 1024px) {
  #scrollToTopBtn {
    width: 50px;
    height: 50px;
    bottom: 25px;
    right: 25px;
  }

  .rocket-container img {
    width: 32px;
  }

  .rocket-flame {
    width: 10px;
    height: 16px;
  }
}

/* Small tablets & large phones */
@media (max-width: 768px) {
  #scrollToTopBtn {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }

  .rocket-container img {
    width: 28px;
  }

  .rocket-flame {
    width: 8px;
    height: 14px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  #scrollToTopBtn {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }

  .rocket-container img {
    width: 24px;
  }

  .rocket-flame {
    width: 6px;
    height: 12px;
  }
}
