:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #f28482;
    --secondary-color: #2a9d8f;
    --dark-color: #1d3557;
    --light-color: #f8f9fa;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --gray-color: #6c757d;
    --gray-light: #e9ecef;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.dark-mode {
    --light-color: #000000;
    --dark-color: #ffffff;
    --text-dark: #f8f9fa;
    --text-light: #030303;
    --gray-color: #adb5bd;
    --gray-light: #3e4044;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-dark);
    transition: var(--transition);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-left: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.nav-links {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links li {
    margin: 0 12px;
}

@media (max-width: 768px) {
    .nav-links li {
        margin: 0.25rem 0.5rem;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.theme-toggle, .lang-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    margin-right: 15px;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-toggle:hover, .lang-toggle:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.lang-dropdown {
    position: relative;
}

.lang-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-color);
    min-width: 140px;
    box-shadow: var(--box-shadow);
    z-index: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 10px;
}

.lang-options a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.lang-options a i {
    margin-left: 8px;
}

.lang-options a:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.lang-dropdown:hover .lang-options {
    display: block;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

/* Hero Sections */
.hero, .page-hero, .products-hero, .vision-hero {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.9), rgba(42, 157, 143, 0.8)), url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.vision-hero {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.9), rgba(230, 57, 70, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.vision-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content, .page-hero-content, .products-hero-content, .vision-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-hero-content {
    position: relative;
    z-index: 2;
}

.hero h1, .page-hero h1, .products-hero h1, .vision-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.vision-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p, .page-hero p, .products-hero p, .vision-hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.vision-hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
}

.breadcrumb li {
    margin: 0 10px;
    font-size: 1rem;
}

.breadcrumb li a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb li a:hover {
    color: var(--primary-light);
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.btn-inquire {
    flex: 1;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-inquire:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-wishlist {
    width: 45px;
    height: 45px;
    background-color: var(--gray-light);
    color: var(--gray-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Sections */
section, .section, .services-section, .service-detail-section, .about-section, .products-section, .vision-section, .mission-section, .goals-section, .team-section, .stats-section, .process-section, .pricing-section, .faq-section, .cta-section, .features-section, .equipment-section, .departments-section, .mission-vision, .articles-section, .gallery-section, .contact-section {
    padding: 20px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark-color);
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Grid Layouts */
.gallery-grid, .companies-grid, .articles-grid, .values-grid, .team-grid, .stats-grid, .process-steps, .pricing-grid, .features-grid, .equipment-grid, .departments-grid, .services-grid, .products-grid, .goals-grid {
    display: grid;
    gap: 30px;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.companies-grid, .values-grid, .team-grid, .process-steps, .features-grid, .equipment-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.articles-grid, .departments-grid, .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.goals-grid {
    grid-template-columns: 1fr;
}

/* Cards */
.gallery-item, .company-card, .article-card, .value-card, .team-card, .process-step, .pricing-card, .feature-card, .equipment-card, .department-card, .service-card, .product-card, .goal-card, .mv-card, .department-logo-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.gallery-item, .article-card, .team-card, .equipment-card, .department-card, .service-card, .product-card {
    overflow: hidden;
}

.company-card, .value-card, .process-step, .feature-card, .mv-card, .department-logo-card, .goal-card {
    text-align: center;
    padding: 40px 30px;
}

.gallery-item:hover, .company-card:hover, .article-card:hover, .value-card:hover, .team-card:hover, .process-step:hover, .pricing-card:hover, .feature-card:hover, .equipment-card:hover, .department-card:hover, .service-card:hover, .product-card:hover, .goal-card:hover, .mv-card:hover, .department-logo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

/* Images */
.gallery-item, .article-image, .team-image, .department-image, .service-image, .product-image, .equipment-image {
    height: 250px;
    overflow: hidden;
}

.gallery-item {
    height: 280px;
}

.team-image {
    height: 280px;
}

.gallery-item img, .article-image img, .team-image img, .department-image img, .service-image img, .product-image img, .equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img, .article-card:hover .article-image img, .team-card:hover .team-image img, .department-card:hover .department-image img, .service-card:hover .service-image img, .product-card:hover .product-image img, .equipment-card:hover .equipment-image img {
    transform: scale(1.1);
}

/* Content Areas */
.gallery-overlay, .department-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 25px;
    transform: translateY(0);
    transition: var(--transition);
}

.department-overlay {
    display: flex;
    align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(transparent, var(--primary-color));
}

.article-content, .department-content, .service-content, .product-content, .equipment-content, .team-info {
    padding: 25px;
}

.team-info {
    text-align: center;
}

/* Icons */
.company-icon, .mv-icon, .feature-icon, .step-icon, .value-icon, .department-logo {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.department-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.department-logo-card:hover .department-logo {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.department-logo i {
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.department-logo-card:hover .department-logo i {
    color: white;
}

.value-icon {
    font-size: 2.5rem;
}

.step-icon, .feature-icon {
    font-size: 3rem;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Links */
.read-more, .department-link, .service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more i, .department-link i, .service-link i {
    margin-right: 8px;
    transition: var(--transition);
}

.read-more:hover, .department-link:hover, .service-link:hover {
    color: var(--primary-dark);
}

.read-more:hover i, .department-link:hover i, .service-link:hover i {
    transform: translateX(5px);
}

/* Meta Information */
.article-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

/* Lists */
.department-features, .service-features, .product-features, .equipment-specs, .mission-list, .pricing-features {
    list-style: none;
    margin-bottom: 25px;
}

.department-features li, .service-features li, .product-features li, .equipment-specs li, .mission-list li, .pricing-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.department-features li i, .service-features li i, .product-features li i, .equipment-specs li i, .mission-list li i, .pricing-features li i {
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 0.9rem;
}

.mission-list li {
    padding: 0.5rem 0;
}

.mission-list li i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.pricing-features li {
    justify-content: center;
}

.pricing-features li.disabled {
    color: var(--gray-color);
}

.pricing-features li.disabled i {
    color: var(--gray-color);
}

/* Special Elements */
.process-step {
    position: relative;
    counter-reset: step-counter;
}

.process-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.pricing-card {
    position: relative;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-period {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 1rem;
    color: var(--gray-color);
    text-decoration: line-through;
    margin-right: 10px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.goal-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.goal-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 1rem;
    opacity: 0.7;
    line-height: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.stat-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--gray-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin: 0;
}

.faq-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--gray-color);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

.contact-info p {
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    font-size: 1.2rem;
    color: var(--primary-light);
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
    opacity: 0.8;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Content Layouts */
.about-content, .service-overview, .vision-content, .mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h3, .service-content h2, .vision-text h2, .mission-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p, .service-content p, .vision-text p, .mission-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
    line-height: 1.8;
}

.about-image, .service-image, .vision-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img, .service-image img, .vision-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img, .service-image:hover img, .vision-image:hover img {
    transform: scale(1.05);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Filter */
.products-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: var(--light-color);
    color: var(--text-dark);
    border: 2px solid var(--gray-light);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--gray-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: var(--box-shadow-hover);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 70px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-light);
    position: relative;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-left: 8px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    opacity: 1;
    padding-right: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.team-info .social-links {
    margin-top: 15px;
}

.team-info .social-links a {
    width: 36px;
    height: 36px;
    background-color: var(--gray-light);
    color: var(--gray-color);
}

.team-info .social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Dark Mode Support for Footer */
.dark-mode footer {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .footer-column h3 {
    color: #ffffff !important;
}

.dark-mode .footer-column h3::after {
    background-color: var(--primary-color);
}

.dark-mode .footer-links a {
    color: #d0d0d0 !important;
}

.dark-mode .footer-links a:hover {
    color: var(--primary-light) !important;
}

.dark-mode .footer-column p {
    color: #b0b0b0 !important;
}

.dark-mode .social-links a {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e0e0 !important;
}

.dark-mode .social-links a:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.dark-mode .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
    color: #b0b0b0 !important;
}

.dark-mode .footer-bottom p {
    color: #b0b0b0 !important;
}

/* Background Colors */
.gallery-section, .articles-section, .features-section, .process-section, .faq-section, .equipment-section, .departments-section, .mission-vision, .team-section {
    background-color: var(--light-color);
}

.contact-section, .stats-section, .products-showcase, .cta-section {
    background: linear-gradient(135deg, var(--dark-color), #0d1b2a);
    color: white;
}

.cta-section {
    background: linear-gradient(135deg, var(--dark-color), #0d1b2a);
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .contact-container, .about-content, .service-overview, .mv-grid, .vision-content, .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image, .service-image {
        order: -1;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .hero h1, .page-hero h1, .products-hero h1 {
        font-size: 2.8rem;
    }

    .section-title h2 {
        font-size: 2.4rem;
    }
    
    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero, .page-hero, .products-hero, .vision-hero {
        padding: 100px 0;
    }
    
    .hero h1, .page-hero h1, .products-hero h1 {
        font-size: 2.4rem;
    }

    .hero p, .page-hero p, .products-hero p {
        font-size: 1.1rem;
    }

    section, .section, .services-section, .service-detail-section, .about-section, .products-section, .vision-section, .mission-section, .goals-section, .team-section, .stats-section, .process-section, .pricing-section, .faq-section, .cta-section, .features-section, .equipment-section, .departments-section, .mission-vision, .articles-section, .gallery-section, .contact-section {
        padding: 20px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .gallery-grid, .companies-grid, .articles-grid, .values-grid, .team-grid, .process-steps, .pricing-grid, .features-grid, .equipment-grid, .departments-grid, .services-grid, .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form, .company-card, .value-card, .process-step, .feature-card, .equipment-content, .pricing-card, .department-content, .service-content, .mv-card, .department-logo-card {
        padding: 30px 25px;
    }

    .cta-buttons, .product-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        left: 20px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero h1, .page-hero h1, .products-hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .company-card, .value-card, .process-step, .feature-card, .equipment-content, .pricing-card, .department-content, .service-content, .mv-card, .department-logo-card {
        padding: 25px 20px;
    }
    
    .department-overlay h3 {
        font-size: 1.5rem;
    }
    
    .department-logo {
        width: 100px;
        height: 100px;
    }
    
    .department-logo i {
        font-size: 3rem;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .team-image {
        height: 220px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        width: 95%;
        padding: 0 0.75rem;
    }
    
    .section-title h2 {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
    }
    
    .section-subtitle {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }
}

@media (min-width: 576px) {
    .values-grid, .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .vision-content, .mission-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        bottom: 30px;
        left: 30px;
        font-size: 1.8rem;
    }
}

@media (min-width: 992px) {
    .values-grid, .goals-grid, .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}


  /* Hero Slider Styles */
        .hero-slider {
            position: relative;
            height: 85vh;
            min-height: 650px;
            overflow: hidden;
            background: #000;
        }

        .slider-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide.active {
            opacity: 1;
        }

        .slide-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 1;
            transition: transform 10s ease;
        }

        .slide.active .slide-image {
            transform: scale(1.05);
        }

        .slide::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
            z-index: 2;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 3;
        }

        .hero-content {
            color: white;
            text-align: center;
            max-width: 850px;
            margin: 0 auto;
            padding: 40px 20px;
            animation: fadeInUp 1s ease;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
            line-height: 1.2;
            font-weight: 700;
        }

        .hero-content p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            line-height: 1.7;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-block;
            padding: 14px 32px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            text-align: center;
            min-width: 180px;
        }

        .btn-primary {
            background: #2e86de;
            color: white;
            box-shadow: 0 4px 15px rgba(46, 134, 222, 0.4);
        }

        .btn-primary:hover {
            background: #1b6ec2;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(46, 134, 222, 0.6);
        }

        .btn-outline {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .btn-outline:hover {
            background: white;
            color: #333;
            transform: translateY(-3px);
        }

        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.15);
            border: none;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            backdrop-filter: blur(5px);
            font-size: 1.2rem;
        }

        .slider-nav:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-50%) scale(1.1);
        }

        .slider-nav.prev {
            right: 30px;
            display: none;
        }

        .slider-nav.next {
            left: 30px;
            display: none;
        }

        .slider-pagination {
            position: absolute;
            bottom: 40px;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 12px;
            z-index: 10;
        }

        .dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background: white;
            transform: scale(1.3);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }

        .slide-counter {
            position: absolute;
            bottom: 40px;
            left: 40px;
            color: white;
            font-size: 1.1rem;
            z-index: 10;
            background: rgba(0, 0, 0, 0.4);
            padding: 8px 16px;
            border-radius: 20px;
            backdrop-filter: blur(5px);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .hero-slider {
                height: 75vh;
                min-height: 550px;
            }
            
            .hero-content h1 {
                font-size: 2.8rem;
            }
            
            .hero-content p {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 768px) {
            .hero-slider {
                height: 70vh;
                min-height: 500px;
            }
            
            .hero-content h1 {
                font-size: 2.3rem;
            }
            
            .hero-content p {
                font-size: 1.1rem;
            }
            
            .slider-nav {
                width: 50px;
                height: 50px;
            }
            
            .slider-nav.prev {
                right: 15px;
            }
            
            .slider-nav.next {
                left: 15px;
            }
            
            .slide-counter {
                left: 20px;
                bottom: 20px;
                display: none;
            }
        }

        @media (max-width: 576px) {
            .hero-slider {
                height: 65vh;
                min-height: 450px;
            }
            
            .hero-content h1 {
                font-size: 1.9rem;
            }
            
            .hero-content p {
                font-size: 1rem;
                margin-bottom: 2rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }
            
            .btn {
                width: 100%;
                max-width: 280px;
                padding: 12px 24px;
            }
            
            .slider-pagination {
                bottom: 70px;
                display: none;
            }
        }

        /* Departments Section - Updated Styles */
.departments-section {
    background-color: var(--light-color);
    padding: 100px 0;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.department-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.department-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.department-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.department-card:hover .department-image img {
    transform: scale(1.1);
}

.department-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 25px;
    transform: translateY(0);
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
}

.department-card:hover .department-overlay {
    background: linear-gradient(transparent, var(--primary-color));
}

.department-overlay h3 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
    font-weight: 700;
}

.department-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.department-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.department-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.department-features {
    list-style: none;
    margin-bottom: 25px;
}

.department-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.department-features li i {
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 0.9rem;
}

.department-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
    padding: 12px 0;
    border-top: 1px solid var(--gray-light);
}

.department-link i {
    margin-right: 8px;
    transition: var(--transition);
}

.department-link:hover {
    color: var(--primary-dark);
}

.department-link:hover i {
    transform: translateX(-5px);
}

/* Dark Mode Support */
.dark-mode .department-card {
    background-color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .department-content h3 {
    color: var(--text-dark);
}

.dark-mode .department-features li {
    color: var(--text-dark);
}

.dark-mode .department-link {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .departments-section {
        padding: 80px 0;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .department-image {
        height: 220px;
    }
    
    .department-content {
        padding: 25px;
    }
    
    .department-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .department-image {
        height: 200px;
    }
    
    .department-content {
        padding: 20px;
    }
    
    .department-overlay {
        padding: 20px;
    }
    
    .department-overlay h3 {
        font-size: 1.3rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.department-card {
    animation: fadeInUp 0.6s ease forwards;
}

.department-card:nth-child(2) {
    animation-delay: 0.2s;
}

.department-card:nth-child(3) {
    animation-delay: 0.4s;
}




/* Partners Section - Professional Infinite Scroll */
.partners-section {
    background-color: var(--light-color);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.partners-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
}

.partner-logo {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Infinite Scroll Animation */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-160px * 6 - 50px * 6));
    }
}

.partners-track {
    animation: infiniteScroll 40s linear infinite;
}

/* Pause on hover */
.partners-container:hover .partners-track {
    animation-play-state: paused;
}

/* Dark Mode */
.dark-mode .partner-logo {
    background-color: #2d3748;
    border-color: #4a5568;
}

.dark-mode .partner-logo img {
    filter: grayscale(100%) brightness(200%);
}

/* Responsive */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partner-logo {
        width: 120px;
        height: 70px;
        padding: 15px;
    }
    
    .partners-track {
        gap: 30px;
    }
    
    @keyframes infiniteScroll {
        100% {
            transform: translateX(calc(-120px * 6 - 30px * 6));
        }
    }
}

@media (max-width: 576px) {
    .partners-section {
        padding: 50px 0;
    }
    
    .partner-logo {
        width: 100px;
        height: 60px;
        padding: 12px;
    }
    
    .partners-track {
        gap: 20px;
    }
    
    .partner-logo img {
        max-height: 35px;
    }
    
    @keyframes infiniteScroll {
        100% {
            transform: translateX(calc(-100px * 6 - 20px * 6));
        }
    }
}