/* SWESCO Alumni UK Website Styles */

/* Global Styles */
:root {
  --primary-color: #002244;
  --secondary-color: #FFC700;
  --white: #FFFFFF;
  --gray: #f4f4f4;
  --dark-gray: #333333;
}

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

body {
  font-family: 'Lato', 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

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

section {
  padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

p {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hero .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.hero .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

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

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 600;
  color: var(--primary-color);
}

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

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 34, 68, 0.8), rgba(0, 34, 68, 0.8)), url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-content {
  width: 100%;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Sections Preview */
.sections-preview {
  background-color: var(--gray);
}

.preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.preview-card {
  flex: 1 1 300px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.preview-card:hover {
  transform: translateY(-10px);
}

.preview-card h3 {
  margin-bottom: 15px;
}

.preview-card p {
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.preview-card .btn {
  width: 100%;
}

/* About Page */
.about-section {
  padding: 100px 0;
}

.mission-vision {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.mission, .vision {
  flex: 1 1 300px;
  padding: 30px;
  background-color: var(--gray);
  border-radius: 8px;
}

.history {
  margin-bottom: 50px;
}

.leadership {
  text-align: center;
}

.leadership-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.leader-card {
  flex: 1 1 250px;
  max-width: 250px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.leader-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Register Page */
.register-section {
  padding: 100px 0;
}

.benefits-list {
  list-style: none;
  margin-bottom: 30px;
}

.benefits-list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.showcase-item {
  flex: 1 1 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.showcase-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.showcase-content {
  padding: 20px;
}

.register-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--gray);
  border-radius: 8px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

/* Projects Page */
.projects-section {
  padding: 100px 0;
}

.project-focus {
  background-color: var(--gray);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 50px;
}

.progress-container {
  background-color: #ddd;
  border-radius: 20px;
  height: 30px;
  width: 100%;
  margin: 20px 0;
}

.progress-bar {
  background-color: var(--secondary-color);
  height: 30px;
  border-radius: 20px;
  width: 65%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto 50px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--secondary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partners {
  text-align: center;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  max-width: 150px;
  height: auto;
}

/* Support Page */
.support-section {
  padding: 100px 0;
}

.achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.achievement-card {
  flex: 1 1 300px;
  padding: 30px;
  background-color: var(--gray);
  border-radius: 8px;
  text-align: center;
}

.achievement-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.key-supporters {
  text-align: center;
  margin-bottom: 50px;
}

.supporters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.supporter-item {
  flex: 1 1 200px;
  max-width: 200px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.donation-options {
  max-width: 800px;
  margin: 0 auto;
}

/* Bank Payment Details */
.payment-details {
  margin-top: 30px;
  padding: 25px;
  border: 2px dashed var(--secondary-color);
  border-radius: 8px;
  background-color: rgba(255, 199, 0, 0.05);
}

.bank-info {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

.bank-info p {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.bank-info p:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Souvenirs Section */
.souvenirs-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--gray);
}

.souvenirs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.souvenir-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.souvenir-item:hover {
  transform: translateY(-10px);
}

.souvenir-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.souvenir-content {
  padding: 20px;
  text-align: center;
}

.souvenir-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.souvenir-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 15px 0;
}

.souvenir-order-info {
  background-color: var(--gray);
  padding: 30px;
  border-radius: 12px;
  margin-top: 30px;
}

/* Contact Page */
.contact-section {
  padding: 100px 0;
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  flex: 1 1 250px;
  padding: 30px;
  background-color: var(--gray);
  border-radius: 8px;
  text-align: center;
}

.social-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--gray);
  border-radius: 8px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 10px;
}

.footer-link a {
  color: var(--white);
}

.footer-link a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }
}

/* News Section */
.news-section {
  padding: 60px 0;
  background-color: var(--gray);
}

.news-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.news-card {
  flex: 1 1 350px;
  max-width: 350px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  margin-bottom: 10px;
}

.news-content p {
  margin-bottom: 20px;
  color: var(--dark-gray);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease-in-out;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  margin: 0 auto;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 2px solid var(--gray);
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  color: var(--white);
}

.close-modal {
  font-size: 28px;
  cursor: pointer;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--white);
}

.modal-body {
  padding: 30px;
}

/* Event Card Styles */
.event-card {
  background-color: var(--gray);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-event {
  background: linear-gradient(135deg, var(--primary-color), #003366);
  color: var(--white);
}

.featured-event h3 {
  color: var(--secondary-color);
}

.event-image {
  width: 100%;
  /* height: 200px; */
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.event-details h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.event-date, .event-location {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
}

.event-date i, .event-location i {
  margin-right: 10px;
  color: var(--secondary-color);
  width: 20px;
}

.event-price {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 15px;
  border-radius: 25px;
  display: inline-block;
  margin-top: 15px;
  font-weight: 700;
}

/* Event Gallery */
.past-events h3 {
  margin-bottom: 20px;
  text-align: center;
}

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

.gallery-item {
  position: relative;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px 15px 15px;
}

.gallery-overlay h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.gallery-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* RSVP Form Styles */
.rsvp-section {
  background-color: var(--white);
  border-radius: 12px;
  padding: 25px;
  border: 2px solid var(--gray);
}

.rsvp-section h3 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.rsvp-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.rsvp-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--primary-color);
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-actions {
  text-align: center;
  margin-top: 25px;
}

.form-actions .btn {
  padding: 15px 30px;
  font-size: 16px;
  margin-bottom: 20px;
}

.call-action {
  padding: 20px;
  background-color: var(--gray);
  border-radius: 8px;
  text-align: center;
}

.call-action p {
  margin-bottom: 10px;
  font-weight: 600;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.call-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.call-btn i {
  margin-right: 8px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .modal-header,
  .modal-body {
    padding: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .event-gallery {
    grid-template-columns: 1fr;
  }
  
  .event-details h3 {
    font-size: 1.5rem;
  }
}