:root {
    --accent: #16a34a;
    --accent-dark: #15803d;
    --bg: #ffffff;
    --text: #0a0a0a;
    --muted: #6b7280;
    --card: #f8faf8;
    --radius: 16px;
    --gradient: linear-gradient(135deg, #16a34a, #4ade80);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6%;
    transition: 0.3s ease;
    flex-wrap: wrap;
    gap: 10px;
}

header.scrolled {
    padding: 10px 6%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.logo {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.cta {
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* Phone display styles */
.phone-desktop {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-dark);
    display: block;
}

.phone-mobile {
    display: none;
    margin-top: 14px;
    font-size: 16px;
}

@media (max-width:768px) {
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 6%;
        background: white;
        padding: 18px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .phone-desktop {
        display: none;
    }

    .phone-mobile {
        display: block;
        text-align: center;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(to right, #c6f3de, #ffffff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 120px 6% 60px;
    gap: 40px;
}

.hero-content {
    max-width: 520px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--accent-dark);
}

.hero p {
    color: var(--muted);
    margin-bottom: 24px;
    font-size: 17px;
}

.hero-img img {
    max-width: 480px;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.buttons a {
    margin-right: 12px;
}

@media(max-width:900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 5% 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-img img {
        max-width: 90%;
    }
}

/* New Features Section CSS */
.features {
    padding: 40px 6%;
    background: var(--card);
    /* Light background for contrast */
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    /* Added a top border to separate from Hero */
}

.features-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    flex-basis: 280px;
    padding: 15px;
    border-radius: var(--radius);
}

.feature-item .icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 18px;
    color: var(--accent-dark);
    margin-top: 0;
}

.feature-item p {
    font-size: 15px;
    color: var(--muted);
}

/* Products Section - Refactored for detailed view */
#products {
    padding: 80px 6%;
    background: var(--bg);
    text-align: center;
    /* Center the main heading */
}

#products h2 {
    font-size: 32px;
    /* Slightly larger heading */
    margin-bottom: 60px;
    /* More space below heading */
    color: var(--accent-dark);
}

.product-detail-section {
    display: flex;
    flex-direction: row;
    /* Default: image left, text right */
    align-items: stretch;
    /* Stretch items to fill height */
    gap: 40px;
    background: #fff;
    /* White background for each product */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    /* Ensures rounded corners on image */
    margin-bottom: 60px;
    /* Space between product sections */
    max-width: 1200px;
    /* Max width for content */
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    /* Override global center for content */
}

/* Alternating layout for product sections */
.product-detail-section:nth-child(even) {
    flex-direction: row-reverse;
    /* Image right, text left */
}

.product-image-container {
    flex: 1;
    /* Takes up available space */
    min-width: 400px;
    /* Minimum width for the image part */
    position: relative;
    background: #f0fdf4;
    /* Fallback background if image fails */
    display: flex;
    /* For centering the image if it's smaller */
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    /* Fill the container */
    object-fit: cover;
    /* Cover the area, cropping if necessary */
    display: block;
    /* Remove extra space below image */
    border-radius: var(--radius);
    /* Apply radius to image */
}

.product-image-container .overlay-number {
    position: absolute;
    top: 20px;
    left: 20px;
    background: black;
    color: white;
    font-weight: 800;
    font-size: 28px;
    padding: 12px 20px;
    border-radius: 12px;
    z-index: 10;
}

.product-info {
    flex: 1.2;
    /* Text takes a bit more space */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically center content */
}

.product-info h3 {
    font-size: 28px;
    color: var(--accent-dark);
    margin-top: 0;
    margin-bottom: 20px;
}

.product-info p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.feature-list li {
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 10px;
    font-weight: 800;
}

.callout-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card);
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.callout-box .icon {
    font-size: 30px;
    color: var(--accent);
}

.callout-box .text h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: var(--accent-dark);
}

.callout-box .text p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.callout-box .brand-logo {
    margin-left: auto;
    /* Pushes logo to the right */
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

.callout-box .brand-logo .logo-placeholder {
    background: #e0e0e0;
    color: #555;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.read-more-btn {
    background: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
    /* Allows padding and margin */
    font-size: 16px;
}

.read-more-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}




@media(max-width:992px) {
    .product-detail-section {
        flex-direction: column;
        /* Stack image and text vertically */
        align-items: center;
        text-align: center;
        /* Center content on smaller screens */
    }

    .product-detail-section:nth-child(even) {
        flex-direction: column;
        /* Maintain stacking */
    }

    .product-image-container {
        min-width: unset;
        /* Remove min-width restriction */
        width: 100%;
        /* Image takes full width */
        max-height: 300px;
        /* Limit image height */
    }

    .product-info {
        padding: 30px;
    }

    .feature-list {
        text-align: left;
        /* Keep feature list left-aligned */
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .callout-box {
        flex-direction: column;
        /* Stack callout box content */
        text-align: center;
    }

    .callout-box .brand-logo {
        margin-left: unset;
        margin-top: 15px;
    }
}

@media(max-width:576px) {
    .product-info h3 {
        font-size: 24px;
    }
}

/* About */
.about {
    background: #f0fdf4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 80px 6%;
    border-top: 1px solid #e0e0e0;
}

.about-text {
    text-align: left;
}

.about-text h2 {
    color: var(--accent-dark);
    font-size: 30px;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 16px;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.about-text ul li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 8px;
}

.about-text ul li {
    margin-bottom: 8px;
    color: var(--text);
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
}

@media(max-width:900px) {
    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}

/* Contact */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    text-align: left;
}

form {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 15px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

button[type=submit] {
    background: var(--accent);
    color: white;
    border: 0;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: var(--accent-dark);
}

@media(max-width:900px) {
    .contact {
        grid-template-columns: 1fr;
    }
}

footer {
    padding: 40px 6%;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
    font-size: 14px;
}

/* Floating Buttons */
#topBtn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
    z-index: 998;
}

#topBtn:hover {
    background: var(--accent-dark);
    transform: scale(1.1);
}

#callBtn {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: var(--accent-dark);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: 0.3s;
    z-index: 999;
    animation: pulse 2s infinite;
}

#callBtn:hover {
    background: var(--accent);
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(21, 128, 61, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(21, 128, 61, 0);
    }
}

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}