/* Global Styles */
:root {
    --primary: #2b6777;
    /* Ocean Teal */
    --accent: #52ab98;
    /* Seafoam Green */
    --accent-hover: #458f7f;
    --bg-light: #f4f6f9;
    --bg-dark: #12262d;
    /* Darker Teal/Navy */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #7a8288;
    --border-color: #e1e7eb;
    --white: #ffffff;
    --font-main: 'Poppins', sans-serif;
    --header-height: 60px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm: 0 4px 12px rgba(43, 103, 119, 0.08);
    --shadow-md: 0 8px 24px rgba(43, 103, 119, 0.12);
    --shadow-lg: 0 16px 48px rgba(43, 103, 119, 0.18);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-black);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

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

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header.scrolled {
    background-color: var(--white);
    padding: 4px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.site-header.scrolled .logo img {
    height: 32px;
}

@media (max-width: 768px) {
    .logo img {
        height: 32px;
    }

    .site-header.scrolled .logo img {
        height: 28px;
    }
}

/* Desktop Nav */
.desktop-nav .nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.desktop-nav .nav-list a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 0;
    color: var(--primary);
    position: relative;
}

.desktop-nav .nav-list a:hover,
.desktop-nav .nav-list a.active {
    color: var(--accent);
}

.desktop-nav .nav-list>li>a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}

.desktop-nav .nav-list>li>a:hover::after,
.desktop-nav .nav-list>li>a.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.dropdown-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 14px 24px;
    font-size: 14px;
    text-transform: none;
    color: var(--primary);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--accent);
    padding-left: 28px;
}

/* Mobile Drawer */
.mobile-menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--primary);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 6px;
    transition: var(--transition);
    border: none;
}

.mobile-menu-toggle:hover {
    background: #eeeeee;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

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

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    /* Changed from left to right for more common mobile UX */
    left: auto;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1002;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.drawer-header img {
    height: 44px;
}

.close-drawer {
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    transition: var(--transition);
}

.close-drawer:hover {
    background: #eeeeee;
    color: var(--primary);
}

.drawer-list {
    padding: 20px 0;
    overflow-y: auto;
    flex: 1;
}

.drawer-list>li {
    border-bottom: none;
}

.drawer-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.drawer-list a:hover {
    background: #f8f9fa;
    color: var(--accent);
}

.drawer-submenu {
    display: none;
    padding-left: 0;
    background: #fdfdfd;
}

.drawer-submenu li a {
    font-size: 14px;
    padding: 12px 40px;
    color: var(--text-muted);
    font-weight: 400;
}

.drawer-dropdown.active .drawer-submenu {
    display: block;
}

.drawer-dropdown-toggle i {
    font-size: 14px;
    transition: var(--transition);
    color: var(--accent);
}

.drawer-dropdown.active .drawer-dropdown-toggle i {
    transform: rotate(180deg);
}

/* Remove focus styles often perceived as 'stuck' */
a:focus,
button:focus {
    outline: none;
}


/* Hero Slider */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: var(--bg-dark);
    overflow: hidden;
    margin-top: 0;
    padding-top: var(--header-height);
}

/* Hero Slider section height handled in responsive adjustments below */

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 20, 22, 0.8) 0%, rgba(18, 20, 22, 0.4) 50%, rgba(18, 20, 22, 0) 100%);
    z-index: 1;
}

@media (max-width: 900px) {
    .hero-slide::before {
        background: rgba(18, 20, 22, 0.6);
    }
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    height: 100%;
}

.slide-text {
    flex: 1;
    padding-right: 20px;
    transform: translateX(-50px);
    opacity: 0;
    transition: 0.8s 0.3s;
}

.hero-slide.active .slide-text {
    transform: translateX(0);
    opacity: 1;
}

.slide-image {
    flex: 1;
    text-align: center;
    transform: translateX(50px);
    opacity: 0;
    transition: 0.8s 0.3s;
}

.hero-slide.active .slide-image {
    transform: translateX(0);
    opacity: 1;
}

.slide-image img {
    max-height: 400px;
    margin: 0 auto;
}

.slide-subtitle {
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
    font-size: 13px;
    text-transform: uppercase;
}

.slide-title {
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 40px;
    color: var(--white);
    font-weight: 700;
}

.btn-hero {
    border: none;
    background: var(--accent);
    color: var(--white);
    padding: 16px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    display: inline-block;
    transition: var(--transition);
}

.btn-hero:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 5%;
    left: auto;
    transform: none;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

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

    .slide-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 60px 20px;
    }

    .slide-text {
        padding: 0;
        margin-bottom: 30px;
        transform: translateY(30px);
        flex: none;
    }

    .slide-image {
        display: block;
        flex: none;
        transform: translateY(30px);
        margin-top: 20px;
    }

    .slide-image img {
        max-height: 250px;
        width: auto;
    }

    .hero-slide.active .slide-text,
    .hero-slide.active .slide-image {
        transform: translateY(0);
        opacity: 1;
    }

    .slide-title {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .hero-slider-section {
        height: auto;
        min-height: 600px;
        padding-top: calc(var(--header-height) + 20px);
    }
}

/* Other sections (simplified carry over from previous) */
/* Intro Section */
.intro-section {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-light);
}

.welcome-text {
    display: block;
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}

.intro-text h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-body {
    max-width: 100%;
    margin: 0 auto;
}

.intro-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.intro-left-col,
.intro-right-col {
    flex: 1;
    width: 50%;
}

.intro-left-col {
    text-align: left;
}

.intro-body h2 {
    font-size: clamp(24px, 3vw, 32px);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.35;
}

.intro-body p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.intro-video {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 4px;
    /* Optional rounded corners */
}

/* Intro Responsive */
@media (max-width: 900px) {
    .intro-content-wrapper {
        flex-direction: column;
    }

    .intro-left-col,
    .intro-right-col {
        width: 100%;
    }

    .intro-left-col {
        text-align: center;
        /* Center text on mobile if desired, or keep left */
    }
}

.products-section,
.features-section,
.cta-section {
    padding: 60px 0;
}

.footer-top-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
    text-align: left;
    position: relative;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-top-left {
    flex: 1;
}

.footer-top-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-lockers-img {
    max-height: 280px;
    width: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

@media (max-width: 900px) {
    .footer-top-section {
        padding: 60px 24px;
        text-align: left;
    }

    .footer-top-grid {
        flex-direction: column;
    }

    .footer-top-right {
        justify-content: center;
        margin-top: 40px;
    }

    .footer-lockers-img {
        max-height: 200px;
    }
}

.footer-top-left h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.guarding-text {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    color: var(--text-mocha);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-top-section .btn {
    margin-top: 10px;
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border: none;
    transition: var(--transition);
}

.footer-top-section .btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding: 100px 0 60px;
    background: var(--bg-dark);
    color: var(--white);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 24px;
    }
}

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--accent);
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-col.about img.footer-logo {
    max-height: 60px;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
}

.footer-col.about img.is-logo {
    max-height: 40px;
    margin-top: 15px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.footer-col.links ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.footer-col.links ul li:last-child {
    border-bottom: none;
}

.footer-col.contact p {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    line-height: 1.6;
    word-break: break-word;
    /* Ensure long emails/links don't overflow */
}

.footer-col.contact i {
    color: var(--accent);
    margin-top: 5px;
}

.site-footer {
    background: var(--bg-dark);
    color: var(--white);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.site-footer a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.socket {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.info-card {
    flex: 1;
    padding: 30px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.form-map-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: #fff;
    margin-top: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.map-wrapper,
.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
}

.contact-form-wrapper {
    padding: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.page-title-section {
    background: #f5f5f5;
    padding: calc(var(--header-height) + 30px) 0 30px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    text-align: center;
    padding: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: #fff;
}

/* Products Range Section */
.products-range-section {
    padding: 100px 0;
    background-image: linear-gradient(rgba(18, 20, 22, 0.7), rgba(18, 20, 22, 0.7)), url('https://yogisafe.com/wp-content/uploads/2022/12/YS-Slider-BG.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: var(--white);
}

.products-range-section .section-title {
    color: var(--white);
}

.section-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 12px auto 0;
}

.products-range-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-range-item {
    flex: 1;
    max-width: 400px;
}

.product-range-link {
    text-decoration: none;
    display: block;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.product-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Curtain Effect */
.curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(197, 160, 89, 0.2);
    opacity: 0;
    transition: var(--transition);
}

.product-range-link:hover .product-img {
    transform: scale(1.1);
    /* Zoom effect */
}

.product-range-link:hover .curtain {
    opacity: 1;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    /* Assuming variable exists, else #543e3a based on analysis */
    text-transform: uppercase;
    margin-top: 15px;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .products-range-grid {
        flex-direction: column;
        align-items: center;
    }

    .product-range-item {
        width: 100%;
        max-width: 100%;
    }
}

/* Certification Section */
.certification-section {
    padding: 60px 0;
    background-color: #f2f2f2;
    /* Light gray background */
    text-align: center;
}

.certification-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Vertically center items */
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cert-item {
    flex: 0 1 auto;
    /* Allow sizing based on content but flexible */
    max-width: 300px;
}

.cert-logo {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    /* Constrain height for consistency */
    object-fit: contain;
    filter: grayscale(0%);
    /* Keep original colors */
    transition: transform 0.3s ease;
}

.cert-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .certification-grid {
        flex-direction: column;
        gap: 40px;
    }
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    margin-top: -30px;
    /* Pull closer to main title */
}

.why-choose-us-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}

.inline-logo-safe-smart {
    height: 33px;
    vertical-align: middle;
    margin: 0 5px;
}

.inline-logo-isi {
    height: 32px;
    vertical-align: middle;
    margin: 0 5px;
}

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

.feature-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    /* #5c463f */
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    max-width: 60px;
    height: auto;
    transition: var(--transition);
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1);
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

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

/* Latest Blog Section */
.latest-blog-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    /* Fixed height for consistency */
}

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

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

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-image:hover .blog-overlay {
    opacity: 1;
}

.blog-overlay i {
    color: #fff;
    font-size: 24px;
}

.blog-content {
    padding: 25px;
    text-align: left;
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--accent);
}

.blog-excerpt {
    font-size: 14px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more-btn::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--primary);
}

.read-more-btn:hover::after {
    transform: translateX(5px);
}

/* Blog Responsive */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

/* Products Page Styles */
.products-listing-section {
    padding: 80px 0;
    background-color: #f2f2f2;
}

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

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    /* Taller for products */
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Specific adjustment for icon-based placeholder images */
.product-image img[style*="contain"] {
    width: 60%;
    height: 60%;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    color: #fff;
    font-size: 24px;
    background: var(--dark-brown);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.product-info {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.product-info p {
    font-size: 14px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-product {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--primary-beige);
    color: #000;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: center;
}

.btn-product:hover {
    background: var(--primary-beige);
    color: #000;
}

/* Responsive Products Grid */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.info-card h3 {
    font-size: 20px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    color: #222;
    font-size: 15px;
    line-height: 1.6;
}

/* Map and Form Container */
.form-map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    /* Flush layout or use gap if preferred */
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.map-wrapper {
    flex: 1;
    min-width: 300px;
    min-height: 450px;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 320px;
    padding: clamp(30px, 5vw, 60px);
    background: var(--white);
}

.contact-form-wrapper h2 {
    font-size: 28px;
    color: #000;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-family: var(--font-main);
    font-size: 14px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button[type="submit"]:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

/* Responsive Contact */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-map-container {
        flex-direction: column;
    }

    .map-wrapper {
        min-height: 350px;
    }

    .contact-form-wrapper {
        padding: 40px 24px;
    }
}

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

    .contact-form .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* Company Page Styles */
/* Company Page Styles (Refined) */
.section-who-we-are,
.section-how-we-started {
    padding: 80px 0;
    background: #fff;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-layout.reverse-layout {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-content .section-title {
    font-size: 32px;
    color: #000;
    margin-bottom: 25px;
    font-weight: 700;
}

.split-content p {
    font-size: 16px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 20px;
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Journey Section (Theme Background) */
.section-journey {
    padding: 100px 0;
    background: var(--primary);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-journey .section-title {
    color: #fff;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 20px;
}

.stat-icon {
    margin-bottom: 20px;
}

.stat-icon img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Make icons white */
}

.stat-number {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Values Section */
.section-values {
    padding: 80px 0;
    background: #f9f9f9;
}

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

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon-box {
    margin-bottom: 25px;
}

.value-icon-box i {
    font-size: 40px;
    color: var(--primary-beige);
}

.value-card h3 {
    font-size: 20px;
    color: #000;
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    font-size: 15px;
    color: #222;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {

    .split-layout,
    .split-layout.reverse-layout {
        flex-direction: column;
        gap: 40px;
    }

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

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

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

/* Page Title Section (Hero) */
.page-title-section {
    background-color: #fcefe8;
    /* Light beige/tan for blog hero */
    padding: calc(var(--header-height) + 40px) 0 40px;
    text-align: center;
    background-image: url('https://yogisafe.com/wp-content/uploads/2021/04/page-title-bg.png');
    /* Pattern if available */
    background-size: cover;
    background-position: center;
}

.page-title-section h1 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Listing Section */
.blog-listing-section {
    padding: 80px 0;
    background-color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal {
    opacity: 0;
}

.reveal.active {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
}

.page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.page-numbers.dots {
    border: none;
    background: transparent;
}