/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding-top: 100px;
}

@media (max-width: 992px) {
    body {
        padding-top: 80px;
    }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* Color Variables */
:root {
    --primary-blue: #0066CC;
    --dark-blue: #003366;
    --light-blue: #E6F3FF;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
}

/* Header Styles */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.company-name {
    font-weight: 700;
    color: var(--primary-blue);
    margin-left: 1rem;
    transition: color 0.3s ease;
    line-height: 1.0;
}

.company-name-main {
    font-size: 1.5rem;
}

.company-name-sub {
    font-size: 0.85rem;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 220px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 0.8rem 1.2rem;
    color: var(--gray-700);
    display: block;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    position: relative;
}

.hamburger-icon,
.close-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: invert(25%) sepia(100%) saturate(1000%) hue-rotate(200deg) brightness(1.2);
}

.close-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.hamburger.active .hamburger-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.hamburger.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    padding: 2rem;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    z-index: 1003;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 4rem;
}

.mobile-menu li {
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary-blue);
}

/* Mobile menu overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .header-container {
        padding: 1rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .company-name-main {
        font-size: 1.2rem;
    }

    .company-name-sub {
        font-size: 0.75rem;
    }
}

/* Hero Section */
.hero {
    background: url('../images/ConstructionWorker.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 200px 0 160px;
    text-align: left;
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/ConstructionWorker.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 100px 20px;
        text-align: center;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

@media (max-width: 768px) {
    .hero h1 {
        color: var(--white);
    }
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

@media (max-width: 768px) {
    .hero p {
        color: var(--white);
    }
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.clients .services-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .clients .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-card li:last-child {
    border-bottom: none;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: left;
    }

    .about-image {
        order: -1;
        text-align: center;
    }
}

.about-image {
    text-align: right;
}

.about-img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

/* Overview Section */
.overview {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-text {
        text-align: left;
    }

    .overview-image {
        order: -1;
        text-align: center;
    }
}

.overview-text h2 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.overview-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

.overview-image {
    text-align: left;
}

.overview-img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background-color: var(--white);
}

.clients h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.clients-table-container {
    overflow-x: auto;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.clients-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    text-align: left;
    font-weight: 500;
    color: var(--gray-700);
}

.clients-table td:last-child {
    border-right: none;
}

.clients-table tr:last-child td {
    border-bottom: none;
}

.clients-table tr:hover {
    background-color: var(--light-blue);
}

@media (max-width: 768px) {
    .clients-table-container {
        padding: 1rem;
    }

    .clients-table {
        font-size: 0.8rem;
    }

    .clients-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Expertise Strip Section */
.expertise-strip {
    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/RiyadhImage.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
}

.expertise-strip h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white);
}

.expertise-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.expertise-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-item p {
    color: var(--gray-100);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .expertise-strip h2 {
        font-size: 2rem;
    }

    .expertise-items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-item {
        padding: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.contact-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: invert(25%) sepia(100%) saturate(1000%) hue-rotate(200deg) brightness(1.2);
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Office Slider */
.office-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--white);
}

/* Footer */
.main-footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-logo-img {
    height: 80px;
    width: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--gray-300);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    background-color: var(--gray-900);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    margin: 0.5rem 0;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-blue);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: var(--white);
}

.process h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.process-step h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.process-step p {
    color: var(--gray-700);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-step {
        padding: 1.5rem;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: var(--light-blue);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 2rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 2rem;
}

/* Icons (using CSS for simple icons) */
.icon-email:before { content: "📧"; }
.icon-phone:before { content: "📞"; }
.icon-location:before { content: "📍"; }
.icon-linkedin:before { content: "💼"; }
.icon-twitter:before { content: "🐦"; }
.icon-facebook:before { content: "📘"; }

/* Clients Marquee */
.clients-marquee {
    padding: 40px 0;
    background-color: var(--gray-100);
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.client-logo {
    height: 60px;
    width: 60px;
    margin: 0 30px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.client-logo:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .client-logo {
        height: 40px;
        width: 40px;
        margin: 0 20px;
    }
}