body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
}

.gradient-text-c {
    /* Apply the 3 brand colors: Water, Agri, and Accommodation */
    background: linear-gradient(to right, #045CA6, #2BA5DC, #134937); 

    /* Clip the background strictly to the text */
    -webkit-background-clip: text;
    background-clip: text;

    /* Make the text fill transparent so the background gradient shows through */
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Prevents the gradient from breaking awkwardly on standard inline elements */
    display: inline-block;
}

/* Navbar Styling */
.navbar {
    transition: background-color 0.4s ease-in-out, padding 0.4s ease-in-out;
    padding: 0.5rem 0;
    background-color: transparent;
    box-shadow: none;
}

/* Default state (Transparent / White text) */
.nav-link {
    color: #fff !important;
    font-size: 0.9rem;
    margin-left: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar-toggler {
    color: #fff !important;
    /* White hamburger icon by default */
    border: none;
}

/* Scrolled state (White background / Dark text to match 6.png) */
.navbar.scrolled {
    background-color: #ffffff !important;
    padding: 0.1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .nav-link {
    color: #fff !important;
    /* Dark links when scrolled */
}

.navbar.scrolled .nav-link:hover {
    color: #007bff !important;
    /* Optional: blue hover effect */
}

.navbar.scrolled .navbar-toggler {
    color: #333 !important;
    /* Dark hamburger icon when scrolled */
}

@media (max-width: 768px) {

    /* Ensure mobile menu has a solid background so links are readable */
    .navbar-collapse {
        background: #134937;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse .nav-link {
        color: #2fa1db !important;
        /* Dark links for mobile dropdown */
    }
}

/* Hero Carousel */
.hero-wrapper {
    height: 100vh;
}

.hero-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through to carousel if needed */
}

.hero-overlay-content>div {
    pointer-events: auto;
    /* Re-enable clicks on buttons inside overlay */
}

.carousel-mask {
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.8));
}

.hero-icon {
    width: 170px;
    height: 170px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-overlay-content h1 .sub-text {
    display: block;
    color: rgba(255, 255, 255, 0.6);
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-hero {
    background: linear-gradient(135deg, #045CA6 0%, #2FA1DB 100%);
    color: #fff;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: capitalize;
    transition: background-color 0.3s;
}

.btn-hero:hover {
    background: #2FA1DB;
    color: #fff
}

/* Section Globals */
.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

/* About Section */
.about-img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Companies Section */
.bg-dark-section {
    background-color: #043956;
    color: #fff;
}

.company-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 450px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: white;
    transition: transform 0.4s ease;
}

.company-card:hover {
    transform: translateY(-10px);
    color: white;
}

.company-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.card-bg-water {
    background: linear-gradient(135deg, #09203F 0%, #537895 100%);
    /* Deep water gradient */
    filter: grayscale(0%) !important;
    /* Keep the color vibrant */
}

.company-card:hover .card-bg {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.company-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.1) 0%, rgba(17, 17, 17, 0.95) 100%);
    z-index: 2;
}

.company-card .card-content {
    position: relative;
    z-index: 3;
    padding: 2.5rem;
    width: 100%;
}

.company-logo-box {
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.company-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.text-water {
    color: #31A0DA;
}

.text-agri {
    color: #28a745;
}

.text-accom {
    color: #f2a900;
}

.company-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.company-card p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
}

.btn-outline-custom-accom {
    border: 1px solid #ffffff4d;
    color: white;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.8rem;
    transition: all 0.3s;
    background: linear-gradient(135deg, #043956 0%, #C2AB2F 100%);
}

.btn-outline-custom-water {
    border: 1px solid #2FA1DB4d;
    color: white;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.8rem;
    transition: all 0.3s;
    background: linear-gradient(135deg, #045CA6 0%, #2FA1DB 100%);
}

.btn-outline-custom-agri {
    border: 1px solid #086F3E4d;
    color: white;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.8rem;
    transition: all 0.3s;
    background: linear-gradient(135deg, #134937 0%, #086F3E 100%);
}

.btn-outline-custom-accom:hover {
    border-color: #C2AB2F;
    background: #C2AB2F;
    color: #111;
}

.btn-outline-custom-water:hover {
    border-color: #2FA1DB;
    background: #2FA1DB;
    color: #111;
}

.btn-outline-custom-agri:hover{
    border-color: #28a745;
    background: #28a745;
    color: #111;
}

.company-card:hover .btn-outline-custom {
    border-color: white;
    background: #f2a900;
    color: #111;
}



/* Contact Section */
.contact-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #045CA6 0%, #2FA1DB 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-box div {
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-box span {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
}

.form-label-custom {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 5px;
}

.form-control-custom {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    background: #fff;
}

.form-control-custom:focus {
    border-color: #111;
    box-shadow: none;
}

.btn-submit {
    background: #043956;
        background: linear-gradient(to right, #045CA6, #2BA5DC, #134937);
    color: #fff;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background  : #31a0da;
    color: #fff;
}

/* Footer */
.footer {
    background: linear-gradient(to right, #045CA6, #2BA5DC, #134937);
    padding: 30px 0;
    color: #aaa;
    font-size: 0.85rem;
}

.social-icons a {
    color: #aaa;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .hero-overlay-content h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .navbar-collapse {
        background: #043956;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 10px;
    }
}

/* Default logo size for desktop */
#navbarLogo {
    height: 60px;
}

/* Reduce logo size on screens smaller than 992px (Tablets and Mobile) */
@media (max-width: 991px) {
    #navbarLogo {
        height: 45px;
        /* You can adjust this number to make it smaller or larger */
    }
}

/* Optional: Even smaller logo for very small mobile screens (under 576px) */
@media (max-width: 575px) {
    #navbarLogo {
        height: 35px;
    }
}