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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo img{
    max-width: 100px;
}

.logo-text {
    background: linear-gradient(135deg, #1e5aa8, #dc3545);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #dc3545, #1e5aa8);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #1e5aa8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #1e5aa8;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #1e5aa8;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.5s forwards;
}

.hero-text::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #dc3545;
    margin: 20px 0;
    animation: growWidth 1s ease-out 1s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-text p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideInLeft 1s ease-out 1s forwards;
}

.cta-button {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    opacity: 0;
    animation: slideInLeft 1s ease-out 1.5s forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333, #a71e2a);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: slideInRight 1s ease-out 0.8s forwards;
}

.people-group {
    position: relative;
    transform: scale(0.8);
    animation: scaleIn 1s ease-out 2s forwards;
}

.person {
    width: 100px;
    height: 140px;
    position: absolute;
    border-radius: 50px 50px 20px 20px;
    transition: transform 0.3s ease;
}

.person:hover {
    transform: translateY(-10px);
}

.person1 {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
    left: 0;
    z-index: 4;
    animation: bounceIn 0.6s ease-out 2.5s both;
}

.person2 {
    background: linear-gradient(135deg, #6f42c1, #8a5bd4);
    left: 60px;
    z-index: 3;
    animation: bounceIn 0.6s ease-out 2.7s both;
}

.person3 {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    left: 120px;
    z-index: 2;
    animation: bounceIn 0.6s ease-out 2.9s both;
}

.person4 {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
    left: 180px;
    z-index: 1;
    animation: bounceIn 0.6s ease-out 3.1s both;
}

/* Goals Section */
.goals {
    padding: 100px 0;
    background: white;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #1e5aa8;
    font-weight: 700;
    margin-bottom: 80px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #dc3545;
    margin: 20px auto;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.goal-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.goal-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.goal-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.goal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.goal-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.goal-item:hover .goal-icon::before {
    animation: shine 1s ease-in-out;
}

.heart-icon {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.book-icon {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
}

.people-icon {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
}

.goal-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.goal-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Activities Section */
.activities {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.activity-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.activity-card.animate {
    opacity: 1;
    transform: scale(1);
}

.activity-header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

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

.activity-card:hover .activity-header::before {
    left: 100%;
}

.family-bg {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
}

.tradition-bg {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.charity-bg {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.craft-bg {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
}

.activity-content {
    padding: 30px;
    text-align: center;
}

.activity-content h3 {
    font-size: 1.4rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.activity-content p {
    color: #666;
    font-size: 1rem;
}

  /* Photo Gallery Section */
  .photo-gallery {
      padding: 100px 0;
      background: white;
  }

  .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 60px;
  }

  .gallery-item {
      opacity: 0;
      transform: scale(0.9);
      transition: all 0.6s ease;
  }

  .gallery-item.visible {
      opacity: 1;
      transform: scale(1);
  }

  .photo-placeholder {
      width: 100%;
      height: 200px;
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
  }

  .photo-placeholder::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg,
              rgba(255, 255, 255, 0.1) 0%,
              rgba(255, 255, 255, 0.3) 50%,
              rgba(255, 255, 255, 0.1) 100%);
      transform: translateX(-100%);
      transition: transform 0.6s ease;
  }

  .photo-placeholder:hover::before {
      transform: translateX(100%);
  }

  .photo-placeholder:hover {
      transform: scale(1.05);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }

  .photo1 {
      background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  }

  .photo2 {
      background: linear-gradient(135deg, #4834d4, #686de0);
  }

  .photo3 {
      background: linear-gradient(135deg, #f0932b, #eb4d4b);
  }

  .photo4 {
      background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  }

  .photo5 {
      background: linear-gradient(135deg, #00b894, #00cec9);
  }

  .photo6 {
      background: linear-gradient(135deg, #e84393, #fd79a8);
  }

  .photo7 {
      background: linear-gradient(135deg, #0984e3, #74b9ff);
  }

  .photo8 {
      background: linear-gradient(135deg, #fdcb6e, #f39c12);
  }

  .gallery-button-container {
      text-align: center;
      margin-top: 50px;
  }

  .gallery-button {
      background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
      color: white;
      padding: 15px 35px;
      border: none;
      border-radius: 50px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 15px rgba(30, 90, 168, 0.3);
  }

  .gallery-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(30, 90, 168, 0.4);
      background: linear-gradient(135deg, #2c6ab3, #3a7bc8);
  }

/* Photo backgrounds - simulating actual photos */
.photo1 {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%23ff6b6b" width="200" height="200"/><circle fill="%23ffffff40" cx="100" cy="100" r="60"/><text x="100" y="110" text-anchor="middle" fill="white" font-size="20" font-family="Arial">Akce</text></svg>');
}

.photo2 {
    background: linear-gradient(135deg, #4834d4, #686de0);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%234834d4" width="200" height="200"/><circle fill="%23ffffff40" cx="100" cy="100" r="60"/><text x="100" y="110" text-anchor="middle" fill="white" font-size="20" font-family="Arial">Lidé</text></svg>');
}

.photo3 {
    background: linear-gradient(135deg, #f0932b, #eb4d4b);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%23f0932b" width="200" height="200"/><circle fill="%23ffffff40" cx="100" cy="100" r="60"/><text x="100" y="110" text-anchor="middle" fill="white" font-size="18" font-family="Arial">Oslava</text></svg>');
}

.photo4 {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%236c5ce7" width="200" height="200"/><circle fill="%23ffffff40" cx="100" cy="100" r="60"//<text x="100" y="110" text-anchor="middle" fill="white" font-size="18" font-family="Arial">Umění</text></svg>');
}

.photo5 {
    background: linear-gradient(135deg, #00b894, #00cec9);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%2300b894" width="200" height="200"/><circle fill="%23ffffff40" cx="100" cy="100" r="60"/><text x="100" y="110" text-anchor="middle" fill="white" font-size="16" font-family="Arial">Tradice</text></svg>');
}

.photo6 {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%23e84393" width="200" height="200"/><circle fill="%23ffffff40" cx="100" cy="100" r="60"/><text x="100" y="110" text-anchor="middle" fill="white" font-size="16" font-family="Arial">Charita</text></svg>');
}

.photo7 {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%230984e3" width="200" height="200"/><circle fill="%23ffffff40" cx="100" cy="100" r="60"/><text x="100" y="110" text-anchor="middle" fill="white" font-size="16" font-family="Arial">Rodina</text></svg>');
}

.photo8 {
    background: linear-gradient(135deg, #fdcb6e, #f39c12);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%23fdcb6e" width="200" height="200"/><circle fill="%23ffffff40" cx="100" cy="100" r="60"/><text x="100" y="110" text-anchor="middle" fill="white" font-size="16" font-family="Arial">Květiny</text></svg>');
}

.gallery-button-container {
    text-align: center;
    margin-top: 50px;
}

.gallery-button {
    background: #000000;
    color: white;
    padding: 15px 50px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #333333;
}

/* Membership Section */
.membership {
    padding: 100px 0;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.membership::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.membership-content {
    position: relative;
    z-index: 2;
}

.membership h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.membership p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.membership-button {
    background: white;
    color: #dc3545;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.membership-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e5aa8 0%, #2c6ab3 50%, #1e5aa8 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.contact .section-title {
    color: white;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.1) 25%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 75%,
            rgba(255, 255, 255, 0.3) 100%);
    border-radius: 25px;
    z-index: -1;
    animation: shimmer 3s linear infinite;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.contact-info h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-details {
    position: relative;
}

.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.contact-details p::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
}

.contact-details strong {
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.social-media {
    margin-top: 40px;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 30px;
    background: linear-gradient(135deg, #1877f2, #4267b2);
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.facebook-link:hover::before {
    left: 100%;
}

.facebook-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(24, 119, 242, 0.5);
    background: linear-gradient(135deg, #4267b2, #1877f2);
}

.facebook-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.contact-form {
    position: relative;
}

.contact-form h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #1e5aa8, #dc3545);
    animation: slideGradient 3s linear infinite;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px 25px;
    border: 2px solid rgba(30, 90, 168, 0.2);
    border-radius: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(248, 249, 250, 0.8);
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e5aa8;
    box-shadow: 0 0 0 4px rgba(30, 90, 168, 0.1);
    background: white;
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-weight: 500;
}

.form-submit-button {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.form-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.form-submit-button:hover::before {
    left: 100%;
}

.form-submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.5);
    background: linear-gradient(135deg, #c82333, #a71e2a);
}

.form-submit-button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-info h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile responsive for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    /* Mobile Navigation */
    .nav-content {
        padding: 10px 0;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-content {
        padding: 8px 0;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 200px);
        gap: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Fix potential overflow issues */
    .hero::before,
    .contact::before,
    .membership::before {
        display: none;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes growWidth {
    to {
        transform: scaleX(1);
    }
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(100px);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes shine {
    0% {
        opacity: 0;
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes slideGradient {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

/* Intersection Observer animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e5aa8;
}

.logo-text {
    background: linear-gradient(135deg, #1e5aa8, #dc3545);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #dc3545, #1e5aa8);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #1e5aa8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #1e5aa8;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #1e5aa8;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.5s forwards;
}

.hero-text::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #dc3545;
    margin: 20px 0;
    animation: growWidth 1s ease-out 1s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-text p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideInLeft 1s ease-out 1s forwards;
}

.cta-button {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    opacity: 0;
    animation: slideInLeft 1s ease-out 1.5s forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333, #a71e2a);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: slideInRight 1s ease-out 0.8s forwards;
}

.people-group {
    position: relative;
    transform: scale(0.8);
    animation: scaleIn 1s ease-out 2s forwards;
}

.person {
    width: 100px;
    height: 140px;
    position: absolute;
    border-radius: 50px 50px 20px 20px;
    transition: transform 0.3s ease;
}

.person:hover {
    transform: translateY(-10px);
}

.person1 {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
    left: 0;
    z-index: 4;
    animation: bounceIn 0.6s ease-out 2.5s both;
}

.person2 {
    background: linear-gradient(135deg, #6f42c1, #8a5bd4);
    left: 60px;
    z-index: 3;
    animation: bounceIn 0.6s ease-out 2.7s both;
}

.person3 {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    left: 120px;
    z-index: 2;
    animation: bounceIn 0.6s ease-out 2.9s both;
}

.person4 {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
    left: 180px;
    z-index: 1;
    animation: bounceIn 0.6s ease-out 3.1s both;
}

/* Goals Section */
.goals {
    padding: 100px 0;
    background: white;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #1e5aa8;
    font-weight: 700;
    margin-bottom: 80px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #dc3545;
    margin: 20px auto;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.goal-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.goal-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.goal-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.goal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.goal-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.goal-item:hover .goal-icon::before {
    animation: shine 1s ease-in-out;
}
.heart-icon {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}
.heart-icon img,.book-icon img, .people-icon img {
    width: 35px;
    height: 35px;
}

.book-icon {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
}

.people-icon {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
}

.goal-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.goal-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Activities Section */
.activities {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.activity-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.activity-card.animate {
    opacity: 1;
    transform: scale(1);
}

.activity-header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.activity-header img {
    width: 50px;
}

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

.activity-card:hover .activity-header::before {
    left: 100%;
}

.family-bg {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
}

.tradition-bg {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.charity-bg {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.craft-bg {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
}

.activity-content {
    padding: 30px;
    text-align: center;
}

.activity-content h3 {
    font-size: 1.4rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.activity-content p {
    color: #666;
    font-size: 1rem;
}

/* Photo Gallery Section */
.photo-gallery {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.photo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}
.photo-placeholder img {
    width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
}

.photo-placeholder:hover::before {
    transform: translateX(100%);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .photo-placeholder {
    filter: brightness(1.1);
}

/* Photo backgrounds - simulating actual photos */
.photo1 {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);

}

.photo2 {
    background: linear-gradient(135deg, #4834d4, #686de0);

}

.photo3 {
    background: linear-gradient(135deg, #f0932b, #eb4d4b);

}

.photo4 {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);

}

.photo5 {
    background: linear-gradient(135deg, #00b894, #00cec9);

}

.photo6 {
    background: linear-gradient(135deg, #e84393, #fd79a8);

}

.photo7 {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
}

.photo8 {
    background: linear-gradient(135deg, #fdcb6e, #f39c12);
}
.gallery-button-container {
    text-align: center;
    margin-top: 50px;
}

.gallery-button {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
    color: white;
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 90, 168, 0.4);
    background: linear-gradient(135deg, #2c6ab3, #3a7bc8);
}

/* Membership Section */
.membership {
    padding: 100px 0;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.membership::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.membership-content {
    position: relative;
    z-index: 2;
}

.membership h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.membership p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.membership-button {
    background: white;
    color: #dc3545;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.membership-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e5aa8 0%, #2c6ab3 50%, #1e5aa8 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.contact .section-title {
    color: white;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.1) 25%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 75%,
            rgba(255, 255, 255, 0.3) 100%);
    border-radius: 25px;
    z-index: -1;
    animation: shimmer 3s linear infinite;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.contact-info h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-details {
    position: relative;
}

.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.contact-details p::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
}

.contact-details strong {
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.social-media {
    margin-top: 40px;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 30px;
    background: linear-gradient(135deg, #1877f2, #4267b2);
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.facebook-link:hover::before {
    left: 100%;
}

.facebook-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(24, 119, 242, 0.5);
    background: linear-gradient(135deg, #4267b2, #1877f2);
}

.facebook-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.contact-form {
    position: relative;
}

.contact-form h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #1e5aa8, #dc3545);
    animation: slideGradient 3s linear infinite;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px 25px;
    border: 2px solid rgba(30, 90, 168, 0.2);
    border-radius: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(248, 249, 250, 0.8);
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e5aa8;
    box-shadow: 0 0 0 4px rgba(30, 90, 168, 0.1);
    background: white;
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-weight: 500;
}

.form-submit-button {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.form-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.form-submit-button:hover::before {
    left: 100%;
}

.form-submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.5);
    background: linear-gradient(135deg, #c82333, #a71e2a);
}

.form-submit-button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e5aa8, #2c6ab3);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-info h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile responsive for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    /* Mobile Navigation */
    .nav-content {
        padding: 10px 0;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-content {
        padding: 8px 0;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 200px);
        gap: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Fix potential overflow issues */
    .hero::before,
    .contact::before,
    .membership::before {
        display: none;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes growWidth {
    to {
        transform: scaleX(1);
    }
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(100px);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes shine {
    0% {
        opacity: 0;
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes slideGradient {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

/* Intersection Observer animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}