/* Base Styles */
:root {
  --primary-color: #F26419; /* Orange */
  --secondary-color: #2F4858; /* Dark Teal */
  --accent-color: #33A1FD; /* Blue */
  --light-color: #F2F2F2; /* Off-White */
  --dark-color: #222222; /* Almost Black */
  --background-color: #FFFFFF; /* White */
  --text-color: #333333; /* Dark Gray */
  --brutalism-shadow: 6px 6px 0px rgba(0, 0, 0, 0.9);
  --brutalism-border: 3px solid var(--dark-color);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.divider {
  width: 80px;
  height: 6px;
  background-color: var(--primary-color);
  margin: 20px auto;
}

.bg-light {
  background-color: var(--light-color);
}

.bg-primary {
  background-color: var(--primary-color);
  color: white;
}

/* Brutalism Elements */
.btn-brutalism, .btn {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.btn-brutalism:hover, .btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.9);
}

.btn-brutalism:active, .btn:active {
  transform: translate(6px, 6px);
  box-shadow: none;
}

.card {
  border: var(--brutalism-border);
  border-radius: 0;
  box-shadow: var(--brutalism-shadow);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  overflow: hidden;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  overflow: hidden;
  position: relative;
  width: 100%;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  margin: 0 auto;
  object-fit: cover;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  width: 100%;
  text-align: center;
}

/* Header */
.header {
  padding: 20px 0;
  background-color: var(--background-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-color);
  padding: 10px 15px;
  margin: 0 5px;
  position: relative;
}

.navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
  width: 80%;
  left: 10%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.7);
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.7);
}

/* About Section */
.about-image {
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  overflow: hidden;
  text-align: center;
}

.about-image img {
  width: 100%;
  height: auto;
  transform: translateY(-5px);
  transition: transform 0.5s ease;
  margin: 0 auto;
  object-fit: cover;
}

.about-image:hover img {
  transform: translateY(0);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.about-content h3:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

/* Methodology Section */
.methodology-image {
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  overflow: hidden;
  margin-bottom: 20px;
  text-align: center;
}

.methodology-image img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
}

.methodology-content h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  position: relative;
}

.methodology-content h3:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

/* Insights Section */
.insight-card .card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Resources Section */
.resource-card {
  text-align: center;
  padding: 30px;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  background-color: white;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-icon {
  margin-bottom: 20px;
  text-align: center;
}

.resource-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  margin: 0 auto;
  object-fit: cover;
}

.resource-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* Accolades Section */
.accolades-image {
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  overflow: hidden;
  margin-bottom: 30px;
  text-align: center;
}

.accolades-image img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline:before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 20px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 60px;
}

.timeline-marker {
  position: absolute;
  background-color: var(--accent-color);
  border: 4px solid var(--dark-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  left: 9px;
  top: 0;
  z-index: 10;
}

.timeline-content {
  position: relative;
  padding: 20px;
  background-color: white;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.timeline-content h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* Team Section */
.team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card .card-image {
  height: 300px;
  overflow: hidden;
}

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

.team-card .position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

/* News Section */
.news-card .date {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.news-card .card-image {
  height: 200px;
}

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

.news-card .btn {
  margin-top: 15px;
}

/* Events Section */
.events-list {
  margin-bottom: 30px;
}

.event-item {
  display: flex;
  margin-bottom: 20px;
  background-color: white;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
}

.event-date {
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  text-align: center;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.event-date .month {
  font-size: 1rem;
  font-weight: 700;
}

.event-content {
  padding: 20px;
  flex: 1;
}

.event-content h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.event-content .location {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.featured-event {
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  overflow: hidden;
  background-color: white;
}

.featured-event-image {
  overflow: hidden;
  height: 300px;
}

.featured-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-event:hover .featured-event-image img {
  transform: scale(1.05);
}

.featured-event-content {
  padding: 20px;
}

.featured-event-content .date {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.featured-event-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* Contact Section */
.contact-info {
  margin-bottom: 30px;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-info h3:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.info-item {
  display: flex;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}

.info-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-form {
  background-color: white;
  padding: 30px;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
}

.form-control {
  border: 2px solid var(--dark-color);
  border-radius: 0;
  padding: 12px;
  margin-bottom: 15px;
  font-family: var(--font-body);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* Page Hero Section */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.small-hero {
  height: 30vh;
  min-height: 300px;
}

.page-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.7);
}

.page-subtitle {
  font-size: 1.5rem;
  color: #FFFFFF;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.7);
}

/* Contact Page Specific */
.contact-info-section {
  padding-bottom: 40px;
}

.contact-info-card {
  text-align: center;
  padding: 30px;
  background-color: white;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.contact-form-wrapper {
  background-color: white;
  padding: 40px;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
}

.map-container {
  position: relative;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  overflow: hidden;
  margin-bottom: 30px;
  text-align: center;
}

.map-container img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 72, 88, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.location-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.location-info h4 {
  font-size: 1.3rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* Success Page Specific */
.success-message {
  padding: 100px 0;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.success-icon {
  margin-bottom: 30px;
  text-align: center;
}

.success-icon img {
  max-width: 120px;
  height: auto;
  margin: 0 auto;
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.success-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 20px;
}

.note {
  font-style: italic;
  color: var(--secondary-color);
}

.newsletter-section {
  background-color: var(--primary-color);
  color: white;
}

.newsletter-section .section-title {
  color: white;
}

.newsletter-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.newsletter-form .input-group {
  max-width: 500px;
  margin: 0 auto;
}

/* About Page Specific */
.mission-content {
  padding-right: 30px;
}

.mission-image {
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  overflow: hidden;
  text-align: center;
}

.mission-image img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
}

.history-section .timeline:before {
  left: 50%;
  margin-left: -2px;
}

.history-section .timeline-item {
  padding-left: 0;
  margin-bottom: 50px;
}

.history-section .timeline-marker {
  left: 50%;
  margin-left: -12px;
}

.history-section .timeline-content {
  width: 45%;
}

.history-section .timeline-item:nth-child(odd) .timeline-content {
  float: left;
  text-align: right;
  padding-right: 30px;
}

.history-section .timeline-item:nth-child(even) .timeline-content {
  float: right;
  text-align: left;
  padding-left: 30px;
}

.approach-card {
  text-align: center;
  padding: 30px;
  background-color: white;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  height: 100%;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.approach-icon {
  margin-bottom: 20px;
  text-align: center;
}

.approach-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  margin: 0 auto;
  object-fit: cover;
}

.approach-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.partner-card {
  text-align: center;
  padding: 30px;
  background-color: white;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  height: 100%;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-logo {
  margin-bottom: 20px;
  text-align: center;
}

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

.partner-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.cta {
  padding: 80px 0;
}

.cta .section-title {
  color: white;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-buttons {
  margin-top: 30px;
}

/* Privacy & Terms Pages */
.privacy-content, .terms-content {
  padding-top: 100px;
}

.content-wrapper {
  background-color: white;
  padding: 40px;
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
}

.last-updated {
  text-align: right;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.policy-section, .terms-section {
  margin-bottom: 40px;
}

.policy-section h2, .terms-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.policy-section h3, .terms-section h3 {
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.policy-section ul, .terms-section ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.policy-section ul li, .terms-section ul li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 60px 0 20px;
}

.footer h3, .footer h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 20px;
}

.social-links a {
  color: white;
  margin-right: 15px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-newsletter input {
  width: 100%;
  padding: 10px;
  border: none;
  margin-bottom: 10px;
}

.btn-subscribe {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background-color: var(--accent-color);
}

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

/* Read more links */
.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--accent-color);
  position: relative;
  padding-right: 20px;
  transition: all 0.3s ease;
}

.read-more:after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--primary-color);
  padding-right: 25px;
}

.read-more:hover:after {
  right: -5px;
}

/* Morphing Animation */
.morphing {
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* Responsive Styles */
@media (max-width: 991px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .about-content, .mission-content {
    padding-right: 0;
    margin-top: 30px;
  }
  
  .history-section .timeline:before {
    left: 20px;
  }
  
  .history-section .timeline-item {
    padding-left: 60px;
  }
  
  .history-section .timeline-marker {
    left: 9px;
    margin-left: 0;
  }
  
  .history-section .timeline-content {
    width: 100%;
    float: none !important;
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    height: auto;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .event-item {
    flex-direction: column;
  }
  
  .event-date {
    flex: 0 0 auto;
    width: 100%;
    padding: 10px;
    flex-direction: row;
    justify-content: center;
  }
  
  .event-date .day {
    font-size: 1.5rem;
    margin-right: 5px;
  }
  
  .contact-form {
    margin-top: 30px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1.2rem;
  }
  
  .content-wrapper {
    padding: 20px;
  }
}