/* ==========================================================================
   MinistryPharma - Custom Stylesheet
   Color Theme: Serene Blues
   ========================================================================== */

:root {
    --color-1: #B3D7E0; /* Lightest */
    --color-2: #7FB3C1;
    --color-3: #4A9BBE; /* Primary */
    --color-4: #2A7A9D; /* Dark */
    --color-5: #1A4D6D; /* Darkest */
    --white: #ffffff;
    --light-bg: #f4f9fb;
    --text-dark: #1a2b3c;
    --text-muted: #6c7d8c;
    --shadow-sm: 0 2px 8px rgba(26, 77, 109, 0.08);
    --shadow-md: 0 8px 24px rgba(26, 77, 109, 0.12);
    --shadow-lg: 0 16px 40px rgba(26, 77, 109, 0.18);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    color: var(--color-3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-5);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-3), var(--color-5));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 700px;
    margin: 25px auto 0;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--color-3), var(--color-4));
    color: var(--white);
    padding: 14px 38px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(42, 122, 157, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(42, 122, 157, 0.45);
    color: var(--white);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-custom {
    padding: 15px 0;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-5);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--color-3);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
}

.nav-link i {
    font-size: 14px;
    color: var(--color-3);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-4);
    background: var(--color-1);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--color-3), var(--color-4));
    color: var(--white);
    box-shadow: 0 6px 16px rgba(42, 122, 157, 0.3);
}

.nav-link.active i {
    color: var(--white);
}

.hamburger-btn {
    background: linear-gradient(135deg, var(--color-3), var(--color-4));
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hamburger-btn:hover {
    background: var(--color-5);
}

/* ==========================================================================
   SIDEBAR (Mobile)
   ========================================================================== */

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 77, 109, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.sidebar-logo img {
    height: 42px;
    width: 42px;
    background: var(--white);
    padding: 4px;
    border-radius: 8px;
    object-fit: contain;
}

.sidebar-logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.sidebar-logo span span {
    color: var(--color-1);
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.sidebar-nav {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 25px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.sidebar-link i {
    color: var(--color-3);
    width: 20px;
    text-align: center;
    transition: var(--transition);
}

.sidebar-link:hover {
    background: var(--color-1);
    color: var(--color-5);
    padding-left: 30px;
}

.sidebar-link.active {
    background: linear-gradient(90deg, var(--color-1), transparent);
    color: var(--color-5);
    border-left-color: var(--color-4);
    font-weight: 600;
}

.sidebar-link.active i {
    color: var(--color-4);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #eef3f6;
    text-align: center;
}

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.sidebar-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-1);
    color: var(--color-5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sidebar-social a:hover {
    background: var(--color-4);
    color: var(--white);
    transform: translateY(-3px);
}

.sidebar-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    margin-top: 80px;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-1) 0%, var(--white) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(26, 77, 109, 0.85) 0%, rgba(42, 122, 157, 0.65) 50%, rgba(74, 155, 190, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-badge i {
    color: var(--color-1);
    margin-right: 6px;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(90deg, var(--color-1), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--color-5);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-item h3 {
    font-size: 38px;
    font-weight: 800;
    margin: 0;
    color: var(--color-1);
}

.stat-item p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
    background-color: var(--light-bg);
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image-main img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-experience-card {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
    padding: 25px 30px;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-experience-card h3 {
    font-size: 48px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.about-experience-card p {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 500;
}

.about-content .subtitle {
    color: var(--color-3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 12px;
    display: inline-block;
}

.about-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--color-5);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content > p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 25px 0 30px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.about-features li .feature-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--color-1), var(--color-2));
    color: var(--color-5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.about-features li h5 {
    margin: 0 0 4px;
    color: var(--color-5);
    font-weight: 600;
    font-size: 16px;
}

.about-features li p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */

.products-section {
    background: var(--white);
}

.product-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e8eef2;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-2);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: linear-gradient(135deg, var(--color-1), #fff);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 24px;
}

.product-category {
    color: var(--color-3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.product-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-5);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eef3f6;
}

.product-price {
    color: var(--color-4);
    font-weight: 700;
    font-size: 22px;
}

.product-btn {
    background: var(--color-1);
    color: var(--color-5);
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    cursor: pointer;
}

.product-btn:hover {
    background: var(--color-4);
    color: var(--white);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
    background: linear-gradient(135deg, var(--color-5) 0%, var(--color-4) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.testimonials-section .section-title h2 {
    color: var(--white);
}

.testimonials-section .section-title .subtitle {
    color: var(--color-1);
}

.testimonials-section .section-title p {
    color: rgba(255, 255, 255, 0.85);
}

.testimonials-section .section-title h2::after {
    background: var(--color-1);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 50px;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.testimonial-stars {
    color: #ffd54f;
    margin-bottom: 15px;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.95;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-author-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-1), var(--color-3));
    color: var(--color-5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-author h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.testimonial-author p {
    margin: 2px 0 0;
    font-size: 13px;
    opacity: 0.8;
}

/* ==========================================================================
   BLOGS SECTION
   ========================================================================== */

.blogs-section {
    background-color: var(--light-bg);
}

.blog-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--white);
    color: var(--color-5);
    padding: 10px 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    line-height: 1.2;
}

.blog-date strong {
    display: block;
    font-size: 22px;
    color: var(--color-4);
}

.blog-date small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.blog-content {
    padding: 26px;
}

.blog-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-meta i {
    color: var(--color-3);
    margin-right: 4px;
}

.blog-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-5);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover .blog-content h4 {
    color: var(--color-3);
}

.blog-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.blog-read-more {
    color: var(--color-4);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--color-5);
    gap: 12px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    background: var(--white);
    position: relative;
}

.contact-wrapper {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info-side {
    background: linear-gradient(135deg, var(--color-4), var(--color-5));
    color: var(--white);
    padding: 50px 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-side::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.contact-info-side h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
}

.contact-info-side > p {
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.7;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.contact-info-list li {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}

.contact-info-list li .info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-1);
}

.contact-info-list li h6 {
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 14px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-list li p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 35px;
    position: relative;
}

.contact-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
}

.contact-social a:hover {
    background: var(--white);
    color: var(--color-5);
    transform: translateY(-3px);
}

.contact-form-side {
    padding: 50px 40px;
}

.contact-form-side h3 {
    font-size: 26px;
    color: var(--color-5);
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-form-side > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group-custom {
    margin-bottom: 20px;
    position: relative;
}

.form-group-custom .form-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--color-3);
    font-size: 15px;
    pointer-events: none;
}

.form-group-custom textarea ~ .form-icon {
    top: 22px;
    transform: none;
}

.form-control-custom {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border: 2px solid #e6ecf0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--light-bg);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--color-3);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(74, 155, 190, 0.12);
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 130px;
    padding-top: 16px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
    border: none;
    padding: 14px 42px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(42, 122, 157, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(42, 122, 157, 0.45);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background: linear-gradient(135deg, #0f3148 0%, var(--color-5) 100%);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0;
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-widget h4.footer-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-3);
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: 50px;
    background: var(--white);
    padding: 5px;
    border-radius: 10px;
    object-fit: contain;
}

.footer-logo span {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}

.footer-logo span span {
    color: var(--color-2);
}

.footer-about-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-3);
    transform: translateY(-4px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 10px;
    color: var(--color-2);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-1);
    padding-left: 6px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

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

.footer-newsletter {
    background: rgba(0, 0, 0, 0.15);
    padding: 28px 0;
}

.footer-newsletter h5 {
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 600;
}

.footer-newsletter h5 i {
    color: var(--color-2);
    margin-right: 8px;
}

.footer-newsletter p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px;
    margin-top: 8px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: var(--white);
    font-size: 14px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: var(--color-3);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--color-2);
    color: var(--color-5);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 22px 0;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--color-2);
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 44px;
    }
    .hero-subtitle {
        font-size: 17px;
    }
    .section-title h2,
    .about-content h2 {
        font-size: 32px;
    }
    .section-padding {
        padding: 70px 0;
    }
    .about-experience-card {
        right: 15px;
        bottom: -25px;
    }
    .contact-info-side,
    .contact-form-side {
        padding: 40px 28px;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 80px;
    }
    .hero-section {
        min-height: 540px;
    }
    .hero-title {
        font-size: 34px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-stats {
        gap: 25px;
        margin-top: 40px;
    }
    .stat-item h3 {
        font-size: 30px;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .section-title {
        margin-bottom: 40px;
    }
    .logo-text {
        font-size: 20px;
    }
    .navbar-logo img {
        height: 42px;
        width: 42px;
    }
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 12px;
    }
    .newsletter-form {
        flex-wrap: wrap;
    }
    .newsletter-form input {
        width: 100%;
        text-align: center;
    }
    .newsletter-form button {
        width: 100%;
        margin-top: 6px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn-primary-custom,
    .hero-buttons .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    .sidebar-menu {
        width: 280px;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* =====================================================================
   ADDITIONAL STYLES — Sidebar 85%, Swiper Carousels, Product Modal,
   Blog Detail Page, Back-to-Home Button
   ===================================================================== */

/* Sidebar override → take 85% of the viewport on mobile */
.sidebar-menu {
    width: 85vw !important;
    max-width: 420px;
    right: -100vw;
}

/* Swiper carousel — universal tweaks */
.section-swiper {
    position: relative;
    padding: 10px 4px 60px;
}
.section-swiper .swiper-slide {
    height: auto;
    display: flex;
}
.section-swiper .swiper-slide > * {
    flex: 1;
    width: 100%;
}
.section-swiper .swiper-pagination-bullet {
    background: var(--color-3);
    opacity: 0.4;
    width: 10px;
    height: 10px;
    transition: var(--transition);
}
.section-swiper .swiper-pagination-bullet-active {
    background: var(--color-5);
    opacity: 1;
    width: 28px;
    border-radius: 6px;
}
.section-swiper .swiper-button-prev,
.section-swiper .swiper-button-next {
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    top: 40%;
}
.section-swiper .swiper-button-prev:hover,
.section-swiper .swiper-button-next:hover {
    transform: scale(1.08);
}
.section-swiper .swiper-button-prev::after,
.section-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

/* Product modal */
#productModal .modal-dialog { max-width: 920px; }
#productModal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}
#productModal .modal-body { padding: 0; }
#productModal .pm-image {
    background: linear-gradient(135deg, var(--color-1), var(--color-2));
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#productModal .pm-image img {
    max-height: 360px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}
#productModal .pm-info {
    padding: 32px 30px;
}
#productModal .pm-info .pm-category {
    color: var(--color-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 600;
}
#productModal .pm-info h3 {
    color: var(--color-5);
    margin: 8px 0 16px;
    font-weight: 700;
    font-size: 26px;
}
#productModal .pm-info .pm-content {
    color: var(--text-muted);
    line-height: 1.7;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
}
#productModal .pm-info .pm-content ul { padding-left: 20px; }
#productModal .pm-info .pm-content h3,
#productModal .pm-info .pm-content h4 {
    color: var(--color-5);
    margin: 14px 0 6px;
    font-size: 17px;
}
#productModal .modal-close-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    color: var(--color-5);
    border: none;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}
#productModal .modal-close-x:hover {
    background: var(--color-5);
    color: var(--white);
    transform: rotate(90deg);
}

/* Blog detail page */
.blog-detail-section {
    padding: 120px 0 80px;
    background: var(--light-bg);
}
.blog-detail-section .blog-back {
    margin-bottom: 24px;
}
.blog-detail-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.blog-detail-card .bd-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}
.blog-detail-card .bd-body { padding: 40px; }
.blog-detail-card .bd-meta {
    display: flex;
    gap: 18px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.blog-detail-card .bd-meta i { color: var(--color-3); margin-right: 5px; }
.blog-detail-card h1 {
    color: var(--color-5);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 34px;
    line-height: 1.25;
}
.blog-detail-card .bd-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
}
.blog-detail-card .bd-content h2,
.blog-detail-card .bd-content h3 {
    color: var(--color-5);
    margin: 22px 0 10px;
}
.blog-detail-card .bd-content p { margin-bottom: 14px; }
.blog-detail-card .bd-content ul { padding-left: 22px; margin-bottom: 14px; }
.suggested-blogs { margin-top: 60px; }
.suggested-blogs h3 {
    color: var(--color-5);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}
.back-home-wrap {
    text-align: center;
    margin-top: 50px;
}
.btn-back-home {
    background: linear-gradient(135deg, var(--color-3), var(--color-4));
    color: var(--white);
    padding: 13px 32px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
}
.btn-back-home:hover {
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

/* Product card — remove price on home (since per requirement, only show View Details) */
.product-card .product-footer {
    justify-content: center;
}
.product-card .product-btn {
    width: 100%;
    text-align: center;
}

/* =====================================================================
   ADMIN PANEL STYLES
   ===================================================================== */
.admin-body {
    background: var(--light-bg);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}
.admin-header {
    background: linear-gradient(135deg, var(--color-4), var(--color-5));
    color: var(--white);
    padding: 16px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}
.admin-header .ah-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}
.admin-logo img {
    height: 42px;
    width: 42px;
    background: var(--white);
    padding: 4px;
    border-radius: 8px;
    object-fit: contain;
}
.admin-logo span {
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
}
.admin-logo span span { color: var(--color-1); }
.admin-header-actions { display: flex; gap: 10px; align-items: center; }
.admin-btn {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 9px 18px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.admin-btn:hover {
    background: var(--white);
    color: var(--color-5);
    transform: translateY(-1px);
}
.admin-btn.btn-danger-light {
    background: rgba(255, 80, 80, 0.25);
    border-color: rgba(255, 120, 120, 0.6);
}
.admin-btn.btn-danger-light:hover { background: #d33; color: #fff; }
.admin-container { max-width: 1280px; margin: 0 auto; padding: 30px 20px; }
.admin-page-title {
    color: var(--color-5);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 26px;
}
.admin-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) { .admin-cards-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .admin-cards-row { grid-template-columns: 1fr; } }
.admin-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
}
.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-3);
    color: inherit;
}
.admin-card .ac-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 18px;
}
.admin-card h4 {
    color: var(--color-5);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 19px;
}
.admin-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
}
.admin-card .ac-count {
    display: inline-block;
    background: var(--color-1);
    color: var(--color-5);
    border-radius: 20px;
    padding: 4px 14px;
    font-weight: 600;
    font-size: 13px;
    margin-top: 12px;
}

/* Admin table */
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-toolbar h2 { color: var(--color-5); margin: 0; font-weight: 700; font-size: 22px; }
.admin-btn-primary {
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.admin-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.admin-table-wrap {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table thead th {
    background: linear-gradient(135deg, var(--color-4), var(--color-5));
    color: var(--white);
    text-align: left;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}
.admin-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef3f6;
    vertical-align: middle;
    font-size: 14px;
}
.admin-table tbody tr:hover { background: #f7fbfd; }
.admin-table .truncate {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}
.admin-action-btn {
    background: var(--color-3);
    color: var(--white);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 4px;
    transition: var(--transition);
}
.admin-action-btn:hover { background: var(--color-5); }
.admin-action-btn.danger { background: #d9534f; }
.admin-action-btn.danger:hover { background: #b52a25; }
.admin-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.admin-pagination a, .admin-pagination span {
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--white);
    color: var(--color-5);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #dbe7ee;
    transition: var(--transition);
}
.admin-pagination a:hover { background: var(--color-3); color: #fff; border-color: var(--color-3); }
.admin-pagination .current {
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
    border-color: var(--color-5);
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    padding: 30px 18px;
}
.login-card {
    background: var(--white);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 420px;
}
.login-card .login-logo {
    text-align: center;
    margin-bottom: 28px;
}
.login-card .login-logo img {
    height: 60px;
    width: 60px;
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    padding: 8px;
    border-radius: 12px;
    object-fit: contain;
}
.login-card .login-logo h2 {
    color: var(--color-5);
    font-weight: 700;
    margin-top: 14px;
    font-size: 22px;
}
.login-card .login-logo p { color: var(--text-muted); margin: 0; font-size: 14px; }
.login-card .form-group { margin-bottom: 18px; position: relative; }
.login-card label {
    color: var(--color-5);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}
.login-card input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid #dbe7ee;
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
}
.login-card input:focus {
    outline: none;
    border-color: var(--color-3);
    box-shadow: 0 0 0 3px rgba(74,155,190,0.18);
}
.login-card .login-icon {
    position: absolute;
    left: 14px;
    top: 38px;
    color: var(--color-3);
    font-size: 15px;
}
.login-card .login-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-3), var(--color-5));
    color: var(--white);
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.login-card .login-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.login-error {
    background: #fee;
    color: #b52a25;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
    border-left: 4px solid #d9534f;
}
.login-info {
    background: #eaf6fb;
    color: var(--color-5);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 18px;
    border-left: 4px solid var(--color-3);
}

/* Quill editor wrapper */
.quill-wrap { background: var(--white); border-radius: 8px; }
.ql-toolbar { border-top-left-radius: 8px; border-top-right-radius: 8px; }
.ql-container { min-height: 220px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 14px; }
.admin-modal-body label {
    color: var(--color-5); font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block;
}
.admin-modal-body input[type=text],
.admin-modal-body input[type=file],
.admin-modal-body textarea,
.admin-modal-body select {
    width: 100%; padding: 10px 12px; border: 1px solid #dbe7ee; border-radius: 8px; font-size: 14px; margin-bottom: 14px;
}
.admin-modal-body input:focus, .admin-modal-body textarea:focus, .admin-modal-body select:focus {
    outline: none; border-color: var(--color-3); box-shadow: 0 0 0 3px rgba(74,155,190,0.15);
}
.modal-content { border: none; border-radius: 14px; }
.modal-header {
    background: linear-gradient(135deg, var(--color-4), var(--color-5));
    color: var(--white); border-top-left-radius: 14px; border-top-right-radius: 14px;
}
.modal-header .btn-close { filter: invert(1) brightness(2); }

.product-image {
    height: 180px;
    background: #fff;
    padding: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}