:root {
    --primary-color: #DECF25;
}

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
}

/* Logo image */
.logo-img {
    max-height: 120px;
    /* Adjust this value for clarity */
    height: auto;
    width: auto;
}


/* Default navbar style */
#mainNavbar {
    transition: all 0.3s ease;
    /*position: absolute;*/
    width: 100%;
    top: 0;
    z-index: 1000;
}

#mainNavbar.shrink {
    position: fixed;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    transition: all 0.3s ease;
}

#mainNavbar .navbar-brand img {
    transition: all 0.3s ease;
    /* height: 70px; */
}

#mainNavbar.shrink .navbar-brand img {
    height: 50px;
}

/* Navbar */
.navbar {
    background: #fff;
    padding: 1.2rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar-nav .nav-link {
    padding: 0.5rem 0;
}


.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #3b3b3b;
}

/* Menu */
.nav-link {
    margin-right: 1.5rem;
    position: relative;
    color: #333 !important;
    transition: all 0.3s ease-in-out;
    font-weight: 800;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Call Button */
.call-btn {
    background: linear-gradient(45deg, var(--primary-color), #e4e03d);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(222, 207, 37, 0.3);
}

.call-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #bcb21c, #eae66d);
    box-shadow: 0 6px 20px rgba(222, 207, 37, 0.5);
}

@media (max-width: 991px) {
    .call-btn {
        width: 100%;
    }
}

.interactive-banner-section {
    position: relative;
    background: url('../assets/banner.png') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Dark overlay for readability */
.interactive-banner-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.content-container {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 700px;
    padding: 0 20px;
}

/* Headline */
.headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

/* Subheadline */
.subheadline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

/* Call-to-action button */
.cta-button {
    background-color: #DECF25;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(222, 207, 37, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: #bcb21c;
    transform: scale(1.05);
    box-shadow: 0 7px 25px rgba(222, 207, 37, 0.6);
}

/* Responsive text sizing */
@media (max-width: 768px) {
    .headline {
        font-size: 2rem;
    }

    .subheadline {
        font-size: 1rem;
    }

    .interactive-banner-section {
        height: 50vh;
    }
}

/* Fade-in up animation reused */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.welcome-section {
    background-color: #f8f9fa;
}

/* Image */
.image-wrapper {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.company-image {
    transition: transform 0.5s ease;
    border-radius: 12px;
}

.image-wrapper:hover .company-image {
    transform: scale(1.05);
}

/* Content */
.welcome-content {
    color: #333;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
    animation: fadeInLeft 1s ease-in;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: fadeInLeft 1.3s ease-in;
}

.section-description {
    font-size: 1rem;
    line-height: 1.8;
    animation: fadeInLeft 1.6s ease-in;
}

/* Button */
.cta-button {
    background-color: #DECF25;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    color: #222;
    box-shadow: 0 5px 15px rgba(222, 207, 37, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #bcb21c;
    transform: scale(1.05);
    box-shadow: 0 7px 25px rgba(222, 207, 37, 0.5);
}

/* Animation */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .cta-button {
        width: 100%;
    }
}

/* Section */
.about-company-section {
    background: #fff;
}

/* Content */
.about-content {
    padding-right: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.cta-button {
    background-color: #DECF25;
    border: none;
    color: #222;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(222, 207, 37, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #bcb21c;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(222, 207, 37, 0.5);
}

/* Image */
.about-img-wrapper {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.about-img {
    transition: transform 0.6s ease;
    border-radius: 10px;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.05);
}

/* Animations */
.animate-slide {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s forwards;
}

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .about-content {
        padding-right: 0;
    }
}

.services-section {
    background: #f9f9f9;
}

/* Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Boxes */
.service-box {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
    border-color: #DECF25;
}

/* Icons */
.service-icon {
    width: 60px;
    margin-bottom: 1rem;
}

/* Text */
.service-box h4 {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-box p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Animation */
.box-animate {
    opacity: 0;
    transform: scale(0.9);
    animation: fadeScaleIn 1s forwards;
}

.delay-0 {
    animation-delay: 0s;
}

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

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

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

@keyframes fadeScaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }
}

.contact-location-section {
    background: #fff;
    color: #333;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
}

/* Location Info */
.location-info h5 {
    font-weight: 600;
    color: var(--primary-color, #DECF25);
    margin-bottom: 0.5rem;
}

.location-info p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

/* Contact Form */
.contact-location-section .row {
    align-items: stretch;
    /* stretch columns to equal height */
}

.contact-location-section .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.location-info {
    /* Some bottom spacing */
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.contact-form label {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.25rem;
}

.contact-form input {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus {
    border-color: #DECF25;
    outline: none;
    box-shadow: 0 0 6px rgba(222, 207, 37, 0.6);
}

.submit-btn {
    background: #DECF25;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    margin-top: auto;
    /* Push button to bottom */
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #bcb21c;
}

.map-container {
    flex-grow: 1;
    /* fills the entire height of column */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    /* fill parent */
    border: 0;
    display: block;
}

/* Footer styles */
.footer-section {
    font-family: 'Poppins', sans-serif;
    background-color: #1c1c1c;
    color: #ddd;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.75rem;
    color: #DECF25;
}

.social-icons {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
    color: #bbb;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: #DECF25;
    transform: scale(1.2);
}

.quick-links li {
    margin-bottom: 0.6rem;
}

.quick-links li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links li a:hover {
    color: #DECF25;
    text-decoration: underline;
}

.newsletter-form {
    max-width: 400px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background-color: #DECF25;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #111;
}

.newsletter-form button:hover {
    background-color: #bcb21c;
}

/* Responsive */
@media (max-width: 767px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        border-radius: 30px;
        width: 100%;
    }

    .newsletter-form button {
        margin-top: 0.5rem;
    }
}

.banner-video {
    object-fit: cover;
    transition: transform 20s ease-in-out;
    transform: scale(1.05);
}

.banner-video:hover {
    transform: scale(1.1);
}

.dot-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 8px 8px;
    /* Tighter spacing */
    pointer-events: none;
}


.cta-button:hover {
    background-color: #ffc107;
    color: #000;
    transform: translateY(-2px);
    transition: 0.3s ease;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #DECF25;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s ease;
}

.icon-wrapper img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.service-box:hover .icon-wrapper {
    transform: rotateY(180deg);
}

.services-section .container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
}

.inner-banner {
    position: relative;
    z-index: 2;
}

.inner-banner .container {
    position: relative;
    z-index: 3;
}

.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.logo-scroller::-webkit-scrollbar {
    display: none;
}

.client-placeholder {
    height: 80px;
    width: 250px;
    background-color: #dcdcdc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    /*border: 2px dashed #aaa;*/
    margin: auto;
    border-radius: 8px;
}

.swiper {
    padding: 20px 10px;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-button-next::after,
.swiper-button-prev::after {
    color: #D4AF37 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #b08a2e;
    /* Slightly darker on hover */
}


@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

.strategic-section .location-card {
    transition: all 0.3s ease;
}

.strategic-section .location-card:hover {
    background-color: #f9f9f9;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.strategic-section .section-subtitle {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.strategic-section h4 {
    font-weight: 600;
}

.strategic-section ul li {
    font-size: 0.95rem;
    line-height: 1.6;
}

.strategic-section img {
    filter: brightness(0.2) sepia(1) hue-rotate(30deg) saturate(4);
}

@media (max-width: 768px) {
    .strategic-section ul li {
        font-size: 0.9rem;
    }
}

.strategic-section .location-card {
    transition: all 0.3s ease;
    color: #1a1a1a;
    background-color: #f9f9f9;
}

.strategic-section .location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.strategic-section .section-subtitle {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.strategic-section h4 {
    font-weight: 600;
}

.strategic-section ul li {
    font-size: 0.95rem;
    line-height: 1.6;
}

.strategic-section img {
    filter: brightness(0.2) sepia(1) hue-rotate(30deg) saturate(4);
}

/* Custom Background Colors */
.dammam-bg {
    background-color: #e8f0ec;
    /* soft greenish */
}

.khobar-bg {
    background-color: #fef6e8;
    /* soft yellow-gold */
}

@media (max-width: 768px) {
    .strategic-section ul li {
        font-size: 0.9rem;
    }
}

.strategic-bg {
    background: linear-gradient(135deg, #004225, #036e4f);
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.strategic-bg .section-subtitle {
    font-size: 1rem;
    color: #e0e0e0;
}

.strategic-bg .location-card {
    transition: all 0.3s ease;
    border: none;
    background: #ffffff;
}

.strategic-bg .location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.strategic-bg img {
    filter: brightness(0.1) sepia(1) hue-rotate(30deg) saturate(4);
}

.whatsapp-icon {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    background-color: #e4e03d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .parallax-section {
        background-size: contain !important;
        height: auto !important;
        padding: 60px 20px !important;
    }
}

.gradient-vision {
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    /* Purple-gray gradient */
}

.gradient-mission {
    background: linear-gradient(135deg, #16222a, #3a6073);
    /* Blue-gray gradient */
}

.gradient-vision h4,
.gradient-vision p,
.gradient-mission h4,
.gradient-mission p {
    color: #fff;
}

.gradient-vision img,
.gradient-mission img {
    border-radius: 50%;
}

.footer-logo-img {
    max-height: 60px;
    /* Adjust for your footer layout */
    height: auto;
    width: auto;
}

.list-unstyled li {
    line-height: 1.8;
    text-align: justify;
}

.company-download-section {
    background: url('../assets/Product-and-Services/cat/bg.png') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.company-download-section .overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    /* Previously 0.85, now lighter */
    z-index: 1;
}


.company-download-section .content-wrapper {
    position: relative;
    z-index: 2;
}

.company-download-section .btn:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.nav-link.active {
    font-weight: 600;
    color: #D4AF37 !important;
    border-bottom: 2px solid #D4AF37;
}