/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a365d;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  border-bottom: 3px solid #d69e2e;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.8rem;
  color: #2d3748;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Header and Navigation */
.header {
  background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
  color: white;
  padding: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid rgba(214, 158, 46, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo i {
  font-size: 2.5rem;
  color: #d69e2e;
  text-shadow: 0 0 10px rgba(214, 158, 46, 0.5);
}

.logo h1 {
  color: white;
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-list li {
  position: relative;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  display: block;
  border-bottom: 3px solid transparent;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(214, 158, 46, 0.1),
    rgba(214, 158, 46, 0.05)
  );
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
  color: #d69e2e;
  border-bottom-color: #d69e2e;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #d69e2e;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(214, 158, 46, 0.2);
  color: #d69e2e;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.8)),
    url("background.png");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.8)),
    url("background.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #e2e8f0;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #d69e2e, #b7791f);
  color: white;
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b7791f, #d69e2e);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: white;
  color: #1a365d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  border-bottom: none;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  color: #1a365d;
  margin-bottom: 1.5rem;
}

.about-image {
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Activities Section */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.activity-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.activity-card i {
  font-size: 3rem;
  color: #d69e2e;
  margin-bottom: 1.5rem;
}

.activity-card h3 {
  color: #1a365d;
  margin-bottom: 1rem;
}

/* Programs Section */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  padding: 2.5rem;
  border-radius: 15px;
  border-left: 5px solid #d69e2e;
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateX(5px);
}

.program-card h3 {
  color: #1a365d;
  margin-bottom: 1rem;
}

.program-card i {
  font-size: 2.5rem;
  color: #d69e2e;
  margin-bottom: 1rem;
}

/* History Section */
.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #d69e2e, #1a365d);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 45%;
  padding: 0 1rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 55%;
  text-align: left;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 1rem;
  width: 20px;
  height: 20px;
  background: #d69e2e;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 3px #1a365d;
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.timeline-date {
  font-weight: 700;
  color: #d69e2e;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
  background: rgba(214, 158, 46, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 2px solid #d69e2e;
  display: inline-block;
}

.timeline-year {
  font-weight: 700;
  color: #d69e2e;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Subscribe Section */
.subscribe-section {
  background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
  color: white;
}

.subscribe-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d69e2e;
  background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #cbd5e0;
}

.subscribe-button {
  background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
}

.subscribe-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.contact-item i {
  font-size: 2.5rem;
  color: #d69e2e;
  margin-bottom: 1rem;
}

.contact-item h3 {
  color: #1a365d;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #718096;
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  border-top: 3px solid rgba(214, 158, 46, 0.3);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 158, 46, 0.5),
    transparent
  );
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.footer-section {
  text-align: left;
  padding: 0 1rem;
}

.footer-section h3 {
  color: #d69e2e;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #d69e2e;
  transition: width 0.3s ease;
}

.footer-section:hover h3::after {
  width: 80px;
}

.footer-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1.5rem;
  display: inline-block;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #d69e2e;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #d69e2e;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #a0aec0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(214, 158, 46, 0.2);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: rgba(214, 158, 46, 0.1);
    border-bottom-color: #d69e2e;
  }

  .logo h1 {
    font-size: 1.4rem;
  }

  .logo i {
    font-size: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 3rem;
    margin-bottom: 3rem;
  }

  .timeline-item::before {
    left: -10px !important;
  }

  .history-timeline::before {
    left: 20px;
  }

  .timeline-date {
    text-align: left;
    margin-bottom: 0.5rem;
  }

  .hero {
    margin-top: 60px;
    height: 80vh;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .activities-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1a365d, #d69e2e);
  border-radius: 5px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #d69e2e, #1a365d);
}

/* Page Transitions */
* {
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Focus States for Accessibility */
.nav-link:focus,
.btn:focus,
.footer-links a:focus {
  outline: 2px solid #d69e2e;
  outline-offset: 2px;
}

/* Loading Animation for Buttons */
.btn:active {
  transform: scale(0.98);
}

/* Enhanced Logo Animation */
.logo i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Additional Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.text-gold {
  color: #d69e2e;
}

.text-blue {
  color: #1a365d;
}

.bg-light {
  background-color: #f7fafc;
}
