/* Reset and Base Styles */
@import "./partials/animations.css";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
    /* background: */

  background-color: #fffef5; /* Light creamy yellow background */
  background-image: 
    /* Cycle logo (stylized SVG in gold/black) */
   
    url("images/logo1.jpeg"),       /* top smaller pattern */
    url("images/tdppp.jpeg");       /* bottom full background */

  background-repeat: repeat, no-repeat;  /* pattern repeats, main bg doesn’t */
  background-size: 200px, cover;         /* pattern smaller, bg fills screen */
  background-position: top left, center; /* pattern in corner, bg centered */

  /* background-repeat: repeat; */
  /* background-size: 220px 220px; */
  background-attachment: fixed;
  /* background-position: center; */
}
body::after{
      background-color: rgba(255, 255, 255, 0.6); /* white overlay (0.6 = fade strength) */
        z-index: -1; /* keep behind your content */

}



      
        /* TDP Cycle Logo */
        /* url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='30' fill='none' stroke='%23FFD700' stroke-width='4' opacity='1.8'/%3E%3Ccircle cx='40' cy='40' r='6' fill='%23FFD700' opacity='1.8'/%3E%3Cline x1='40' y1='10' x2='40' y2='70' stroke='%23FFD700' stroke-width='4' opacity='1.8'/%3E%3Cline x1='10' y1='40' x2='70' y2='40' stroke='%23FFD700' stroke-width='4' opacity='1.8'/%3E%3Cline x1='18' y1='18' x2='62' y2='62' stroke='%23FFD700' stroke-width='3' opacity='0.9'/%3E%3Cline x1='62' y1='18' x2='18' y2='62' stroke='%23FFD700' stroke-width='3' opacity='0.9'/%3E%3C/svg%3E"),
        
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpolygon points='30,8 34,22 48,22 37,31 41,45 30,36 19,45 23,31 12,22 26,22' fill='%23FFD700' opacity='1.8' stroke='%23FFD700' stroke-width='3' opacity='1.9'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='18' fill='none' stroke='%23FFD700' stroke-width='3.5' opacity='1.7'/%3E%3Ccircle cx='30' cy='30' r='4' fill='%23FFD700' opacity='1.7'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='15' fill='none' stroke='%23FFD700' stroke-width='3' opacity='1.65'/%3E%3Ccircle cx='30' cy='30' r='3' fill='%23FFD700' opacity='1.65'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Cpolygon points='17.5,5 20,13 28,13 22,18 24.5,26 17.5,21 10.5,26 13,18 7,13 15,13' fill='%23FFD700' opacity='1.65'/%3E%3C/svg%3E"); */


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Combined Top Bar */
.top-bar-combined {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #ff0000, #ff4444);
    z-index: 1003;
    height: 40px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.top-bar-combined:hover {
    background: linear-gradient(90deg, #cc0000, #ff0000);
}

.language-selector {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1004;
}

.lang-btn {
    background: #FFD700;
    color: #000;
    border: none;
    padding: 6px 10px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    font-size: 0.8rem;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.scrolling-text-container {
    flex: 1;
    overflow: hidden;
    color: white;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
    font-weight: 600;
    font-size: 0.85rem;
}

.scrolling-text span {
    padding-right: 150px;
    display: inline-block;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 40px;
    width: 100%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 215, 0, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.nav-logo i {
    margin-right: 8px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #000;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000;
    transition: 0.3s;
}

/* Header Slider */
.header-slider {
    position: relative;
    height: calc(100vh - 40px);
    margin-top: 40px;
    overflow: hidden;
    /* background: #000; */
     background: rgba(248, 249, 250, 0.9);

}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1; 
}
.slide video,
.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
 
}
/* @media (max-width: 768px) {
  .header-slider .slide img {
    height: 100vh;         /* Adjust height for mobile */
    /* object-fit: contain;
    object-position: center; */
  /* }
} */ 
 /* Reduce top and bottom gap on mobile view */
/* @media (max-width: 768px) {
  .header-slider {
    margin-top:80px;
    margin-bottom: 0;
    padding-top: 0px;
    padding-bottom: 0;
  }

  .slider-container {
    margin-top: 80px;
    margin-bottom: -50px;
    padding: -0px;
  }

  .slider-container img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }
} */

/* Desktop & large screen fix */
/* Desktop & large screens */
@media (min-width: 769px) {
  .slider-container {
    width: 100%;
    height: 100vh; /* full viewport height */
    overflow: hidden;
  }

  .slider-container img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center top; /* keeps top area visible */
  }
}

/* Mobile view (unchanged) */
@media (max-width: 768px) {
  .slider-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }
}


 /* Tablets */
@media (max-width: 992px) {
    .slider-overlay h1 {
        font-size: 2.2rem;
    }
    .slider-overlay p {
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .slider-overlay {
        padding: 0.75rem;
    }
    .slider-overlay h1 {
        font-size: 1.6rem;
    }
    .slider-overlay p {
        font-size: 0.9rem;
    }
}


.slider-overlay {
    position: absolute;
    top: 10;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6) 0%, rgba(255, 215, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.party-logo {
    font-size: 4rem;
    color: #FFD700;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: slideInUp 1s ease-out;
}
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 1s both;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    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;
}

.btn-primary {
    background: #FFD700;
    color: #000;
}

.btn-primary:hover {
    background: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #FFD700;
}

.btn-secondary:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-3px);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #FFD700;
    transform: scale(1.2);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: rgba(250, 250, 247, 0.9);
    
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color:#FFD700;
    margin-bottom: 2rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: #FFD700;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

.achievements {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.achievement-item {
    text-align: center;
}

.achievement-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
}

.achievement-item .label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Welfare Section */
.welfare-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #FFD700;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #FFD700;
}

.welfare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.welfare-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

.welfare-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.welfare-icon {
    width: 80px;
    height: 80px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #000;
    transition: all 0.3s ease;
}

.welfare-item:hover .welfare-icon {
    transform: scale(1.1) rotate(5deg);
}

.welfare-item h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
/* journey */
/* .journey-section {
    padding: 80px 0;
    background: #fff;
}

.journey-section .section-title {
    text-align: center;
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 40px;
}

.journey-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
}

.journey-content h3 {
    color: #f0c419;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.journey-content h4 {
    margin-top: 30px;
    color: #1a1a1a;
    font-weight: 600;
}

.journey-list {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
}

.journey-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.journey-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #f0c419;
    font-size: 1.5rem;
} */

.journey-summary {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.bggg{
     background: rgba(248, 249, 250, 0.9);

}
/* .journey-summary .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 80px 0;
} */

.journey-summary .section-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #f0c419;
}

.journey-summary p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.btn-view-more {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  background: #f0c419;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-view-more:hover {
  background: #fff;
  color: #111;
}


/*achivements */
/* #achievements {
    padding: 60px 20px;
    text-align: center;
    background: #f9fafb;
}

#achievements h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #FFD700;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.achievement-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-card i {
    font-size: 2rem;
    color: #f0c419; /* Golden yellow like your Welfare section */
    /* margin-bottom: 15px;
}

.achievement-card p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
} */ 
 /* Enhanced Achievements Section */
/* 🎖️ Enhanced Achievements Section */
/* 🎖️ Auto-Scrolling Achievements Section */
/* 🌟 Enhanced Auto-Scrolling Achievements Section */
#achievements {
  padding: 100px 0;
  background: rgba(248, 249, 250, 0.9);
  text-align: center;
  overflow: hidden;
  position: relative;
}

#achievements h2 {
  font-size: 2.5rem;
  color: #FFD700;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* Wrapper to contain the moving grids */
#achievements {
    padding: 60px 0;
    background: rgba(248, 249, 250, 0.9);
    overflow: hidden;
    position: relative;
}

.achievements-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.achievements-grid {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    animation: scrollAchievements 30s linear infinite;
    width: max-content;
}

.achievements-grid.duplicate {
    position: absolute;
    top: 0;
    left: 100%;
}

.achievement-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    width: 250px ;
    height: 280px;
    flex-shrink: 0;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

@keyframes scrollAchievements {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.achievements-wrapper:hover .achievements-grid {
    animation-play-state: paused;
}

.achievement-card i {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.achievement-card:hover i {
    transform: rotate(360deg);
}

/* Pause on hover */
.achievements-wrapper:hover .achievements-grid {
  animation-play-state: paused;
}



/* Village Section */
.village-section {
    position: relative;
    padding: 100px 0;
    color: #000;
    overflow: hidden;
        background: rgba(248, 249, 250, 0.9);

}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3)), 
                url('https://images.pexels.com/photos/7947662/pexels-photo-7947662.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    background-attachment: fixed;
    z-index: -1;
}

.village-content {
    text-align: center;

}

.village-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.village-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #000;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: rgba(248, 249, 250, 0.9);
}

.gallery-container {
    margin-top: 3rem;
    overflow: hidden;
}

.gallery-row {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    width: calc(300px * 12);
}

.scroll-right {
    animation-name: scrollRight;
}

.scroll-left {
    animation-name: scrollLeft;
}

.gallery-row img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border-right: 2px solid #FFD700;
}

.gallery-row img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 10;
    position: relative;
}

.expanded-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.expanded-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #FFD700;
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    transform: scale(1.1);
}

/* Videos Section */
.videos-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
}

.video-thumbnail {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    transition: all 0.3s ease;
}

.video-item:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.close-video {
    position: absolute;
    top: -50px;
    right: 0;
    background: #FFD700;
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* On Your Side Section */
.on-your-side-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95) 0%, rgba(255, 165, 0, 0.95) 100%);
    color: #000;
    text-align: center;
}

.oys-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.oys-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.oys-icons {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.oys-icon {
    text-align: center;
    transition: all 0.3s ease;
}

.oys-icon i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.oys-icon span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.animate-icon {
    animation: bounce 2s infinite;
}

.oys-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: rgba(248, 249, 250, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #FFD700;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.contact-item i {
    color: #FFD700;
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #FFD700;
    color: #000;
    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;
}

.submit-btn:hover {
    background: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFD700;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #FFD700;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFA500;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

.view-more-container {
    text-align: center;
    margin-top: 3rem;
}

.view-more-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: none;
    padding: 15px 40px;
    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 5px 15px rgba(255, 215, 0, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .top-bar-combined {
        height: 35px;
    }

    .language-selector {
        right: 15px;
    }

    .lang-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .scrolling-text {
        font-size: 0.75rem;
    }

    .scrolling-text span {
        padding-right: 100px;
    }

    .navbar {
        top: 35px;
    }

    .header-slider {
        height: calc(100vh - 35px);
        margin-top: 35px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background-color: rgba(255, 215, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 1rem 0;
        backdrop-filter: blur(10px);
        z-index: 1001;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .welfare-grid {
        grid-template-columns: 1fr;
    }

    .village-stats {
        gap: 2rem;
    }

    .oys-title {
        font-size: 2.5rem;
    }

    .oys-icons {
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 200px;
    }

    .parallax-bg {
        background-attachment: scroll;
    }

    .achievements {
        justify-content: center;
    }

    .gallery-row img {
        width: 200px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .top-bar-combined {
        height: 32px;
    }

    .navbar {
        top: 32px;
    }

    .header-slider {
        height: calc(100vh - 32px);
        margin-top: 32px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .oys-title {
        font-size: 2rem;
    }

    .welfare-item,
    .contact-form {
        padding: 1.5rem;
    }

    .nav-container {
        padding: 1rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .language-selector {
        top: 15px;
        right: 15px;
    }

    .lang-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error {
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Loading Animation */
.submit-btn.loading {
    background: #ccc;
    cursor: not-allowed;
    position: relative;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Fixed Action Buttons */
.fixed-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.scroll-up-btn,
.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.scroll-up-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    animation-delay: 0.2s;
}

.scroll-up-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    animation-delay: 0.4s;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: #128C7E;
}

.scroll-up-btn.hidden,
.whatsapp-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile adjustments for fixed buttons */
@media (max-width: 768px) {
    .fixed-buttons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }
    
    .scroll-up-btn,
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Terms, Privacy Policy, and Opt-In Pages Styling */
.terms-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    line-height: 1.8;
}

.terms-section h1 {
    color: #FFD700;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.terms-section h2 {
    color: #333;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.terms-section h3 {
    color: #333;
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 10px;
}

.terms-section p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 15px;
}

.terms-section ul,
.terms-section ol {
    color: #555;
    margin-left: 20px;
    margin-bottom: 15px;
}

.terms-section li {
    margin-bottom: 10px;
}

.terms-section a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.terms-section a:hover {
    text-decoration: underline;
    color: #e6c200;
}

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    background: #FFD700;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Opt-In Page Specific Styles */
.optin-section {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.optin-section h1 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.optin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #FFD700;
    flex-shrink: 0;
}

.checkbox-group label {
    flex: 1;
    cursor: pointer;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-group label strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.checkbox-group label span {
    color: #888;
    font-size: 0.9rem;
}

.checkbox-group label a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #FFD700;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.info-box h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-box p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.success-message {
    display: none;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Responsive Design for Terms and Opt-In Pages */
@media (max-width: 768px) {
    .terms-section,
    .optin-section {
        margin: 60px auto;
        padding: 25px;
    }

    .terms-section h1,
    .optin-section h1 {
        font-size: 1.8rem;
    }

    .terms-section h2 {
        font-size: 1.2rem;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }

    .checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .terms-section,
    .optin-section {
        margin: 40px auto;
        padding: 20px;
        border-radius: 8px;
    }

    .terms-section h1,
    .optin-section h1 {
        font-size: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .terms-section p,
    .optin-section p {
        font-size: 0.95rem;
    }

    .back-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        margin-bottom: 20px;
    }

    .checkbox-group label {
        font-size: 0.9rem;
    }
}
