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

/* Remove default link styling */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Ensure consistent link behavior */
a,
a:visited,
a:active,
a:focus {
  color: var(--white);
  text-decoration: none;
  outline: none;
}

/* Reset button styles */
button {
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

/* Root variables */
:root {
  --font-family: "Montserrat", sans-serif;
  --primary-color: #ed1b24;
  --primary-dark: #b12329;
  --secondary-color: #343a40;
  --text-color: #000000;
  --white: #ffffff;
  --light: #f3f6fa;
  --time-days: #2f1f97;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--white);
}

/* Global Link Styling */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}


/* Override default link styling */
a:visited {
  color: var(--white);
}

/* Remove default link underlines unless specified */
a:not(.btn-donate):not(.btn-hero):not(.read-more):not(.btn-subscribe) {
  text-decoration: none;
}

/* Add underline on hover for certain links */
.breadcrumb a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

/*Hide The Section*/
.hidden-section {
  display: none !important;
}

/* Container grid */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 514px;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(100%);
}

/* Slide Content */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 700px;
  display: none !important;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn-hero {
  background: #e67817;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: #ffffff;
  color: #e67817;
  border-bottom: 3px solid #e67817;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 5;
}

.slider-controls span {
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-controls span:hover {
  background: var(--primary-color);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
  box-shadow: 1px 1px 10px 0 black;
}

.slider-dots span.active {
  background: var(--primary-color);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 1rem;
  }

  .slide-content p {
    font-size: 0.6rem;
  }

  .hero {
    height: 274px;
  }

  .btn-hero {
    padding: 6px 12px;
    font-size: 0.7em;
  }
}

@media (max-width: 450px) {
  .hero {
    height: 147px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    height: 365px;
  }
}

@media (min-width: 1441px) and (max-width: 2559px) {
  .hero {
    height: 680px;
  }
}

@media (min-width: 2560px) and (max-width: 3400px) {
  .hero {
    height: 915px;
  }
}


/* Info Section */
.info-section {
  text-align: center;
  padding: 7em 20px;
  background-color: var(--white-color);
  color: var(--secondary-color);
  font-family: var(--font-family);
  border-bottom: 6px solid var(--primary-color);
}

.info-section .container {
  max-width: 900px;
  margin: 0 auto;
}

/* Subheading */
.info-section .subheading {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Main Heading */
.info-section .main-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Paragraph */
.info-section .section-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--secondary-color);
  max-width: 750px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .info-section {
    padding: 3em 15px;
  }

  .info-section .main-heading {
    font-size: 1.5rem;
  }

  .info-section .section-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .info-section .main-heading {
    font-size: 1.25rem;
  }

  .info-section .section-text {
    font-size: 0.9rem;
  }

  .info-section {
    border-bottom: 2px solid var(--primary-color);
  }
}

/* Talk Health Section */





/* Newsletter Donate Section */
.newsletter-donate {
  position: relative;
  background: url('https://wallpapers.com/images/hd/man-enjoying-life-during-sunset-qe4k8i08b3scrvu3.jpg') center center/cover no-repeat;
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

/* Overlay */
.newsletter-donate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  /* adjust overlay darkness */
  z-index: 0;
}

.newsletter-donate .container {
  position: relative;
  z-index: 1;
}

.newsletter-donate .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

.newsletter-content,
.donate-box {
  flex: 1 1 45%;
}

.donate-box {
  text-align: center;
  background-color: var(--primary-color);
  padding: 2em;
  border: 1px solid;
  border-radius: 22px;
  box-shadow: 6px 6px 1px 0 var(--white);
}

.newsletter-content .heading {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #fff;
}

.newsletter-content .text {
  margin-bottom: 25px;
  font-size: 1rem;
  color: #f0f0f0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.btn-subscribe {
  background: #d32f2f;
  border: none;
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-subscribe:hover {
  background: #b71c1c;
}

.donate-box h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.donate-box p {
  margin-bottom: 20px;
  color: #f5f5f5;
}

.btn-donate {
  display: inline-block;
  background: #ffb300;
  color: #000;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-donate:hover {
  background: #ffa000;
}

/* Responsive */
@media (max-width: 768px) {
  .newsletter-donate .content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .newsletter-content,
  .donate-box {
    flex: 1 1 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/*Service Page*/
.services-hero {
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-content p {
  max-width: 700px;
  margin: 0 auto;
}

.services-overview {
  padding: 60px 0;
  background: #f9f9f9;
}

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

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.service-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--primary-color);
  font-weight: normal;
  margin: 10px 0;
  font-size: 17px;
}

.service-card p {
  font-size: 0.8rem;
  color: var(--secondary-color);
  line-height: 1.2em;
}




/* single service */

.service-hero {
  position: relative;
  height: 40vh;
  overflow: hidden;
}

.service-hero img.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 0, 0, 0.5) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1.2rem;
  color: #f1f1f1;
}

.service-detail-section {
  background-color: var(--white);
  padding: 80px 20px;
}

.breadcrumb {
  margin-bottom: 40px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-color) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}

.breadcrumb span {
  color: #666;
  font-weight: 500;
}

.service-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.service-text {
  flex: 1 1 55%;
}

.service-text h2 {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-text p {
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.service-text ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #333;
}

.service-text li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.service-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.service-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 20px 20px 5px var(--primary-color);
  border: 3px solid var(--white);
}

/* === Doctors Grid Section === */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.doctor-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  padding: 1em;
  transition: all 0.3s ease;
  position: relative;
  border-top: 2px solid var(--primary-color);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.doctor-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgb(0 0 0 / 32%);
}

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

.doctors-section h3 {
  margin-top: 50px;
  text-align: center;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 32px;
}

.doctor-card h4 {
  font-size: 1em;
  font-weight: normal;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  line-height: 1.5em;
}

.doctor-card h4::before {
  content: "Dr. ";
  color: var(--secondary-color);
}

.doctor-card p {
  color: var(--dark-color);
  font-size: 15px;
  margin: 0.5rem 0;
}

.doctor-card .experience,
.doctor-card .education,
.doctor-card .timings,
.doctor-card .days {
  display: inline-block;
  background: var(--primary-light);
  color: var(--time-days);
  font-weight: 500;
  font-size: 12px !important;
  /* padding: 0.4rem 0.7rem; */
  border-radius: 6px;
  font-weight: bold;
}

.doctor-card h5 {
  display: inline;
  margin-right: 0.5em;
  font-size: 12px;
}

.doctor-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* === Responsive Fixes === */
@media (max-width: 768px) {
  .doctors-grid {
    gap: 1.5rem;
  }

  .doctor-card {
    padding: 1rem;
  }

  .doctor-card img {
    width: 100px;
    height: 100px;
  }
}


/* Additional Service Page Styles */
.service-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
  margin-bottom: 0;
}

.service-hero img.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 0, 0, 0.5) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
}

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

/* Responsive */
@media (max-width: 992px) {
  .service-content {
    flex-direction: column-reverse;
  }

  .service-text,
  .service-image {
    flex: 1 1 100%;
  }

  .service-hero {
    height: 40vh;
    min-height: 300px;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }
}

/* About Page */
.about-hero {
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  text-align: center;
  padding: 100px 20px 60px;
  color: var(--white);
  height: 258px;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.about-info {
  background: var(--light, #f7f8fa);
}

.about-intro {
  padding: 60px 20px;
  background: #fff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.about-text {
  flex: 1 1 500px;
  line-height: 1.5;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary-color, #c00);
  margin-bottom: 15px;
}

.about-text p {
  font-size: 19px;
}

.about-text span {
  color: #111;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 60px 20px;
}

.info-card {
  background: #fff;
  padding: 25px;
  flex: 1 1 300px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 450px) {
  .info-card {
    flex: none;
  }
}

.info-card h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: normal;
}

.departments {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.departments h2 {
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: var(--primary-color, #c00);
}

.dept-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 40px;
  max-width: 1200px;
  margin: auto;
}

.dept-list li::before {
  content: "✓ ";
  color: var(--primary-color, #c00);
}

.donation-section {
  background: var(--white);
  padding: 80px 20px;
  font-family: var(--font-family);
}


.donation-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.donation-image img {
  width: 100%;
  max-width: 380px;
}

.donation-image {
  width: 21%;
}

.donation-text {
  flex: 1;
  text-align: left;
}

.donation-text h2 {
  color: var(--primary-color, #c00);
  margin-bottom: 15px;
}

.donation-text .section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.donate-card {
  background: var(--light-gray);
  padding: 25px 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.donate-card p {
  margin-top: 0.4em;
}

.donate-card:hover {
  transform: translateY(-5px);
  color: var(--white);
}

.donate-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

.donate-card:hover i {
  color: var(--white);
}

.other-ways h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.other-ways p {
  color: var(--black-color);
  font-weight: 500;
  line-height: 1.6;
}

.whatsapp-note {
  margin-top: 10px;
  color: var(--secondary-color);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {

  .donation-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .donation-text {
    text-align: center;
  }

  .donate-card {
    text-align: center;
  }

  .about-container,
  .donation-container {
    flex-direction: column;
    text-align: center;
  }

  .info-cards {
    flex-direction: column;
  }

  .dept-list {
    flex-direction: column;
    align-items: center;
  }
}

/* ------------------------------------
   Responsive Announcement Bar with Slider
------------------------------------ */
.announcement-bar {
  background: var(--secondary-color);
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-family);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
}

.announcement-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* ====== Text Slider ====== */
.announcement-slider {
  width: 45%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.slider-track {
  display: inline-block;
  animation: slideText 20s linear infinite;
}

.slider-track p {
  display: inline-block;
  margin: 0 50px;
  color: var(--white);
  font-weight: 500;
}

@keyframes slideText {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ====== Right Section ====== */
.announcement-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.announcement-right a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-icons a {
  color: var(--white);
  margin-right: 8px;
  font-size: 0.9rem;
}

.uan-number {
  background: var(--primary-color);
  padding: 5px 10px;
  border-radius: 3px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.login-btn i {
  font-size: 1rem;
}

/* ====== Responsive Design ====== */
@media (max-width: 992px) {
  .announcement-slider {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }

  .announcement-container {
    flex-direction: column;
    text-align: center;
  }

  .announcement-right {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 500px) {
  .announcement-right {
    display: none;
  }
}



/* =======================================
   CONTACT PAGE STYLES
   ======================================= */

.contact-section {
  padding: 80px 0;
  background-color: var(--light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  max-width: 500px;
}

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

.contact-text {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.7;
}

.contact-details {
  list-style: none;
  padding: 0;
}

.contact-details li {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-details i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* ===== Form Styling ===== */
.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(237, 27, 36, 0.1);
}

/* ===== Button ===== */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #c7131b;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-container {
    padding: 30px;
  }

  .contact-title {
    font-size: 2rem;
  }
}

/* =======================================
   YOUTUBE VIDEO SECTION
   ======================================= */

.yt-video-section {
  background: var(--light);
  padding: 80px 20px;
}

.yt-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}

.yt-video-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.yt-video-text {
  flex: 1 1 45%;
  min-width: 300px;
}

.yt-video-text h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.yt-video-text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.yt-video-frame {
  flex: 1 1 50%;
  position: relative;
  min-width: 300px;
}

.yt-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 4px solid var(--primary-color);
  transition: box-shadow 0.3s ease;
}

.yt-video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Hover Glow Effect */
.yt-video-wrapper:hover {
  box-shadow: 0 10px 30px rgba(237, 27, 36, 0.25);
}



/* =======================
   Responsive
   ======================= */


@media (max-width: 1024px) {
  .yt-video-content {
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
  }

  .yt-video-text {
    flex: 1 1 100%;
    max-width: 700px;
  }

  .yt-video-frame {
    flex: 1 1 100%;
    max-width: 700px;
  }

  .yt-video-text h2 {
    font-size: 1.8rem;
  }

  .yt-video-wrapper {
    border-width: 3px;
  }
}

@media (max-width: 600px) {
  .yt-video-content {
    display: flex;
  }

  .yt-video-section {
    padding: 50px 15px;
  }

  .yt-video-text h2 {
    font-size: 1.6rem;
  }

  .yt-video-text p {
    font-size: 0.95rem;
  }
}


/*All Consultants Page*/
.consultants-hero {
  position: relative;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  padding: 100px 20px 60px;
  text-align: center;
  color: #fff;
  height: 258px;
}

.consultants-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(237, 27, 36, 0.7);
}

.consultants-hero .container {
  position: relative;
  z-index: 2;
}

.consultants-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.consultants-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.consultants-section {
  padding: 5em 0;
}


/* Single Consultant */
.consultant-profile {
  padding: 70px 20px;
}

.consultant-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.consultant-image img {
  width: 100%;
  max-width: 380px;
  height: 550px;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid var(--primary-color);
  box-shadow: 7px 7px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.35s ease;
}

.consultant-image img:hover {
  transform: scale(1.03);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.20);
}


.consultant-details {
  flex: 1 1 55%;
}

/* Headings */
.consultant-name {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-color);
}

.consultant-name::before {
  content: "Dr. ";
  color: var(--primary-color);
}


.consultant-designation {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 10px 0;
}

/* Info Sections */
.consultant-info h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin: 20px 0;
}

.consultant-info p {
  font-size: 14px;
  color: var(--secondary-color);
  line-height: 1.5;
}

/* Timings Table */
.consultant-timings {
  margin-top: 30px;
}

.consultant-timings h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.consultant-timings table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.consultant-timings th {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 15px;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.consultant-timings td {
  background: var(--white);
  padding: 12px 15px;
  font-size: 12px;
  color: var(--secondary-color);
  border-bottom: 1px solid #eaeaea;
  text-align: center;
}

.consultant-timings tr:nth-child(even) td {
  background: #f9f9f9;
}

/* Appointment Button */
.btn-appointment {
  margin-top: 25px;
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-appointment:hover {
  background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 992px) {
  .consultant-container {
    flex-direction: column;
    text-align: center;
  }

  .consultant-image img {
    max-width: 320px;
    margin: 0 auto 20px;
  }

  .consultant-details {
    text-align: center;
  }
}


/*SPECIALITY BOX*/
/* --- Specialties: desktop & mobile behaviors --- */
.specialties-section {
  background-color: var(--white);
  text-align: center;
  padding: 60px 20px;
  font-family: var(--font-family);
  position: relative;
  border-top: 6px solid var(--primary-color);
  border-bottom: 6px solid var(--primary-color);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black-color);
  margin-bottom: 30px;
}

/* Tabs */
.specialty-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.tab-btn {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .25s;
  font-size: 15px;
  box-shadow: 6px 6px 1px 0 var(--secondary-color);
  border: 2px solid var(--white);
  font-family: var(--font-family);
  text-transform: uppercase;
  font-weight: bold;
}

.tab-btn.active {
  box-shadow: 6px 6px 1px 0 var(--secondary-color);
  background: var(--primary-color);
  color: var(--white);
}

.tab-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 2px 2px 1px 0 var(--secondary-color);
}

/* wrapper */
.specialties-wrapper {
  position: relative;
  display: none;
  align-items: center;
}

.specialties-wrapper.active {
  display: flex;
}

/* carousel base */
.specialties-carousel {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 18px 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  align-items: center;
}

/* hide scrollbar on webkit */
.specialties-carousel::-webkit-scrollbar {
  display: none;
}

/* item default (desktop) */
.specialty-box {
  flex: 0 0 23%;
  min-width: 210px;
  box-sizing: border-box;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 24px 14px;
  text-align: center;
  transition: transform 500ms ease, box-shadow 500ms ease;
  height: 167px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.specialty-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  border: 1px solid var(--primary-color);
  transition: transform 500ms ease;
}

.specialty-box a,
.specialty-box a * {
  text-decoration: none;
  color: inherit;
}

.specialty-box img {
  width: 80px;
  height: 100%;
  object-fit: contain;
  margin-bottom: 12px;
  filter: brightness(0) saturate(100%) invert(25%) sepia(99%) saturate(7442%) hue-rotate(354deg) brightness(101%) contrast(109%);
}

.specialty-box p {
  margin: 0;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 18px;
}

/* subtle focus effect for desktop (optional) */
.specialty-box.is-focus {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

/* arrows */
.arrow {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.left-arrow {
  left: 6px;
}

.right-arrow {
  right: 6px;
}

.arrow i {
  font-size: 16px;
}

/* MOBILE: centered single card with scroll-snap */
@media (max-width: 900px) {
  .specialties-carousel {
    scroll-snap-type: x mandatory;
    padding: 22px 40px;
  }

  .specialty-box {
    flex: 0 0 78%;
    min-width: 260px;
    padding: 28px;
    border-radius: 12px;
    scroll-snap-align: center;
  }

  .left-arrow {
    left: 8px;
  }

  .right-arrow {
    right: 8px;
  }
}

/* very small screens */
@media (max-width:480px) {
  .specialty-box {
    min-width: 100%;
    padding: 20px;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    height: 200px;
  }

  .tab-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .arrow {
    width: 40px;
    height: 40px;
  }
}


/* ======================================
   Donate.php Page Styling
====================================== */

/* HERO */
.donate-hero {
  position: relative;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  color: #fff;
  text-align: center;
  padding: 100px 20px 60px;
  overflow: hidden;
  height: 258px;
}

.donate-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(237, 27, 36, 0.7);
}

.hero-text {
  position: relative;
  max-width: 700px;
  margin: auto;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.btn-donate-now {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: lighter;
  transition: all 0.3s ease;
  box-shadow: 5px 5px 1px 0 var(--white);
}

.btn-donate-now:hover {
  color: #fff;
  box-shadow: 1px 1px 1px 0 var(--white);
}

/* WHY DONATE */
.why-donate {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.why-donate h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 50px;
  font-weight: 700;
}

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

.help-card {
  background: var(--light);
  padding: 35px 25px;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.help-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(237, 27, 36, 0.2);
}

.help-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.help-card h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 100;
}

/* VIDEO SECTION */
.donate-video {
  background: var(--light);
  padding: 80px 0;
  text-align: center;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* WAYS TO DONATE */
.donate-ways {
  background: #fff;
  padding: 100px 20px;
  text-align: center;
}

.donate-ways h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.donate-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.donate-card {
  background: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 35px 25px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.donate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(237, 27, 36, 0.2);
  color: var(--white);

}

.donate-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.donate-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.donate-card p {
  font-size: 0.95rem;
  color: #333;
  margin: 5px 0;
  line-height: 1.6;
}

.other-ways {
  max-width: 100%;
  margin: 0 auto;
  background: var(--light);
  padding: 30px;
  border-left: 5px solid var(--primary-color);
  border-right: 5px solid var(--primary-color);
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.help-card p {
  font-size: 12px;
  font-weight: lighter;
  line-height: 1.2em;
  color: #8c8c8c;
}

.help-card svg {
  height: 2em;
  padding-bottom: 1em;
  color: var(--primary-color);
}


.other-ways h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.whatsapp-note {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .donate-card {
    width: 100%;
  }
}


/*Career.php Page Styling*/
.careers-hero {
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  color: var(--white);
  text-align: center;
  padding: 100px 20px 60px;
  height: 258px;
}

.careers-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.careers-hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Careers Intro */
.careers-intro {
  padding: 80px 20px;
  text-align: center;
  background: var(--white);
}

.careers-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.careers-intro p {
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-box {
  background: #fafafa;
  border-radius: 12px;
  padding: 40px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.benefit-box p {
  margin: 0;
}

.benefit-box h4 {
  font-weight: normal;
  font-size: 1.6rem;
  margin: 15px 0;
  font-size: 1.2rem;
}

.benefit-box i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Open Positions */
.open-positions {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
  border-bottom: 6px solid var(--primary-color);
}

.open-positions p {
  font-size: 1.2rem;
}

.open-positions h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.job-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.job-card h4 {
  font-size: 1.2rem;
  color: var(--black-color);
  margin-bottom: 10px;
  font-weight: lighter;
}

.job-card p {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 8px;
}

.btn-apply {
  display: inline-block;
  margin-top: 10px;
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 48%;
  text-align: center;
}

.btn-apply:hover {
  background: #b51b1b;
}

/* CTA Section */
.careers-cta {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  border-bottom: 6px solid var(--white);
}

.careers-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.careers-cta p {
  max-width: 700px;
  margin: 0 auto 30px;
}

.careers-cta .btn-apply {
  background: var(--white);
  color: var(--primary-color);
}

.careers-cta .btn-apply:hover {
  background: #f4f4f4;
}

/* Responsive */
@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .careers-hero h1 {
    font-size: 2rem;
  }
}

/* =======================================
   TESTIMONIAL SECTION STYLES
   ======================================= */

.testimonial-section {
  background-color: var(--light);
  padding: 80px 20px;
  font-family: var(--font-family);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card {
  display: flex;
  justify-content: center;
}

.testimonial-content {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  max-width: 600px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.client-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--primary-color);
}

.testimonial-text {
  font-style: italic;
  color: #333;
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.7;
}

.client-name {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.client-company {
  display: block;
  color: #666;
  font-size: 0.95rem;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color) !important;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 35px !important;
  height: 35px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-prev {
  /* left: 10%; */
}

.swiper-button-next {
  /* right: 10%; */
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;
}

.swiper-pagination-bullet {
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .testimonial-content {
    padding: 30px 20px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .swiper-button-prev {
    left: 2%;
  }

  .swiper-button-next {
    right: 2%;
  }
}

/* Highlight the active (center) testimonial card */
.testimonial-slider .swiper-slide-active .testimonial-content {
  background: var(--primary-color);
  color: var(--white);
  transform: scaleY(1.05);
  transition: all 0.4s ease-in-out;
}

.testimonial-slider .swiper-slide-active .client-img {
  border: 3px solid var(--white);
}

/* Ensure text colors invert nicely on active card */
.testimonial-slider .swiper-slide-active .client-name,
.testimonial-slider .swiper-slide-active .client-company,
.testimonial-slider .swiper-slide-active .testimonial-text {
  color: var(--white);
}

/* Add subtle dimming for non-active slides */
.testimonial-slider .swiper-slide .testimonial-content {
  opacity: 0.8;
  transform: scale(0.95);
  transition: all 0.4s ease-in-out;
}

.testimonial-slider .swiper-slide-active .testimonial-content {
  opacity: 1;
}

/* =======================================
   APPLY NOW PAGE STYLES (Moved from apply-now.php)
   ======================================= */

/* Careers Page */
.career-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 20px 60px;
  height: 240px
}

.career-hero .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.career-hero .hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  text-align: center;
  width: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark))
}

.career-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.career-hero p {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* Career Section */
.career-section {
  background: var(--white);
  padding: 80px 20px;
  font-family: var(--font-family);
}

.career-intro {
  text-align: center;
  margin-bottom: 40px;
}

.career-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.career-intro p {
  color: var(--black-color);
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto 10px;
  line-height: 1.6;
}

/* Form */
.career-form {
  background: var(--light-gray);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.form-group span {
  color: var(--secondary-color);
}

.career-form input,
.career-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

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

.file-upload input {
  border: 1px dashed var(--primary-color);
  background: var(--white);
  padding: 15px;
  cursor: pointer;
}

.btn-apply {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-apply:hover {
  background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .career-hero {
    height: 300px;
  }

  .career-hero h1 {
    font-size: 1.8rem;
  }

  .career-form {
    padding: 25px 20px;
  }
}

/* =======================================
   BLOG PAGE STYLES (Moved from blog/blog.php)
   ======================================= */

.blog-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 100px 20px 80px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-content {
  padding: 80px 20px;
  background: var(--light);
}

.blog-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.blog-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--primary-color);
  background: var(--white);
  color: var(--primary-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

.blog-posts {
  display: grid;
  gap: 40px;
  margin-bottom: 50px;
}

.blog-post {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.post-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.post-content {
  padding: 30px;
}

.post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

.post-date {
  color: var(--primary-color);
}

.post-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.post-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #d4650a;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.page-btn {
  padding: 10px 20px;
  border: 2px solid var(--primary-color);
  background: var(--white);
  color: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: var(--white);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 5px;
}

.page-number {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  background: var(--white);
  color: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-number:hover,
.page-number.active {
  background: var(--primary-color);
  color: var(--white);
}

/* Sidebar Styles */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-widget {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light);
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.search-form button {
  padding: 12px 15px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recent-post {
  display: flex;
  gap: 15px;
  align-items: center;
}

.recent-post img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.recent-content h4 {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
  line-height: 1.3;
}

.recent-date {
  font-size: 0.8rem;
  color: #666;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list a {
  color: #666;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

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

.category-list span {
  background: var(--light);
  color: var(--primary-color);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 12px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 992px) {
  .blog-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-filters {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .post-content {
    padding: 20px;
  }

  .sidebar-widget {
    padding: 20px;
  }

  .pagination {
    flex-wrap: wrap;
  }
}