:root {
    /* Base Colors - Edit these to change the entire theme */
    --color-primary: #1E90FF;
    /* Primary brand color - Royal Blue */
    --color-secondary: #FFD700;
    /* Secondary brand color - Gold */
    --color-accent: #FF8C42;
    /* Accent color for CTAs - Orange */
    --color-background: #FAFAFA;
    /* Main background color */
    --color-white: #FFFFFF;
    /* Pure white */
    --color-black: #222222;
    /* Not pure black, easier on eyes */

    /* Text Colors */
    --text-primary: var(--color-black);
    /* Main text color */
    --text-secondary: #555555;
    /* Secondary text */
    --text-light: var(--color-white);
    /* Text on dark backgrounds */
    --text-highlight: var(--color-primary);
    /* Highlighted text */
    --text-accent: var(--color-accent);
    /* Accent text */

    /* Background Colors */
    --bg-primary: var(--color-background);
    /* Main background */
    --bg-secondary: #F5F5F5;
    /* Secondary background */
    --bg-card: var(--color-white);
    /* Card background */
    --bg-accent: var(--color-primary);
    /* Accent backgrounds */

    /* Button Colors */
    --btn-primary-bg: var(--color-accent);
    /* Primary button background */
    --btn-primary-text: var(--color-white);
    /* Primary button text */
    --btn-secondary-bg: var(--color-primary);
    /* Secondary button background */
    --btn-secondary-text: var(--color-white);
    /* Secondary button text */

    /* Border Colors */
    --border-light: #E0E0E0;
    /* Light borders */
    --border-medium: #CCCCCC;
    /* Medium borders */
    --border-accent: var(--color-primary);
    /* Accent borders */

    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.1);
    /* Light shadows */
    --shadow-medium: rgba(0, 0, 0, 0.15);
    /* Medium shadows */
    --shadow-accent: rgba(30, 144, 255, 0.2);
    /* Accent shadows */

    /* Overlay Colors */
    --overlay-light: rgba(255, 255, 255, 0.9);
    /* Light overlay */
    --overlay-dark: rgba(0, 0, 0, 0.7);
    /* Dark overlay */
    --overlay-gradient: rgba(30, 144, 255, 0.1);
    /* Gradient overlay */

    /* Status Colors */
    --color-success: #32CD32;
    /* Success green */
    --color-warning: #FFA500;
    /* Warning orange */
    --color-error: #FF4444;
    /* Error red */
    --color-info: var(--color-primary);
    /* Info blue */

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-background) 100%);
    --gradient-overlay: linear-gradient(135deg, var(--overlay-light) 0%, var(--overlay-gradient) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

section {
    padding: 30px 0;
}

section h2 {
    margin-bottom: 2rem;
}

/* Header & Navigation */
header {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-full {
    display: inline;
}

.logo-short {
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s;
    transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    position: relative;
    color: var(--text-primary);
    padding: 120px 2rem 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Background 1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    color: var(--primary-blue);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-image {
    position: relative;
    animation: fadeInUp 1s ease 0.4s backwards;
    overflow: hidden;
    border-radius: 10px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
    opacity: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(201, 164, 76, 0.4);
    border: 3px solid var(--accent-gold);
}

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-white);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid var(--bg-secondary);
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
}

@keyframes fadeSlide {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

.cta-button {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-accent);
}

/* Services Section */
.services {
    padding: 80px 2rem;
    background: linear-gradient(135deg, var(--gradient-light) 0%, var(--gradient-dark) 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-highlight);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) .service-content {
    direction: ltr;
}

.service-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(201, 164, 76, 0.2);
    transition: transform 0.3s;
}

.service-image:hover {
    transform: scale(1.05);
}

.service-image {
    max-height: 300px;
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-content p {
    color: var(--secondary-silver);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Infrastructure Section */
.infrastructure {
    padding: 80px 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.infrastructure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Background 2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
    z-index: -1;
    transform: translateZ(0);
}

.infrastructure::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

.infra-container {
    margin-top: 3rem;
    position: relative;
    padding: 0 3rem;
}

.infra-scroll {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.infra-scroll::-webkit-scrollbar {
    display: none;
}

.infra-grid {
    display: flex;
    gap: 2rem;
    width: max-content;
}

.infra-card {
    width: calc((100vw - 8rem) / 4);
    max-width: 300px;
    flex-shrink: 0;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-arrow:hover {
    background: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}

.scroll-arrow.left {
    left: 0;
}

.scroll-arrow.right {
    right: 0;
}

.infra-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-accent);
    transition: transform 0.3s;
    border: 1px solid var(--border-accent);
}

.infra-card:hover {
    transform: translateY(-10px);
}

.infra-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.infra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.infra-card:hover .infra-image img {
    transform: scale(1.1);
}

.infra-content {
    padding: 1.5rem;
    text-align: center;
}

.infra-card h3 {
    color: var(--text-highlight);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.infra-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 0 1rem;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 100px 1rem 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .infra-card {
        width: calc((100vw - 6rem) / 2);
    }

    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        height: 300px;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .infra-card {
        width: calc(100vw - 5rem);
    }

    .scroll-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .contact-info {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Handle very small screens */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .infra-card {
        width: calc(100vw - 4rem);
    }
}

/* Work Highlights Section */
.work-highlights {
    padding: 80px 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Work Card Styles */
.work-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1/1;
    border: 1px solid var(--border-accent);
    box-shadow: 0 5px 15px var(--shadow-accent);
}

.work-image {
    width: 100%;
    height: 100%;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--overlay-light);
    padding: 1.5rem;
    transform: translateY(calc(100% - 65px));
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-top: 1px solid var(--border-accent);
}

.work-card:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h3 {
    color: var(--text-highlight);
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    line-height: 1.2;
}

.work-overlay p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.work-overlay ul {
    color: var(--text-secondary);
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0 0;
}

.work-overlay li {
    margin-top: 0.25rem;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.3;
}

.work-overlay li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

@media (max-width: 1200px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}

.work-content ul {
    list-style: none;
}

.work-content li {
    color: var(--secondary-silver);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.work-content li:before {
    content: '✓';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
}

.view-more-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    transform: scale(0.9);
    opacity: 0;
}

.view-more-link.animate-in {
    transform: scale(1);
    opacity: 1;
}

.view-more-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transition: transform 0.3s ease;
    transform-origin: right;
    transform: scaleX(1);
}

.view-more-link:hover {
    color: var(--color-accent);
    transform: scale(1.05);
}

.view-more-link:hover::after {
    background: var(--color-accent);
    transform-origin: left;
    transform: scaleX(1);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Background 1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: -1;
    transform: translateZ(0);
}

.why-choose-us::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--accent-gold);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px var(--shadow-accent);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.feature-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--secondary-silver);
}

/* About Section */
.about {
    padding: 80px 2rem;
    background: var(--dark-gray);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-silver);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid var(--color-primary);
    background: transparent;
    align-items: center;
    display: flex;
    gap: 5px;
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-accent);
}

/* Contact Section */
.contact {
    padding: 35px 2rem;
    position: relative;
    color: var(--text-light);
    border-top: 2px solid var(--border-accent);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Background 2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: -1;
    transform: translateZ(0);
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.contact-map {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-accent);
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-text {
    padding: 2rem 0;
    color: var(--text-light);
}

.contact-text .section-title {
    color: var(--color-primary);
}

.contact-text p {
    color: var(--text-light);
}

.contact-info p {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-text {
        padding: 2rem 0;
    }

    .contact-info {
        text-align: left;
        padding-left: 2rem;
    }
}

.contact-info {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--secondary-silver);
}

.contact-info p {
    margin: 1rem 0;
}

.contact-info p a {
    color: white;
    text-decoration: none;
}

/* Footer */
footer {
    background: var(--bg-primary);
    color: var(--secondary-silver);
    text-align: center;
    padding: 1rem 2rem 1rem 2rem;
    border-top: 1px solid var(--accent-gold);
}

/* Parallax Backgrounds */
.services::before,
.infrastructure::before,
.work-highlights::before,
.why-choose-us::before {
    will-change: transform;
    transition: transform 0.1s linear;
    transform: translateY(var(--parallax-y, 0));
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.menu-toggle:hover {
    background: var(--bg-secondary);
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: 1rem;
        border-top: 1px solid var(--accent-gold);
    }

    nav ul.active {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid,
    .machine-showcase {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu and Responsive Styles */
@media (max-width: 768px) {

    /* Contact Section Responsive Fixes */
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 0;
    }

    .contact-map {
        width: 100% !important;
        height: 300px !important;
        margin: 0 !important;
    }

    .contact-map iframe {
        width: 100% !important;
        height: 100% !important;
        border-radius: 12px;
    }

    .contact-info {
        width: 100% !important;
        padding: 0 !important;
        margin: 35px 0 0 0 !important;
    }

    /* Section Padding Updates */
    .services,
    .infrastructure,
    .work-highlights,
    .why-choose-us,
    .about,
    .contact {
        padding: 30px 2rem !important;
    }

    .infra-container {
        margin-top: 0rem;

    }

    .infra-scroll {
        padding: 0px;
    }

    .section-title {
        margin-bottom: 2rem !important;
    }

    /* Logo changes */
    .logo-full {
        display: none;
    }

    .logo-short {
        display: inline;
    }

    /* Navigation */
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        border-bottom: 1px solid var(--border-light);
        z-index: 1000;
    }

    nav ul.active {
        display: flex;
    }

    /* Services section */
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
        margin-bottom: 2rem;
    }

    .service-item:last-child {
        margin-bottom: 0;
    }

    .service-content {
        padding: 0;
        text-align: center;
    }

    /* Infrastructure section */
    .infra-container {
        padding: 0;
    }

    .infra-card {
        width: calc(91vw - 2rem);
        max-width: none;
    }

    .scroll-arrow {
        top: auto;
        bottom: 0px;
        transform: none;
    }

    .scroll-arrow:hover {
        transform: scale(1.1);
    }

    .scroll-arrow.left {
        left: calc(50% - 50px);
    }

    .scroll-arrow.right {
        right: calc(50% - 50px);
    }

    .infra-scroll {
        padding-bottom: 60px;
    }

    /* Container padding */
    .container {
        padding: 0;
    }

    /* Section padding */
    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        border-bottom: 1px solid var(--border-light);
        z-index: 1000;
    }

    nav ul.active {
        display: flex;
    }

    nav a {
        font-size: 1.1rem;
    }

    /* Show short logo on mobile */
    .logo-full {
        display: none;
    }

    .logo-short {
        display: inline;
    }

    .logo img {
        height: 48px;
    }

    /* Add padding to sections only */
    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .work-grid {
        margin-top: 0px;
    }

    .features-grid {
        margin-top: 0px;
    }

    .contact-content {
        gap: 0;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}


/* Work Highlights Page */

/* Main Content Styles */
.wh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.wh-section-title {
    text-align: center;
    color: var(--color-primary);
    margin: 1rem 0;
    font-size: 2.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.wh-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.wh-work-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.wh-work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.wh-work-image {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
}

.wh-work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wh-work-card:hover .work-image img {
    transform: scale(1.05);
}

.wh-work-content {
    padding: 1.5rem;
}

.wh-work-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.wh-work-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.wh-work-content ul {
    list-style: none;
    color: var(--text-secondary);
}

.wh-work-content li {
    margin-bottom: 0.25rem;
    padding-left: 1.5rem;
    position: relative;
}

.wh-work-content li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {

    .wh-section-title {
        font-size: 2rem;
        margin: 2rem 0 !important;
    }

    .wh-work-grid {
        grid-template-columns: 1fr;
        margin-bottom: 2rem;
    }

    .wh-container {
        padding: 1rem;
    }

    .wh-work-content {
        padding: 1.2rem;
    }

    .wh-work-content h3 {
        font-size: 1.2rem;
    }

    .wh-work-content p {
        font-size: 0.95rem;
    }

    .wh-work-content li {
        font-size: 0.95rem;
    }

    /* Adjust the main container top margin for mobile */
    .wh-container[style*="margin-top: 80px"] {
        margin-top: 60px !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .wh-section-title {
        font-size: 1.8rem;
    }

    .wh-work-content {
        padding: 1rem;
    }

    .wh-work-content h3 {
        font-size: 1.1rem;
    }
}