@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --primary-color: #1b5e20; /* Deep Earth Green */
  --primary-light: #4c8c4a;
  --secondary-color: #d84315; /* Terracotta */
  --accent-color: #ffb300; /* Warm Gold */
  
  --bg-color: #f8f9fa;
  --surface-color: #ffffff;
  
  --text-dark: #1f2937;
  --text-light: #4b5563;
  --text-white: #ffffff;

  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header & Navbar --- */
.site-header {
  background-color: var(--surface-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 8px 0;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 500;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  font-family: 'Outfit', sans-serif;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation Links */
.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-normal);
}

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

/* Dropdowns */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  padding: 10px 0;
  border: 1px solid rgba(0,0,0,0.05);
  z-index: 100;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-color);
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background-color: var(--primary-color);
  /* Fallback without image */
  background: linear-gradient(135deg, #1b5e20 0%, #4c8c4a 100%);
  color: var(--text-white);
  padding: 100px 20px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 900px;
  z-index: 1;
  animation: fadeIn 1s ease-out forwards;
}

.hero-dates {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--text-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-organizers {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(216, 67, 21, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 67, 21, 0.6);
}

/* --- Section Styling --- */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background-color: #e0e0e0;
  min-height: 300px; /* placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #757575;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--primary-color);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface-color);
    box-shadow: var(--shadow-md);
    padding: 20px;
    align-items: flex-start;
  }
  .main-nav.active { display: flex; }
  
  .nav-item.dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    display: none;
  }
  .nav-item.dropdown.active .dropdown-menu { display: block; }
}

/* --- Forms --- */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-label span {
  color: red;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

.form-text {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 5px;
}

.file-upload {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-upload input[type="file"] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  background-color: var(--bg-color);
  color: var(--text-light);
  cursor: pointer;
  transition: border-color var(--transition-fast);
  text-align: center;
}

.file-upload:hover .file-upload-label {
  border-color: var(--primary-color);
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 30px;
}
/* Page Banner */

.page-banner{
    background:linear-gradient(135deg,#1b5e20,#2e7d32);
    color:#fff;
    text-align:center;
    padding:70px 20px;
}

.page-banner h1{
    font-size:2.4rem;
    margin-bottom:10px;
}

.page-banner p{
    opacity:.9;
}

/* Card */

.guideline-card{
    background:#fff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

/* List */

.guideline-list{
    margin-top:25px;
    padding-left:22px;
}

.guideline-list li{
    margin-bottom:18px;
    line-height:1.8;
}

.guideline-list ul{
    margin-top:10px;
    margin-bottom:10px;
}

.guideline-list ul li{
    list-style:disc;
    margin-bottom:8px;
}

/* Important Dates */

.important-dates{
    margin-top:40px;
}

.important-dates h3{
    margin-bottom:20px;
    color:#1b5e20;
}

.dates-table{
    width:100%;
    border-collapse:collapse;
}

.dates-table th{
    background:#1b5e20;
    color:#fff;
    padding:14px;
}

.dates-table td{
    padding:14px;
    border:1px solid #ddd;
}

.dates-table tr:nth-child(even){
    background:#f8f8f8;
}

/* Responsive */

@media(max-width:768px){

    .guideline-card{
        padding:25px;
    }

    .page-banner h1{
        font-size:1.8rem;
    }

}
/* ===================================================
   TOP HEADER WITH LOGOS
=================================================== */

.top-bar{
    background:#0b5d2a;
    color:#fff;
    padding:10px 0;
}

.top-bar-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.top-logos{
    display:flex;
    align-items:center;
    gap:15px;
}

.top-logos img{
    width:55px;
    height:55px;
    object-fit:contain;
    background:#fff;
    border-radius:50%;
    padding:4px;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}

.top-text{
    flex:1;
    text-align:right;
    font-size:15px;
    font-weight:500;
    line-height:1.5;
}

/* Mobile */

@media (max-width:768px){

    .top-bar-content{
        flex-direction:column;
        text-align:center;
    }

    .top-text{
        text-align:center;
    }

    .top-logos{
        justify-content:center;
        flex-wrap:wrap;
    }

    .top-logos img{
        width:45px;
        height:45px;
    }

}