html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fa;
}

header.scrolled {
    padding: 4px 18px;  
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

/* shrink logo */
header.scrolled .logo img {
    height: 38px;
}

/* shrink text */
header.scrolled .brand-name {
    font-size: 20px;
}

header {
    width: 90%;
    max-width: 1200px;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 5px 18px;
    transition: all 0.35s ease;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;   
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 10px;
    z-index: 1000;
    line-height: 1;
}

section { 
    margin-bottom: 40px;
    padding: 60px 20px;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

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

.logo img {
    height: 70px; 
    width: auto;
}

.brand-name {
    font-size: 22px;
    font-weight: 600;
}

nav a {
    color: black;
    margin-left: 18px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: black;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    padding: 0 !important;
    margin: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

.hero button {
    padding: 10px 20px;
    border: none;
    background: black;
    color: white;
    cursor: pointer;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    /*z-index: 4;*/
    z-index: 3;

    text-align: center;
}

.hero-content button {
    margin-top: 15px;
    padding: 12px 25px;
    background: white;
    color: black;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-content button:hover {
    background: #ddd;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
}

.hero h1, .hero p, .hero button {
    position: relative;
}

.slider {
    position: absolute;
    inset: 0;
}

.slider video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0; 
    transition: opacity 1s ease-in-out;
}

.slider video.active {
    opacity: 1; 
}

.prev, .next {
    position: absolute;
    bottom: 25px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(6px);  
    transition: all 0.3s ease;
    z-index: 4;
    opacity: 0; 
}

.prev:hover, .next:hover { 
    background: rgba(255,255,255,0.4);
    opacity: 1;
}

.prev { left: 20px; }

.next { right: 20px; }

.info {
    padding: 40px;
    text-align: center;
}

.image-section {
    text-align: center;
    padding: 20px;
}

.image-section img {
    width: 70%;
    max-width: 600px;
    border-radius: 10px;
}

.ecosystem {
    text-align: center;
    padding: 50px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    width: 260px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}

.card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: white;
    padding: 10px;
    transition: 0.4s;
}


.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);

}

.volunteer, .subscribe {
    text-align: center;
    padding: 50px;
    background: #eef2f3;
}

.file-info {
    font-size: 13px;
    color: #555;
    display: block;
    margin-bottom: 10px;
}

input {
    padding: 10px;
    margin: 10px;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input:focus {
    outline: none;
    border-color: black;
}

button {
    padding: 10px 20px;
    background: black;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #333;
}

.footer-top {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 30px 20px 20px;
}

.footer-top h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-top span {
    color: #38bdf8; /* accent blue */
}


.footer {
    padding-top: 40px;
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    font-family: Arial, sans-serif;
}

.footer-top h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-top span {
    color: #38bdf8; /* accent blue */
}

.footer-top p {
    color: #94a3b8;
    font-size: 14px;
}

.footer-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* LOGO STRIP (WHITE PREMIUM BAR) */
.footer-logos-strip {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logos img {
    height: 40px;
    object-fit: contain;
    opacity: 0.8;
    transition: 0.3s;
}

.logos img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* BOTTOM SECTION */
.footer-bottom {
    background: #f8f9fa;
    text-align: center;
    padding: 20px;
}

/* FIX PURPLE LINKS ISSUE */
.footer-links a {
    color: #333;   /* FORCE REMOVE PURPLE */
    text-decoration: none;
    margin: 0 12px;
    font-size: 13px;
    transition: 0.3s;
}

.footer-links a:visited {
    color: #333;   /* IMPORTANT */
}

.footer-links a:hover {
    color: #007bff;
}

/* TEXT */
.footer-text {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.copyright {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

/*About_page Styling*/
.container {
    display: flex;
    min-height: 80vh;
}

.left {
    width: 50%;
    background: #f7f7f7;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
}

.left p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 450px;
}

.right {
    position: relative;
    width: 55%;
    overflow: hidden;
}

#boat1, #boat2 {
    width: 45%;
    height: auto;
    border-radius: 10px;
    box-shadow: -6px -6px 15px rgba(0,0,0,0.25);
}

/* IMAGE */
#boat1 {
    margin-top: 25px;
    margin-left: 250px;
    z-index: 1;
    /* filter: grayscale(100%); */ 
    
}

#boat2 {
    margin-top: 15px;
    margin-left: 20px;
    z-index: 1;
    /* filter: grayscale(100%); */ 
    
}

/* GREEN DIAGONAL OVERLAY */
.overlay_about {
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    opacity: 0.9;
    
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Second Section */

.approach-section {
    display: flex;
    height: 80vh;
    background: #2f3440;
}

/* LEFT SIDE */
.approach-left {
    width: 50%;
    /* background: #2f3440; */
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.approach-left h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.3;
}

.approach-left p {
    font-size: 15px;
    color: #cfcfcf;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 450px;
}

/* RIGHT SIDE (same as .right) */
.approach-right {
    position: relative;
    width: 50%;
    overflow: hidden;
}

/* FULL IMAGE */
.approach-right img {
    margin-top: 85px;
    margin-left: 50px;
    border-radius: 15px;
    width: 70%;
    height: 70%;
    box-shadow: -6px -6px 15px rgba(0, 0, 0, 0.25);
    object-fit: cover; 
    filter: grayscale(100%);
}

/*Volunteer-Message After Submission*/
.success-msg {
    color: green;
    background: #e6ffe6;
    padding: 10px;
    border-radius: 5px;
    width: fit-content;
    margin: 10px auto;
}

.error-msg {
    color: red;
    background: #ffe6e6;
    padding: 10px;
    border-radius: 5px;
    width: fit-content;
    margin: 10px auto;
}

/* Contact-Page Styling */
.contact {
    text-align: center;
    padding: 60px 20px;
}

.contact-card {
    background: white;
    padding: 25px;
    margin: 20px auto;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    line-height: 1.8;
}

.map {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.map iframe {
    border-radius: 12px;
    filter: grayscale(20%);
}


