/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 70%;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    /* Slightly lighter than footer (#333) */
    background: linear-gradient(135deg, #3a3f47 0%, #444b55 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #7ED957 50%, transparent 100%);
    opacity: 0.6;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
    position: relative;
}

.nav-brand {
    position: relative;
    z-index: 2;
}

.nav-brand .logo {
    /* Increase by ~20%: 64px -> 77px */
    height: 77px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    position: relative;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(126, 217, 87, 0.2));
}

/* Glossy overlay and animated shine for logo */
.nav-brand .logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.nav-brand .logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: logoShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoShine {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    /* reduce height ~10%: 0.8rem -> 0.72rem */
    padding: 0.72rem 1.5rem;
    border-radius: 999px;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, #7ED957 0%, #66cf49 60%, #59c241 100%);
    border: 1px solid #4fb233;
    box-shadow: 0 8px 24px rgba(126, 217, 87, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

/* Dropdown menus in navbar */
.nav-item { position: relative; }
.nav-item > a[data-toggle="dropdown"]::after {
    content: '\25BE'; /* down caret */
    margin-left: 0.5rem;
    font-size: 0.85rem;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    z-index: 1100;
}
.nav-item:hover .dropdown-menu { display: flex; }
.dropdown-menu a {
    display: block;
    text-wrap: balance;
}

/* Mobile dropdown in slide-out menu */
.mobile-dropdown { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-dropdown .mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 0.5rem;
}
.mobile-dropdown.open .mobile-dropdown-menu { display: flex; }

/* Glossy highlight band */
.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    opacity: 0.85;
}

/* Animated shine sweep */
.nav-links a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: navShine 3s ease-in-out infinite;
}

.nav-links a:hover {
    background: linear-gradient(180deg, #86e365 0%, #6dd24d 60%, #5fc743 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(126, 217, 87, 0.45);
}

/* keep shine animation continuous */
.nav-links a:hover::after {
    animation-duration: 2.4s;
}

.nav-links a:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(126, 217, 87, 0.35);
}

@keyframes navShine {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fff4 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch; /* Make both columns same height */
    grid-auto-rows: minmax(420px, auto); /* enforce equal row height baseline */
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Nudge hero content lower as requested */
.hero-content {
    transform: translateY(20px);
}

.cta-button {
    display: inline-block;
    background: #7ED957;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 217, 87, 0.3);
}

.cta-button:hover {
    background: #6bc947;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 217, 87, 0.4);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 420px; /* ensure a consistent visual block height */
}

/* Colorful card to contain the hero slider */
.hero-card {
  background: linear-gradient(
    135deg,
    rgba(126, 217, 87, 0.15) 0%,
    rgba(107, 201, 71, 0.15) 45%,
    rgba(95, 199, 67, 0.15) 100%
  );
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(126, 217, 87, 0.25);
  border: 1px solid rgba(126, 217, 87, 0.35);
  width: 100%;
  height: auto;          /* auto height — content অনুযায়ী বাড়বে */
  min-height: unset;     /* পুরনো min-height override করবে */
  display: flex;
  flex-direction: column;
  justify-content: center; /* content vertically center হবে */
}

.hero-icon {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #7ED957;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 6s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(126, 217, 87, 0.3);
}

.hero-icon::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    animation: morphing 6s ease-in-out infinite reverse;
}

.hero-icon i {
    font-size: 4rem;
    color: white;
    z-index: 2;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes morphing {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(90deg) scale(1.05);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(180deg) scale(0.95);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: rotate(270deg) scale(1.02);
    }
}

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

/* About Section */
.about {
    padding: 80px 0;
    background: #ffffff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.about p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About + Hero side-by-side layout */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Single-column variant for About section */
.about-grid.single-grid {
    grid-template-columns: 1fr;
}

.about-text h2,
.about-text p {
    text-align: center;
}
.about-text p {
    margin: 0;
    max-width: none;
}

.about-hero .hero-slider-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fffe;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.services-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    margin-top: 3rem;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.services-grid::-webkit-scrollbar { display: none; }

.service-card {
    background: #fff;
    border: 3px solid #7ED957; /* match product card border */
    border-radius: 12px; /* match product card radius */
    width: 300px; /* match product card width */
    min-width: 300px; /* prevent shrink */
    height: 384px; /* match product card height */
    text-align: center;
    padding: 19px; /* match product card padding */
    box-shadow: none; /* default like product card */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* match hover behavior */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start; /* snap like product cards */
}

.service-card:hover {
    transform: scale(1.03); /* match product card hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); /* match product card hover */
}

.service-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-icon {
    width: 100%;
    height: 192px; /* match product image area height */
    background: #f8f8f8; /* neutral like image area */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Services slider nav buttons */
.services-slider { position: relative; }
.services-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid #e0e0e0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.services-slider-btn.prev { left: -10px; }
.services-slider-btn.next { right: -10px; }

.service-icon i {
    font-size: 3rem; /* scale icon for larger area */
    color: #6bc947; /* align with brand accent */
}

/* Service image fit */
.service-icon img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.service-card h3 {
    font-size: 19px; /* match product card title size */
    color: #333;
    margin: 12px 0 14px; /* match product card spacing */
    font-weight: 600;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.card-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: #7ED957;
    font-size: 1.2rem;
}

/* Align services visuals with product cards: hide descriptions and arrows */
.service-card p { display: none; }
.services .card-arrow { display: none; }

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: #ffffff;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7ED957, #6bc947);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8fffe;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7ED957, #6bc947);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    margin: 0;
}

.contact-details a {
    color: #7ED957;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #6bc947;
}

/* Utility Footer */
.utility-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 4rem 0;
    border-top: 3px solid #7ED957;
    position: relative;
}

.utility-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #7ED957 50%, transparent 100%);
}

.utility-footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.utility-footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.utility-footer-logo-card,
.utility-footer-quick-access-card,
.utility-footer-right {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.utility-footer-quick-access-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.utility-footer-quick-access-card h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #7ED957;
    border-radius: 2px;
}

.utility-footer-logo {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.utility-footer-contact h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.utility-footer-contact h3::before {
    content: '\f0e0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #7ED957;
    font-size: 1rem;
}

.utility-footer-contact p {
    color: #ecf0f1;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.utility-footer-contact a {
    color: #7ED957;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

.utility-footer-contact a:hover {
    color: #fff;
    background: #7ED957;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(126, 217, 87, 0.3);
}



.utility-footer-right {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.utility-footer-right h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #7ED957;
}

.utility-footer-right h3::before {
    content: '\f0c0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #7ED957;
    font-size: 1.1rem;
}

.utility-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1.5rem;
}

.utility-footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border-left: 3px solid transparent;
    background: rgba(255, 255, 255, 0.1);
    display: block;
    position: relative;
    overflow: hidden;
}

.utility-footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(126, 217, 87, 0.1), transparent);
    transition: left 0.5s ease;
}

.utility-footer-links a:hover {
    color: #7ED957;
    background: rgba(255, 255, 255, 0.2);
    border-left-color: #7ED957;
    transform: translateX(5px);
    box-shadow: 0 2px 12px rgba(126, 217, 87, 0.4);
}

.utility-footer-links a:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

.footer a {
    color: #7ED957;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #6bc947;
    text-decoration: underline;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(126, 217, 87, 0.1);
    border: 1px solid rgba(126, 217, 87, 0.2);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(126, 217, 87, 0.2);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #7ED957;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(126, 217, 87, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(126, 217, 87, 0.05);
    border: 1px solid rgba(126, 217, 87, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-links a:hover {
    color: #7ED957;
    background: rgba(126, 217, 87, 0.1);
    border-color: rgba(126, 217, 87, 0.3);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-icon {
        width: 180px;
        height: 180px;
    }
    
    .hero-icon i {
        font-size: 3rem;
    }
    
    /* services-grid is flex-based; remove old grid-template-columns rule */
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .utility-footer {
        padding: 3rem 0;
    }
    
    .utility-footer .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .utility-footer-left {
        align-items: center;
    }
    
    .utility-footer-logo-card,
    .utility-footer-quick-access-card,
    .utility-footer-right {
        padding: 1.5rem;
    }
    
    .utility-footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
    }
    
    .utility-footer-links a {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about, .services, .why-choose-us, .contact {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .utility-footer {
        padding: 2.5rem 0;
    }
    
    .utility-footer-logo-card,
    .utility-footer-quick-access-card,
    .utility-footer-right {
        padding: 1.25rem;
    }
    
    .utility-footer-logo {
        width: 120px;
    }
    
    .utility-footer-contact h3 {
        font-size: 1.1rem;
    }
    
    .utility-footer-right h3 {
        font-size: 1.2rem;
    }
    
    .utility-footer-links {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .utility-footer-links a {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        text-align: left;
    }
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    background: #ffffff;
    min-height: 70vh;
}

.legal-header {
    margin-bottom: 3rem;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-header h1 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-header h1 a:hover {
    color: #7ED957;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 2.5rem 0 1rem 0;
    font-weight: 600;
    border-bottom: 2px solid #7ED957;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-content a {
    color: #7ED957;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #6bc947;
    text-decoration: underline;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content strong {
    color: #333;
    font-weight: 600;
}

/* Focus styles for accessibility */
.legal-content a:focus,
.utility-footer-links a:focus,
.nav-links a:focus {
    outline: 2px solid #7ED957;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .feature, .contact-item {
    animation: fadeInUp 0.6s ease-out;
}
/* Products Slider */
.products {
    padding: 80px 0;
    background: #ffffff;
}

.products h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.product-slider {
    position: relative;
}

.product-section {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    scroll-snap-type: x mandatory;
}

.product-section::-webkit-scrollbar { display: none; }

/* Group blocks of 4 cards to snap per block */
.product-block {
    display: flex;
    gap: 20px;
    scroll-snap-align: start;
}

/* Single-column variant for product blocks */
.product-block.single-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    flex: 0 0 100%;
}

.product-block.single-grid .product-card {
    width: 100%;
    min-width: 0;
}
/* In single-column products, always show the Details button */
.product-block.single-grid .product-card .details-btn {
    opacity: 1;
    pointer-events: auto;
}

/* Mission list: left-align subheadings and their paragraphs */
.about-text .mission-list p {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 0.75rem;
}
.about-text .mission-list strong {
    color: #333;
    font-weight: 600;
}

.product-card {
    border: 3px solid #7ED957;
    border-radius: 12px;
    width: 300px; /* +20% from 250px */
    min-width: 300px; /* +20% from 250px */
    height: 384px; /* +20% from 320px */
    text-align: center;
    padding: 19px; /* +20% from 16px (rounded) */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background: #fff;
    /* snap happens at block level */
}

.product-card img {
    width: 100%;
    height: 192px; /* +20% from 160px */
    object-fit: contain;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-card h3 {
    font-size: 19px; /* +20% from 16px */
    margin: 12px 0 14px; /* slight scale up */
}

.details-btn {
    display: inline-block;
    padding: 12px 16px; /* scaled up for larger cards */
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 9px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.details-btn:hover {
    background-color: #0056b3;
}

/* Show only image and name initially; reveal Details on hover/focus */
.product-card .details-btn {
    opacity: 0;
    pointer-events: none;
}
.product-card:hover .details-btn,
.product-card:focus-within .details-btn {
    opacity: 1;
    pointer-events: auto;
}

/* Colorful border variants */
.product-card.border-blue { border-color: #1E90FF; }
.product-card.border-green { border-color: #28A745; }
.product-card.border-orange { border-color: #FF8C00; }
.product-card.border-purple { border-color: #8A2BE2; }

/* Product page base styles */
.product-page {
    padding-top: 120px;
}
.product-header { display: none; }
.product-actions .purchase-btn {
    display: inline-block;
    padding: 12px 16px;
    background: #07c;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}
.product-actions .purchase-btn:hover { background: #059; }
.product-details {
    margin-bottom: 32px;
}
.product-features ul { padding-left: 18px; }
.product-tags { margin-top: 12px; }
.product-tags .tag {
    display: inline-block;
    background: #f2f6ff;
    color: #275;
    border: 1px solid #e2e8ff;
    padding: 6px 10px;
    border-radius: 999px;
    margin-right: 8px;
}

/* Screenshot slider */
.screenshot-slider {
    position: relative;
    margin-top: 24px;
}
.screenshot-slider .shots {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
}
.screenshot-slider .shots::-webkit-scrollbar { display: none; }
.screenshot-slider .shot {
    min-width: 640px;
    height: 360px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    scroll-snap-align: start;
}
.screenshot-slider .ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid #e0e0e0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.screenshot-slider .ctrl.prev { left: -10px; }
.screenshot-slider .ctrl.next { right: -10px; }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid #e0e0e0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.slider-btn.prev { left: -10px; }
.slider-btn.next { right: -10px; }

@media (max-width: 768px) {
    .product-card { width: 70vw; min-width: 70vw; }
    .service-card { width: 70vw; min-width: 70vw; height: auto; }
}

/* Hero Image Slider */
.hero-slider {
    position: relative;
    background: linear-gradient(
  135deg,
  rgba(0, 106, 78, 0.25) 0%,   /* Bangladesh Green */
  rgba(126, 217, 87, 0.20) 45%, /* your current light green tone */
  rgba(244, 42, 65, 0.15) 100%  /* Bangladesh Red */
); /* Card provides background */
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    flex: 1 1 auto; /* Fill card height */
}

.hero-slides {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
    display: flex;
    align-items: center; /* vertically center contained background images */
}

.hero-slide {
    width: 100%;
    height: 100%;
    min-height: 420px; /* ensure visible height within hero box */
    background-size: contain; /* show full image centered */
    background-repeat: no-repeat;
    background-position: center center; /* place image in middle */
    background-color: #f8fffe; /* neutral backdrop around contained image */
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: none; /* hide text overlay as requested */
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.0) 55%);
}

.hero-overlay h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.hero-overlay p { font-size: 1.1rem; margin-bottom: 1rem; }
.overlay-btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #7ED957;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.overlay-btn:hover { background: #6bc947; }

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.hero-slider-btn.prev { left: 10px; }
.hero-slider-btn.next { right: 10px; }

@media (max-width: 768px) {
    .hero-slide { min-height: 260px; }
    .hero-overlay h2 { font-size: 1.75rem; }
}