body {
    margin: 0;
    line-height: 1.6;
    font-family: 'poppins', sans-serif;
}

:root {
    font-family: 'poppins', sans-serif !important;
}

/* Navbar Styles */
header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    width: 100%;
    /* background: rgba(0, 64, 128, 0.6); */
    color: #fff;
    padding: 2.5% 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 5;
    transition: opacity 0.3s ease;
}

header img {
    width: 215px;;
    
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 600;
}

nav a:hover {
    color: rgb(131, 131, 236);
}

.second-navbar a{
    color: #004080;
    font-weight: 600;
}

/* Second Navbar */
.second-navbar {
    position: fixed;
    top: -116px;
    /* initially hidden above */
    left: 0;
    width: 100%;
    background: white;
    color: #fff;
    padding: 2.5% 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 10;
    transition: top 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.second-navbar img {
    width: 215px;
}

/* Hamburger Button */
.hamburger {
    display: none;
    /* hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: #004080;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -250px;
    /* hidden initially */
    width: 250px;
    height: 100%;
    background-color: #004080;
    color: #fff;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 999;

}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header img {
    width: 144px;
}

.close-btn {
    font-size: 28px;
    cursor: pointer;
}

.sidebar-links {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.sidebar-links a:hover {
    color: #00bfff;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(40%);
}

.hero-overlay {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
}

.hero-overlay h1 {
    margin: 0;
    font-size: 4.5em;
}

.hero-overlay p {
    font-style: italic;
    font-size: 1.5em;
}

/* Hero Text Animation */
.hero-overlay span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s ease;
}

.hero-overlay span.show {
    opacity: 1;
    transform: translateX(0);
}


section {
    padding: 60px 6%;
    text-align: center;
}

section h2 {
    margin-bottom: 20px;
    color: #004080;
}


/* Partner Logo Slider */
#partners {
    padding: 50px 0;
    background: #f8f9fc;
    /* height: 100vh; */

}

#partners h2 {
    margin-bottom: 40px;
    color: #004080;
    font-size: 2em;
}

.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.logo-track img {
    height: 100px;
    width: auto;
    transition: transform 0.3s;
    filter: grayscale(100%);
    opacity: 0.8;
}

.logo-track img:hover {
    transform: scale(1.1);
    filter: grayscale(0);
    opacity: 1;
}

/* Row 1: slides from right to left */
.track-right {
    animation: slideRight 25s linear infinite;
    margin-bottom: 25px;
}

/* Row 2: slides from left to right */
.track-left {
    animation: slideLeft 25s linear infinite;
    margin-top: 5%;
}

/* Keyframes */
@keyframes slideRight {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}


#pin-container {
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
}

/* Horizontal Scroll Section */
#pin-container {
    width: 100%;
    overflow: hidden;
    top: -65px !important;
    margin-top: 70px !important;
}

.horizontal-scroll-section {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    /* overflow-x: auto;
            scroll-snap-type: x mandatory;
            gap: 20px;
            position: relative;
            padding-bottom: 80px; */
    /* give space for button */
}

.slide {
    flex: 0 0 calc(75vw / 3);
    /* 3 slides visible */
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-width: 90%;
    /* max-height: 80vh; */
    object-fit: contain;
}

/* See More Button */
.see-more-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 calc(43vw / 3);
    /* height: 100vh; */
    position: relative;
}

.see-more-btn {
    position: relative;
    padding: 16px 40px;
    background: linear-gradient(135deg, #004080, #007bff);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 64, 128, 0.4);
    transition: all 0.3s ease-in-out;
    /* animation: fadeInUp 1s ease both, pulseGlow 2.5s infinite ease-in-out; */
}

/* Glowing hover effect */
.see-more-btn:hover {
    background: linear-gradient(135deg, #0059b3, #0099ff);
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(0, 128, 255, 0.7);
}

/* Shine effect on hover */
.see-more-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-30deg);
    transition: all 0.7s ease;
}

.see-more-btn:hover::after {
    left: 200%;
}

/* Smooth entrance animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gentle breathing glow animation */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 128, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 128, 255, 0.8);
    }
}

/* Carousel Styles */
.carousel-container {
    overflow: hidden;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    z-index: 2;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3);
    /* 3 images visible */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}



#pin-container h2 {
    margin-bottom: 40px;
    color: #004080;
    font-size: 2em;
    text-align: center;
}


.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* padding: 0px 10%; */
}


.rightDiv {
    width: 100%;
    align-content: center;
}

.service-video {
    height: 300px;
    width: -webkit-fill-available;
    border-radius: 10px;
}

.leftDiv {
    width: 100%;
    justify-items: left;
}

.leftDiv h1 {
    margin-bottom: 25px;
    color: #004080;
    text-align: left;
    font-size: 30px;
}

.leftDiv h2 {
    font-size: 20px;
}

/* Quality Policy */

.qualityPolicyCont {
    width: 100%;
    display: flex;
    gap: 20px;
    margin-top: 4%;
}

.quality-item {
    width: 25%;
    height: 200px;
    border: 1px solid #dedada;
    align-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.qualityPolicyCont-p {
    font-size: 20px;
    font-weight: 550;
    margin-top: 5%;
}

.quality-item i {
    font-size: 30px;
}

.quality-item:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}


/* Call to action */

/* ============================= */
/*      CALL TO ACTION SECTION   */
/* ============================= */
#cta-section {
    background: linear-gradient(135deg, #35363d, #0b4396);
    text-align: center;
    padding: 80px 20px;
    border-radius: 30px;
}

#cta-section h2 {
    color: #b7b7b7;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bolder;
}

.cta-subtext {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 64, 128, 0.15);
    padding: 40px 30px;
    width: 40%;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 128, 255, 0.25);
}

.cta-icon {
    font-size: 50px;
    color: #004080;
    margin-bottom: 20px;
}

.cta-card h3 {
    color: #004080;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.cta-card p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cta-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #004080, #007bff);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.3);
}

.cta-btn:hover {
    background: linear-gradient(135deg, #0059b3, #0099ff);
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(0, 128, 255, 0.6);
}




#statistics {
    background: linear-gradient(135deg, #e6f0ff, #f8fbff);
    text-align: center;
    padding: 80px 20px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
}

#statistics h2 {
    color: #004080;
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.stat-item h3 {
    color: #004080;
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.quality-cards {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    border-radius: 18px !important;
    border: 1px solid #dedada;
}

.quality-cards:hover {
    transform: scale(1.05);
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.quality-cards i {
    color: #004080 !important;
}



/* Footer Styling */
.footer {
    position: relative;
    background: linear-gradient(180deg, #0a2540 0%, #001528 100%);
    color: white;
    overflow: hidden;
    padding-top: 60px;
    font-family: 'Poppins', sans-serif;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 100px;
}

.footer-content.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 275px;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    text-decoration: none;
    color: #cfd9e3;
    transition: all 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #00c4ff;
}

.footer-contact {
    text-align: justify;
}

.footer-contact p,
.footer-contact a {
    color: #cfd9e3;
    margin: 5px 0;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #00c4ff;
}

.footer-socials a {
    color: white;
    margin-right: 15px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #00c4ff;
    transform: translateY(-3px);
}

.footer-socials h4,
.footer-nav h4,
.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #8fa3b8;
}

/* Define custom colors and shadows */
:root {
    --dark-blue: #0b1120;
    --primary-accent: #0077c2; /* Medium Blue */
    --panel-background: #f0f8ff; /* Very light blue/off-white */
    --card-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.text-dark-blue {
    color: var(--dark-blue);
}

.text-primary-accent {
    color: var(--primary-accent);
}
/* Use your specific accent colors */
.text-green-accent {
    color: #388e3c; 
}
.text-yellow-accent {
    color: #ffb300; 
}
.text-red-accent {
    color: #d32f2f; 
}

/* Panel background and shadow */
.quality-panel-bg {
    background-color: var(--panel-background) !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

/* Card styles for clean, uniform look */
.quality-card-shadow {
    border-radius: 15px !important;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    background-color: #fff;
}

/* Hover effect for all cards */
.quality-card-shadow:hover, .quality-card-lift:hover {
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) !important;
    transform: scale(1.03) !important; /* Slight growth on hover */
}

/* Specific style for lifted cards */
.quality-card-lift {
    border-radius: 15px !important;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    background-color: #fff;
}

/* Button hover effect */
.policy-btn-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 119, 194, 0.3) !important;
}





/* Show hamburger on mobile/tablet */


@media (max-width: 1235px) {
    .hero-overlay h1{
        font-size: 3.5em;
    }
    .hero-overlay p{
        font-size: 1.1em;
    }
    
}

/* Desktop view */
@media (min-width: 992px) {
    .second-navbar {
        display: flex;
        /* visible on desktop */
        gap: 20px;
        align-items: center;
    }

    .hamburger {
        display: none;
        /* hide hamburger */
    }
}



@media screen and (max-width: 992px) {
    .hero-overlay h1{
        font-size: 2.9em;
    }
    .hero-overlay p{
        font-size: 0.9em;
    }

    .nav-links {
        display: none;
    }

    .second-navbar {
        display: none;
        /* hide navbar */
    }

    .hamburger {
        display: flex;
    }

    header {
        justify-content: space-between;
        padding: 15px 7%;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        margin-bottom: 30px;
    }

    .slide {
        flex: 0 0 calc(100% / 2);
        /* show 2 slides */
    }
}



/* Responsive adjustments */
@media (max-width: 769px) {


    .hero-overlay h1{
        font-size: 2.1em;
    }
    .hero-overlay p{
        font-size: 0.8em;
    }

    .services-container,
    .services-container2,
    .qualityPolicyCont {
        flex-direction: column;
        gap: 20px;
    }

    .quality-item {
        width: 100%;
    }

    .logo-track img {
        height: 50px;
        gap: 30px;
    }

    .cans-container {
        flex-wrap: wrap;
        gap: 40px;
    }

    .can-img {
        width: 120px;
    }

    .cta-container{
        flex-direction: column;
    }
    .cta-card {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .slide {
        flex: 0 0 100%;
        /* show 1 slide */
    }

    #pin-container h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }


}