@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Original+Surfer&display=swap');

html, body{
  overflow-x: hidden;
}
.gradient-bg{
    position: relative; 
    overflow:hidden;
    width: 100%;
    height: 50vh;
    text-align: center;
    background: linear-gradient(-45deg,#b3e5fc,#81d4fa,#4fc3f7);
    background-size: 600% 600%;
    animation: gradientShift 25s ease infinite alternate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    font-family: Arial, sans-serif;
    z-index: 1;
    h1{
        font-family: "DynaPuff", system-ui;
        font-weight: 700;
        font-size: 100px;
        padding:0;
        margin: 0;
        text-shadow: 
        0 0 5px #a8dadc,
        0 0 10px #8ecae6,
        0 0 20px #219ebc,
        0 0 30px rgba(33, 158, 188, 0.6),
        0 0 40px rgba(33, 158, 188, 0.4),
        0 0 50px rgba(33, 158, 188, 0.2);
    }
    h2{
        font-family: "Original Surfer", sans-serif;
        font-weight: 400;
        font-size: 50px;
        padding:0;
        margin: 0;
    }
}

/* Responsive design for header */
@media (max-width: 768px) {
    .gradient-bg {
        height: 60vh;
        padding: 20px;
    }
    
    .gradient-bg h1 {
        font-size: 3rem;
        margin-bottom: 10px;
    }
    
    .gradient-bg h2 {
        font-size: 1.8rem;
    }
}
@media (max-width: 480px) {
    .gradient-bg {
        height: 70vh;
        padding: 15px;
    }
    
    .gradient-bg h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .gradient-bg h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
}
@media (max-width: 320px) {
    .gradient-bg h1 {
        font-size: 2rem;
    }
    
    .gradient-bg h2 {
        font-size: 1.2rem;
    }
}

/* styles the basic bubble */
.bubble {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    z-index:0
}

/* animates the gradient so it shifts color */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* bubble floating animation */
@keyframes floatUp {
    0% {
      transform: translateY(0) scale(1); /* Start at its initial Y position, normal size */
      opacity: 1; /* Fully visible */
    }
    100% {
      transform: translateY(-100vh) scale(1.2); /* Move up 100% of viewport height, slightly larger */
      opacity: 0; /* Fade out as it reaches the top */
    }
  } 
  /* individual bubble sizes, starting positions, and animation  */
  .bubble-1 {
    width: 40px;
    height: 40px;
    left: 10%;
    bottom: -20px; /* Start just below the container */
    animation: floatUp 15s linear infinite; /* 15s duration, linear speed, repeat infinite */
    animation-delay: 0s; /* Start immediately */
  }
  .bubble-2 {
    width: 60px;
    height: 60px;
    left: 30%;
    bottom: -30px;
    animation: floatUp 20s linear infinite;
    animation-delay: 3s; /* Start after 3 seconds */
  }
  .bubble-3 {
    width: 30px;
    height: 30px;
    left: 50%;
    bottom: -15px;
    animation: floatUp 12s linear infinite;
    animation-delay: 6s;
  }
  .bubble-4 {
    width: 50px;
    height: 50px;
    left: 70%;
    bottom: -25px;
    animation: floatUp 18s linear infinite;
    animation-delay: 9s;
  }
  .bubble-5 {
    width: 44px;
    height: 44px;
    left: 20%;
    bottom: -22px;
    animation: floatUp 16s linear infinite;
    animation-delay: 1s;
  } 
  .bubble-6 {
    width: 36px;
    height: 36px;
    left: 85%;
    bottom: -18px;
    animation: floatUp 14s linear infinite;
    animation-delay: 4s;
  }
  .bubble-7 {
    width: 70px;
    height: 70px;
    left: 40%;
    bottom: -35px;
    animation: floatUp 22s linear infinite;
    animation-delay: 7s;
  }
   
/* ---wave animation --- */
.wave-container {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    margin: 0;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}
.wave-svg {
    width: 100%;
    height: 100px;
    display: block;
}
.wave-path {
    fill: #83d8ff;
    animation: waveMove 3.5s linear infinite;
}
@keyframes waveMove {
    0% {
        d: path('M0,60 C300,120 600,0 900,80 C1200,160 1440,40 1440,60 L1440,100 L0,100 Z');
    }
    25% {
        d: path('M0,70 C300,180 600,-40 900,60 C1200,140 1440,80 1440,70 L1440,100 L0,100 Z');
    }
    50% {
        d: path('M0,50 C300,60 600,180 900,40 C1200,-20 1440,120 1440,50 L1440,100 L0,100 Z');
    }
    75% {
        d: path('M0,65 C300,140 600,20 900,100 C1200,180 1440,60 1440,65 L1440,100 L0,100 Z');
    }
    100% {
        d: path('M0,60 C300,120 600,0 900,80 C1200,160 1440,40 1440,60 L1440,100 L0,100 Z');
    }
}


/* about us div */
.about {
    background: linear-gradient(to bottom, #83d8ff 0%, #219ebc 50%, #0f72a3 100%);
    width: 100%;
    padding: 80px 5%;
    margin: 0;
    position: relative;
    overflow: hidden;
}
/* makes the gradient background */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bubbles" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23bubbles)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}
.mission-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.mission-text {
    flex: 1;
    text-align: left;
}
.mission-title {
    font-family: "DynaPuff", sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: white;
    margin: 0 0 30px 0;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.3),
        0 0 20px rgba(255,255,255,0.2),
        2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}
.mission-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #fff, transparent);
    border-radius: 2px;
}
p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    font-weight: 300;
}
.mission-image {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mission-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 20px rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mission-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 0 30px rgba(255,255,255,0.3);
}
.mission-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    margin: 0;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}
.mission-wave-path {
    fill: #095d87;
    animation: missionWaveMove 4s linear infinite;
}
@keyframes missionWaveMove {
    0% {
        d: path('M0,70 C300,140 600,20 900,100 C1200,180 1440,60 1440,70 L1440,100 L0,100 Z');
    }
    25% {
        d: path('M0,50 C300,60 600,180 900,40 C1200,-20 1440,120 1440,50 L1440,100 L0,100 Z');
    }
    50% {
        d: path('M0,65 C300,140 600,20 900,100 C1200,180 1440,60 1440,65 L1440,100 L0,100 Z');
    }
    75% {
        d: path('M0,55 C300,120 600,0 900,80 C1200,160 1440,40 1440,55 L1440,100 L0,100 Z');
    }
    100% {
        d: path('M0,70 C300,140 600,20 900,100 C1200,180 1440,60 1440,70 L1440,100 L0,100 Z');
    }
}
@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .mission-title {
        font-size: 2.5rem;
    }
    
    .mission-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mission-description {
        font-size: 1.1rem;
    }
    
    .mission-image {
        flex: 0 0 auto;
    }
    
    .mission-img {
        width: 280px;
        height: 280px;
    }
}



/* team div */
.team {
    background: linear-gradient(180deg, #095d87 0%, #1a365d 50%, #0f2027 100%);
    width: 100%;
    padding: 80px 5%;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" x="0" y="0" width="50" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q12.5,0 25,10 T50,10" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.team-title {
    font-family: "DynaPuff", sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: white;
    margin: 0 0 20px 0;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.3),
        0 0 20px rgba(255,255,255,0.2),
        2px 2px 4px rgba(0,0,0,0.3);
}

.team-subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 60px 0;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 20px rgba(255,255,255,0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden; 
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    object-position: center; 
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.member-name {
    font-family: "DynaPuff", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: white;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.member-role {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    color: #90caf9;
    margin: 0 0 15px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-bio {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

/* Responsive design for team section */
@media (max-width: 768px) {
    .team {
        padding: 60px 5%;
    }
    
    .team-title {
        font-size: 2.5rem;
    }
    
    .team-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .team-members {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-member {
        padding: 30px 20px;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
    
    .photo-placeholder {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .team-title {
        font-size: 2rem;
    }
    
    .team-subtitle {
        font-size: 1rem;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-role {
        font-size: 1rem;
    }
}

/* --- Navbar Styles --- */
.navbar {
    width: 100vw;
    left: 0;
    right: 0;
    box-sizing: border-box;
    background: linear-gradient(90deg, #b3e5fc 0%, #4fc3f7 100%);
    box-shadow: 0 2px 8px rgba(33, 158, 188, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: fixed;
    top: 0;
    z-index: 100;
    height: 64px;
}

.nav-logo {
    font-family: "DynaPuff", sans-serif;
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(33, 158, 188, 0.08);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2vw;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: "Original Surfer", Arial, sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    font-weight: 500;
    position: relative;
}

.nav-link:hover, .nav-link:focus {
    background: #219ebc;
    color: #fff;
    box-shadow: 0 2px 8px rgba(33, 158, 188, 0.15);
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 0 12px;
        align-items: flex-start;
    }
    .nav-logo {
        font-size: 1.3rem;
        margin: 10px 0 0 0;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-bottom: 10px;
    }
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 10px 12px;
        font-size: 1rem;
    }
}

/* Add top padding to body to prevent content under navbar */
body {
    padding-top: 64px;
}

.gradient-bg, .about, .team {
    width: 100vw;
    box-sizing: border-box;
    margin: 0 auto;
}
