/* शांति इंटरनेशनल स्कूल - Main Stylesheet */
/* Indian Color Palette: Saffron, Green, White */

:root {
  --primary-saffron: #FF9933;
  --primary-green: #138808;
  --primary-white: #FFFFFF;
  --accent-dark-saffron: #E67E22;
  --accent-light-green: #27AE60;
  --text-dark: #2C3E50;
  --text-light: #7F8C8D;
  --bg-cream: #FFF8F0;
  --bg-light: #F8F9FA;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

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

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

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--primary-white) 0%, var(--bg-cream) 100%);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

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

.logo-text h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-green);
  margin: 0;
}

.logo-text p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--primary-saffron);
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary-white);
  background: linear-gradient(135deg, var(--primary-saffron) 0%, var(--accent-dark-saffron) 100%);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.1) 0%, rgba(19, 136, 8, 0.1) 100%),
              url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1600') center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 5%;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
  font-size: 1.8rem;
  color: var(--primary-saffron);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-saffron) 0%, var(--accent-dark-saffron) 100%);
  color: var(--primary-white);
  box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--primary-white);
  transform: translateY(-3px);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--primary-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
}

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

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-content p {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Features Section */
.features {
  background: var(--bg-light);
  padding: 4rem 5%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--primary-white);
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px var(--shadow);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.feature-item h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--text-dark);
  line-height: 1.7;
}

/* Contact Form */
.contact-section {
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  background: var(--primary-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
}

.contact-info h3 {
  color: var(--primary-green);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary-saffron);
  margin-top: 0.2rem;
}

.contact-form {
  background: var(--primary-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-saffron);
}

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

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-light-green) 100%);
  color: var(--primary-white);
  padding: 3rem 5% 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
}

.footer-section h3 {
  color: var(--primary-white);
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  line-height: 2;
}

.footer-section a:hover {
  color: var(--primary-saffron);
}

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

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

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

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--primary-white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-saffron);
  transform: translateY(-3px);
}

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

/* Disclaimer Banner */
.disclaimer-banner {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  border-left: 5px solid var(--primary-saffron);
  padding: 1.5rem 5%;
  margin: 2rem auto;
  max-width: 1400px;
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--shadow);
}

.disclaimer-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.disclaimer-icon {
  font-size: 1.5rem;
  color: var(--primary-saffron);
  margin-top: 0.2rem;
}

.disclaimer-text {
  flex: 1;
}

.disclaimer-text h4 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.disclaimer-text p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 62, 80, 0.98);
  color: var(--primary-white);
  padding: 1.5rem 5%;
  z-index: 9999;
  display: none;
  box-shadow: 0 -5px 20px var(--shadow);
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.btn-cookie {
  padding: 0.8rem 2rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-accept {
  background: var(--primary-saffron);
  color: var(--primary-white);
}

.btn-accept:hover {
  background: var(--accent-dark-saffron);
}

/* Blog Article */
.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.article-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 5px 20px var(--shadow);
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
}

.article-content h2 {
  color: var(--primary-green);
  margin: 2rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

/* FAQ Page */
.faq-item {
  background: var(--primary-white);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 3px 10px var(--shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-cream);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

/* Resources/Services Page */
.service-card {
  background: var(--primary-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

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

.service-header {
  background: linear-gradient(135deg, var(--primary-saffron) 0%, var(--accent-dark-saffron) 100%);
  color: var(--primary-white);
  padding: 2rem;
  text-align: center;
}

.service-header h3 {
  color: var(--primary-white);
  font-size: 1.8rem;
}

.service-body {
  padding: 2rem;
}

.service-body ul {
  list-style: none;
  padding-left: 0;
}

.service-body ul li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid #E0E0E0;
}

.service-body ul li:last-child {
  border-bottom: none;
}

.service-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1.2rem;
}

/* About Page - Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-member {
  background: var(--primary-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

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

.team-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-saffron);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-tagline {
    font-size: 1.5rem;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background: var(--primary-white);
    width: 100%;
    max-width: 300px;
    padding: 2rem;
    box-shadow: -5px 0 20px var(--shadow);
    transition: right 0.3s ease;
    gap: 1rem;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .btn-cookie {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 3rem 5%;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .logo-text h1 {
    font-size: 1.3rem;
  }
  
  .logo-text p {
    font-size: 0.75rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  nav {
    padding: 1rem 3%;
  }
  
  .container {
    padding: 2rem 3%;
  }
  
  footer {
    padding: 2rem 3% 1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

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

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