/* Awards Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #FFD700, var(--primary-orange));
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Awards Timeline */
.awards-timeline {
    padding: 100px 0;
    background: var(--light-gray);
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 0 0 8px var(--light-gray), var(--shadow);
    z-index: 2;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 0 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.award-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.award-card.featured {
    border: 3px solid #FFD700;
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
}

.award-card.featured::before {
    content: '★';
    position: absolute;
    top: 15px;
    right: 15px;
    color: #FFD700;
    font-size: 24px;
    z-index: 1;
}

.award-header {
    background: var(--gradient);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.award-card.featured .award-header {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.award-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.award-year {
    font-size: 24px;
    font-weight: 700;
}

.award-body {
    padding: 30px;
}

.award-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.award-authority {
    font-size: 14px;
    color: var(--primary-pink);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.award-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

.award-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--dark-text);
    font-weight: 500;
}

.detail-item i {
    color: var(--primary-pink);
    width: 16px;
}

/* Achievement Stats */
.achievement-stats {
    padding: 80px 0;
    background: var(--white);
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.stats-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.stat-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--dark-text);
    font-weight: 500;
}

/* Recognition Gallery */
.recognition-gallery {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.overlay-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        left: 30px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .timeline-content {
        width: 100%;
        padding: 0;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left !important;
    }
    
    .award-body {
        padding: 25px 20px;
    }
    
    .award-header {
        padding: 20px;
    }
    
    .award-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .awards-timeline {
        padding: 60px 0;
    }
    
    .timeline-item {
        margin-bottom: 40px;
        padding-left: 60px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 16px;
        left: 20px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .award-body h3 {
        font-size: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* Animation for timeline items */
.timeline-item.aos-animate .award-card {
    animation: slideInScale 0.8s ease-out;
}

@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Pulse animation for featured award */
.award-card.featured {
    animation: featuredPulse 3s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4), var(--shadow);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0), var(--shadow);
    }
}

/* Trophy icon animation */
.timeline-marker i {
    animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}







/* footer.css — reusable footer styles for Bhend Gram Panchayat */

/* Root colors (match your site's palette) */
:root{
  --primary-pink: #ff7ca3;
  --primary-orange: #ff914d;
  --footer-bg: linear-gradient(135deg,#2c3e50 0%,#34495e 50%,#2c3e50 100%);
  --muted-white: #bdc3c7;
  --footer-dark: #111;
  --footer-panel: rgba(255,255,255,0.03);
  --accent: #ff2f75;
}

/* Overall footer wrapper (keeps it reusable even if <footer> has different class) */
.footer,
.modern-footer {
  background: var(--footer-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  font-family: "Poppins", "Urbanist", sans-serif;
}

/* decorative background light pattern (keeps it subtle) */
.footer::before,
.modern-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.2" fill="%23FF7CA3" opacity="0.06"/><circle cx="80" cy="40" r="1.6" fill="%23FF914D" opacity="0.06"/></svg>') repeat;
  pointer-events: none;
  opacity: 0.12;
  z-index: 0;
}

/* top area containing grid columns */
.footer-top {
  position: relative;
  z-index: 2;
  padding: 48px 20px 32px;
}

.footer-container,
.footer-top .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* column basics */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* logo / title */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo h3,
.footer-logo .logo-text h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg,var(--primary-pink),var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo p {
  margin: 0;
  color: var(--muted-white);
  font-size: 13px;
}

/* description */
.footer p,
.footer .footer-desc {
  color: var(--muted-white);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}


/* footer titles and link lists */
.footer-col h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg,var(--primary-pink),var(--primary-orange));
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--muted-white);
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  transition: color .18s, transform .18s;
}

.footer-col ul li a:hover {
  color: var(--primary-pink);
  transform: translateX(6px);
}

/* contact-item box */
.footer .contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  background: var(--footer-panel);
  border-radius: 10px;
  color: var(--muted-white);
  font-size: 14px;
}

.footer .contact-item i {
  color: var(--primary-orange);
  margin-top: 3px;
  flex-shrink: 0;
}

/* bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.15);
  padding: 14px 0;
  position: relative;
  z-index: 2;
}

.footer-bottom .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy {
  color: #fff;
  font-size: 14px;
  margin: 0;
}

.footer-copy strong { color: #fff; font-weight: 700; }

.footer-copy a {
  color: #fff;
  text-decoration: underline;
}

.footer-copy a:hover {
  color: #ffb6c1;
}

/* small decorative bottom stripe */
.footer .footer-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,var(--primary-pink),var(--primary-orange),var(--primary-pink));
  z-index: 1;
  opacity: 0.95;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-top { padding: 36px 16px 24px; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer .contact-item { justify-content: center; text-align: center; }
  .footer-bottom-content { justify-content: center; }
  .footer-copy { font-size: 13px; }
}

/* Utility: small spacing tweak if you want the footer always full width */
.site-footer-fullwidth {
  width: 100%;
  left: 0;
  right: 0;
}

/* Optional small accessibility tweak: focus styles */
.footer a:focus, .footer button:focus {
  outline: 3px solid rgba(255,124,163,0.18);
  outline-offset: 3px;
}
