/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Custom Properties / Design Tokens */
:root {
    --primary: #d1005e; /* Vibrant Pink / Magenta from the mockup */
    --primary-hover: #b0004e;
    --primary-light: #fdf2f7;
    --secondary: #0099b8; /* Rich Cyan */
    --secondary-hover: #007c96;
    --dark: #1e2022;
    --dark-grey: #2d3135;
    --light-grey: #f8f9fa;
    --border-color: #e5e8eb;
    --text-main: #333333;
    --text-muted: #6c757d;
    --white: #ffffff;
    --success: #28a745;
    --whatsapp: #25d366;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background-color: #ffffff;
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

button {
    cursor: pointer;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-center { text-align: center; }
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    gap: 8px;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
}
.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* --- HEADER SECTION --- */
.top-bar {
    background-color: var(--dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-left {
    display: flex;
    gap: 20px;
}
.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cccccc;
}
.top-bar-left span i {
    color: var(--primary);
}
.top-bar-right {
    display: flex;
    gap: 20px;
}
.top-bar-right a:hover {
    color: var(--primary);
}

/* Main Header */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}
.search-form {
    flex: 1;
    max-width: 600px;
    display: flex;
    position: relative;
}
.search-form input {
    width: 100%;
    padding: 12px 60px 12px 20px;
    border-radius: 30px;
    border: 1px solid #dcdcdc;
    font-size: 14px;
}
.search-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(209, 0, 94, 0.1);
}
.search-form button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.search-form button:hover {
    background-color: var(--primary-hover);
}
.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.contact-info-text span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}
.contact-info-text a {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
}
.contact-info-text a:hover {
    color: var(--primary);
}

/* Nav Menu */
.nav-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}
.nav-bar .container {
    display: flex;
    align-items: center;
}
.categories-dropdown {
    position: relative;
}
.categories-btn {
    background-color: var(--dark);
    color: var(--white);
    padding: 15px 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-size: 15px;
}
.categories-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
}
.categories-dropdown:hover .categories-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.categories-menu li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}
.categories-menu li:last-child a {
    border-bottom: none;
}
.categories-menu li a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 25px;
}

.main-menu {
    display: flex;
    margin-left: 20px;
}
.main-menu li a {
    display: block;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-grey);
}
.main-menu li a:hover {
    color: var(--primary);
}

/* --- HERO SLIDER --- */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    background-color: #f7f9fb;
    height: 500px;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-slide-content {
    max-width: 550px;
    animation: fadeInUp 1s ease both;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary);
    margin-left: 80px;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-slide-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}
.hero-slide-content h2 span {
    color: var(--primary);
}
.hero-slide-content .features {
    display: flex;
    gap: 15px;
    font-weight: 600;
    color: var(--dark-grey);
    margin-bottom: 20px;
}
.hero-slide-content .features span::after {
    content: "•";
    margin-left: 15px;
    color: var(--primary);
}
.hero-slide-content .features span:last-child::after {
    content: "";
}
.hero-slide-content p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 25px;
}
/* Slider arrows and dots */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 3;
    transition: var(--transition);
}
.slider-arrow:hover {
    background-color: var(--primary);
    color: var(--white);
}
.slider-arrow-prev { left: 20px; }
.slider-arrow-next { right: 20px; }
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.2);
    border: none;
    transition: var(--transition);
}
.slider-dot.active {
    background-color: var(--primary);
    width: 25px;
    border-radius: 6px;
}

/* --- TRUST BADGES --- */
.trust-badges {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--white);
}
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.trust-badge-icon {
    font-size: 32px;
    color: var(--primary);
}
.trust-badge-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}
.trust-badge-text p {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- SECTION TILES & HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    display: inline-block;
    padding-bottom: 15px;
}
.section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* --- POPULAR CATEGORIES --- */
.popular-categories {
    background-color: var(--light-grey);
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.category-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 1080px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background-color: var(--light-grey);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.category-card:hover .category-img img {
    transform: scale(1.08);
}
.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

/* --- PROMO BANNERS --- */
.promo-banners-container {
    padding: 50px 0;
}
.promo-banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.promo-banner {
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;
    min-height: 220px;
    box-shadow: var(--shadow-md);
}
.promo-banner-pink {
    background: linear-gradient(135deg, #d1005e 0%, #a20046 100%);
    color: var(--white);
}
.promo-banner-cyan {
    background: linear-gradient(135deg, #0099b8 0%, #006e85 100%);
    color: var(--white);
}
.promo-content {
    z-index: 2;
    max-width: 60%;
}
.promo-content span {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}
.promo-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin: 8px 0 15px 0;
    line-height: 1.2;
}
.promo-content .btn {
    background-color: var(--white);
    color: var(--dark);
}
.promo-content .btn:hover {
    background-color: var(--dark);
    color: var(--white);
}
.promo-banner-pink .btn { color: var(--primary); }
.promo-banner-cyan .btn { color: var(--secondary); }

.promo-image {
    position: absolute;
    right: 20px;
    bottom: -10px;
    width: 40%;
    z-index: 1;
    transition: var(--transition);
}
.promo-banner:hover .promo-image {
    transform: scale(1.05) translateY(-5px);
}

/* --- BEST SELLERS / PRODUCTS GRID --- */
.products-section {
    padding: 50px 0;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.product-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    z-index: 1;
}
.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--light-grey);
    overflow: hidden;
}
.branded-overlay-center {
    position: relative;
}
.branded-overlay-center::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(5deg);
    width: 72px;
    height: 72px;
    background-image: url('../images/logo.png');
    background-size: 85% auto;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.95;
    pointer-events: none;
    z-index: 2;
    background-color: #ffffff;
    border-radius: 50%;
    border: 1.5px dashed var(--primary);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: var(--transition);
}
.branded-overlay-center:hover::after {
    opacity: 1.0;
    transform: translate(-50%, -50%) rotate(5deg) scale(1.08);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-image-container img {
    transform: scale(1.05);
}
.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.product-specs {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex: 1;
}
.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}
.product-price {
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
}
.add-to-cart-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}
.add-to-cart-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

/* --- WHY US SECTION --- */
.why-us {
    background-color: var(--light-grey);
}
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.why-us-item {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.why-us-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}
.why-us-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}
.why-us-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* --- NEWSLETTER SECTION --- */
.newsletter-section {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 0;
}
.newsletter-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.newsletter-text {
    display: flex;
    align-items: center;
    gap: 20px;
}
.newsletter-text i {
    font-size: 40px;
}
.newsletter-text h3 {
    font-size: 22px;
    font-weight: 700;
}
.newsletter-text p {
    font-size: 14px;
    opacity: 0.9;
}
.newsletter-form {
    display: flex;
    flex: 1;
    max-width: 500px;
    width: 100%;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 30px 0 0 30px;
    border: none;
    color: var(--dark);
}
.newsletter-form button {
    background-color: var(--dark);
    color: var(--white);
    border: none;
    padding: 0 30px;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
}
.newsletter-form button:hover {
    background-color: #000;
}

/* --- FOOTER SECTION --- */
footer {
    background-color: var(--dark);
    color: #cccccc;
    padding-top: 60px;
    border-top: 5px solid var(--primary);
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}
.footer-logo img {
    height: 25px;
    width: auto;
    object-fit: contain;
    display: block;
}
.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-column h3 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}
.footer-column ul li {
    margin-bottom: 12px;
}
.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.contact-details li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
}
.contact-details li i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
}
.contact-details li a {
    color: inherit;
}
.contact-details li a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 25px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}
.payment-methods img {
    height: 25px;
}
.payment-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--white);
}
.payment-secure i {
    color: var(--success);
}

/* --- WHATSAPP WIDGET --- */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    align-items: center;
}
.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}
.whatsapp-btn:hover {
    transform: scale(1.1);
}
.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp);
    opacity: 0.4;
    z-index: 1;
    animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* --- PRODUCT DETAIL / CALCULATOR PAGE --- */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.product-gallery-container {
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.product-gallery {
    background-color: var(--light-grey);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1080px;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.product-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}
.thumb-img {
    width: 70px;
    height: 70px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0;
    cursor: pointer;
    background-color: var(--white);
    object-fit: cover;
    transition: var(--transition);
}
.thumb-img:hover, .thumb-img.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.product-info h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}
.product-info .rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}
.rating-stars {
    color: #ffc107;
}
.product-description {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

/* Calculator Card */
.calculator-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}
.calculator-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.calc-row {
    margin-bottom: 20px;
}
.calc-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-grey);
    font-size: 15px;
}
.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.calc-option {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    background-color: var(--white);
}
.calc-option:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}
.calc-option.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--primary);
}
.calc-option span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.calc-option.active span {
    color: var(--primary);
}

.price-box {
    background-color: var(--light-grey);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    border: 1px solid var(--border-color);
}
.price-box-label {
    font-weight: 700;
    color: var(--dark-grey);
}
.price-box-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}
.price-box-val span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}
.action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* Tabs section on product detail */
.product-tabs {
    margin-top: 50px;
}
.tab-headers {
    display: flex;
    border-bottom: 2px solid var(--border-color);
}
.tab-btn {
    padding: 12px 25px;
    border: none;
    background: none;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
}
.tab-btn.active {
    color: var(--primary);
}
.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
}
.tab-content {
    padding: 25px 0;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
}
.specs-table td:first-child {
    font-weight: 600;
    width: 30%;
    color: var(--dark-grey);
}

/* --- CART PAGE (`sepet.html`) --- */
.cart-page-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
}
.cart-items-container {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.cart-header-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
}
.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}
.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-item-thumb {
    width: 60px;
    height: 60px;
    background-color: var(--light-grey);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cart-item-details h4 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.cart-item-details p {
    font-size: 12px;
    color: var(--text-muted);
}
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: fit-content;
}
.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
}
.qty-val {
    width: 40px;
    text-align: center;
    font-weight: 600;
}
.cart-item-subtotal {
    font-weight: 700;
    color: var(--primary);
}
.remove-cart-item {
    color: var(--text-muted);
    font-size: 18px;
}
.remove-cart-item:hover {
    color: var(--primary);
}

/* Cart Summary & Order Form */
.cart-summary-sidebar {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 130px;
}
.cart-summary-sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 500;
}
.summary-row-total {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
}

.order-form {
    margin-top: 30px;
}
.order-form h4 {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark);
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark-grey);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}
.form-group textarea {
    height: 80px;
    resize: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
}
.checkout-btn {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    font-size: 16px;
    border-radius: 30px;
}

/* Cart badge header */
.cart-trigger {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--dark);
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Side Cart Slide Drawer */
.side-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.side-cart.active {
    right: 0;
}
.side-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.side-cart-header h3 {
    font-size: 18px;
    font-weight: 700;
}
.close-side-cart {
    font-size: 24px;
    cursor: pointer;
}
.side-cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}
.side-cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}
.side-cart-item img {
    width: 50px;
    height: 50px;
    background-color: var(--light-grey);
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.side-cart-item-details h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}
.side-cart-item-details p {
    font-size: 11px;
    color: var(--text-muted);
}
.side-cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 5px;
}
.remove-side-item {
    position: absolute;
    top: 15px;
    right: 0;
    color: var(--text-muted);
    cursor: pointer;
}
.side-cart-total {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 16px;
}
.side-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.side-cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.side-cart-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Empty Cart State */
.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
}
.empty-cart-message i {
    font-size: 50px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* --- CONTACT PAGE (`iletisim.html`) --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.contact-details-box {
    background-color: var(--light-grey);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}
.contact-details-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}
.contact-item-large {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.contact-item-large-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.contact-item-large-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}
.contact-item-large-text p, .contact-item-large-text a {
    color: var(--text-muted);
    font-size: 15px;
}
.contact-item-large-text a:hover {
    color: var(--primary);
}

.map-container {
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}
.contact-form-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}

/* About page details */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}
.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}
.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .promo-banners-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .product-gallery-container {
        position: static !important;
    }
    .product-gallery {
        position: relative !important;
        min-height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }
    .cart-page-layout {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .about-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    .top-bar-left {
        justify-content: center;
        width: 100%;
    }
    .top-bar-right {
        justify-content: center;
        width: 100%;
    }
    .main-header .container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .logo {
        text-align: center;
    }
    .logo img {
        height: 45px;
        width: auto;
        margin: 0 auto;
    }
    .header-contact {
        justify-content: center;
    }
    .main-menu {
        display: none; /* Hide main menu on mobile, replace with burger or slide if needed */
    }
    .nav-bar .container {
        justify-content: center;
    }
    .categories-dropdown {
        width: 100%;
    }
    .categories-btn {
        width: 100%;
        justify-content: center;
    }
    .categories-menu {
        width: 100%;
    }
    .hero-slider-container {
        height: 400px;
    }
    .hero-slide-content h2 {
        font-size: 30px;
    }
    .hero-slide-content {
        max-width: 90%;
        margin: 0 auto;
    }
    .section-header h2 {
        font-size: 26px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    .cart-header-row {
        display: none;
    }
    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 15px;
        position: relative;
        text-align: center;
        padding: 30px 0;
    }
    .cart-item-info {
        flex-direction: column;
    }
    .qty-control {
        margin: 0 auto;
    }
    .remove-cart-item {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    .side-cart {
        width: 100%;
        right: -100%;
    }
    
    /* Best Sellers 3 columns on mobile */
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    .product-card-body {
        padding: 10px !important;
    }
    .product-card-body h3 {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }
    .product-specs {
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.4em;
    }
    .product-price {
        font-size: 12px !important;
    }
    .add-to-cart-btn-direct {
        width: 26px !important;
        height: 26px !important;
        font-size: 10px !important;
    }
    
    /* Popular Categories (hizmetler) 2 columns on mobile */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .category-card {
        padding: 10px !important;
    }
    .category-card h3 {
        font-size: 13px !important;
    }
    
    /* Workflow (Sipariş Süreci) 2 columns on mobile */
    .workflow-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px 10px !important;
        padding: 20px 0 0 0 !important;
        overflow-x: visible !important;
    }
    .workflow-grid::before {
        display: none !important;
    }
    .workflow-step {
        flex: none !important;
        width: 100% !important;
        padding: 20px 10px !important;
    }
    .workflow-step:nth-child(5) {
        grid-column: span 2 !important;
        width: 100% !important;
    }
    .workflow-step h3 {
        font-size: 14px !important;
    }
    .workflow-step p {
        font-size: 11px !important;
    }
    
    /* Why Us (Neden Biz) 2 columns on mobile */
    .why-us-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
        overflow-x: visible !important;
    }
    .why-us-item {
        flex: none !important;
        width: 100% !important;
        padding: 20px 10px !important;
    }
    .why-us-item h3 {
        font-size: 14px !important;
    }
    .why-us-item p {
        font-size: 11px !important;
    }
    
    /* Promo Banner responsive stack on mobile to prevent overlapping */
    .promo-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 30px 20px !important;
        min-height: auto !important;
    }
    .promo-content {
        max-width: 100% !important;
        margin-bottom: 25px !important;
    }
    .promo-content h3 {
        font-size: 22px !important;
    }
    .promo-image {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 220px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

/* --- PROFESSIONAL BRANDED MOCKUP OVERLAYS --- */
.branded-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.branded-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.printed-logo-overlay {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    background-image: url('../images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Specific category logo placements aligning with photo perspective */
.logo-kartvizit {
    top: 52%;
    left: 46%;
    width: 90px;
    height: 30px;
    transform: translate(-50%, -50%) rotate(-12deg);
    opacity: 0.85;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(0.95);
}
.logo-brosur {
    top: 55%;
    left: 36%;
    width: 95px;
    height: 32px;
    transform: translate(-50%, -50%) rotate(-15deg);
    opacity: 0.85;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(0.95);
}
.logo-afis {
    top: 48%;
    left: 50%;
    width: 130px;
    height: 45px;
    transform: translate(-50%, -50%);
    opacity: 0.85;
    mix-blend-mode: multiply;
}
.logo-el-ilani {
    top: 50%;
    left: 50%;
    width: 100px;
    height: 35px;
    transform: translate(-50%, -50%) rotate(5deg);
    opacity: 0.85;
    mix-blend-mode: multiply;
}
.logo-katalog {
    top: 55%;
    left: 32%;
    width: 90px;
    height: 30px;
    transform: translate(-50%, -50%) rotate(-10deg);
    opacity: 0.85;
    mix-blend-mode: multiply;
}
.logo-davetiye {
    top: 46%;
    left: 50%;
    width: 85px;
    height: 28px;
    transform: translate(-50%, -50%) rotate(-5deg);
    opacity: 0.85;
    mix-blend-mode: multiply;
}
.logo-sticker {
    top: 52%;
    left: 48%;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #ffffff;
    background-size: 80% auto;
    border: 1px dashed var(--primary);
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
    transform: translate(-50%, -50%) rotate(10deg);
    opacity: 0.95;
}
.logo-ambalaj {
    top: 58%;
    left: 50%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ffffff;
    background-size: 80% auto;
    border: 1.5px dashed var(--primary);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translate(-50%, -50%) rotate(-8deg);
    opacity: 0.95;
}
.logo-kurumsal {
    top: 48%;
    left: 38%;
    width: 110px;
    height: 38px;
    transform: translate(-50%, -50%) rotate(-10deg);
    opacity: 0.85;
    mix-blend-mode: multiply;
}

/* --- WORKFLOW / ORDER PROCESS --- */
.workflow-section {
    padding: 70px 0;
    background-color: var(--light-grey);
    text-align: center;
}
.workflow-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.workflow-section p.subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 45px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}
/* Connector line between steps */
.workflow-grid::before {
    content: "";
    position: absolute;
    top: 65px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: repeating-linear-gradient(to right, #d0d0d0 0px, #d0d0d0 8px, transparent 8px, transparent 16px);
    z-index: 1;
}
.workflow-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}
.workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}
.step-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(209, 0, 94, 0.05);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 10px auto 20px auto;
    transition: var(--transition);
}
.workflow-step:hover .step-icon {
    background-color: var(--primary);
    color: var(--white);
}
.workflow-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}
.workflow-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive adjustment for workflow */
@media (max-width: 992px) {
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-grid::before {
        display: none;
    }
}
@media (max-width: 576px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SSS / FAQ SECTION --- */
.faq-section {
    padding: 50px 0;
    background-color: var(--white);
}
.faq-section h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: var(--dark);
    margin-bottom: 10px;
}
.faq-section p.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 769px) {
    .faq-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 25px;
        max-width: 1200px;
    }
    .faq-item:nth-child(7) {
        grid-column: span 2;
    }
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: var(--primary);
}
.faq-question {
    background-color: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    user-select: none;
    transition: var(--transition);
}
.faq-question i {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: var(--light-grey);
    padding: 0 25px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 0 solid transparent;
}
.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.faq-item.active .faq-question {
    color: var(--primary);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-item.active .faq-answer {
    max-height: 250px; /* enough to fit text */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

/* --- BLOG PAGE --- */
.blog-header {
    background: linear-gradient(135deg, var(--dark) 0%, #2b303b 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.blog-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}
.blog-header p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.blog-controls {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-search {
    flex: 1;
    min-width: 280px;
    position: relative;
}
.blog-search input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.15);
    background-color: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}
.blog-search input::placeholder {
    color: rgba(255,255,255,0.5);
}
.blog-search input:focus {
    background-color: rgba(255,255,255,0.15);
    border-color: var(--primary);
}
.blog-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
}
.blog-filter-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.blog-tag {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background-color: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
    user-select: none;
}
.blog-tag:hover, .blog-tag.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.blog-section {
    padding: 60px 0;
    background-color: var(--light-grey);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.blog-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}
.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}
.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}
.blog-card-meta span i {
    margin-right: 5px;
    color: var(--primary);
}
.blog-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}
.blog-card-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.blog-card-btn {
    align-self: flex-start;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.blog-card-btn:hover {
    color: var(--dark);
}
.blog-card-btn i {
    transition: transform 0.2s ease;
}
.blog-card-btn:hover i {
    transform: translateX(5px);
}
.blog-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.blog-pagination button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-pagination button:hover, .blog-pagination button.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.blog-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* BLOG DETAIL MODAL */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.blog-modal.open {
    opacity: 1;
    pointer-events: auto;
}
.blog-modal-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlide 0.3s ease;
}
@keyframes modalSlide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.blog-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 10;
}
.blog-modal-close:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.blog-modal-body {
    padding: 40px;
}
.blog-modal-header {
    margin-bottom: 25px;
}
.blog-modal-category {
    background-color: rgba(209, 0, 94, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 15px;
}
.blog-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 15px;
}
.blog-modal-meta {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}
.blog-modal-text {
    font-size: 15px;
    color: #4a505b;
    line-height: 1.8;
}
.blog-modal-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 30px;
    margin-bottom: 15px;
}
.blog-modal-text p {
    margin-bottom: 20px;
}
.blog-modal-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.blog-modal-text ul li {
    margin-bottom: 8px;
    list-style-type: disc;
}
.blog-modal-cta {
    margin-top: 40px;
    background-color: var(--light-grey);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary);
}
.blog-modal-cta h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.blog-modal-cta p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.blog-modal-cta-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}
.blog-modal-cta-btn:hover {
    background-color: var(--dark);
    color: var(--white);
}

/* Responsive adjustment for blog page */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .blog-modal-body {
        padding: 30px 20px;
    }
    .blog-modal-title {
        font-size: 22px;
    }
}
@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
