/* Variables & Reset */
:root {
    --primary-color: #f39c12;
    /* Safety Orange/Gold */
    --secondary-color: #2c3e50;
    /* Dark Steel Blue */
    --dark-bg: #1a1a1a;
    --light-bg: #f4f4f4;
    --text-color: #333;
    --text-light: #ecf0f1;
    --transition: all 0.3s ease;
    --font-main: 'Cairo', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #000;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

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

.text-white {
    color: #fff;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    margin-right: 15px;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

.lang-switcher {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.lang-switcher:hover {
    background: #d68910;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
}

.lang-switcher i {
    font-size: 1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('hero_factory_1764230994760.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
    /* Navbar height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about .row {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about .col-text {
    flex: 1;
}

.about .col-img {
    flex: 1;
}

.about .section-title::after {
    margin: 10px 0 0 0;
}

.features-list {
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--primary-color);
}

.img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 420px;
    background: #0f1624;
    display: flex;
    flex-direction: column;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.card-media {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-media img {
    transform: scale(1.05);
}

.card-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(15, 25, 40, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.service-card:hover .card-icon {
    transform: translate(-3px, 3px);
}

.service-card .card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 25px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.8rem;
    color: #fefefe;
}

.card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-list li {
    position: relative;
    padding-right: 18px;
    color: #dbe3f5;
    font-size: 0.95rem;
}

.card-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.card-link {
    margin-top: auto;
    align-self: flex-start;
    background: rgba(243, 156, 18, 0.9);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    background: rgba(255, 193, 7, 0.95);
    transform: translateY(-2px);
}

.card-link i {
    font-size: 0.85rem;
}

.service-card .card-content p {
    color: #e8ecf4;
}

.service-card .icon {
    position: static;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background: rgba(243, 156, 18, 0.9);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
}

.services-section {
    background: #f6f8fb;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-box {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 20px 45px rgba(15, 25, 40, 0.08);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(15, 25, 40, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-box h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-box p {
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 15px;
}

.service-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-box ul li {
    position: relative;
    padding-right: 18px;
    margin-bottom: 8px;
    color: #6c6c6c;
    font-size: 0.95rem;
}

.service-box ul li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: 900;
}

/* Stats Section */
.stats {
    background: url('service_welding_1764231045392.jpg') fixed center center/cover;
    position: relative;
    padding: 100px 0;
    color: #fff;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item .counter {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 156, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item .overlay i {
    font-size: 2rem;
    color: #fff;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact .row {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact .col-info {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin-top: 35px;
    min-height: 350px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

.contact .col-info .text-gray {
    color: #f3f6fb;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 25px;
    border-radius: 12px;
    background: rgba(15, 25, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(243, 156, 18, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #f7a62d;
    font-size: 1.2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.contact-item h4 {
    color: #fff;
    margin-bottom: 5px;
}

.contact-item p {
    color: #fdfdfd;
    font-weight: 600;
}

.phone-number {
    direction: ltr;
    text-align: left;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0.5px;
    display: inline-block;
}

.social-links {
    margin-top: 30px;
    text-align: center;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    margin-left: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

/* Footer */
.footer {
    background: #111;
    color: #777;
    padding: 30px 0;
    border-top: 1px solid #222;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-brand span {
    color: #fff;
    font-weight: 700;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about .row,
    .contact .row {
        flex-direction: column;
    }
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--light-bg);
}

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

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-box p {
    font-size: 0.95rem;
    color: #666;
}

.process-subtitle {
    color: #f7a62d;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Work Process Section */
.process {
    position: relative;
    overflow: hidden;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    position: relative;
    flex-wrap: wrap;
    gap: 30px;
}

/* Connecting Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    display: none;
    /* Hidden on mobile, shown on desktop via media query */
}

@media (min-width: 992px) {
    .process-steps::before {
        display: block;
    }
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px;
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-10px);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    transition: var(--transition);
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.step-item:hover .step-number {
    color: rgba(243, 156, 18, 0.1);
    transform: translateX(-50%) scale(1.2);
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--dark-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.2);
    transition: var(--transition);
    position: relative;
}

.step-item:hover .step-icon {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.4);
}

.step-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #fff;
}