/*
Theme Name: Shobdochitra - Green Alpona Theme
Theme URI: https://shobdochitra.online/
Description: সবুজ ও রঙিন WordPress থিম - আলপনা ডিজাইন সহ
Version: 3.0.0
Author: Shobdochitra
License: GPL v2 or later
*/

/* ============================================
   CSS VARIABLES - রঙ এবং স্টাইল
   ============================================ */
:root {
  --color-primary-green: #1a4d2e;
  --color-light-green: #2d7a4a;
  --color-dark-green: #0d2818;
  --color-accent-green: #3d9a5f;
  
  --color-text-yellow: #f4d03f;
  --color-text-red: #e74c3c;
  --color-text-dark: #1a1a1a;
  --color-text-light: #ffffff;
  --color-text-gray: #555555;
  
  --color-bg-white: #ffffff;
  --color-bg-light: #f5f5f5;
  
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 12px 40px rgba(0, 0, 0, 0.2);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-primary-green);
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663615937518/aMGnZs7TjoY5faGQig9gDV/green-alpona-background-JdCeECf3YGfpEkfqVGJq47.webp');
  background-size: cover;
  background-attachment: fixed;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-light-green) 100%);
  border-bottom: 4px solid var(--color-text-yellow);
  box-shadow: var(--shadow-medium);
}

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

.site-logo a {
  text-decoration: none;
  color: var(--color-text-yellow);
  font-size: 24px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.site-logo a:hover {
  color: var(--color-text-light);
  transform: scale(1.05);
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-navigation a {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
}

.main-navigation a:hover {
  color: var(--color-text-yellow);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-text-yellow);
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-text-red) 0%, #c0392b 100%);
  color: var(--color-text-light);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

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

.btn-secondary:hover {
  background: var(--color-text-yellow);
  color: var(--color-text-dark);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--color-text-red) 0%, #c0392b 100%);
  color: var(--color-text-light);
  font-size: 16px;
  border-radius: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-icon {
  font-size: 18px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.95) 0%, rgba(13, 40, 24, 0.95) 100%),
              url('https://d2xsxph8kpxj0f.cloudfront.net/310519663615937518/aMGnZs7TjoY5faGQig9gDV/green-alpona-background-JdCeECf3YGfpEkfqVGJq47.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(61, 154, 95, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.hero-logo {
  font-size: 80px;
  margin-bottom: 30px;
  animation: bounce 2s infinite;
}

.logo-icon {
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
}

.title-yellow {
  color: var(--color-text-yellow);
  display: block;
}

.title-red {
  color: var(--color-text-red);
  display: block;
}

.hero-tagline {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 80px 20px;
  position: relative;
}

section:nth-child(even) {
  background-color: var(--color-bg-white);
}

section:nth-child(odd) {
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.9) 0%, rgba(45, 122, 74, 0.9) 100%),
              url('https://d2xsxph8kpxj0f.cloudfront.net/310519663615937518/aMGnZs7TjoY5faGQig9gDV/green-alpona-background-JdCeECf3YGfpEkfqVGJq47.webp');
  background-size: cover;
  background-attachment: fixed;
}

section:nth-child(odd) .section-title {
  color: var(--color-text-yellow);
}

section:nth-child(odd) .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

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

.section-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-text-red);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background-color: var(--color-bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  color: var(--color-text-red);
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 800;
}

.about-text p {
  color: var(--color-text-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-list {
  list-style: none;
  margin-top: 20px;
}

.about-list li {
  padding: 10px 0;
  color: var(--color-text-gray);
  font-size: 16px;
  line-height: 1.6;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(61, 154, 95, 0.1) 0%, rgba(26, 77, 46, 0.1) 100%);
  border-radius: 20px;
  border: 3px solid var(--color-primary-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.placeholder-icon {
  font-size: 80px;
}

.image-placeholder p {
  color: var(--color-text-gray);
  font-weight: 600;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.9) 0%, rgba(45, 122, 74, 0.9) 100%),
              url('https://d2xsxph8kpxj0f.cloudfront.net/310519663615937518/aMGnZs7TjoY5faGQig9gDV/green-alpona-background-JdCeECf3YGfpEkfqVGJq47.webp');
  background-size: cover;
  background-attachment: fixed;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--color-text-red);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.feature-card h3 {
  color: var(--color-text-red);
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 800;
}

.feature-card p {
  color: var(--color-text-gray);
  line-height: 1.6;
}

/* ============================================
   TRAINERS SECTION
   ============================================ */
.trainers-section {
  background-color: var(--color-bg-white);
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.trainer-card {
  background: var(--color-bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: 3px solid var(--color-primary-green);
}

.trainer-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--color-text-red);
}

.trainer-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.1) 0%, rgba(61, 154, 95, 0.1) 100%);
}

.trainer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-photo {
  transform: scale(1.05);
}

.trainer-image-placeholder {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.1) 0%, rgba(61, 154, 95, 0.1) 100%);
}

.trainer-info {
  padding: 25px;
}

.trainer-info h3 {
  font-size: 22px;
  color: var(--color-text-red);
  margin-bottom: 8px;
  font-weight: 800;
}

.trainer-role {
  color: var(--color-primary-green);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.trainer-bio {
  color: var(--color-text-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   ADMISSIONS SECTION - নতুন ডিজাইন
   ============================================ */
.admissions-section {
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.9) 0%, rgba(45, 122, 74, 0.9) 100%),
              url('https://d2xsxph8kpxj0f.cloudfront.net/310519663615937518/aMGnZs7TjoY5faGQig9gDV/green-alpona-background-JdCeECf3YGfpEkfqVGJq47.webp');
  background-size: cover;
  background-attachment: fixed;
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-bg-white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
  border: 3px solid var(--color-text-yellow);
}

.admission-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.form-row.full-width {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  font-size: 15px;
}

.form-input,
.form-textarea {
  padding: 14px 16px;
  border: 2px solid var(--color-accent-green);
  border-radius: 10px;
  font-size: 14px;
  transition: var(--transition);
  background-color: #f9f9f9;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-text-red);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.form-message {
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(46, 204, 113, 0.1);
  color: #27ae60;
  border: 2px solid #27ae60;
}

.form-message.error {
  display: block;
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--color-text-red);
  border: 2px solid var(--color-text-red);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.9) 0%, rgba(45, 122, 74, 0.9) 100%),
              url('https://d2xsxph8kpxj0f.cloudfront.net/310519663615937518/aMGnZs7TjoY5faGQig9gDV/green-alpona-background-JdCeECf3YGfpEkfqVGJq47.webp');
  background-size: cover;
  background-attachment: fixed;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid var(--color-text-yellow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-left-color: var(--color-text-red);
}

.testimonial-icon {
  font-size: 24px;
  margin-bottom: 15px;
}

.testimonial-text {
  color: var(--color-text-gray);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-text-red);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-light-green) 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 42px;
  color: var(--color-text-yellow);
  margin-bottom: 15px;
  font-weight: 900;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background-color: var(--color-bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.contact-card {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, rgba(61, 154, 95, 0.05) 0%, rgba(26, 77, 46, 0.05) 100%);
  border-radius: 15px;
  border: 2px solid var(--color-primary-green);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-text-red);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.contact-card h3 {
  color: var(--color-text-red);
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 800;
}

.contact-card p {
  color: var(--color-text-gray);
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-light-green) 100%);
  color: var(--color-text-light);
  padding: 50px 20px 20px;
  border-top: 4px solid var(--color-text-yellow);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h3 {
  color: var(--color-text-yellow);
  margin-bottom: 15px;
  font-weight: 800;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--color-text-yellow);
  transition: var(--transition);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 32px;
  }

  .about-content,
  .form-row {
    grid-template-columns: 1fr;
  }

  .main-navigation ul {
    gap: 15px;
  }

  .form-wrapper {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .section-title {
    font-size: 24px;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 10px;
  }

  .form-wrapper {
    padding: 20px;
  }

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

  .btn {
    width: 100%;
  }
}
