/* ShivShakti Education Trust - Pharmacy Theme Styles */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --primary: #059669; /* Emerald 600 */
  --primary-dark: #065f46; /* Emerald 800 */
  --secondary: #0d9488; /* Teal 600 */
  --accent: #f59e0b; /* Amber 500 for highlights */
  --navy: #1e293b; /* Slate 800 */
  --white: #ffffff;
  --light-gray: #f1f5f9;
  --text-main: #334155;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-main);
  font-size: 0.9rem; /* Smaller font */
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif; /* Elegant heading font */
  color: var(--navy);
}

/* Theme Colors */
.bg-primary-theme { background-color: var(--primary) !important; }
.text-primary-theme { color: var(--primary) !important; }
.bg-secondary-theme { background-color: var(--secondary) !important; }
.text-secondary-theme { color: var(--secondary) !important; }

/* Buttons */
.btn-primary-theme {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.btn-primary-theme:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.3);
  color: white;
}

.btn-navy {
  background-color: var(--navy);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.btn-navy:hover {
  background-color: #0f172a;
  color: white;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 10px 0;
}

.navbar-brand span {
  font-family: 'Playfair Display', serif;
}

.nav-link {
  font-weight: 600;
  color: var(--navy) !important;
  margin: 0 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.9), rgba(13, 148, 136, 0.4));
}

/* Sections */
.section-padding {
  padding: 70px 0;
}

.section-title {
  position: relative;
  margin-bottom: 45px;
  font-weight: 800;
  color: var(--navy);
  font-size: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 45px;
  height: 3px;
  background-color: var(--primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Cards */
.card {
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06) !important;
}

/* Counters */
.counter-box {
  padding: 25px 12px;
  text-align: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.03);
}

.counter-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 20px;
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Carousel Controls */
.carousel-control-prev, .carousel-control-next {
  width: 5%;
  opacity: 0.8;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  width: 40px;
  height: 40px;
  background-size: 50% 50%;
}

/* Sponsors */
.sponsor-item {
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.sponsor-item img {
  max-width: 100%;
  max-height: 50px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.3s;
}

.sponsor-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Donation Form */
.donation-form-card {
  border-top: 4px solid var(--primary);
}

.amount-btn {
  border: 1px solid #e2e8f0;
  background: white;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.amount-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
