* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    font-size: 16px;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    align-items: left;
    justify-content: left;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #faf9f4 0%, #ede6db 100%);
    margin: 0;
    padding: 0;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    display: block;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #218838;
}

p {
    margin-top: 15px;
}

.navbar {
    width: 100%;
    background: #ede6db;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-size: 1.25rem;
    border-bottom: 2px solid #fe914c;
}

.navbar .logo {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    color: #fe914c;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.navbar ul li a:hover {
    color: #b04e12;
}

.hero {
    padding: clamp(2rem, 8vw, 6rem);
    padding-top: clamp(3rem, 10vw, 8rem);
    padding-bottom: clamp(3rem, 10vw, 8rem);
    background: #faf9f4;
}

/* Full-screen hero styles */
.hero-full {
    position: relative;
    /* make the section span the entire viewport width (full-bleed) */
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video,
.hero-image-fallback {
    position: absolute;
    /* center the media in the viewport */
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.carousel-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.carousel-image-wrapper.active {
    opacity: 1;
    z-index: 1;
}

.hero-carousel-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.carousel-image-description {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    font-style:italic;
}

.hero-carousel-img.active {
    opacity: 1;
    z-index: 1;
}

.hero-image-fallback {
    display: block;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: clamp(1rem, 4vw, 2rem);
    max-width: 1200px;
    width: 100%;
}

.hero-swap {
    position: relative;
    display: inline-block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    font-weight: 800;
    margin: 0 auto 1rem;
    color: #fff;
}

.hero-swap .text-a,
.hero-swap .text-b {
    display: block;
    transition: opacity 600ms ease;
    white-space: nowrap;
}

.hero-swap .text-b {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    opacity: 0;
}

.hero-swap.show-b .text-a { opacity: 0; }
.hero-swap.show-b .text-b { opacity: 1; }

.hero-sub { font-size: clamp(0.9rem, 2.5vw, 1.25rem); margin-bottom: 1.25rem; color: rgba(255,255,255,0.95); line-height: 1.6; }
.hero-cta { display:flex; gap:1rem; justify-content:center; flex-wrap: wrap; }
.hero-btn { background:#3b82f6; color:#fff; padding:clamp(0.6rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem); border:none; border-radius:6px; font-size: clamp(0.9rem, 2vw, 1rem); cursor: pointer; transition: transform 0.2s, background 0.2s; }
.hero-btn:hover { background: #2563eb; transform: translateY(-2px); }
.hero-btn:active { transform: translateY(0); }

/* Original hero word colors */
.hero-swap .c1 { color: #ff8585; }
.hero-swap .c2 { color: #8acea9; }
.hero-swap .c3 { color: #57adff; }
.hero-swap .c4 { color: #c070db; }

/* small overlay gradient for readability */
.hero-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.5));
    z-index: -1;
    border-radius: 0;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color:#fe914c;
    -webkit-text-stroke: black;
    font-weight:bold;
}

.hero p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 400;
}

.row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: clamp(1rem, 3vw, 2rem) 0;
}

.row.reverse {
    flex-direction: row-reverse;
}

.section {
    flex: 1;
    max-width: 1800px;
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 20px;
    background: #faf9f4;
    box-shadow: 0 4px 24px rgba(59,130,246,0.08);
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section.alt {
    background: #faf9f4;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #fe914c;
    margin-bottom: 1rem;
    text-align: left;
}

.section.alt .section-title {
    text-align: right;
    color: #fe914c;
}

.section-content {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #444;
    text-align: left;
    line-height: 1.6;
}

.section.alt .section-content {
    text-align: right;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.features-list li {
    margin-bottom: 0.5rem;
    padding-right: 1.5rem;
    position: relative;
}

.features-list li:before {
    content: "•";
    position: absolute;
    right: 0;
    color: #fe914c;
    font-size: 1.2em;
}

.hero.bg-img {
    position: relative;
}

.hero.bg-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15; /* Transparency level */
    z-index: 1;
}

.hero.bg-img > * {
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .row, .row.reverse {
        flex-direction: column !important;
    }
    .section, .section.alt {
        max-width: 100%;
        padding: 1.5rem;
    }
    .section-title, .section-content, .section.alt .section-title, .section.alt .section-content {
        text-align: center !important;
    }
    .features-list {
        text-align: center !important;
    }
    .features-list li {
        padding-right: 0;
        padding-left: 1.5rem;
    }
    .features-list li:before {
        left: 0;
        right: auto;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 15px;
        margin: 10px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .hero-full {
        height: 70vh;
        min-height: 500px;
    }
    
    .carousel-image-description {
        font-size: 0.75rem;
        padding: 6px 10px;
        bottom: 10px;
        right: 10px;
    }
}

.footer {
    background-color: #ede6db;
    color: white;
    padding: 40px 0;
}   
.social-icons a {
    color: white;
    font-size: 24px;
    margin-right: 15px;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #adb5bd;
    text-decoration: none;
}
.contact-info i {
    margin-right: 10px;
    width: 20px;
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 20px;
}
.nav-img{
    width: 12%;
    height: 12%;
    background-image: url('img/IMG_0601__1_-removebg-preview.png');
}
.hero.bg-img.bg-img1::before {
    background-image: inherit;
    opacity: 0.5;
    background-image: url('img/Screenshot 2025-08-15 103904.PNG');
}

.hero.bg-img.bg-img2::before {
    background-image: inherit;
    background-image: url('/img/IMG_0601 (1).PNG');
}
/* Gallery Section Styles */
.gallery-section {
  overflow: hidden;
  background-color: #f8f9fa; /* Light background color */
}

.gallery-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: max-content; /* Makes the track as wide as all items combined */
  animation: scroll 20s linear infinite;
  will-change: transform;
}

.gallery-item {
  width: 300px;
  height: 200px;
  flex-shrink: 0;
  margin: 0 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  padding: 0;
  background: #f0f0f0;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

/* Animation for auto-scrolling */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Move by half the width to create seamless loop */
  }
}

/* Pause animation on hover */
.gallery-container:hover .gallery-track {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-item {
    width: 250px;
    height: 166px;
  }
  
  .gallery-track {
    animation-duration: 15s; /* Faster scroll on mobile */
  }
}

@media (max-width: 576px) {
  .gallery-item {
    width: 200px;
    height: 133px;
    margin: 0 5px;
  }
}
.hero-text{
    font-size: 0.5rem;
    color: #333;
    margin-top: 1rem;
    margin-right:5rem;
    text-align: left;
    line-height: 1;
    font-weight:50;
}
.mission-goals-text{
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    line-height: 1.5;
    font-weight: 500;
}
li{
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .navbar img {
        max-width: 60px;
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer {
        padding: 20px 15px;
        text-align: center;
    }
    
    .social-icons a {
        font-size: 20px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem;
    }
    
    .navbar img {
        max-width: 50px;
    }
    
    .gallery-section {
        padding: 2rem 0 !important;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn, .hero-btn, .submit-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .navbar ul li a {
        padding: 0.75rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}