:root {
    --color-primary: #1a2e4a;
    --color-primary-dark: #122136;
    --color-secondary: #ff8c42;
    --color-secondary-hover: #e67e3a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-light-gray: #f5f7fa;
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
}

/* CRITICAL MOBILE FIXES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--color-secondary);
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-secondary);
}

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Header - FIXED FOR MOBILE */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.header .container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--color-primary);
    padding: 5px;
}

.header-contact-bar {
    display: flex;
    justify-content: space-between;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.phone-info, .location-info {
    font-size: 0.8rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.contact-icon {
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 46, 74, 0.9), rgba(26, 46, 74, 0.7)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding-top: 140px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--color-white);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-radius: 8px;
    margin: -3rem auto 2rem;
    position: relative;
    z-index: 10;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background-color: var(--color-light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.product-subtitle {
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.benefits-list {
    margin-bottom: 1.5rem;
}

.benefits-list li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    color: var(--color-text-light);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 2rem;
}

.faq-category h3 {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    border-left: 4px solid var(--color-primary);
    padding-left: 10px;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background-color: transparent;
    padding: 15px 20px;
    border: 2px solid var(--color-secondary);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255, 140, 66, 0.1);
}

.faq-question.active {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 15px 20px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--color-light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-box {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.map-container {
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: #888;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: var(--color-white);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
}

.modal-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.close-modal {
    color: var(--color-white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--color-primary);
    font-weight: 500;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--color-light-gray);
}

/* ========================================
   MOBILE RESPONSIVE - CRITICAL SECTION
   ======================================== */

@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Header Mobile */
    .header {
        padding: 0.3rem 0;
    }
    
    .header .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        gap: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }
    
    .btn-contact {
        margin: 15px 20px;
        width: calc(100% - 40px);
        text-align: center;
    }
    
    .header-contact-bar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .phone-info, .location-info {
        font-size: 0.75rem;
    }
    
    /* Dropdown Mobile */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.03);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 80vh;
        padding: 120px 15px 60px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Trust Bar Mobile */
    .trust-bar {
        margin: 0 0 2rem;
        padding: 1.5rem;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .trust-item h3 {
        font-size: 1.2rem;
    }
    
    .trust-item p {
        font-size: 0.85rem;
    }
    
    /* Products Mobile */
    .products-section {
        padding: 2rem 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    /* FAQ Mobile */
    .faq-section {
        padding: 2rem 0;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    /* Contact Mobile */
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .map-container {
        min-height: 300px;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}