/* BKT Tyre Website - Professional Design */

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

:root {
    --primary-color: #003366;
    --secondary-color: #ff6600;
    --accent-color: #00cc99;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
}

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.sticky {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

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

.social-link {
    margin-left: 10px !important;
    font-size: 12px;
    font-weight: 500;
}

/* Top Bar Toggle Button */
.top-bar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.top-bar-toggle:hover {
    color: var(--secondary-color);
}

.top-bar.collapsed .top-bar-left,
.top-bar.collapsed .top-bar-right {
    display: none;
}

.top-bar.collapsed .top-bar-toggle {
    display: block;
}

.main-header {
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.sticky .main-header {
    padding: 15px 0;
}

.main-header .container {
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo img {
    height: 55px;
    transition: all 0.3s ease;
}

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

header.sticky .logo img {
    height: 45px;
}

/* Navigation Styles */
.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 12px 18px;
    display: block;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
    background-color: var(--light-gray);
}

.nav-menu li a.active {
    color: var(--secondary-color);
    background-color: var(--light-gray);
    font-weight: 600;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: var(--white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid var(--border-color);
}

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

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 0;
    transition: all 0.2s ease;
}

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

.dropdown-menu li a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-left: 30px;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-search {
    position: relative;
}

.search-form {
    display: flex;
    gap: 0;
}

.search-input {
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    width: 250px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--secondary-color);
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8c00 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn-icon {
    font-size: 16px;
}

.btn-text {
    font-size: 14px;
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.menu-open .menu-overlay {
    display: block;
}

/* Mobile Menu Close Button */
.menu-close-btn {
    display: none;
    text-align: right;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.menu-close-btn button {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.menu-close-btn button:hover {
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .menu-close-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.92) 0%, rgba(0, 51, 102, 0.85) 100%),
                url('../images/banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero .highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

.hero .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    margin-bottom: 50px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8c00 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

/* Section Styles */
section {
    padding: 60px 0;
}

section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

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

/* Product Cards */
.products-section {
    padding: 80px 0;
    background-color: var(--white);
}

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

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8c00 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 51, 102, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    text-align: center;
}

.btn-view {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.product-card:hover .btn-view {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.btn-view:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px) !important;
}

.product-content {
    padding: 25px;
}

.product-category {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-content h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-card .price {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.blog-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 51, 102, 0.9);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card .content {
    padding: 25px;
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
    transition: color 0.3s;
}

.blog-card:hover h3 {
    color: var(--secondary-color);
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.blog-author {
    color: var(--text-light);
    font-size: 13px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

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

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

table tr:hover {
    background-color: var(--light-gray);
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

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

.footer-col ul.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-col ul.contact-list li span:last-child {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: background 0.3s, transform 0.3s;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-bottom-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Footer Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-newsletter input {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
}

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

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.footer-newsletter button {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8c00 100%);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* Back to Top Button */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8c00 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    /* Container Max Width */
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    /* Product Grid Large */
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Categories Grid Large */
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Services Grid Large */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Testimonials Grid Large */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li a {
        padding: 15px 0;
        border-radius: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        display: none;
        background-color: var(--light-gray);
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu li a {
        padding: 12px 0 12px 20px;
    }

    .header-actions {
        display: none;
    }

    .header-wrapper {
        gap: 20px;
    }

    .search-input {
        width: 150px;
    }

    .search-input:focus {
        width: 180px;
    }

    /* Top Bar Tablet */
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        position: relative;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
    }

    .top-bar a {
        font-size: 12px;
    }

    .top-bar-toggle {
        display: block;
        position: absolute;
        top: 5px;
        right: 20px;
    }

    /* Hero Section Tablet */
    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    /* Categories Grid Tablet */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Product Grid Tablet */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services Grid Tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials Grid Tablet */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Features Grid Tablet */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog Grid Tablet */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section Titles Tablet */
    .section-title h2 {
        font-size: 32px;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials Grid */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Newsletter Input */
    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group input,
    .newsletter-input-group button {
        width: 100%;
    }

    /* CTA Section */
    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-features {
        grid-template-columns: 1fr;
    }

    /* Top Bar */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        position: relative;
    }

    .top-bar-left {
        gap: 10px;
        justify-content: center;
    }

    .top-bar-right {
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-bar a {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 11px;
    }

    .social-link {
        font-size: 11px;
    }

    .top-bar-toggle {
        display: block;
        position: absolute;
        top: 5px;
        right: 15px;
    }

    .header-search {
        display: none;
    }

    /* Section Titles */
    .section-title h2 {
        font-size: 28px;
    }

    /* Buttons */
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Container Padding */
    .container {
        padding: 0 15px;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .feature-card,
    .product-card .content,
    .blog-card .content {
        padding: 20px 15px;
    }

    /* Categories Grid Small */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonial Card */
    .testimonial-card {
        padding: 25px 20px;
    }

    /* Service Card */
    .service-card {
        padding: 30px 20px;
    }

    /* Newsletter */
    .newsletter-content h2 {
        font-size: 28px;
    }

    /* Top Bar Small Mobile */
    .top-bar-left span {
        font-size: 11px;
    }

    .top-bar-right {
        gap: 8px;
    }

    .top-bar a {
        font-size: 10px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .top-bar-toggle {
        top: 3px;
        right: 10px;
        font-size: 14px;
    }

    /* Hide some social links on very small screens */
    .top-bar-right .social-link:nth-child(3),
    .top-bar-right .social-link:nth-child(4) {
        display: none;
    }

    /* Footer Small Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-newsletter input,
    .footer-newsletter button {
        width: 100%;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Container Padding Small */
    .container {
        padding: 0 10px;
    }

    /* Product Image Height */
    .product-image-wrapper {
        height: 180px;
    }

    /* Section Padding */
    .products-section,
    .services-section,
    .testimonials-section {
        padding: 50px 0;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.feature-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff6600 0%, #ff9900 100%);
    color: var(--white);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    margin-bottom: 50px;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.cta-feature span {
    font-size: 24px;
    font-weight: bold;
}

.cta-feature p {
    margin: 0;
    font-size: 14px;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

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

.testimonial-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 16px;
}

.author-info span {
    color: var(--text-light);
    font-size: 13px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.service-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-color);
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--white);
}

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

.category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out;
}

.category-card:nth-child(1) {
    animation-delay: 0.1s;
}

.category-card:nth-child(2) {
    animation-delay: 0.2s;
}

.category-card:nth-child(3) {
    animation-delay: 0.3s;
}

.category-card:nth-child(4) {
    animation-delay: 0.4s;
}

.category-card:nth-child(5) {
    animation-delay: 0.5s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    border: 3px solid var(--secondary-color);
}

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

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
}

.category-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d99 100%);
    padding: 80px 0;
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter-content > p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    margin-bottom: 15px;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.newsletter-input-group input:focus {
    outline: 2px solid var(--secondary-color);
}

.newsletter-input-group button {
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-input-group button:hover {
    background-color: #e65c00;
}

.newsletter-note {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Home page responsive polish */
img {
    max-width: 100%;
}

.hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 96px 0 72px;
}

.hero-background {
    background-attachment: scroll;
    background-position: center;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto 48px;
}

.hero-title {
    font-size: 56px;
    letter-spacing: 0;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
}

.hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-application-section {
    position: relative;
    z-index: 2;
    padding: 0 0 76px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.home-application-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 34px;
    align-items: stretch;
    margin-top: -54px;
}

.home-application-copy,
.home-application-card {
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(0, 51, 102, 0.14);
}

.home-application-copy {
    padding: 34px;
    border: 1px solid rgba(0, 51, 102, 0.08);
}

.home-application-copy h2 {
    margin-bottom: 16px;
    color: var(--primary-color);
    font-size: 32px;
    line-height: 1.25;
}

.home-application-copy p {
    color: var(--text-light);
    line-height: 1.8;
}

.application-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.application-points div {
    padding: 16px;
    border-radius: 8px;
    background: #f7f9fb;
    border: 1px solid var(--border-color);
}

.application-points strong {
    display: block;
    color: var(--secondary-color);
    font-size: 26px;
    line-height: 1;
    margin-bottom: 6px;
}

.application-points span {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
}

.home-application-card {
    padding: 30px;
    border-top: 5px solid var(--secondary-color);
}

.home-application-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-application-form .form-group {
    margin-bottom: 16px;
}

.home-application-form textarea {
    min-height: 96px;
}

.categories-grid,
.features-grid,
.services-grid,
.testimonials-grid,
.blog-grid,
.product-grid {
    align-items: stretch;
}

.category-card,
.feature-card,
.service-card,
.testimonial-card,
.blog-card,
.product-card {
    border-radius: 8px;
}

.category-card,
.feature-card,
.service-card,
.product-card,
.blog-card {
    height: 100%;
}

.product-card,
.blog-card {
    display: flex;
    flex-direction: column;
}

.product-content,
.blog-card .content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.product-content p,
.blog-card p,
.service-card p,
.feature-card p,
.testimonial-text {
    overflow-wrap: anywhere;
}

.product-footer,
.blog-footer {
    margin-top: auto;
    gap: 16px;
}

.product-footer .btn-sm {
    flex-shrink: 0;
}

.products-section .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.product-content {
    padding: 22px;
}

.product-content h3,
.blog-card h3,
.service-card h3,
.feature-card h3 {
    line-height: 1.3;
}

.cta-section,
.newsletter-section {
    overflow: hidden;
}

.cta-buttons .btn,
.hero-buttons .btn {
    min-width: 180px;
}

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

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-white:hover,
.btn-outline-white:hover {
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .header-wrapper {
        gap: 20px;
    }

    .nav-menu li a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .search-input {
        width: 160px;
    }

    .search-input:focus {
        width: 190px;
    }

    .products-section .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    section,
    .products-section,
    .about-section,
    .services-section,
    .testimonials-section,
    .categories-section,
    .why-choose-section,
    .cta-section,
    .newsletter-section {
        padding: 64px 0;
    }

    .hero {
        min-height: auto;
        padding: 78px 0 62px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .stat-item {
        padding: 20px 14px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .products-section .product-grid,
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-application-wrap {
        grid-template-columns: 1fr;
        margin-top: -38px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        padding-right: 46px;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 8px 12px;
    }

    .main-header {
        padding: 14px 0;
    }

    .logo img {
        height: 44px;
    }

    .nav-menu {
        width: min(86vw, 320px);
        padding-top: 68px;
    }

    .hero {
        padding: 58px 0 48px;
        text-align: left;
    }

    .hero-content {
        margin-bottom: 32px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: auto;
        max-width: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2,
    .newsletter-content h2 {
        font-size: 28px;
        line-height: 1.25;
    }

    .section-title p,
    .newsletter-content > p,
    .cta-content p {
        font-size: 15px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .products-section .product-grid,
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card,
    .feature-card,
    .service-card,
    .testimonial-card {
        padding: 24px 18px;
    }

    .product-image-wrapper,
    .blog-image-wrapper img {
        height: 210px;
    }

    .product-footer,
    .blog-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-footer .btn-sm {
        width: 100%;
        max-width: none;
    }

    .home-application-section {
        padding-bottom: 56px;
    }

    .home-application-copy,
    .home-application-card {
        padding: 24px 20px;
    }

    .home-application-copy h2 {
        font-size: 26px;
    }

    .home-application-form .form-row,
    .application-points {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 30px;
        line-height: 1.25;
    }

    .cta-feature {
        justify-content: flex-start;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group input,
    .newsletter-input-group button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    section,
    .products-section,
    .about-section,
    .services-section,
    .testimonials-section,
    .categories-section,
    .why-choose-section,
    .cta-section,
    .newsletter-section {
        padding: 48px 0;
    }

    section .container,
    .main-header .container,
    .top-bar .container,
    footer .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero {
        padding: 44px 0;
    }

    .hero-title {
        font-size: 29px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons,
    .cta-buttons {
        width: 100%;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
    }

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

    .product-content,
    .blog-card .content {
        padding: 20px;
    }

    .footer-grid,
    .footer-bottom-content,
    .footer-bottom-links {
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* Mobile navigation drawer fix */
@media (max-width: 1180px) {
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-wrapper {
        gap: 16px;
    }

    .main-nav {
        flex: 0 0 auto;
        justify-content: flex-end;
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 9px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: var(--white);
    }

    .header-actions {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 340px);
        max-width: 100vw;
        height: 100vh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        background-color: var(--white);
        border-left: 1px solid var(--border-color);
        box-shadow: -12px 0 30px rgba(0, 0, 0, 0.18);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(105%);
        transition: transform 0.28s ease;
        z-index: 1100;
    }

    .nav-menu.active {
        right: 0;
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 54px;
        padding: 15px 18px;
        border-radius: 0;
        font-size: 15px;
    }

    .menu-close-btn {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        justify-content: flex-end;
        padding: 10px 14px;
        background: var(--white);
        box-shadow: 0 1px 0 var(--border-color);
    }

    .menu-close-btn button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        font-size: 28px;
        line-height: 1;
    }

    .dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        width: 100%;
        padding: 0;
        border: 0;
        border-top: 1px solid var(--border-color);
        border-radius: 0;
        box-shadow: none;
        background-color: #f7f9fb;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .has-dropdown:hover .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-menu.active,
    .has-dropdown:hover .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu li a {
        min-height: 48px;
        padding: 13px 18px 13px 34px;
        font-size: 14px;
    }

    .dropdown-menu li a:hover {
        padding-left: 34px;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        width: auto;
        height: auto;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1090;
    }

    .menu-open .menu-overlay {
        display: block;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        width: 88vw;
    }

    .nav-menu li a {
        min-height: 52px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* About page */
.about-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 96px 0;
}

.about-hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 36, 72, 0.94) 0%, rgba(0, 51, 102, 0.82) 48%, rgba(0, 51, 102, 0.42) 100%),
        url('../images/banner.webp');
    background-position: center;
    background-size: cover;
    z-index: -1;
}

.about-hero-content {
    max-width: 760px;
}

.page-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-hero h1 {
    margin-bottom: 20px;
    font-size: 54px;
    line-height: 1.12;
}

.about-hero p {
    max-width: 690px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.75;
    opacity: 0.96;
}

.about-hero-actions,
.about-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.about-story-section,
.about-mission-section,
.about-achievements-section {
    background: var(--white);
}

.section-title-left {
    text-align: left;
    margin-bottom: 24px;
}

.section-title-left p {
    margin-left: 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
    align-items: center;
}

.about-story-copy p {
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.85;
}

.about-story-panel {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 51, 102, 0.16);
}

.about-story-panel img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.story-highlight {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.story-highlight strong {
    color: var(--secondary-color);
    font-size: 42px;
    line-height: 1;
}

.story-highlight span {
    color: var(--primary-color);
    font-weight: 700;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.mission-card {
    min-height: 280px;
    padding: 36px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #f8fafc;
    border-top: 5px solid var(--primary-color);
}

.mission-card-accent {
    border-top-color: var(--secondary-color);
}

.mission-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.mission-card h2 {
    margin-bottom: 16px;
    color: var(--primary-color);
    font-size: 28px;
    line-height: 1.25;
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-values-section {
    background: var(--primary-color);
    color: var(--white);
}

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

.about-values-section .section-title p {
    color: rgba(255, 255, 255, 0.78);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.value-card {
    min-height: 230px;
    padding: 30px 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.value-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.achievement-item {
    padding: 34px 22px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.achievement-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 44px;
    line-height: 1;
}

.achievement-item span {
    color: var(--text-light);
    font-weight: 600;
}

.about-cta-section {
    padding-top: 0;
    background: var(--white);
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8c00 100%);
    color: var(--white);
}

.about-cta h2 {
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 1.25;
}

.about-cta p {
    max-width: 650px;
    opacity: 0.94;
}

@media (max-width: 992px) {
    .about-hero {
        min-height: auto;
        padding: 78px 0;
    }

    .about-hero h1 {
        font-size: 42px;
    }

    .about-story-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .about-story-panel,
    .about-story-panel img {
        min-height: 340px;
    }

    .values-grid,
    .achievement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 58px 0;
    }

    .about-hero-media {
        background:
            linear-gradient(90deg, rgba(0, 36, 72, 0.94) 0%, rgba(0, 51, 102, 0.86) 100%),
            url('../images/banner.webp');
        background-position: center;
        background-size: cover;
    }

    .about-hero h1 {
        font-size: 34px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-hero-actions .btn,
    .about-cta-actions .btn {
        width: 100%;
        max-width: none;
    }

    .about-hero-actions,
    .about-cta-actions {
        width: 100%;
    }

    .mission-card,
    .value-card,
    .achievement-item,
    .about-cta {
        padding: 26px 20px;
    }

    .mission-card h2,
    .about-cta h2 {
        font-size: 25px;
    }

    .story-highlight {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px;
    }
}

@media (max-width: 520px) {
    .values-grid,
    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .about-story-panel,
    .about-story-panel img {
        min-height: 280px;
    }

    .story-highlight {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .achievement-item strong {
        font-size: 38px;
    }
}

/* Shared inner pages */
.page-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 82px 0;
    background:
        linear-gradient(90deg, rgba(0, 36, 72, 0.94) 0%, rgba(0, 51, 102, 0.84) 58%, rgba(0, 51, 102, 0.48) 100%),
        url('../images/banner.webp');
    background-position: center;
    background-size: cover;
}

.page-hero h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: 46px;
    line-height: 1.15;
}

.page-hero p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.75;
    opacity: 0.95;
}

.listing-section,
.form-section,
.feature-band,
.map-section {
    padding: 72px 0;
}

.feature-band,
.form-section {
    background: #f7f9fb;
}

.filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
}

.filter-pill:hover,
.filter-pill.active {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--white);
}

.product-listing-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.empty-state {
    grid-column: 1 / -1;
    padding: 34px;
    text-align: center;
    color: var(--text-light);
    background: var(--light-gray);
    border-radius: 8px;
}

.info-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.info-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.06);
}

.info-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(255, 102, 0, 0.12);
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: 800;
}

.info-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 20px;
    line-height: 1.3;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.75;
}

.responsive-table {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
}

.responsive-table table {
    min-width: 720px;
    margin: 0;
}

.responsive-table td,
.responsive-table th {
    vertical-align: top;
}

.page-cta-band {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d99 100%);
    color: var(--white);
}

.page-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.page-cta-content h2 {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 1.25;
}

.page-cta-content p {
    max-width: 720px;
    opacity: 0.9;
}

.btn-block {
    width: 100%;
}

.dark-info-section {
    padding: 72px 0;
    background: var(--primary-color);
    color: var(--white);
}

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

.dark-info-section .section-title p {
    color: rgba(255, 255, 255, 0.78);
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.investment-grid article {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.investment-grid h3 {
    margin-bottom: 16px;
}

.investment-grid strong {
    display: block;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 24px;
}

.status-alert,
.status-result {
    max-width: 760px;
    margin: 32px auto 0;
}

.status-result {
    padding: 28px;
    border-left: 5px solid var(--accent-color);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.status-result h3 {
    margin-bottom: 18px;
    color: var(--primary-color);
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 700;
}

.map-placeholder {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #f7f9fb;
    color: var(--text-light);
}

.map-placeholder span {
    color: var(--secondary-color);
    font-size: 54px;
}

.map-placeholder h3 {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .page-hero {
        min-height: 330px;
        padding: 66px 0;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .page-cta-content {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .page-hero {
        min-height: auto;
        padding: 52px 0;
        background:
            linear-gradient(90deg, rgba(0, 36, 72, 0.94) 0%, rgba(0, 51, 102, 0.86) 100%),
            url('../images/banner.webp');
        background-position: center;
        background-size: cover;
    }

    .page-hero h1 {
        font-size: 31px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .listing-section,
    .form-section,
    .feature-band,
    .map-section,
    .dark-info-section,
    .page-cta-band {
        padding: 52px 0;
    }

    .filter-pills {
        justify-content: flex-start;
    }

    .filter-pill {
        flex: 1 1 auto;
    }

    .page-cta-content .btn {
        width: 100%;
    }

    .responsive-table table {
        min-width: 640px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 28px;
    }

    .info-card,
    .investment-grid article,
    .status-result {
        padding: 22px;
    }

    .filter-pill {
        width: 100%;
    }
}
