/* ============================================
   DS DRILLTECH - Main Stylesheet
   Industrial / Engineering Website Design
   ============================================ */

/* CSS Reset & Variables */
:root {
    --primary-blue: #0a4d8c;
    --primary-blue-light: #1a6fb5;
    --primary-blue-dark: #063a6b;
    --accent-green: #7cb342;
    --accent-green-light: #9ccc65;
    --accent-green-dark: #558b2f;
    --dark-bg: #1a1f2e;
    --darker-bg: #12161f;
    --light-bg: #f5f7fa;
    --gray-bg: #eef1f5;
    --text-dark: #2c3e50;
    --text-medium: #5a6c7d;
    --text-light: #8a9bab;
    --white: #ffffff;
    --border-color: #e0e6ed;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--dark-bg);
    color: var(--text-light);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info svg {
    width: 14px;
    height: 14px;
    fill: var(--accent-green);
}

.top-bar-social a {
    margin-left: 12px;
    color: var(--text-light);
}

.top-bar-social a:hover {
    color: var(--accent-green);
}

/* ============================================
   Header / Navigation
   ============================================ */
header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 52px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text .brand-sub {
    font-size: 11px;
    color: var(--text-medium);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav.main-nav > ul > li {
    position: relative;
}

nav.main-nav > ul > li > a {
    display: block;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 6px;
    position: relative;
}

nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li > a.active {
    color: var(--primary-blue);
    background: var(--light-bg);
}

nav.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-green);
    border-radius: 2px;
    transition: var(--transition);
}

nav.main-nav > ul > li > a:hover::after,
nav.main-nav > ul > li > a.active::after {
    width: 24px;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

nav.main-nav > ul > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text-medium);
    transition: var(--transition);
}

.dropdown li a:hover {
    color: var(--primary-blue);
    background: var(--light-bg);
    padding-left: 30px;
}

.nav-cta {
    background: var(--accent-green);
    color: var(--white) !important;
    padding: 12px 24px !important;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--accent-green-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.4);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile menu toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 26px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Slider
   ============================================ */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 58, 107, 0.85) 0%, rgba(10, 77, 140, 0.6) 50%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    background: var(--accent-green);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: fit-content;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
    color: var(--accent-green-light);
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 600px;
    opacity: 0.92;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 179, 66, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-blue {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-blue:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 77, 140, 0.4);
}

/* Hero slider controls */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-dot.active {
    background: var(--accent-green);
    border-color: var(--white);
    transform: scale(1.2);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }

/* ============================================
   Section Common Styles
   ============================================ */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent-green);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ============================================
   Features / Stats Bar
   ============================================ */
.stats-bar {
    background: var(--primary-blue);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(124, 179, 66, 0.15) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-green-light);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .suffix {
    font-size: 28px;
}

.stat-label {
    font-size: 15px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

/* ============================================
   Products Section (Home)
   ============================================ */
.products-section {
    background: var(--light-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--gray-bg);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-green);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-card-desc {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 600;
}

.product-card-link:hover {
    gap: 12px;
    color: var(--accent-green-dark);
}

/* ============================================
   About Section (Home)
   ============================================ */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--accent-green);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 10px;
    text-align: center;
}

.about-image-badge .num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge .label {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    font-size: 34px;
}

.about-content .section-divider {
    margin: 16px 0 24px;
}

.about-text {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--light-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 18px;
    font-weight: 700;
}

.about-feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.about-feature-text p {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--darker-bg);
    color: var(--text-light);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--accent-green);
    border-radius: 2px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a::before {
    content: '›';
    color: var(--accent-green);
    font-size: 18px;
    font-weight: 700;
}

.footer-links li a:hover {
    color: var(--accent-green-light);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--accent-green-light);
}

/* ============================================
   Page Banner (Inner Pages)
   ============================================ */
.page-banner {
    height: 320px;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.85;
}

.breadcrumb a {
    color: var(--accent-green-light);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    opacity: 0.5;
}

/* ============================================
   Products Page
   ============================================ */
.products-page {
    background: var(--light-bg);
}

.product-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.category-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--accent-green);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-card-header {
    padding: 28px 28px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.category-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
}

.category-card-header h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.3;
}

.category-card-image {
    height: 200px;
    overflow: hidden;
    margin: 0 20px;
    border-radius: 10px;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.06);
}

.category-card-body {
    padding: 20px 28px 28px;
}

.category-card-body p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.category-products {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.category-product-tag {
    background: var(--light-bg);
    color: var(--text-medium);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail {
    background: var(--white);
}

.product-detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    background: var(--gray-bg);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.product-thumb {
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: var(--gray-bg);
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--accent-green);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
    line-height: 1.25;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-medium);
}

.product-meta-item .label {
    font-weight: 600;
    color: var(--text-dark);
}

.product-description {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 28px;
}

.product-features-list {
    margin-bottom: 32px;
}

.product-features-list h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.product-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-medium);
}

.product-features-list li:last-child {
    border-bottom: none;
}

.product-features-list li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 800;
    min-width: 20px;
}

.product-cta-box {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 28px;
    border-left: 4px solid var(--accent-green);
}

.product-cta-box h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.product-cta-box p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 16px;
}

/* Specification Table */
.spec-section {
    background: var(--light-bg);
    padding: 70px 0;
}

.spec-table-wrapper {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table thead {
    background: var(--primary-blue);
    color: var(--white);
}

.spec-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.spec-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
}

.spec-table tbody tr:nth-child(even) {
    background: var(--light-bg);
}

.spec-table tbody tr:hover {
    background: rgba(124, 179, 66, 0.06);
}

.spec-table .category-row {
    background: var(--gray-bg) !important;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 14px;
}

.spec-table .category-row td {
    color: var(--primary-blue);
    font-weight: 700;
    padding: 12px 20px;
}

/* ============================================
   About Page
   ============================================ */
.about-page {
    background: var(--white);
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}

.about-intro-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 420px;
}

.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-intro-text p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 70px;
}

.value-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--accent-green);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* Timeline */
.timeline-section {
    background: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--border-color);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-green);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent-green);
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    max-width: 400px;
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 40px;
}

.timeline-year {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    border-radius: 14px;
    padding: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.contact-info-card > p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    backdrop-filter: blur(4px);
}

.contact-info-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-info-text a:hover {
    color: var(--accent-green-light);
}

.contact-form-card {
    background: var(--white);
    border-radius: 14px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.contact-form-card > p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map placeholder */
.map-section {
    background: var(--light-bg);
    padding: 60px 0;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gray-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 77, 140, 0.05) 0%, rgba(124, 179, 66, 0.05) 100%);
}

.map-pin {
    position: relative;
    z-index: 2;
    text-align: center;
}

.map-pin .pin-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.map-pin h4 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.map-pin p {
    font-size: 14px;
    color: var(--text-medium);
}

/* ============================================
   News Page
   ============================================ */
.news-page {
    background: var(--light-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-card-image {
    height: 220px;
    overflow: hidden;
    background: var(--gray-bg);
    position: relative;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.06);
}

.news-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-green);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
}

.news-date-badge .day {
    font-size: 20px;
    font-weight: 800;
    display: block;
}

.news-date-badge .month {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-category {
    display: inline-block;
    color: var(--accent-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1.35;
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   Gallery Page
   ============================================ */
.gallery-page {
    background: var(--white);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 8px 22px;
    border: 1.5px solid var(--border-color);
    background: var(--white);
    color: var(--text-medium);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--gray-bg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 77, 140, 0.85) 0%, rgba(124, 179, 66, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    font-size: 20px;
    font-weight: 700;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-green);
    transform: translateY(-4px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .products-grid,
    .product-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-detail-hero {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-container {
        height: 64px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text .brand-name {
        font-size: 16px;
    }
    
    .logo-text .brand-sub {
        display: none;
    }
    
    nav.main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    nav.main-nav.open {
        transform: translateY(0);
    }
    
    nav.main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    
    nav.main-nav > ul > li > a {
        padding: 14px 16px;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        height: 480px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .hero-arrow {
        display: none;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-grid,
    .about-intro,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .products-grid,
    .product-category-grid,
    .values-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .page-banner {
        height: 220px;
    }
    
    .page-banner h1 {
        font-size: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .product-main-image {
        height: 320px;
    }
    
    .product-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}
