/* ========================================
   Cell-Q Dermo-Cosmetics Website Styles
   Clean, Clinical, Minimalist Design
   ======================================== */

:root {
    /* Color Palette - Clinical & Minimal */
    --primary-color: #4A90E2;
    --primary-light: #E8F4FD;
    --secondary-color: #7B68EE;
    --accent-color: #5BC0BE;
    --text-dark: #2C3E50;
    --text-light: #6C7A89;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-pastel: #F0F7FF;
    --border-color: #E1E8ED;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 60px 0;
    --section-padding-sm: 40px 0;
}

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

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on all devices */
* {
    max-width: 100%;
}

img, svg, video, iframe {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1a365d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.logo-image {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.logo-accent {
    color: #60a5fa;
}

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

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #60a5fa;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #60a5fa;
}

.nav-btn-reach {
    text-decoration: none;
    background: #60a5fa;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-btn-reach:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}


/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 70vh;
    padding-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: calc(70vh - 80px);
    min-height: 450px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-pastel) 0%, var(--bg-light) 100%);
    z-index: -1;
}

.slide-bg-2 {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
}

.slide-bg-2::before {
    background: radial-gradient(circle, rgba(91, 192, 190, 0.15) 0%, transparent 70%);
}

.slide-bg-2::after {
    background: radial-gradient(circle, rgba(74, 144, 226, 0.12) 0%, transparent 70%);
}

.slide-bg-3 {
    background: linear-gradient(135deg, #FFF3E0 0%, #FCE4EC 100%);
}

.slide-bg-3::before {
    background: radial-gradient(circle, rgba(123, 104, 238, 0.15) 0%, transparent 70%);
}

.slide-bg-3::after {
    background: radial-gradient(circle, rgba(91, 192, 190, 0.12) 0%, transparent 70%);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 192, 190, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(74,144,226,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

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

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    border-color: white;
    width: 32px;
    border-radius: 6px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
    z-index: 5;
    pointer-events: none;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    opacity: 0.5;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-pastel));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.placeholder-content {
    text-align: center;
    color: var(--primary-color);
    opacity: 0.3;
}

.placeholder-content svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

/* ========================================
   Product Categories
   ======================================== */

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

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.1);
}

.category-icon svg {
    width: 40px;
    height: 40px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.category-desc {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   Products Section
   ======================================== */

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

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

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--bg-light);
    overflow: hidden;
}

.product-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    aspect-ratio: unset;
}

.product-content {
    padding: 2rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.product-desc {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.product-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ========================================
   Certifications Section
   ======================================== */

.certifications-section {
    background: var(--bg-white);
    padding: var(--section-padding);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.certification-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    text-align: center;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.certification-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
}

.certification-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    aspect-ratio: unset;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-pastel));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.certification-image .image-placeholder span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.6;
    text-align: center;
}

.certification-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.25rem 1rem;
    margin: 0;
}

/* ========================================
   Certificates Section
   ======================================== */

.certificates-section {
    background: var(--bg-light);
    padding: var(--section-padding);
}

.certificates-scroll-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(300px, 1fr));
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 1rem;
    margin: 0 60px;
    padding-left: 0;
    padding-right: 0;
}

.certificates-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-btn.scroll-left {
    left: 0;
}

.scroll-btn.scroll-right {
    right: 0;
}

.scroll-btn svg {
    width: 24px;
    height: 24px;
}

.scroll-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.scroll-btn.disabled:hover {
    background: white;
    color: var(--text-dark);
    border-color: var(--border-color);
    transform: translateY(-50%);
}

.certificates-grid::-webkit-scrollbar {
    height: 8px;
}

.certificates-grid::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.certificates-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.certificates-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.certificate-card-item {
    transition: transform 0.3s ease;
    min-width: 300px;
    width: 100%;
}

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

.certificate-frame {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.certificate-card-item:hover .certificate-frame {
    box-shadow: var(--shadow-lg);
}

.certificate-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.certificate-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.certificate-image .image-placeholder span {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
}

.certificate-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0.5rem;
    margin-top: auto;
}

.certificate-logo {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

.certificate-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ========================================
   Why Choose Section
   ======================================== */

.why-choose-section {
    background: var(--bg-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.why-icon svg {
    width: 32px;
    height: 32px;
}

.why-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.why-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   Gallery Section
   ======================================== */

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
}

.gallery-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    aspect-ratio: unset;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ========================================
   Testimonials Section
   ======================================== */

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.testimonial-rating {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   Blog Section
   ======================================== */

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.blog-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-light);
    overflow: hidden;
}

.blog-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    aspect-ratio: unset;
}

.blog-content {
    padding: 2rem;
}

.blog-date {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.75rem;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.blog-link:hover {
    transform: translateX(5px);
}

/* ========================================
   Contact Section
   ======================================== */

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

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    width: 100%;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #E8F4FD;
    border: 1px solid #B8D9F0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.contact-social {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.contact-social h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.messenger {
    background: #0084FF;
}

.social-btn:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

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

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

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

/* ========================================
   Animations
   ======================================== */

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* ========================================
   Responsive Design
   ======================================== */

/* ========================================
   Product Details Page
   ======================================== */

.product-details-section {
    padding: 100px 0 60px;
    background: var(--bg-white);
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span {
    color: var(--text-dark);
}

.product-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-image-large {
    position: sticky;
    top: 100px;
}

.product-image-large .image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-detail-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-detail-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.product-features,
.product-description,
.product-benefits,
.product-specifications {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
}

.product-features h3,
.product-description h3,
.product-benefits h3,
.product-specifications h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.features-list,
.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.features-list li,
.benefits-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.features-list li::before,
.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.product-description p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.spec-item span {
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* ========================================
   Responsive Design - Tablet (768px - 1024px)
   ======================================== */

@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 30px;
    }
    
    .hero {
        min-height: 65vh;
        padding-top: 75px;
    }
    
    .hero-slider {
        height: calc(65vh - 75px);
        min-height: 400px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        max-width: 100%;
    }
    
    .contact-info {
        gap: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(6, minmax(280px, 1fr));
        gap: 1.5rem;
        margin: 0 50px;
    }
    
    .certificate-card-item {
        min-width: 280px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
    }
    
    .scroll-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .product-details-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-image-large {
        position: relative;
        top: 0;
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
    }
    
    .slider-nav.prev {
        left: 20px;
    }
    
    .slider-nav.next {
        right: 20px;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

/* ========================================
   Responsive Design - Mobile (below 768px)
   ======================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 60vh;
        padding-top: 70px;
    }
    
    .hero-slider {
        height: calc(60vh - 70px);
        min-height: 350px;
    }

    .nav-wrapper {
        flex-wrap: nowrap;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: #1a365d;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
        gap: 1.5rem;
        justify-content: flex-start;
        align-items: flex-start;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        width: 100%;
        padding: 0.75rem 0;
    }

    .nav-btn-reach {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev {
        left: 15px;
    }

    .slider-nav.next {
        right: 15px;
    }

    .slider-nav svg {
        width: 20px;
        height: 20px;
    }

    .slider-dots {
        bottom: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .btn {
        text-align: center;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        max-width: 100%;
    }
    
    .contact-info {
        gap: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(6, minmax(250px, 1fr));
        gap: 1.5rem;
        margin: 0 45px;
    }
    
    .certificate-card-item {
        min-width: 250px;
    }
    
    .scroll-btn {
        width: 36px;
        height: 36px;
    }
    
    .scroll-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .certificate-frame {
        padding: 1rem;
    }
    
    .certificate-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .gallery-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        margin: 0;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .why-card {
        padding: 1.5rem;
    }

    .product-details-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-large {
        position: relative;
        top: 0;
    }

    .product-detail-title {
        font-size: 2rem;
    }

    .product-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .about-features {
        gap: 1rem;
    }
    
    .feature-item {
        gap: 0.75rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-item {
        gap: 1rem;
    }
    
    .contact-icon {
        width: 56px;
        height: 56px;
    }
    
    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }
    
    .social-buttons {
        gap: 0.75rem;
    }
    
    .social-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    section {
        padding: var(--section-padding-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }

    .product-card,
    .testimonial-card,
    .blog-card {
        margin: 0;
    }
    
    .product-content {
        padding: 1.25rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .category-card {
        padding: 1.25rem 0.75rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .why-card {
        padding: 1.25rem;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

/* ========================================
   Scroll to Top Button
   ======================================== */

.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.scroll-to-top-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   Responsive Design - Small Mobile (below 480px)
   ======================================== */

@media (max-width: 480px) {
    .hero-slider {
        min-height: 300px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-nav svg {
        width: 18px;
        height: 18px;
    }
    
    .slider-dots {
        bottom: 15px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .why-icon {
        width: 50px;
        height: 50px;
    }
    
    .why-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-social {
        padding: 1.5rem;
    }
    
    .contact-social h3 {
        font-size: 1.2rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .product-detail-title {
        font-size: 1.75rem;
    }
    
    .product-detail-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   Responsive Design - Large Screens (above 1400px)
   ======================================== */

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Responsive Design - Landscape Mobile
   ======================================== */

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 50vh;
        padding-top: 70px;
    }
    
    .hero-slider {
        height: calc(50vh - 70px);
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

/* ========================================
   Touch Device Optimizations
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .category-card,
    .product-card,
    .why-card {
        -webkit-tap-highlight-color: rgba(74, 144, 226, 0.2);
    }
    
    .btn:active,
    .nav-link:active {
        transform: scale(0.98);
    }
    
    .category-card:active,
    .product-card:active,
    .why-card:active {
        transform: translateY(-2px);
    }
    
    .slider-nav {
        width: 48px;
        height: 48px;
    }
    
    .dot {
        width: 14px;
        height: 14px;
    }
}

