:root {
    --primary-color: #ff6600;
    --primary-dark: #e65c00;
    --secondary-color: #2d3748;
    --dark-bg: #1a202c;
    --light-bg: #f7fafc;
    --text-color: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.section {
    padding: 80px 0;
}

.alt-bg {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
}

.logo i {
    color: var(--primary-color);
    font-size: 2rem;
}

.navbar ul {
    display: flex;
    gap: 30px;
}

.navbar a {
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary-color);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.header-actions .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.header-actions .btn-outline {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.header-actions .btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    padding-top: 60px;
    /* Offset fixed header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Modern construction site in Amman aesthetic */
    background-image: url('https://images.unsplash.com/photo-1590247813693-5541d1c609fd?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 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;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Materials Grid */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.material-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.material-card .icon-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
    font-size: 3rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.material-card:hover .icon-wrapper {
    background-color: var(--primary-color);
    color: var(--white);
}

.material-card .content {
    padding: 25px;
    text-align: center;
}

.material-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.material-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Equipment Section */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.equipment-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.equipment-card:hover {
    box-shadow: var(--shadow-lg);
}

.eq-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.eq-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.equipment-card:hover .eq-img img {
    transform: scale(1.1);
}

.eq-info {
    padding: 20px;
}

.eq-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.eq-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.eq-specs {
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.eq-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.eq-btn:hover {
    background-color: var(--primary-color);
}

/* Companies Section */
.companies-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.company-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    cursor: pointer;
}

.company-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.company-logo {
    font-size: 3rem;
    /* Placeholder icon */
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.company-card h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.company-card span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 102, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
}

/* CTA */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero.png');
    /* reusing hero image or another */
    background-attachment: fixed;
    background-size: cover;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
        /* Mobile menu implementation usually needs JS, for now hidden */
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .header-actions {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}