/* EdConnect International Foundation - Custom Styles */
/* Kashmir-inspired Design System */

:root {
  /* Primary Colors */
  --forest-green: #1a4d2e;
  --forest-green-light: #2d6a4f;
  --dal-lake-teal: #2d6a6a;
  --dal-lake-light: #3d8b8b;
  
  /* Accent Colors  TERAACOTTA #c65d3b; LIGHT TERRACOTA #d4724f;*/
  --terracotta: #1a4d2e;             
  --terracotta-light: #1a4d2e;
  --warm-sand: #e8dcc4;
  --cream: #faf8f5;
  
  /* Neutrals */
  --charcoal: #2c2c2c;
  --slate: #4a5568;
  --light-gray: #e2e8f0;
  
  /* Semantic */
  --text-primary: #2c2c2c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --background: #faf8f5;
  --surface: #ffffff;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Custom Button Styles */
.btn-forest {
  background-color: var(--forest-green);
  border-color: var(--forest-green);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-forest:hover {
  background-color: var(--forest-green-light);
  border-color: var(--forest-green-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 77, 46, 0.3);
}

.btn-terracotta {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-terracotta:hover {
  background-color: var(--terracotta-light);
  border-color: var(--terracotta-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198, 93, 59, 0.3);
}

.btn-outline-forest {
  background-color: transparent;
  border: 2px solid var(--forest-green);
  color: var(--forest-green);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

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

.btn-outline-teal {
  background-color: transparent;
  border: 2px solid var(--dal-lake-teal);
  color: var(--dal-lake-teal);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-outline-teal:hover {
  background-color: var(--dal-lake-teal);
  color: white;
}

/* Navbar Styles */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-custom .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--forest-green);
}

.navbar-custom .navbar-brand span {
  color: var(--terracotta);
}

.navbar-custom .nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover {
  color: var(--forest-green);
}

.navbar-custom .nav-link.active {
  color: var(--forest-green);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--dal-lake-teal) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
}

.hero-title {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Impact Stats Bar */
.impact-bar {
  background-color: var(--surface);
  padding: 3rem 0;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  border-radius: 1rem 1rem 0 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

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

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

.section-green {
  background-color: var(--forest-green);
  color: white;
}

.section-teal {
  background-color: var(--dal-lake-teal);
  color: white;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-green .section-title,
.section-teal .section-title {
  color: white;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.section-green .section-subtitle,
.section-teal .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Program Cards */
.program-card {
  background-color: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--light-gray);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.program-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--dal-lake-teal) 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.program-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.program-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Story Cards */
.story-card {
  background-color: var(--surface);
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.story-image {
  height: 200px;
  background: linear-gradient(135deg, var(--dal-lake-teal) 0%, var(--forest-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.story-content {
  padding: 1.5rem;
}

.story-category {
  display: inline-block;
  background-color: var(--warm-sand);
  color: var(--forest-green);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.story-card h5 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.story-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Partner Logos */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.partner-logo {
  background-color: var(--surface);
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  min-width: 150px;
}

.partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo span {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Testimonial Section */
.testimonial-card {
  background-color: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.testimonial-info h6 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.testimonial-info span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Event Card */
.event-card {
  background-color: var(--surface);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.event-date {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
  color: white;
  padding: 1rem;
  text-align: center;
}

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

.event-date .month {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.event-content h5 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.event-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-light {
  background-color: white;
  color: var(--terracotta);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: var(--charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--terracotta);
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--terracotta);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--terracotta);
  color: white;
  transform: translateY(-3px);
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background-color: var(--terracotta);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--terracotta-light);
}

/* Trust Badge */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badge i {
  color: var(--warm-sand);
}

/* Value Cards */
.value-card {
  background-color: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--light-gray);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--dal-lake-teal) 0%, var(--forest-green) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: white;
}

/* Team Cards */
.team-card {
  background-color: var(--surface);
  border-radius: 1rem;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--dal-lake-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
}

.team-info {
  padding: 1.5rem;
}

.team-info h5 {
  margin-bottom: 0.25rem;
}

.team-info .role {
  color: var(--terracotta);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.team-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

/* Utility Classes */
.text-forest {
  color: var(--forest-green);
}

.text-teal {
  color: var(--dal-lake-teal);
}

.text-terracotta {
  color: var(--terracotta);
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}
