/* ============================================
   Tibisti Corporate Website - Main Stylesheet
   ============================================ */

/* CSS Variables - Color Palette */
:root {
    --primary-blue: #1a5fb4;
    --primary-blue-dark: #0d4a8c;
    --primary-blue-light: #3584e4;
    --secondary-green: #57e389;
    --secondary-green-dark: #33d17a;
    --secondary-green-light: #8ff0a4;
    --accent-fuchsia: #c061cb;
    --accent-fuchsia-dark: #a347ae;
    --accent-fuchsia-light: #dc8add;
    --white: #ffffff;
    --light-gray: #f6f5f4;
    --medium-gray: #deddda;
    --dark-gray: #77767b;
    --text-dark: #241f31;
    --text-light: #5e5c64;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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);
}

/* RTL Support */
body.rtl {
    direction: rtl;
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-green), var(--accent-fuchsia));
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 95, 180, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-accent {
    background-color: var(--accent-fuchsia);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-fuchsia-dark);
    transform: translateY(-2px);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px var(--shadow-dark);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
        max-width: 150px;
    }
    
    .footer-logo-img {
        height: 45px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
        max-width: 130px;
    }
    
    .footer-logo-img {
        height: 40px;
        max-width: 120px;
    }
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 5px 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-green));
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-blue);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: var(--light-gray);
    padding: 5px;
    border-radius: 25px;
}

.lang-switcher a {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.lang-switcher a.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.lang-switcher a:hover:not(.active) {
    background-color: var(--medium-gray);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-text h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text h1 span {
    color: var(--secondary-green);
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon {
    width: 350px;
    height: 350px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Decorative Lines */
.hero-lines {
    position: absolute;
    top: 20%;
    right: 10%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-lines span {
    height: 4px;
    border-radius: 2px;
}

.hero-lines span:nth-child(1) {
    width: 100px;
    background-color: var(--primary-blue-light);
}

.hero-lines span:nth-child(2) {
    width: 80px;
    background-color: var(--secondary-green);
}

.hero-lines span:nth-child(3) {
    width: 60px;
    background-color: var(--accent-fuchsia);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-box {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    border-radius: 10px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.about-image-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(26, 95, 180, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.about-icon {
    width: 200px;
    height: 200px;
    opacity: 0.8;
}

.about-text h2 {
    color: var(--primary-blue);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
}

.about-feature span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-green), var(--accent-fuchsia));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 2rem;
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, var(--secondary-green-dark) 0%, var(--secondary-green) 100%);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, var(--accent-fuchsia-dark) 0%, var(--accent-fuchsia) 100%);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: 100px 0;
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    background-color: var(--primary-blue);
    transform: scale(1.05);
}

.product-card:hover .product-icon,
.product-card:hover h4,
.product-card:hover p {
    color: var(--white);
}

.product-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: var(--transition);
}

.product-card h4 {
    margin-bottom: 10px;
    transition: var(--transition);
}

.product-card p {
    font-size: 0.9rem;
    transition: var(--transition);
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
}

.why-us .section-title h2 {
    color: var(--white);
}

.why-us .section-title h2::after {
    background: linear-gradient(90deg, var(--white), var(--secondary-green), var(--accent-fuchsia));
}

.why-us .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us-card {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.why-us-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.why-us-card h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.why-us-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Stats Counter */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-green);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Contact CTA Section
   ============================================ */
.contact-cta {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--white);
    margin-bottom: 15px;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-blue);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-green);
    padding-left: 5px;
}

.rtl .footer-links ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   Page Headers (Inner Pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--secondary-green);
}

/* ============================================
   About Page
   ============================================ */
.about-page-content {
    padding: 80px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.mv-card {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.mv-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.values-section {
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
}

/* ============================================
   Services Page
   ============================================ */
.services-page-content {
    padding: 80px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--medium-gray);
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-text {
    direction: ltr;
}

.rtl .service-detail:nth-child(even) {
    direction: ltr;
}

.rtl .service-detail:nth-child(even) .service-detail-text {
    direction: rtl;
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail-icon {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-detail-icon svg {
    width: 150px;
    height: 150px;
}

.service-detail-text h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-detail-text ul {
    margin-top: 20px;
}

.service-detail-text ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.service-detail-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-weight: bold;
}

.rtl .service-detail-text ul li {
    padding-left: 0;
    padding-right: 25px;
}

.rtl .service-detail-text ul li::before {
    left: auto;
    right: 0;
}

/* ============================================
   Products Page
   ============================================ */
.products-page-content {
    padding: 80px 0;
}

.products-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-category-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.product-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.product-category-image {
    height: 200px;
    background-color: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: var(--primary-blue);
}

.product-category-content {
    padding: 25px;
}

.product-category-content h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-category-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.product-category-content .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page-content {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    margin-bottom: 5px;
}

.contact-info-text p {
    margin-bottom: 0;
}

.contact-form-wrapper {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
}

.contact-form-wrapper h3 {
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .about-content,
    .about-intro,
    .service-detail,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

    .rtl .service-detail:nth-child(even) {
        direction: rtl;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid,
    .why-us-grid,
    .stats,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 30px var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .services-grid,
    .mission-vision {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .why-us-grid,
    .stats,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links ul li a:hover {
        padding-left: 0;
    }

    .product-categories {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero-text h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .service-card,
    .product-card,
    .why-us-card {
        padding: 25px 20px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }

.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary-blue); }

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-green); }
.text-accent { color: var(--accent-fuchsia); }
.text-white { color: var(--white); }
