* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

:root {
  --primary: #8b0000;
  --secondary: #f8f8f8;
  --dark: #333;
  --light: #fff;
  --accent: #d4af37;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

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

header {
  background-color: var(--light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.logo img {
  height: 60px;
  margin-right: 15px;
  flex-shrink: 0;
}

.logo h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1.3;
}

/* Add these styles for the enhanced navigation with Poppins font */

/* Navigation styling */
.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.main-nav ul li {
  margin-left: 5px;
  margin-right: 5px;
  position: relative;
}

.main-nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.main-nav ul li a i {
  margin-right: 8px;
  font-size: 1.1rem;
  color: var(--primary);
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  background-color: var(--primary);
  color: white;
}

.main-nav ul li a:hover i,
.main-nav ul li a.active i {
  color: white;
}

/* Decorative icons */
.nav-decoration {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--primary);
  opacity: 0.7;
}

.nav-decoration:last-child {
  margin-left: 5px;
}

/* Update logo to have Poppins font */
.logo h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Updated hero section to be more subtle */
.hero-banner {
  background-color: #f0f0f0;
  color: var(--dark);
  text-align: center;
  padding: 60px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero-banner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

section {
  margin: 60px 0;
}

h2 {
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
}

h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Grey placeholder for images */
.grey-placeholder {
  background-color: #e0e0e0;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Grey square styling */
.grey-square {
  background-color: #e0e0e0;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  margin-bottom: 15px;
}

.grey-square.small {
  height: 200px;
}

.grey-square.large {
  height: 350px;
  margin-bottom: 30px;
}

.grey-square span {
  color: #666;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Add these additional styles for executive placeholders */

.grey-square.executive {
  height: 250px;
  margin-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.executive-card {
  background-color: var(--light);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s;
}

.executive-card:hover {
  transform: translateY(-5px);
}

/* Main page styling */
.main-content section {
  margin-bottom: 60px;
}

.about-section {
  display: flex;
  align-items: center;
  gap: 40px;
}

.text-content {
  flex: 1;
}

.image-content {
  flex: 1;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.feature-item {
  display: flex;
  margin-bottom: 50px;
  gap: 30px;
  align-items: center;
}

.feature-item.reversed {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
}

.feature-text {
  flex: 1;
}

/* Fix feature items on mobile to stack image over text */
@media (max-width: 768px) {
  /* Make all feature items stack vertically */
  .feature-item,
  .feature-item.reversed {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Always put image first on mobile */
  .feature-image {
    order: -1;
    width: 100%;
    margin-bottom: 15px;
  }
  
  .feature-text {
    width: 100%;
  }
}

/* Event gallery styling */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.gallery-item h4 {
  margin: 10px 0 5px;
  color: var(--dark);
}

/* Events page styling */
.events-section {
  margin-bottom: 60px;
}

.event-item {
  display: flex;
  margin-bottom: 40px;
  gap: 30px;
  align-items: center;
}

.event-image {
  flex: 1;
}

.event-details {
  flex: 2;
}

.date {
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary);
}

.participation-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Executive page styling */
.executive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.executive-card {
  background-color: var(--light);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s;
}

.executive-card:hover {
  transform: translateY(-5px);
}

.executive-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.executive-info {
  padding: 15px;
}

.executive-info h3 {
  color: var(--primary);
  margin-bottom: 5px;
}

.executive-info p {
  font-style: italic;
}

/* Footer styling */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  margin-bottom: 20px;
  min-width: 200px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: var(--light);
}

.social-links a {
  color: var(--light);
  margin-right: 15px;
  font-size: 1.5rem;
  transition: color 0.3s;
}

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

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add these styles for the coming soon section */
.coming-soon-section {
  text-align: center;
  padding: 40px 0 80px;
}

.coming-soon-text {
  max-width: 700px;
  margin: 0 auto;
}

.coming-soon-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.coming-soon-text p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Improved footer with better contrast */
.improved-footer {
  background-color: #222;
  color: #fff;
  padding: 40px 0;
  margin-top: 60px;
}

.improved-footer h3 {
  color: #fff;
  margin-bottom: 15px;
}

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

.improved-footer .social-links a {
  color: #fff;
  margin-right: 20px;
  font-size: 1.8rem;
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Better image scaling for mobile */
.grey-square, 
.grey-square.small, 
.grey-square.executive,
.grey-square.large {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fix for Twitter/X icon */
.fa-x-twitter:before {
  content: "\f099";
}

/* Mobile menu and responsive header styles */

/* Logo text adjustments */
.logo h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1.3;
}

.mobile-break {
  display: inline;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s;
  z-index: 101;
}

.mobile-menu-toggle:hover {
  color: #560000;
}

/* Main navigation styling */
.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.main-nav ul li {
  margin-left: 5px;
  margin-right: 5px;
}

/* Responsive adjustments for tablet and mobile */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.98);
    overflow: hidden;
    transition: height 0.3s ease-out;
    z-index: 100;
    visibility: hidden;
  }
  
  .main-nav.active {
    height: 100vh;
    visibility: visible;
    overflow-y: auto;
  }
  
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 80px 0 30px;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    justify-content: flex-start;
    align-items: center;
  }
  
  .main-nav ul li {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  
  .main-nav ul li a {
    display: inline-flex;
    padding: 15px 30px;
    margin: 5px 0;
    font-size: 1.2rem;
  }

  .main-nav ul li a i {
    font-size: 1.3rem;
  }
  
  .nav-decoration {
    display: none;
  }
}

/* Specific mobile adjustments */
@media (max-width: 768px) {
  .header-container {
    padding: 10px 0;
  }
  
  .logo {
    flex-direction: row;
    align-items: center;
    max-width: calc(100% - 50px);
  }
  
  .logo img {
    height: 40px;
    margin-right: 10px;
    margin-bottom: 0;
  }
  
  .logo h1 {
    font-size: 1rem;
    line-height: 1.2;
  }
  
  .mobile-break {
    display: block;
  }
  
  .mobile-menu-toggle {
    right: 15px;
    padding: 5px;
  }
}

/* For very small screens */
@media (max-width: 380px) {
  .logo img {
    height: 35px;
    margin-right: 8px;
  }
  
  .logo h1 {
    font-size: 0.9rem;
  }
  
  .main-nav ul li a {
    padding: 12px 20px;
    font-size: 1.1rem;
  }
}

/* Developer credit styling */
.developer-credit {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.developer-credit a {
  color: #fff;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.developer-credit a:hover {
  opacity: 1;
}
