/* ========================================
   ANNAPURNA THEME - Main Stylesheet
   ======================================== */

/* ROOT & TYPOGRAPHY */
:root {
    --primary-color: #2E8041;
    --primary-dark: #0F4F2F;
    --primary-light: #E4F3E7;
    --secondary-color: #E8B860;
    --accent-orange: #FEA630;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --bg-light: #F9F9F9;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* CONTAINER & LAYOUT */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-align: left;
}

.section-heading {
    margin-bottom: 60px;
}

.section-heading > div {
    flex: 1;
}

.section-heading h2 {
    max-width: 700px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: #2E8041;
    color: #fff;
    border-color: #2E8041;
}

.btn-primary:hover {
    background: #1A5327;
    border-color: #1A5327;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 128, 65, 0.3);
}

.btn-secondary {
    background: #FFA500;
    color: #fff;
    border-color: #FFA500;
}

.btn-secondary:hover {
    background: #FF9700;
    border-color: #FF9700;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.3);
}

.btn-tertiary {
    background: transparent;
    color: #E63946;
    border: 2px solid #E63946;
}

.btn-tertiary:hover {
    background: #E63946;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
}

.btn-icon {
    font-size: 1.1em;
}

/* HEADER */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* When WP admin bar is shown, offset the sticky header so it's not overlapped */
html.wp-toolbar .site-header {
    top: 32px;
}

/* Admin toolbar is taller on small screens */
@media (max-width: 782px) {
    html.wp-toolbar .site-header {
        top: 46px;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    gap: 40px;
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

/* Ensure custom logo uploaded via Customizer doesn't overflow header */
.custom-logo,
.custom-logo-link img,
.site-logo img {
    max-height: 80px !important;
    height: auto !important;
    width: auto !important;
    display: block;
}

/* Prevent very tall logos from stretching the header */
.site-header .header-inner {
    align-items: center;
}

.main-navigation {
    flex: 1;
}

.main-navigation .menu {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.main-navigation a {
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    position: relative;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E8041;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.current-menu-item::after {
    width: 100%;
}

.header-action {
    flex-shrink: 0;
}

.header-action .btn-primary {
    background: #FF7F00;
    border-color: #FF7F00;
    color: #fff;
}

.header-action .btn-primary:hover {
    background: #FF9700;
    border-color: #FF9700;
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

/* HERO SECTION */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F9F6 0%, #F0F7F2 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.4fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 780px;
}

.hero-text h1 {
    font-size: 3.2rem;
    color: #0F4F2F;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-text .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2E8041;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-copy {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    align-items: center;
}

.hero-actions .btn {
    white-space: nowrap;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-highlights li {
    font-size: 0.95rem;
    color: #2E8041;
    font-weight: 700;
    padding: 12px 18px;
    background: rgba(46, 128, 65, 0.08);
    border: 1px solid rgba(46, 128, 65, 0.18);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.hero-highlights li strong {
    font-weight: 700;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-image {
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.hero-text {
    max-width: 560px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* TRUSTED BY SECTION */
.trusted-by-section {
    padding: 40px 0;
    background: #fff;
    text-align: center;
}

.trusted-by-section .section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2E8041;
    margin-bottom: 40px;
}

.trusted-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 0;
    align-items: center;
}

.trusted-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: linear-gradient(180deg, #F6FBF7 0%, #EEF6EE 100%);
    border: 1px solid rgba(14,79,43,0.06);
    border-radius: 12px;
    min-height: 86px;
    transition: all 0.25s ease;
}

.brand-logo-img {
    max-height: 42px;
    width: auto;
    filter: grayscale(40%);
    opacity: 0.9;
    transition: all 0.2s ease;
}

.trusted-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.trusted-logo-item:hover .brand-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* SERVICES SECTION */
.services-section {
    padding: 60px 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.service-card {
    background: transparent;
    border-radius: 12px;
    padding: 28px 22px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(46, 128, 65, 0.1);
    transform: translateY(-8px);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    font-size: 32px;
    line-height: 1;
}

.service-icon .service-svg {
    width: 34px;
    height: 34px;
    display: block;
    color: var(--primary-dark);
}

.service-icon svg {
    width: 34px;
    height: 34px;
    display: block;
    color: var(--primary-dark);
}

/* Per-card backgrounds and accent colors */
.service-card:nth-child(1) {
    background: linear-gradient(180deg, #F6FBF7 0%, #EEF6EE 100%);
}
.service-card:nth-child(1) h3 { color: var(--primary-dark); }
.service-card:nth-child(1) .service-icon { background: rgba(14,79,43,0.06); }
.service-card:nth-child(1) .service-svg { color: var(--primary-dark); }

.service-card:nth-child(2) {
    background: linear-gradient(180deg, #FFF6EE 0%, #FFF0E8 100%);
}
.service-card:nth-child(2) h3 { color: var(--accent-orange); }
.service-card:nth-child(2) .service-icon { background: rgba(254,166,48,0.06); }
.service-card:nth-child(2) .service-svg { color: var(--accent-orange); }

.service-card:nth-child(3) {
    background: linear-gradient(180deg, #F5FAFF 0%, #EEF6FB 100%);
}
.service-card:nth-child(3) h3 { color: #1E6FAF; }
.service-card:nth-child(3) .service-icon { background: rgba(30,111,175,0.06); }
.service-card:nth-child(3) .service-svg { color: #1E6FAF; }

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-card p {
    color: rgba(21,63,42,0.9);
    margin-bottom: 18px;
    line-height: 1.6;
}

.service-card a {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card a:hover {
    transform: translateX(4px);
}

/* STATS SECTION */
.stats-section {
    padding: 25px 0;
    background: var(--primary-dark);
}

.stats-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.stat-card {
    background: transparent;
    text-align: center;
    color: #fff;
    padding: 12px 8px;
    flex: 1;
    min-width: 150px;
}

.stat-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 2px;
    width: 100%;
}

.stat-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.stat-card strong {
    font-size: 1.8rem;
    color: var(--accent-orange);
    margin: 0;
    line-height: 1;
    font-weight: 700;
}

.stat-card p {
    font-size: 0.85rem;
    color: #e3f1db;
    margin: 0;
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 120px;
    background: rgba(255, 255, 255, 0.12);
    align-self: center;
}

/* PRODUCTS SECTION */
.products-section {
    padding: 100px 0;
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.card-image-area {
    background: var(--card-bg, var(--primary-light));
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover .card-image-area {
    transform: scale(1.08);
}

.product-icon-overlay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: absolute;
    left: 16px;
    bottom: 12px;
    background: rgba(255,255,255,0.9);
    color: var(--primary-dark);
    padding: 8px 10px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.card-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.product-card h3 {
    padding: 16px 12px 8px;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.product-card p {
    padding: 0 12px 16px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* IMPACT SECTION */
.impact-section {
    padding: 100px 0;
    background: #fff;
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* PRESENCE + TESTIMONIALS SECTION */
.presence-testimonials-section {
    padding: 40px 0 40px;
    background: #F7FAF7;
}
.presence-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.presence-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 28px;
    border-radius: 10px;
}
.presence-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
}
.presence-card .map-image img {
    max-width: 220px;
    width: 100%;
    display: block;
    margin: 18px 0 12px;
}
.presence-card .office-list { list-style: disc; margin-left: 18px; color: var(--text-dark); }

.testimonials-card { }
.testimonials-card .section-heading.small { text-align: left; margin-bottom: 18px; }
.testimonials-card .section-heading.small h3 { color: var(--primary-color); text-align: left; }

/* Testimonial carousel */
.testimonial-carousel { display: flex; align-items: center; gap: 18px; }
.testimonial-viewport { overflow: hidden; flex: 1; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(.2,.8,.2,1); width: 100%; }
.testimonial-slide { min-width: 100%; padding: 8px; box-sizing: border-box; }
.testimonial-card { background: #fff; border: 1px solid var(--border-color); border-radius: 10px; padding: 22px; }
.testimonial-card blockquote { margin: 0; color: var(--text-dark); font-style: normal; }
.testimonial-card blockquote p { font-size: 0.98rem; line-height: 1.7; color: #334033; }
.testimonial-card blockquote footer { margin-top: 12px; font-weight: 700; color: var(--text-light); }

.carousel-prev, .carousel-next { background: #fff; border: 1px solid var(--border-color); width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.4rem; }
.carousel-prev:hover, .carousel-next:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.carousel-dots { display:flex; gap:8px; margin-left: 8px; }
.carousel-dot { width:10px; height:10px; border-radius:50%; background: rgba(0,0,0,0.12); border: none; cursor: pointer; }
.carousel-dot.active { background: var(--primary-color); }

@media (max-width: 1024px) {
    .presence-testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-carousel { flex-direction: column; align-items: stretch; }
    .carousel-prev, .carousel-next { width: 36px; height: 36px; }
}

/* View All Testimonials button — make it visible with green background */
.testimonials-card .view-testimonials {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 700;
    margin: 18px auto 0;
    text-align: center;
    box-shadow: 0 8px 24px rgba(46,128,65,0.12);
}
.testimonials-card .view-testimonials:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

/* Ensure CTA is visible below the section */
.cta-section { z-index: 1; }

.impact-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
}

.impact-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(46, 128, 65, 0.1);
}

.impact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.impact-card h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.impact-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 16px;
}

.impact-card li {
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.impact-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.impact-card .btn {
    margin-top: 24px;
}

.impact-card > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-card {
    background: linear-gradient(180deg, #F6FBF7 0%, #EEF6EE 100%);
    border: none;
    padding: 20px;
    border-radius: 12px;
    display: block;
    text-align: left;
}

.story-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.partner-card {
    background: linear-gradient(135deg, #0F4F2F 0%, #123F2B 100%);
    border: none;
    color: #fff;
    padding: 28px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-card h2 {
    font-size: 1.25rem;
    margin-bottom: 18px;
    color: #fff !important;
}

/* Ensure partner-card headings using h3 also inherit white color */
.partner-card h3,
.partner-card h2 {
    color: #fff !important;
}

/* Force the checklist marker color to white on dark partner card */
.partner-card ul li,
.partner-card p {
    color: #fff !important;
}

.partner-card li::before {
    color: #fff !important;
}

.partner-card p,
.partner-card ul li {
    color: rgba(255,255,255,0.92);
}

.partner-card .btn {
    margin-top: 18px;
}

.partner-card .btn-secondary {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
}

.partner-card .btn-secondary:hover {
    background: #ff8b2a;
    border-color: #ff8b2a;
}

/* CTA SECTION */
.cta-section {
    padding: 48px 0;
    background: linear-gradient(135deg, #0F4F2F 0%, #1A6B46 100%);
    position: relative;
    z-index: 1;
}

.cta-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cta-panel > div:first-child {
    z-index: 2;
}

.cta-section .eyebrow {
    color: #c8d8c3;
    font-size: 0.85rem;
}

.cta-section .eyebrow.light {
    color: #FEA630;
    display: inline-block;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    line-height: 1.3;
    margin-top: 16px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

/* CTA specific overrides to match screenshot */
.cta-section .cta-panel {
    align-items: center;
}
.cta-section .btn-primary {
    background: #fff;
    color: var(--primary-dark);
    border: 2px solid #fff;
    box-shadow: none;
}
.cta-section .btn-primary:hover { background: #f2f6f2; }
.cta-section .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.45);
}
.cta-section .btn-outline:hover { background: rgba(255,255,255,0.06); }
.cta-section .cta-panel { padding: 28px 20px; border-radius: 6px; }

/* Footer download button: green variant */
.footer-download-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 6px;
    background: var(--primary-color);
    color: #fff !important;
    font-weight: 700;
    transition: all 0.3s ease;
}
.footer-download-card:hover { background: var(--primary-dark); }

.btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
}
.site-footer {
    background: linear-gradient(180deg, #08321a 0%, #062914 100%);
    color: #fff;
}

.footer-widgets {
    padding: 60px 0 40px;
}

.footer-widgets-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 28px;
    align-items: start;
}

.footer-widget h3,
.footer-widget h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-widget p,
.footer-widget li a {
    color: #c8d8c3;
    margin-bottom: 10px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-widget a {
    transition: all 0.3s ease;
}

.footer-widget a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-download-card {
    display: inline-block;
    background: var(--primary-color);
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-download-card:hover {
    background: var(--accent-orange);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: #c8d8c3;
    font-size: 0.9rem;
}

.sticky-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
}

.sticky-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 50px;
    background: #fff;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.sticky-whatsapp {
    background: #25D366;
    color: #fff;
}

.sticky-whatsapp:hover {
    background: #1BAF54;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.sticky-emergency {
    background: #FF6B6B;
    color: #fff;
}

.sticky-emergency:hover {
    background: #E63946;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
}

.sticky-icon {
    font-size: 1.2em;
}

@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .footer-widgets-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .bottom-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading a {
        margin-left: 0;
        margin-top: 16px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        position: relative;
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 12px;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
        padding: 20px 20px 18px;
        border-radius: 0 0 12px 12px;
        order: 3;
        width: 100%;
        z-index: 99;
    }

    .main-navigation.active {
        display: flex;
    }

    .main-navigation .menu {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .main-navigation .menu li {
        width: 100%;
    }

    .main-navigation .menu li a {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-radius: 10px;
        color: #0F4F2F;
        font-weight: 700;
    }

    .main-navigation .menu li a:hover {
        background: var(--primary-light);
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    .header-action {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .header-action .btn-primary {
        width: auto;
        padding: 10px 18px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .hero-section {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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

    .service-cards {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        flex-wrap: wrap;
    }
    
    .stat-inline {
        justify-content: center;
    }
    
    .stat-icon,
    .stat-card strong {
        font-size: 1.8rem;
    }

    .stat-card p {
        font-size: 0.85rem;
        text-align: center;
    }

    .stat-divider {
        display: none;
    }

    .footer-widgets-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trusted-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .presence-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-carousel {
        flex-direction: column;
        align-items: stretch;
    }

    .testimonial-viewport {
        width: 100%;
    }

    .carousel-prev,
    .carousel-next {
        margin: 0 auto;
    }

    .view-testimonials {
        width: 100%;
    }

    .sticky-actions {
        bottom: 16px;
        right: 16px;
    }

    .sticky-action {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1rem; }

    .hero-section {
        padding: 40px 0;
    }

    .hero-grid {
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        flex-direction: column;
    }

    .stat-card {
        flex: 0 0 100%;
    }

    .stat-icon,
    .stat-card strong {
        font-size: 1.8rem;
    }

    .stat-card p {
        font-size: 0.85rem;
        text-align: center;
    }

    .footer-widgets-inner {
        grid-template-columns: 1fr;
    }

    .trusted-logos {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .testimonial-carousel {
        margin: 0;
        flex-direction: column;
        gap: 12px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-card blockquote {
        font-size: 0.95rem;
    }

    .view-testimonials {
        width: 100%;
        margin-top: 16px;
    }

    .cta-section h2 {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .impact-card {
        padding: 24px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card h3 {
        font-size: 0.95rem;
    }

    .card-image-area {
        height: 90px;
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .impact-card {
        padding: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-card h3 {
        font-size: 0.9rem;
    }

    .card-image-area {
        height: 100px;
        font-size: 2rem;
    }
}