﻿/*
Theme Name: Nimako
Theme URI: http://example.com/kharis-theme
Author: Antigravity
Author URI: http://example.com
Description: A premium herbal hospital theme for R.S. Nimako Scientific Specialist Herbal Hospital.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nimako
*/

@font-face {
    font-family: 'GT Super Display';
    src: url('./assets/fonts/GT-Super-Display-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Super Display';
    src: url('./assets/fonts/GT-Super-Display-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Nunito Local Fonts */
@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/Nunito-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/Nunito-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/Nunito-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* GT Super Display Bold */
@font-face {
    font-family: 'GT Super Display';
    src: url('./assets/fonts/GT-Super-Display-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =============================================
   CSS CUSTOM PROPERTIES â€” NIMAKO BRAND COLORS
   ============================================= */
:root {
    --primary-color: #2F8F34;       /* Primary Green */
    --secondary-color: #432A94;     /* Primary Purple */
    --primary-dark: #1e6b24;
    --secondary-dark: #2e1b6e;
    --text-color: #1a1a1a;
    --text-muted: #555555;
    --light-bg: #f8faf8;
    --green-light: #e8f5e9;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --border-radius: 12px;
    --font-family: 'Nunito', sans-serif;
    --heading-font: 'GT Super Display', serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
}

/* =============================================
   RESET & BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; }
a { transition: color 0.3s ease; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 0.82rem;
    font-family: var(--font-family);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a,
.top-bar-right {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-left a:hover { color: #fff; }

.top-bar-left .divider {
    color: rgba(255,255,255,0.3);
}

.top-bar-right {
    font-style: italic;
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.top-bar-right .dot {
    color: rgba(255,255,255,0.5);
    margin: 0 4px;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
    background: var(--white);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

/* Logo + Hospital Name Block */
.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-branding .logo-img img,
.site-branding .custom-logo-link img,
.site-branding .custom-logo-link .custom-logo,
.site-branding .custom-logo {
    height: 58px !important;
    width: 58px !important;
    max-width: 58px !important;
    min-width: 58px !important;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid var(--primary-color);
    display: block;
}

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

.site-branding .logo-img img { display: block; }


.branding-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.branding-name {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.branding-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.branding-tagline {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.01em;
    margin-top: 2px;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 6px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
    color: var(--primary-color);
}

.main-navigation ul li.current-menu-item > a {
    border-bottom: 2px solid var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 6px;
    border-radius: 6px;
    transition: color 0.2s;
}

.header-search-btn:hover { color: var(--primary-color); }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    padding: 11px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    white-space: nowrap;
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-signup {
    background: var(--primary-color);
    color: var(--white);
    padding: 11px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-green-arrow {
    background: var(--primary-color);
    color: var(--white);
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-green-arrow:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* =============================================
   EYEBROW / SECTION LABELS
   ============================================= */
.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-slider {
    position: relative;
    width: 100%;
}
.hero-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}
.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}
.hero-slider .swiper-pagination {
    bottom: 20px !important;
}
.hero-section {
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.35) 50%,
        rgba(0,0,0,0.05) 100%
    );
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    min-height: 380px;
}

.hero-content {
    max-width: 540px;
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
    display: block;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 3.4rem;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 18px;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content h1 .highlight {
    color: #6be87a;
}

.hero-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-script {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 2.4rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.2;
    text-align: right;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Legacy hero slider kept for non-front-page templates */
.hero-slider {
    position: relative;
    background-color: #f0f7f6;
    overflow: hidden;
    height: 500px;
}

.slider-container, .hero-slide { height: 100%; }

.hero-slide {
    display: none;
    padding: 0;
    animation: fadeEffect 1s;
    position: relative;
}

.hero-slide.active { display: block; }
.hero-slide .container { height: 100%; }

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to   { opacity: 1; }
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover { background-color: var(--primary-color); }

/* =============================================
   SERVICES ICON ROW
   ============================================= */
.services-icon-row {
    background: var(--white);
    padding: 44px 0;
    border-bottom: 1px solid var(--border-color);
}

.services-icon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    text-align: center;
}

.service-icon-item {
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
}

.service-icon-item:hover {
    background: var(--green-light);
    transform: translateY(-4px);
    color: inherit;
}

.service-icon-circle {
    width: 64px;
    height: 64px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.6rem;
    transition: background 0.2s;
    flex-shrink: 0;
}

.service-icon-item:hover .service-icon-circle {
    background: var(--primary-color);
    color: var(--white);
}

.service-icon-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.service-icon-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* =============================================
   ABOUT US SECTION
   ============================================= */
.about-section {
    padding: 70px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.about-content h2 {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    color: var(--text-color);
    line-height: 1.15;
    margin-bottom: 18px;
    font-weight: 700;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-feature-icon {
    width: 42px;
    height: 42px;
    background: var(--green-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3px;
}

.about-feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* =============================================
   CONDITIONS SECTION
   ============================================= */
.conditions-section {
    background: var(--light-bg);
    padding: 55px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.conditions-section h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 28px;
    font-weight: 700;
}

.conditions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.condition-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.condition-tag i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.condition-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.condition-tag:hover i { color: var(--white); }

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-section {
    padding: 70px 0;
    background: var(--white);
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-section .section-header h2 {
    font-family: var(--heading-font);
    font-size: 2.6rem;
    color: var(--text-color);
    line-height: 1.15;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s, transform 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-patient {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.testimonial-patient img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green-light);
}

.testimonial-patient-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.testimonial-patient-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2px;
}

.testimonial-patient-info span {
    font-size: 0.78rem;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-quote {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding-left: 18px;
    border-left: 3px solid var(--primary-color);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 50px;
}

.footer-brand .footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .footer-logo-wrap img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid var(--primary-color);
}

.footer-brand-name {
    font-family: var(--font-family);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.footer-brand-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.87rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.72);
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
}

.footer-contact-item a:hover { color: var(--white); }

/* Social Icons */
.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-tagline-bar {
    background: var(--primary-color);
    padding: 10px 0;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.08em;
}

.footer-tagline-bar span {
    color: rgba(255,255,255,0.6);
    margin: 0 8px;
}

/* Footer Nav Menu */
ul.footer-nav-menu,
.footer-nav-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

ul.footer-nav-menu li,
.footer-nav-menu li {
    margin-bottom: 10px;
}

ul.footer-nav-menu a,
.footer-nav-menu a {
    text-decoration: none !important;
    color: rgba(255,255,255,0.72) !important;
    font-size: 0.87rem;
    transition: color 0.2s;
}

ul.footer-nav-menu a:hover,
.footer-nav-menu a:hover {
    color: #fff !important;
}

/* =============================================
   MEDICAL BANNER CTA (kept for inner pages)
   ============================================= */
.medical-banner {
    background-color: var(--primary-color) !important;
    background-image: url('assets/images/herbal-bowl.jpg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    background-blend-mode: multiply;
    position: relative;
}

/* =============================================
   SERVICE CARD (kept for inner pages)
   ============================================= */
.service-item {
    transition: transform 0.3s ease;
}

.service-item:hover { transform: translateY(-5px); }

.service-image {
    overflow: hidden;
    border-radius: 20px;
}

.service-image img {
    transition: transform 0.5s ease !important;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

/* =============================================
   TESTIMONIAL DOTS (carousel legacy)
   ============================================= */
.t-dot {
    height: 10px;
    width: 10px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.t-dot.active {
    background-color: var(--primary-color);
    width: 22px;
    border-radius: 6px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .services-icon-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .about-features { grid-column: span 2; }

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

@media (max-width: 768px) {
    .top-bar { display: none; }

    .header-inner { flex-wrap: wrap; gap: 10px; }

    .main-navigation { order: 3; width: 100%; }
    .main-navigation ul { flex-wrap: wrap; gap: 4px; justify-content: center; }

    .hero-inner { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .hero-content h1 { font-size: 2.4rem; }

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

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

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

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

    .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
    .services-icon-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 1.9rem; }
}

/* ==========================================================================
   LATEST POSTS SECTION (FRONT PAGE)
   ========================================================================== */
.latest-posts-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.post-card-image-link {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image {
    transform: scale(1.05);
}

.post-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

.post-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.3;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.post-card-title a:hover {
    color: var(--primary-color);
}

.post-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.post-card-readmore {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.post-card-readmore:hover {
    gap: 10px;
}

@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CEO MESSAGE SECTION
   ========================================================================== */
@media (max-width: 992px) {
    .ceo-message .container > div {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* ==========================================================================
   WOOCOMMERCE LAYOUT
   ========================================================================== */
@media (max-width: 992px) {
    .woocommerce-content .container > div {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   WOOCOMMERCE PREMIUM STYLING
   ========================================================================== */

/* 1. Shop Page Header & Ordering */
.woocommerce-ordering select {
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text-color);
    font-size: 0.95rem;
    font-family: var(--font-family);
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    outline: none;
}
.woocommerce .woocommerce-result-count {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 10px;
}

/* 2. Products Grid */
.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid var(--border-color);
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.woocommerce ul.products li.product a img {
    border-radius: 20px 20px 0 0;
    margin-bottom: 20px;
    width: 100%;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    color: var(--text-color);
    padding: 0 15px;
    margin-bottom: 10px;
}
.woocommerce ul.products li.product .price {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.woocommerce ul.products li.product .button {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin: 0 auto 10px !important;
    display: inline-block !important;
    transition: background-color 0.3s !important;
}
.woocommerce ul.products li.product .button:hover {
    background-color: var(--secondary-dark) !important;
}

/* 3. Sidebar Widgets */
.shop-sidebar .widget {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}
.shop-sidebar .widget-title {
    border: none !important;
    padding-bottom: 0 !important;
}
.widget_product_search form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.widget_product_search .search-field {
    min-width: 0;
    width: 100%;
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
}
.widget_product_search button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}
.widget_product_search button:hover {
    background: var(--primary-dark);
}
.widget_product_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget_product_categories ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-bg);
}
.widget_product_categories ul li:last-child {
    border-bottom: none;
}
.widget_product_categories ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.widget_product_categories ul li a:hover {
    color: var(--primary-color);
}
.widget_product_categories ul li .count {
    float: right;
    background: var(--light-bg);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 20px;
}





/* Vision Mission Values Grid */
.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 992px) {
    .vmv-grid {
        grid-template-columns: 1fr;
    }
}
