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

:root {
    --primary-red: #dc2626;
    --primary-black: #111827;
    --primary-white: #ffffff;
    --secondary-red: #b91c1c;
    --light-gray: #f3f4f6;
    --medium-gray: #9ca3af;
    --dark-gray: #374151;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
}

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

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

.navbar {
    padding: 1rem 0;
}

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

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-right: 2rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-red);
    color: var(--primary-white);
}

.lang-btn.active {
    background: var(--primary-red);
    color: var(--primary-white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(220, 38, 38, 0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-black);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--primary-red);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--primary-red);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1f2937 100%);
    color: var(--primary-white);
    padding: 120px 0 40px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.gulf-coast {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-white);
}

.petro-consulting {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-red);
    margin-top: -0.5rem;
}

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

.no-break {
    white-space: nowrap;
}

.hero-values {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-values span {
    font-weight: 600;
    color: var(--primary-white);
}

.hero-values span:nth-child(even) {
    color: var(--primary-red);
    font-weight: 700;
}

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

.cta-button:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-container {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinning-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Hero Logo Container with Corner Logos */
.hero-logo-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Corner Logos */
.corner-logo {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.corner-logo:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-red);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.corner-logo img {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
    filter: contrast(1.1) saturate(1.1);
}

/* Corner positions */
.top-left {
    top: 20px;
    left: 20px;
}

.top-right {
    top: 20px;
    right: 20px;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Center overlay logo (ASME) */
.center-overlay-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(220, 38, 38, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
    border: 3px solid var(--primary-white);
    animation: pulse 3s ease-in-out infinite;
}

.center-overlay-logo img {
    max-width: 105px;
    max-height: 105px;
    object-fit: contain;
    filter: brightness(1.3) contrast(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(220, 38, 38, 0.8);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 60px 0 80px;
    background: var(--light-gray);
}

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

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-align: center;
}

.button-center {
    text-align: center;
    margin-top: 2rem;
}

.technologies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--primary-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    width: 40px;
    text-align: center;
}

.tech-item span {
    font-weight: 500;
    color: var(--primary-black);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--primary-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-white);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Equipment Types Section */
.equipment-types {
    padding: 80px 0;
    background: var(--primary-black);
    color: var(--primary-white);
}

.equipment-types .section-header h2 {
    color: var(--primary-white);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.equipment-item:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--primary-red);
    transform: translateX(10px);
}

.equipment-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    width: 40px;
    text-align: center;
}

.equipment-item span {
    font-weight: 500;
}

/* Projects Slideshow Section */
.projects-slideshow {
    padding: 80px 0;
    background: var(--light-gray);
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--primary-black);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.slide.active {
    display: block;
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: var(--primary-red);
}

.slideshow-dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: var(--medium-gray);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-red);
}

/* Image Lightbox */
.image-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.image-lightbox.active {
    display: block;
}

.lightbox-image-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close-btn:hover,
.lightbox-close-btn:focus {
    color: var(--primary-red);
}

.slide img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.02);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: var(--primary-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-red);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.25rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.contact-item p {
    color: var(--dark-gray);
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--primary-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.submit-btn {
    width: 100%;
    background: var(--primary-red);
    color: var(--primary-white);
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-red);
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 60px 0 20px;
}

.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(--primary-red);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-gray);
    color: var(--medium-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(17, 24, 39, 0.98) 0%, rgba(31, 41, 55, 0.95) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-20px);
    }

    .nav-menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu li {
        margin: 1rem 0;
        transform: translateX(-50px);
        opacity: 0;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active li {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.6s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.7s; }
    .nav-menu.active li:nth-child(8) { transition-delay: 0.8s; }

    .nav-menu a {
        color: var(--primary-white);
        font-size: 1.5rem;
        font-weight: 600;
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        min-width: 200px;
        text-align: center;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .nav-menu a:hover {
        color: var(--primary-red);
        background: rgba(220, 38, 38, 0.1);
        border-color: var(--primary-red);
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    }

    .nav-menu a:hover::before {
        left: 100%;
    }

    .language-switcher {
        margin-right: 1rem;
    }

    .logo-img {
        height: 30px;
    }

    .hero {
        padding: 100px 0 30px;
        min-height: 70vh;
        background: linear-gradient(135deg, var(--primary-black) 0%, #1f2937 50%, var(--primary-red) 100%);
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(31, 41, 55, 0.8) 50%, rgba(220, 38, 38, 0.1) 100%);
        z-index: 1;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        position: relative;
        z-index: 2;
        padding: 2rem 0.5rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-text {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 2rem 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        margin: 0 0.5rem;
        width: calc(100% - 1rem);
    }

    .gulf-coast {
        font-size: 2.8rem;
        font-weight: 800;
        background: linear-gradient(135deg, var(--primary-white) 0%, #f8fafc 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        margin-bottom: 0.5rem;
    }

    .petro-consulting {
        font-size: 2rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary-red) 0%, #ef4444 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
        font-weight: 400;
    }

    .hero-values {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2.5rem;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-values span {
        font-weight: 700;
        color: var(--primary-white);
        padding: 1rem 1.2rem;
        background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(220, 38, 38, 0.1));
        border-radius: 12px;
        text-align: center;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        border: 1px solid rgba(220, 38, 38, 0.4);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .hero-values span:nth-child(even) {
        display: none;
    }

    .hero-values span:hover {
        background: linear-gradient(135deg, rgba(220, 38, 38, 0.5), rgba(220, 38, 38, 0.2));
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .cta-button {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
        color: var(--primary-white);
        padding: 1.2rem 2.5rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
    }

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .cta-button:hover::before {
        left: 100%;
    }

    .hero-logo-container {
        width: 250px;
        height: 250px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(220, 38, 38, 0.3);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .slide img {
        height: 400px;
    }
    
    .prev, .next {
        padding: 12px;
        font-size: 18px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }

    .technologies {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about {
        padding: 40px 0 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 90px 0 20px;
        min-height: 60vh;
    }

    .hero-text {
        padding: 1.5rem 1rem;
        margin: 0 0.25rem;
        width: calc(100% - 0.5rem);
    }

    .gulf-coast {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .petro-consulting {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-values {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-values span {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .hero-values span:nth-child(even) {
        display: none;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 40px;
    }

    .service-card,
    .project-card {
        padding: 1.5rem;
    }

    .language-switcher {
        margin-right: 0.5rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .logo-img {
        height: 32px;
    }

    .hero-logo-container {
        width: 200px;
        height: 200px;
    }

    .nav-menu a {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
        min-width: 180px;
    }

    .hamburger {
        padding: 6px;
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
        margin: 3px 0;
    }
    
    /* Improved image handling for mobile */
    img {
        max-width: 100%;
        height: auto;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        min-height: 200px;
        max-height: 250px;
    }
    
    .gallery-image {
        object-fit: cover;
        object-position: center;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-content h3 {
        font-size: 1rem;
    }
    
    .gallery-content p {
        font-size: 0.8rem;
    }

    .about {
        padding: 30px 0 50px;
    }

    /* Hero Logo Container Mobile */
    .hero-logo-container {
        width: 320px;
        height: 320px;
    }

    .corner-logo {
        width: 75px;
        height: 75px;
    }

    .corner-logo img {
        max-width: 65px;
        max-height: 65px;
    }

    .top-left, .top-right {
        top: 18px;
    }

    .bottom-left, .bottom-right {
        bottom: 18px;
    }

    .top-left, .bottom-left {
        left: 18px;
    }

    .top-right, .bottom-right {
        right: 18px;
    }

    .center-overlay-logo {
        width: 115px;
        height: 115px;
    }

    .center-overlay-logo img {
        max-width: 100px;
        max-height: 100px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: auto;
}

/* Animation Classes */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-red);
}

/* Read More Button */
.read-more-btn {
    background: var(--primary-red);
    color: var(--primary-white);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.read-more-btn:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    transform: translateY(-2px);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    background: var(--primary-white);
    margin: auto;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-header {
    background: var(--primary-red);
    color: var(--primary-white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightbox-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.lightbox-close {
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.about-full-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.about-full-content .technologies {
    margin-top: 2rem;
}

/* Lightbox Scrollbar */
.lightbox-body::-webkit-scrollbar {
    width: 8px;
}

.lightbox-body::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.lightbox-body::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

.lightbox-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-red);
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .lightbox-header {
        padding: 1rem 1.5rem;
    }
    
    .lightbox-header h2 {
        font-size: 1.5rem;
    }
    
    .lightbox-body {
        padding: 1.5rem;
        max-height: 70vh;
    }
    
    .read-more-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

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

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.additional-service-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.additional-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.additional-service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.additional-service-icon i {
    font-size: 2rem;
    color: var(--primary-white);
}

.additional-service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.additional-service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Consulting Section */
.consulting {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.consulting-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.consulting-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.consulting-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.consulting-icon i {
    font-size: 2rem;
    color: var(--primary-white);
}

.consulting-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.consulting-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Concrete Section */
.concrete {
    padding: 80px 0;
    background: var(--primary-white);
}

.concrete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.concrete-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.concrete-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.concrete-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.concrete-icon i {
    font-size: 2rem;
    color: var(--primary-white);
}

.concrete-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.concrete-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Mobile Responsive Updates for New Sections */
@media (max-width: 768px) {
    .consulting-grid,
    .concrete-grid,
    .additional-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .consulting-card,
    .concrete-card,
    .additional-service-card {
        padding: 1.5rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
}/*
 Consulting CTA Buttons */
.consulting-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.consulting-cta .read-more-btn {
    background: var(--primary-red);
    color: var(--primary-white);
    border: 2px solid var(--primary-red);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.consulting-cta .read-more-btn:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .consulting-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .consulting-cta .read-more-btn {
        width: 100%;
        max-width: 300px;
    }
}/* Lightbox 
Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    background: var(--primary-white);
    border-radius: 16px;
    max-width: 800px;
    max-height: 90vh;
    width: 90%;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.lightbox-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.lightbox-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-red);
}

.lightbox-body {
    padding: 2rem;
}

.lightbox-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-red);
    margin: 2rem 0 1rem;
}

.lightbox-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.lightbox-body ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.lightbox-body li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--dark-gray);
}

.lightbox-body li::before {
    content: '•';
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive for lightboxes */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .lightbox-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .lightbox-header h2 {
        font-size: 1.5rem;
    }
    
    .lightbox-body {
        padding: 1.5rem;
    }
}/* Gall
ery Section */
.gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: var(--primary-white);
}

.gallery .section-header h2 {
    color: var(--primary-white);
}

.gallery .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
    align-items: center;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(220, 38, 38, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.gallery-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-white);
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.2s;
}

.gallery-item:hover .gallery-content h3,
.gallery-item:hover .gallery-content p {
    transform: translateY(0);
}

/* Gallery Lightbox for full-size images */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.gallery-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.gallery-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.gallery-lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.gallery-lightbox-close:hover {
    color: var(--primary-red);
}

/* Mobile responsive for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
        align-items: center;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
        min-height: 250px;
        max-height: 300px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .gallery-image {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
        display: block;
    }
    
    .gallery-overlay {
        padding: 1.5rem;
    }
    
    .gallery-content h3 {
        font-size: 1.1rem;
    }
    
    .gallery-content p {
        font-size: 0.85rem;
    }
    
    .gallery-lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .gallery-lightbox-close {
        top: -40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        padding: 0 1rem;
        justify-items: center;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        min-height: 200px;
        max-height: 250px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .gallery-image {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
        display: block;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-content h3 {
        font-size: 1rem;
    }
    
    .gallery-content p {
        font-size: 0.8rem;
    }
}

/* AOS Animation Support */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}