/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #1a365d;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

/* Admin Access Button */
.admin-access {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.admin-access button {
  background: #2d74da;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.admin-access button:hover {
  background: #1a5bb8;
  transform: scale(1.1);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #666;
}

.close-modal:hover {
  color: #333;
}

.modal h2 {
  margin-bottom: 25px;
  color: #1a365d;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Admin Panel Styles */
.admin-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9998;
  overflow-y: auto;
}

.admin-header {
  background: linear-gradient(135deg, #1a365d, #2d74da);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logout-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.admin-tabs {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 0 20px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 15px 25px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 500;
  color: #666;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.tab-btn:hover {
  color: #2d74da;
}

.tab-btn.active {
  color: #2d74da;
  border-bottom-color: #2d74da;
  background: white;
}

.admin-content {
  padding: 30px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  margin-bottom: 25px;
  color: #1a365d;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-editor,
.executive-editor,
.content-editor {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2d74da;
}

.submit-btn {
  background: linear-gradient(135deg, #2d74da, #1a5bb8);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #1a5bb8, #2d74da);
  transform: translateY(-2px);
}

.existing-notices,
.existing-executives {
  margin-top: 40px;
}

.existing-notices h4,
.existing-executives h4 {
  margin-bottom: 20px;
  color: #1a365d;
}

.notice-list-admin,
.executive-list-admin {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  max-height: 400px;
  overflow-y: auto;
}

.notice-item-admin,
.executive-item-admin {
  padding: 15px;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.notice-item-admin:last-child,
.executive-item-admin:last-child {
  border-bottom: none;
}

.notice-content-admin h5,
.executive-content-admin h5 {
  margin-bottom: 5px;
  color: #1a365d;
}

.notice-content-admin p,
.executive-content-admin p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.edit-btn,
.delete-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.edit-btn {
  background: #28a745;
  color: white;
}

.delete-btn {
  background: #dc3545;
  color: white;
}

.edit-btn:hover {
  background: #218838;
}

.delete-btn:hover {
  background: #c82333;
}

/* Picture Upload Styles */
.picture-upload-container {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 10px;
  padding: 20px;
  margin-top: 10px;
}

.picture-preview {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid #e9ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.picture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.picture-preview i {
  font-size: 4rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.picture-preview span {
  color: #6c757d;
  font-size: 0.9rem;
  text-align: center;
}

.upload-controls {
  text-align: center;
}

.upload-btn,
.remove-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  margin: 0 5px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.upload-btn {
  background: #2d74da;
  color: white;
}

.upload-btn:hover {
  background: #1a5bb8;
}

.remove-btn {
  background: #dc3545;
  color: white;
}

.remove-btn:hover {
  background: #c82333;
}

.upload-info {
  margin-top: 10px;
  color: #6c757d;
}

.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.clear-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.clear-btn:hover {
  background: #545b62;
}

/* Executive List with Pictures in Admin Panel */
.executive-item-admin {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid #dee2e6;
}

.executive-preview-admin {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.executive-preview-admin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.executive-preview-admin i {
  font-size: 2rem;
  color: #6c757d;
}

.executive-content-admin {
  flex: 1;
}

.executive-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.club-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo-text h2 {
  font-size: 1.8rem;
  color: #1a365d;
  margin: 0;
}

.logo-text span {
  color: #2d74da;
}

.logo-text p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:hover {
  color: #2d74da;
}

.join-btn {
  background: linear-gradient(135deg, #ff6b35, #ff5722);
  color: white !important;
  padding: 12px 25px !important;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.join-btn:hover {
  background: linear-gradient(135deg, #ff5722, #ff6b35);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  padding: 160px 0 80px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(45, 116, 218, 0.1) 0%,
    rgba(26, 54, 93, 0.05) 100%
  );
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  padding-right: 20px;
}

.welcome-text {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 10px;
  color: #666;
}

.club-name {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #1a365d;
  line-height: 1.1;
}

.tagline {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2d74da;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 35px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ff6b35, #ff5722);
  color: white;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
  background: linear-gradient(135deg, #ff5722, #ff6b35);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.hero-image {
  position: relative;
}

.club-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.club-photo:hover {
  transform: scale(1.02);
}

.stats-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.stat-preview {
  text-align: center;
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.stat-preview:hover {
  transform: translateY(-10px);
}

.stat-preview i {
  font-size: 2.5rem;
  color: #2d74da;
  margin-bottom: 15px;
}

.stat-preview h3 {
  font-size: 2.5rem;
  color: #1a365d;
  margin-bottom: 10px;
}

.stat-preview p {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
}

/* Executives Section - FIXED */
.executives {
  background-color: #f8fbff;
}

.executive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.executive-card {
  background-color: white;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #eef5ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 420px; /* Fixed height */
  position: relative;
  overflow: hidden; /* Prevent content overflow */
}

.executive-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Fixed Image Container */
.executive-img-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden; /* Keep image strictly inside */
  border: 4px solid #2d74da;
  background: linear-gradient(135deg, #2d74da, #1a5bb8);
}

/* Image inside container */
.executive-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Double safety */
}

.executive-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the container without distortion */
  border-radius: 50%;
}

.executive-img i {
  font-size: 3.5rem;
  color: white;
}

/* Card content with proper spacing */
.executive-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  position: relative;
  overflow: visible;
}

.executive-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: #1a365d;
  line-height: 1.2;
  font-weight: 600;
}

.position {
  color: #2d74da;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1rem;
}

.department {
  color: #666;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.hsc-year {
  color: #ff6b35;
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.contact-info {
  background-color: #f8fbff;
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
  text-align: left;
  width: 100%;
  max-height: 100px; /* Fixed height for contact info */
  overflow-y: auto; /* Scroll if content overflows */
  box-sizing: border-box;
}

.contact-info p {
  margin-bottom: 6px;
  font-size: 0.8rem;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.2;
}

.contact-info i {
  color: #2d74da;
  min-width: 14px;
  margin-top: 2px;
}

/* Notice Board Section */
.notice-board {
  background-color: white;
}

.notice-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.recent-notices h3,
.upcoming-events h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #1a365d;
  display: flex;
  align-items: center;
  gap: 10px;
}

.recent-notices h3 i {
  color: #ff6b35;
}

.upcoming-events h3 i {
  color: #2d74da;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notice-item {
  background: #f8fbff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border-left: 4px solid #2d74da;
  transition: all 0.3s;
}

.notice-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notice-item.urgent {
  border-left-color: #ff6b35;
  background: #fff8f6;
}

.notice-icon {
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d74da;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.notice-item.urgent .notice-icon {
  color: #ff6b35;
}

.notice-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1a365d;
}

.notice-date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.notice-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Event Timeline */
.event-timeline {
  background: #f8fbff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #e6f0ff;
}

.timeline-item:last-child {
  border-bottom: none;
}

.event-date {
  background: #2d74da;
  color: white;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  min-width: 70px;
  flex-shrink: 0;
}

.date-day {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.date-month {
  font-size: 1rem;
  font-weight: 600;
}

.event-details h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #1a365d;
}

.event-details p {
  color: #666;
  font-size: 0.9rem;
}

/* Join Section in Notice Board */
.join-section {
  background: linear-gradient(135deg, #1a365d, #2d74da);
  border-radius: 15px;
  padding: 30px;
  color: white;
  text-align: center;
}

.join-section h3 {
  color: white;
  margin-bottom: 10px;
}

.join-section p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.join-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #2d74da;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.join-now-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 40px 0;
}

.mv-card {
  background: #f8fbff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.mv-card i {
  font-size: 2.5rem;
  color: #2d74da;
  margin-bottom: 15px;
}

.mv-card h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1a365d;
}

.mv-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.activities-list {
  list-style: none;
  margin-top: 25px;
}

.activities-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
  font-size: 1rem;
}

.activities-list i {
  color: #2d74da;
  font-size: 1.1rem;
}

.club-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.club-stats .stat-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.club-stats .stat-card i {
  font-size: 2rem;
  color: #2d74da;
  margin-bottom: 10px;
}

.club-stats .stat-card h3 {
  font-size: 2.5rem;
  color: #1a365d;
  margin-bottom: 5px;
}

.club-stats .stat-card p {
  color: #666;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a365d 0%, #0d2345 100%);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.footer-logo .logo-text h2 {
  font-size: 2rem;
  color: white;
  margin: 0;
}

.footer-logo .logo-text span {
  color: #a0c4ff;
}

.footer-logo .logo-text p {
  color: #a0c4ff;
  margin: 5px 0 0 0;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #a0c4ff;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: #2d74da;
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a0c4ff;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact-info h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-contact-info p {
  margin-bottom: 12px;
  color: #a0c4ff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-contact-info strong {
  color: white;
  display: block;
  margin-bottom: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0c4ff;
  font-size: 0.9rem;
}

.developer-note {
  margin-top: 10px;
  color: #8bb1ff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content,
  .notice-container,
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero::before {
    display: none;
  }

  .hero-text {
    padding-right: 0;
    text-align: center;
  }

  .stats-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    transition: left 0.3s;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    justify-content: center;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    width: 100%;
  }

  .nav-links a:hover {
    background: #e9ecef;
  }

  .club-name {
    font-size: 2.8rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .executive-grid {
    grid-template-columns: 1fr;
  }

  .executive-card {
    height: 400px; /* Adjusted for mobile */
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact-info p {
    justify-content: center;
  }

  .admin-tabs {
    justify-content: center;
  }

  .tab-btn {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 140px 0 60px;
  }

  .club-name {
    font-size: 2.2rem;
  }

  .tagline {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
  }

  .welcome-text {
    font-size: 1.5rem;
  }

  .stat-preview h3 {
    font-size: 2rem;
  }

  .stats-preview {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .club-stats {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .notice-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .executive-card {
    height: 380px; /* Smaller for mobile */
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .admin-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .admin-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .tab-btn {
    white-space: nowrap;
    padding: 10px 15px;
    font-size: 0.85rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions for dynamic content */
.dynamic-content {
  transition: all 0.3s ease;
}
/* ====== UPDATED: Event Items Styling ====== */
/* Event items on website */
.event-item {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #4caf50;
  transition: all 0.3s ease;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.event-date {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4caf50;
  font-weight: 600;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid #4caf50;
  flex-shrink: 0;
  min-width: 150px;
}

.event-date i {
  font-size: 1.2rem;
}

.event-date span {
  font-size: 0.95rem;
}

.event-content {
  flex: 1;
}

.event-content h4 {
  margin: 0 0 10px 0;
  color: #1a365d;
  font-size: 1.2rem;
}

.event-content p {
  margin: 5px 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.event-content i {
  margin-right: 8px;
  color: #777;
  width: 18px;
  text-align: center;
}

.event-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ====== UPDATED: Event Editor in Admin Panel ====== */
.event-editor {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.event-editor .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.event-editor .form-row .form-group {
  flex: 1;
}

.event-editor .form-group {
  margin-bottom: 20px;
}

.event-editor .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 0.95rem;
}

.event-editor select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  background: white;
  width: 100%;
  cursor: pointer;
}

.event-editor select:focus {
  outline: none;
  border-color: #2d74da;
}

.event-editor .form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* ====== UPDATED: Event List in Admin Panel ====== */
.existing-events {
  margin-top: 40px;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
}

.existing-events h4 {
  margin-bottom: 20px;
  color: #1a365d;
  font-size: 1.3rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.event-list-admin {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  padding: 15px;
}

.event-list-admin .admin-item {
  background: #f8f9fa;
  padding: 18px;
  margin-bottom: 12px;
  border-radius: 8px;
  border-left: 4px solid #4caf50;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.event-list-admin .admin-item:hover {
  background: #f1f3f5;
  transform: translateX(5px);
}

.event-list-admin .admin-item:last-child {
  margin-bottom: 0;
}

.event-list-admin .item-content {
  flex: 1;
}

.event-list-admin .item-content h5 {
  margin: 0 0 8px 0;
  color: #1a365d;
  font-size: 1.1rem;
}

.event-list-admin .item-content p {
  margin: 5px 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.event-list-admin .item-content i {
  margin-right: 8px;
  color: #777;
  width: 16px;
  text-align: center;
}

.event-list-admin .item-tag {
  display: inline-block;
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-list-admin .item-actions {
  display: flex;
  gap: 10px;
  margin-left: 15px;
}

.event-list-admin .edit-btn,
.event-list-admin .delete-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-list-admin .edit-btn {
  background: #28a745;
  color: white;
}

.event-list-admin .edit-btn:hover {
  background: #218838;
  transform: translateY(-2px);
}

.event-list-admin .delete-btn {
  background: #dc3545;
  color: white;
}

.event-list-admin .delete-btn:hover {
  background: #c82333;
  transform: translateY(-2px);
}

/* ====== UPDATED: Responsive Styles for Events ====== */
@media (max-width: 768px) {
  .event-item {
    flex-direction: column;
    gap: 15px;
  }

  .event-date {
    min-width: auto;
    padding-left: 0;
    border-left: none;
    border-bottom: 2px solid #4caf50;
    padding-bottom: 8px;
    margin-bottom: 0;
  }

  .event-editor .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .event-list-admin .admin-item {
    flex-direction: column;
    gap: 15px;
  }

  .event-list-admin .item-actions {
    margin-left: 0;
    justify-content: flex-end;
  }

  .event-editor .form-buttons {
    flex-direction: column;
  }

  .event-editor .form-buttons button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .event-item {
    padding: 15px;
  }

  .event-content h4 {
    font-size: 1.1rem;
  }

  .event-content p {
    font-size: 0.9rem;
  }

  .event-editor {
    padding: 20px;
  }

  .event-list-admin {
    padding: 10px;
  }

  .event-list-admin .admin-item {
    padding: 15px;
  }
}

/* ====== UPDATED: Event Type Colors ====== */
.event-item[style*="border-left-color:#2196F3"] .event-date {
  color: #2196f3;
  border-left-color: #2196f3;
}

.event-item[style*="border-left-color:#FF9800"] .event-date {
  color: #ff9800;
  border-left-color: #ff9800;
}

.event-item[style*="border-left-color:#9C27B0"] .event-date {
  color: #9c27b0;
  border-left-color: #9c27b0;
}

.event-item[style*="border-left-color:#E91E63"] .event-date {
  color: #e91e63;
  border-left-color: #e91e63;
}

.event-item[style*="border-left-color:#607D8B"] .event-date {
  color: #607d8b;
  border-left-color: #607d8b;
}

/* ====== UPDATED: Scrollbar Styling ====== */
.event-list-admin::-webkit-scrollbar {
  width: 8px;
}

.event-list-admin::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.event-list-admin::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.event-list-admin::-webkit-scrollbar-thumb:hover {
  background: #555;
}
