/* Global/Reset */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2 {
    font-family: 'Oswald', sans-serif;
}

/* === HEADER (Top Banner) STYLES === */

.header {
    background-color: #004d40; 
    color: white;
    text-align: center;
    position: relative; 
    overflow: hidden; 
    /* Increased padding-bottom to ensure space for the SEERAKKU logo above the title */
    
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    flex-wrap: wrap;
    padding: 40px 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.energy-poster {
    flex: 0 1 360px;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.energy-poster img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
}

.hero-text-box {
    flex: 1 1 360px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 900px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }
    .energy-poster,
    .hero-text-box {
        max-width: 100%;
    }
    .hero-text-box {
        align-items: center;
    }
}



/* Header Text Content and SEERAKKU Logo */
.header-content {
    position: relative;
    z-index: 10;
    /* Adjusted transform to account for new structure */
}

/* NEW: Wrapper for SEERAKKU logo and main H1 */
.title-and-seerakku-wrapper {
    display: flex; /* Use flexbox for vertical centering if needed, though block works too */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center items horizontally */
    margin-bottom: 10px; /* Space between this wrapper and the sub-text p */
}

/* NEW: SEERAKKU Logo Styling */
.seerakku-logo-wrapper {
    margin-bottom: 15px; /* Space between logo and main H1 */
    text-align: center; /* Ensures logo is centered if its wrapper is smaller */
}

.seerakku-logo {
    max-width: 180px; /* Increased size to match your image */
    height: auto;
    display: block;
    margin: 0 auto;
    margin-top: 40px; /* Center the logo image */
}
/* END NEW */


.header h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.header p { /* This targets the "30 Days..." sub-text */
    font-size: 1.1em;
    opacity: 0.9;
    margin-top: 15px; /* Add some space above the subtitle */
}

/* === MAIN CONTENT (CONTAINER) STYLES === */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

section {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px dashed #ccc;
}

section:last-child {
    border-bottom: none;
}

h2 {
    color: #004d40;
    border-left: 5px solid #ff9800; 
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

/* Table Styling (General) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #e0f2f1;
    color: #004d40;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Mascot Symbolism Box */
.symbolism-box {
    display: flex;
    gap: 20px;
    padding: 15px;
    margin-top: 20px;
    background-color: #fffde7; 
    border: 1px solid #ffeb3b;
    border-radius: 5px;
}

.symbolism-box strong {
    color: #f9a825; 
}

/* List Styling for Institutions */
.institution-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.institution-list li {
    background: #e8f5e9; 
    padding: 10px 15px;
    border-radius: 4px;
    border-left: 5px solid #4caf50; 
    font-weight: 500;
    transition: background-color 0.3s;
}

/* === SIDE-BY-SIDE IMAGE SECTION STYLES === */
.bottom-images-wrapper {
    display: flex; 
    justify-content: space-between; 
    gap: 20px; 
    width: 95%; 
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 10px;
}

.image-wrapper {
    flex: 1; 
    min-width: 45%; 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
}

.side-image {
    width: 100%; 
    height: auto;
    display: block;
}

/* === FOOTER STYLES === */
.footer {
    clear: both; 
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin-top: 30px;
}


/* === RESPONSIVE ADJUSTMENTS === */

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }
    .header {
        padding-top: 80px;
        padding-bottom: 40px; /* Adjusted */
    }
    .top-decoration {
        height: 80px;
    }
    .header-content {
        transform: translateY(-30px); /* Adjusted */
    }
    .top-left-icon img {
        max-width: 200px;
    }
    .top-right-icon img {
        max-width: 60px;
    }
    /* SEERAKKU Logo Sizing on Tablet */
    .seerakku-logo {
        max-width: 280px; /* Adjusted for tablet */
        margin-bottom: 10px;
    }
    
    /* Stack side-by-side images vertically */
    .bottom-images-wrapper {
        flex-direction: column; 
        gap: 20px;
        width: 98%;
        padding: 0;
    }
    .image-wrapper {
        min-width: 100%; 
    }
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 1.8em;
    }
    .header {
        padding-top: 60px; 
        padding-bottom: 30px; /* Adjusted */
    }
    .top-decoration {
        height: 60px;
    }
    .header-content {
        transform: translateY(-20px); /* Adjusted */
    }
    .top-left-icon {
        left: 10px;
    }
    .top-right-icon {
        right: 10px;
    }
    .top-left-icon img {
        max-width: 150px; 
    }
    .top-right-icon img {
        max-width: 40px; 
    }
    /* SEERAKKU Logo Sizing on Mobile */
    .seerakku-logo {
        max-width: 180px; /* Adjusted for mobile */
        margin-bottom: 8px;
    }
    .symbolism-box {
        flex-direction: column;
    }
    .institution-list {
        grid-template-columns: 1fr;
    }
    .bottom-images-wrapper {
        width: 100vw; 
        margin-top: 20px; 
        margin-bottom: 20px;
    }
}



/* NEW: mission-row with gif container on the right side (separate container) */
.mission-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* left text takes remaining space */
.mission-row .mission-text {
    flex: 1 1 auto;
    min-width: 0; /* allow text to shrink properly */
}

/* gif container fixed width but responsive */
.gif-container {
    flex: 0 0 320px; /* fixed thumbnail width on desktop */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* gif image styling */
.mission-gif {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    object-fit: contain;
}

/* existing mission-content kept for later symbolism layout */
.mission-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Responsive: stack and make gif full width on small screens */
@media (max-width: 900px) {
    .mission-row {
        flex-direction: column;
        gap: 12px;
    }
    .gif-container {
        flex: 0 0 auto;
        width: 100%;
    }
    .mission-gif {
        max-width: 100%;
    }
}




.top-bar-six {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #ffffff;
    height: 120px;
    padding: 0 20px;
}

/* NORMAL LOGOS */
.top-bar-six img {
    max-height: 100px;
    height: auto;
}

/* L5 special layout */
.logo-with-title {
    display: flex;
    flex-direction: column; /* image on top, title below */
    align-items: center;
    justify-content: center;
}

/* adjust image inside title box */
.logo-with-title img {
    max-height: 70px; /* slightly smaller to fit title */
}

/* TITLE TEXT under L5 */
.logo-title {
    color: rgb(0, 0, 0);
    font-size: 10px !important;
    margin-top: 5px !important;
    text-align: center;
}



/* container for left logo + title */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;  /* title stays centered */
    gap: 30px;
    padding: 20px 0;
}

/* left logo beside the title */
.header-left-logo img {
    height: 80px;
    width: auto;
}

/* title box stays centered */
.header-title-box {
    text-align: center;
}

.header-title-box h1 {
    margin: 0;
}

.header-title-box p {
    margin-top: 10px;
}

/* Circle background for the left logo */
.circle-bg {
    width: 110px;          /* circle size */
    height: 110px;
    background: white;     /* circle color */
    border-radius: 50%;    /* makes perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;      /* keeps image inside circle */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* optional */
}

/* logo inside circle */
.circle-bg img {
    width: 100%;            /* adjust based on logo shape */
    height: auto;
}


.associate-sponsor-section {
    padding: 30px 0;
    text-align: center;
}

.associate-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.associate-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;           /* space between logos */
    flex-wrap: wrap;
}

/* Make all logos smaller */
.associate-logo-row img {
    max-height: 70px;    /* adjust this number to be smaller/bigger */
    width: auto;
}


/* Wrapper heading */
.green-energy-heading {
  font-family: 'Oswald', sans-serif;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 10px 20px;
  animation: ge-float 4s ease-in-out infinite;
}

/* Dove icon */
.green-energy-heading .ge-icon {
  font-size: 2.2rem;
  margin-bottom: 4px;
}

/* Main line – gradient + shimmer + glow */
.green-energy-heading .ge-main {
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fffde7; /* soft warm white */
  text-shadow:
      0 0 8px rgba(255, 223, 88, 0.9),
      0 0 16px rgba(255, 200, 40, 1),
      0 0 28px rgba(255, 215, 64, 0.9);
  animation: ge-glow 3s ease-in-out infinite, ge-float 4s ease-in-out infinite;
}

/* Sub line – softer green */
.green-energy-heading .ge-sub {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8f5e9;
  text-shadow: 0 0 6px rgba(76, 175, 80, 0.8);
}

/* Energy underline bar */
.green-energy-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00c853, #aeea00, #00e5ff);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.8);
  animation: ge-underline 2s ease-out forwards;
}

/* Floating greenery aura behind text */
.green-energy-heading::before {
  content: "";
  position: absolute;
  inset: -10px -40px;
  background: radial-gradient(circle at center,
    rgba(76, 175, 80, 0.24) 0%,
    rgba(0, 77, 64, 0.0) 60%);
  filter: blur(2px);
  z-index: -1;
}

/* === Animations === */

@keyframes ge-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

@keyframes ge-glow {
  0%, 100% { text-shadow: 0 0 6px rgba(129, 199, 132, 0.7); }
  50%      { text-shadow: 0 0 16px rgba(200, 230, 201, 1); }
}

@keyframes ge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes ge-underline {
  from { width: 0; opacity: 0; }
  to   { width: 70%; opacity: 1; }
}

/* === FULL HEADER INNER ANIMATION === */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;

  /* greenery aura */
  position: relative;
  padding: 20px 30px;
  border-radius: 12px;

  /* subtle animated background glow */
  background: radial-gradient(circle at center,
      rgba(76, 175, 80, 0.22) 0%,
      rgba(0, 77, 64, 0.0) 70%);
  animation: headerGlow 6s ease-in-out infinite,
             headerFadeIn 1.2s ease-out forwards;
  opacity: 0;
}

/* soft floating movement */
@keyframes headerGlow {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 18px rgba(76, 175, 80, 0.28);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 0 32px rgba(139, 195, 74, 0.45);
  }
}

/* fade + rise on load */
@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* OPTIONAL — animated greenery ring behind */
.header-inner::before {
  content: "";
  position: absolute;
  inset: -30px -60px;
  background: radial-gradient(circle,
      rgba(255, 223, 88, 0.12),
      rgba(0, 0, 0, 0) 75%);
  filter: blur(18px);
  z-index: -1;
  animation: auraPulse 5s ease-in-out infinite;
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}

.video-section {
    background: white;
    padding: 20px;
    max-width: 900px; /* adjust according to your page */
    margin: auto;
    border-radius: 12px;
}

.youtube-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.youtube-thumb {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 65px;
    padding: 22px 32px;
    border-radius: 50%;
}

.ensav-logo {
    height: 60px !important;   /* reduce size */
    width: auto;
    object-fit: contain;
}





