/* Reset & Global */
* { margin:0; padding:0; box-sizing:border-box; font-family:Arial,sans-serif; }
body { line-height:1.6; color:#333; background:#f4f4f4; overflow-x:hidden; display:flex; flex-direction:column; min-height:100vh; }

/* Navbar */
.navbar { display:flex; justify-content:space-between; align-items:center; padding:1rem 2rem; background:#222; color:#fff; position:sticky; top:0; z-index:100; }
.navbar .logo { font-size:1.5rem; font-weight:900; }
.nav-links { display:flex; list-style:none; transition: all 0.3s ease; }
.nav-links li { margin-left:2rem; }
.nav-links a { color:#fff; text-decoration:none; transition:color 0.3s; }
.nav-links a:hover { color:#f39c12; }
.hamburger { display:none; flex-direction:column; cursor:pointer; z-index:101; }
.hamburger span { height:3px; width:25px; background:#fff; margin-bottom:4px; border-radius:5px; }

/* Mobile Navbar */
@media (max-width:768px) {
    .navbar .logo { font-size:1rem; font-weight:900; }
    .nav-links { display:none; flex-direction:column; position:absolute; top:60px; right:0; width:200px; background:#222; padding:1rem; border-radius:0 0 0 10px; box-shadow:0 5px 15px rgba(0,0,0,0.2); }
    .nav-links.active { display:flex; }
    .nav-links li { margin:1rem 0; }
    .hamburger { display:flex; }
    .hero-image img { max-width:400px; border-radius:10px; transition:transform 0.3s; width: 90px;}
}
@media (min-width:769px) {
    .hero-text h2 { font-size:4.5rem; margin-bottom:1rem; }
    .hero-text p { margin-bottom:1.5rem; }
    .nav-links { display:flex !important; flex-direction:row; position:static; background:none; padding:0; box-shadow:none; }
    .hamburger { display:none; }
    .hero-image img { max-width:400px; border-radius:10px; transition:transform 0.3s; width: 250px;}
}

/* Main content sections take flexible space */
main { flex:1; }

/* Hero Section */
.hero { display:flex; align-items:center; justify-content:space-around; padding:4rem 2rem; background:linear-gradient(135deg,#f39c12,#f1c40f); background-size:400% 400%; animation:gradientBG 15s ease infinite; }
.hero-text h1 { font-size:2.5rem; margin-bottom:1rem; }
.hero-text p { margin-bottom:1.5rem; }
.hero-text .btn { background:#f39c12; color:#fff; padding:0.7rem 1.5rem; text-decoration:none; border-radius:5px; transition:transform 0.3s; }
.hero-text .btn:hover { transform:scale(1.05); }
.hero-image img { max-width:400px; border-radius:10px; transition:transform 0.3s; }

/* Sections */
section { padding:4rem 2rem; text-align:center; }
.services .service-cards, .testimonials .testimonial-cards { display:flex; justify-content:center; flex-wrap:wrap; gap:2rem; margin-top:2rem; }
.card, .testimonial-card { background:#fff; padding:2rem; border-radius:10px; box-shadow:0 5px 15px rgba(0,0,0,0.1); width:250px; transition:transform 0.3s, box-shadow 0.3s; }
.card:hover, .testimonial-card:hover { transform:translateY(-10px); box-shadow:0 10px 20px rgba(0,0,0,0.2); }
.benefits ul { list-style:none; margin-top:2rem; }
.benefits li { margin-bottom:1rem; display:flex; align-items:center; justify-content:center; }
.counter { font-weight:bold; color:#f39c12; margin-right:0.5rem; }

/* Get Started Section */
.get-started {
    padding: 4rem 2rem;
    text-align: center;
}

/* Scrollable Image Gallery */
.gallery {
    padding: 4rem 2rem;
    text-align: center;
    background: #f4f4f4;
}

.scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 1rem 0;
    margin-top: 2rem;
    scroll-behavior: smooth;
}

/* FORCE horizontal scroll on all screens */
.scroll-images {
    display: flex;
    gap: 1rem;
    width: max-content; /* <--- The key fix */
}

/* Make sure images never shrink or wrap */
.scroll-images img {
    width: 300px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto; /* <--- This prevents shrinking */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.scroll-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Scrollbar styling */
.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #f39c12;
    border-radius: 4px;
}

/* Optional: hide scrollbar on Webkit browsers */
.scroll-container::-webkit-scrollbar {
    height: 8px;
}
.scroll-container::-webkit-scrollbar-thumb {
    background: #f39c12;
    border-radius: 4px;
}

/* BENEFITS SECTION */
.benefits {
    padding: 4rem 2rem;
    background: #ffffff;
    text-align: center;
}

.benefits h2 {
    font-size: 2rem;
    font-weight: 700;
}

.benefits-subtitle {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* Grid layout */
.benefits-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    width: 100%;
}

/* Benefit Card */
.benefit-card {
    background: #fafafa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Icons */
.benefit-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Mobile Tweaks */
@media (max-width: 480px) {
    .benefit-card {
        padding: 1.5rem;
    }
    .benefits h2 {
        font-size: 1.7rem;
    }
}


/* Modern Sign Up Button */
.signup-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(243,156,18,0.4);
    transition: all 0.3s ease;
}

.signup-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(243,156,18,0.6);
    background: linear-gradient(135deg, #f1c40f, #f39c12);
}

.signup-btn:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 5px 10px rgba(243,156,18,0.4);
}


/* FAQ SECTION */
.faqs {
    padding: 4rem 2rem;
    background: #f7f7f7;
    text-align: center;
}

.faqs h2 {
    font-size: 2rem;
    font-weight: 700;
}

.faq-subtitle {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #666;
}

/* FAQ Container */
.faq-container {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Item */
.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Icon */
.faq-icon {
    font-size: 1.4rem;
    transition: transform 0.3s;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer p {
    padding: 0 0 1rem;
    color: #555;
}

/* Active FAQ */
.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Small Screens */
@media (max-width: 480px) {
    .faq-question {
        font-size: 1rem;
    }
}


/* How It Works Section Layout */
.how-content {
    display: flex;
    align-items: center;
    justify-content: center; /* center horizontally */
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    text-align: center; /* center text */
}

.how-steps {
    flex: 1;
    min-width: 250px;
}

/* Custom bullets for steps */
.how-steps ul {
    list-style: none; /* remove default bullets */
    padding-left: 0;
}

.how-steps ul li {
    margin-bottom: 1rem;
    padding-left: 1.5em;
    text-align: center;
    position: relative;
}

/* Add custom bullet */
.how-steps ul li::before {
    content: "•";           /* bullet character */
    color: #f39c12;         /* bullet color */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

/* Image styling */
.how-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.how-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.how-image img:hover {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    text-align: center;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #f39c12;
}


/* Contact Us Section */
/* =========================
   CONTACT SECTION
========================= */
.contact-section {
    padding: 80px 20px;
    background: #f9fafc;
    text-align: center;
}

.contact-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.contact-subtitle {
    color: #555;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-form {
    background: #fff;
    padding: 30px 25px;
    border-radius: 15px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    animation: fadeIn 0.8s ease-in-out;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 2px solid #dcdde1;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #0080ff;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 6px;
    color: #777;
    font-size: 0.95rem;
    pointer-events: none;
    transition: 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -5px;
    font-size: 0.75rem;
    color: #0080ff;
}

.contact-btn {
    width: 100%;
    padding: 14px;
    background: #0080ff;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease;
}

.contact-btn:hover {
    background: #0069d9;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .contact-form {
        padding: 25px 18px;
    }
}


/* Footer always visible */
footer { background:#222; color:#fff; text-align:center; padding:1rem 0; opacity:1; transform:translateY(0); transition:none; }

/* Reveal */
.reveal { opacity:0; transform:translateY(50px); transition:opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.active { opacity:1; transform:translateY(0); }

/* Directional slide animations */
.animated-item { opacity:0; transform:translateX(0); transition:all 0.7s ease-out; }
.animated-item[data-direction="left"] { transform:translateX(-50px); }
.animated-item[data-direction="right"] { transform:translateX(50px); }
.animated-item.active[data-direction="left"], .animated-item.active[data-direction="right"] { transform:translateX(0); opacity:1; }

/* Background Shapes */
.background-shapes { position:fixed; top:0; left:0; width:100%; height:100%; overflow:hidden; z-index:-1; }
.shape { position:absolute; background:rgba(243,156,18,0.2); border-radius:50%; animation:float 20s linear infinite; }
.shape.circle { width:60px; height:60px; border-radius:50%; }
.shape.square { width:50px; height:50px; border-radius:10%; }
.shape.triangle { width:0; height:0; border-left:25px solid transparent; border-right:25px solid transparent; border-bottom:50px solid rgba(243,156,18,0.2); }
@keyframes float { 0%{transform:translateY(100vh) translateX(0) rotate(0deg);opacity:0;} 50%{opacity:0.5;} 100%{transform:translateY(-100vh) translateX(200px) rotate(360deg);opacity:0;} }

/* Hero Gradient Animation */
@keyframes gradientBG { 0%{background-position:0% 50%;} 50%{background-position:100% 50%;} 100%{background-position:0% 50%;} }

/* Scroll Progress Container */
#scroll-progress-container { position:fixed; top:0; left:0; width:100%; height:5px; z-index:300; }
#scroll-progress { height:5px; width:0%; background:linear-gradient(90deg,#f39c12,#f1c40f,#27ae60,#2980b9); background-size:400% 100%; border-radius:3px; animation:gradientMove 8s linear infinite; transition:width 0.25s ease-out; }
@keyframes gradientMove { 0%{background-position:0% 0%;} 50%{background-position:100% 0%;} 100%{background-position:0% 0%;} }

/* Tooltip Gradient + Glow */
#scroll-tooltip { position:absolute; top:-25px; left:0; font-size:12px; font-weight:bold; padding:2px 6px; border-radius:4px; pointer-events:none; transform:translateX(-50%) scale(1); transition:left 0.25s ease,color 0.25s ease,transform 0.3s ease,text-shadow 0.3s ease; font-family:Arial,sans-serif; }
#scroll-tooltip.glow { transform:translateX(-50%) scale(1.3); text-shadow:0 0 8px #fff,0 0 12px #f39c12,0 0 16px #27ae60; }

/* testimony cards */

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 30px;
}

.slider {
  position: relative;
  width: 100%;
  height: auto;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* 2 cards per slide */
.cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  padding: 10px 5px;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: .3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.img-box {
  height: 180px;
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.card:hover img {
  transform: scale(1.12);
}

.card h3 {
  padding: 15px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Dots */
.dots {
  margin-top: 18px;
  text-align: center;
}

.dots span {
  display: inline-block;
  width: 11px;
  height: 11px;
  background: #bbb;
  border-radius: 50%;
  margin: 0 6px;
  transition: .3s;
  cursor: pointer;
}

.dots .active-dot {
  background: #333;
  transform: scale(1.3);
}

/* Responsive: 1 card on small screens */
@media (max-width: 650px) {
  .cards-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .img-box {
    height: 160px;
  }
}

