* {
  a {
    text-decoration: none;
  }
}

.ias-header-wrapper {
  width: 100%;
  font-family: "Roboto Slab", serif;
}

body {
  padding: 0;
  margin: 0;
}

.span {
  color: #2b9cd3;
}

/*---------------------------------main-banner-------------------------------------------------- */

.ias-full-image-section {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.ias-full-image-section img {
  width: 100%;
  height: auto; /* auto height */
  display: block;
  object-fit: cover;
}

/* ================= BLOG SECTION ================= */

.ias-blog-section {
  padding: 30px 40px;
  background: #f9f9f9;
}

.ias-blog-container {
  max-width: 1200px;
  margin: auto;
}

.ias-blog-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 25px;
}

.ias-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* reduced gap */
}

.ias-blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.ias-blog-card:hover {
  transform: translateY(-5px);
}

.ias-blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ias-blog-content {
  padding: 15px; /* proper inner spacing */
  display: flex;
  flex-direction: column;
  gap: 10px; /* THIS FIXES ALL GAP ISSUES */
  flex: 1;
}

.ias-blog-date {
  font-size: 12px;
  color: #888;
}

.ias-blog-content h3 {
  font-size: 17px;
  margin: 0;
}

.ias-blog-content p {
  color: #555;
  font-size: 14px;
  margin: 0;
}

.ias-blog-btn {
  background: #2b9cd3;
  color: #fff;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  margin-top: auto; /* pushes button to bottom */
  transition: 0.3s;
}

.ias-blog-btn:hover {
  background: #095f80;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .ias-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ias-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= BLOG DETAIL ================= */

.ias-blog-detail-section {
  padding: 20px 40px;
  background: #ffffff;
}

.ias-blog-detail-container {
  max-width: 1200px;
  margin: auto;
}

.ias-blog-detail-row {
  display: flex;
  align-items: center;
  gap: 50px;
}

.ias-blog-detail-left {
  flex: 1;
}

.ias-blog-detail-right {
  flex: 1;
}

.ias-blog-detail-right img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.ias-blog-detail-title {
  font-size: 25px;
  margin-bottom: 10px;
}

.ias-blog-detail-date {
  color: #888;
  margin-bottom: 20px;
  font-size: 14px;
}

.ias-blog-detail-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .ias-blog-detail-row {
    flex-direction: column;
  }

  .ias-blog-detail-right {
    order: -1;
  }
}

/* ================= RELATED BLOGS ================= */

/* ================= RELATED BLOGS ================= */

.ias-related-blog-section {
  padding: 30px 40px;
  background: #f7f9fb;
}

.ias-related-container {
  max-width: 1200px;
  margin: auto;
}

.ias-related-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
}

.ias-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* reduced gap */
}

.ias-related-card {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.ias-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ias-related-image img {
  width: 100%;
  height: 200px; /* slightly compact */
  object-fit: cover;
}

.ias-related-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px; /* MAIN FIX */
  flex: 1;
}

.ias-related-date {
  font-size: 12px;
  color: #888;
}

.ias-related-content h3 {
  font-size: 16px;
  margin: 0;
}

.ias-related-btn {
  background: #2b9cd3;
  color: #fff;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: auto; /* pushes button to bottom */
  transition: 0.3s;
}

.ias-related-btn:hover {
  background: #095f80;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .ias-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ias-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= CAREER SECTION ================= */

.ias-career-section {
  padding: 20px 40px;
  background: #f7f9fb;
}

.ias-career-container {
  max-width: 1200px;
  margin: auto;
}

.ias-career-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

.ias-career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ias-career-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.ias-career-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ias-career-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.ias-career-content {
  padding: 25px;
}

.ias-career-content h3 {
  margin-bottom: 15px;
}

.ias-career-info {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.ias-career-info li {
  margin-bottom: 8px;
  font-size: 14px;
}

.ias-career-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #2b9cd3;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.ias-career-btn:hover {
  background: #095f80;
}

/* Responsive */

@media (max-width: 768px) {
  .ias-career-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= CAREER DETAIL ================= */

.ias-career-detail-section {
  padding: 20px 40px;
  background: #ffffff;
}

.ias-career-detail-container {
  max-width: 800px;
  margin: auto;
}

.ias-career-detail-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
}

.ias-career-description {
  margin-bottom: 40px;
  line-height: 1.7;
  color: #444;
}

.ias-career-form-box {
  background: #f7f9fb;
  padding: 40px;
  border: 1px solid #e5e5e5;
}

.ias-career-form-group {
  margin-bottom: 20px;
}

.ias-career-form-group input,
.ias-career-form-group select,
.ias-career-form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

/* ================= CAPTCHA ROW ================= */

.ias-career-captcha-row {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.ias-career-captcha-box {
  display: flex;
  align-items: center;
  background: #e9eef2;
  padding: 10px 15px;
  border: 1px solid #ccc;
  font-weight: bold;
  letter-spacing: 2px;
  white-space: nowrap;
}

.ias-career-captcha-box button {
  margin-left: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.ias-career-captcha-row input {
  flex: 1; /* take remaining space */
  padding: 12px;
  border: 1px solid #ccc;
  min-width: 150px;
  box-sizing: border-box;
}

.ias-career-submit-btn {
  padding: 12px 25px;
  background: #2b9cd3;
  color: #fff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  width: auto;
  flex-shrink: 0;
  transition: 0.3s;
}

.ias-career-submit-btn:hover {
  background: #095f80;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .ias-career-detail-section {
    padding: 20px;
  }

  .ias-career-form-box {
    padding: 25px;
  }

  .ias-career-captcha-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ias-career-submit-btn {
    width: 100%;
  }
}

/* ================= TWO COLUMN ROW ================= */

.ias-career-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.ias-career-col {
  flex: 1;
}

.ias-career-col input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .ias-career-row {
    flex-direction: column;
    gap: 15px;
  }
}

/* ================= GALLERY SECTION ================= */

.ias-gallery-section {
  padding: 20px 40px;
  background: #f7f9fb;
}

.ias-gallery-container {
  max-width: 1200px;
  margin: auto;
}

.ias-gallery-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

.ias-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ias-gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.3s;
}

/* ================= LIGHTBOX ================= */

.ias-gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ias-gallery-lightbox-img {
  max-width: 90%;
  max-height: 80%;
}

.ias-gallery-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.ias-gallery-prev,
.ias-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
}

.ias-gallery-prev {
  left: 40px;
}

.ias-gallery-next {
  right: 40px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .ias-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ias-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ias-gallery-item img {
    height: 180px;
  }
}

/* ================= ABOUT SECTION ================= */

.ias-about-section {
  padding: 20px 40px;
  background: #f7f9fb;
}

.ias-about-container {
  max-width: 1200px;
  margin: auto;
}

.ias-about-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.ias-about-content {
  flex: 1;
}

.ias-about-title {
  font-size: 25px;
  margin-bottom: 20px;
}

.ias-about-text {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
  font-size: 14px;
}

.ias-about-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #2b9cd3;
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.ias-about-btn:hover {
  background: #095f80;
}

.ias-about-image {
  flex: 1;
}

.ias-about-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  mix-blend-mode: multiply;
}

/* ================= ABOUT SECTION ANIMATION ================= */

.ias-about-title,
.ias-about-text,
.ias-about-btn,
.ias-about-image {
  opacity: 0;
  transform: translateY(40px);
  animation: iasFadeUp 1s ease forwards;
}

.ias-about-title {
  animation-delay: 0.2s;
}

.ias-about-text {
  animation-delay: 0.6s;
}

.ias-about-btn {
  animation-delay: 0.9s;
}

.ias-about-image {
  animation-delay: 1.2s;
}

@keyframes iasFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .ias-about-row {
    flex-direction: column;
  }

  .ias-about-image {
    order: -1;
  }

  .ias-about-title {
    font-size: 28px;
  }
}

/* ================= MISSION VISION VALUES ================= */

.ias-mvv-section {
  padding: 20px 40px;
  background: #ffffff;
}

.ias-mvv-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

/* Tabs */

.ias-mvv-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ias-mvv-tab-btn {
  padding: 12px 30px;
  background: #f1f1f1;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.ias-mvv-tab-btn.active {
  background: #2b9cd3;
  color: #fff;
  border-color: #2b9cd3;
}

.ias-mvv-tab-btn:hover {
  background: #2b9cd3;
  color: #fff;
}

/* Content */

.ias-mvv-content-wrapper {
  max-width: 800px;
  margin: auto;
}

.ias-mvv-content {
  display: none;
  animation: iasFade 0.3s ease-in-out;
}

.ias-mvv-content.active {
  display: block;
}

.ias-mvv-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.ias-mvv-content p {
  line-height: 1.7;
  color: #444;
  font-size: 14px;
}

/* Animation */

@keyframes iasFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 768px) {
  .ias-mvv-tab-btn {
    width: 100%;
  }
}

/* ================= MVV SECTION ANIMATION ================= */

.ias-mvv-container {
  opacity: 0;
  transform: translateY(40px);
  animation: iasMvvFadeUp 1s ease forwards;
}

/* First Section Appears */
.ias-mvv-container {
  animation-delay: 0.2s;
}

/* Tabs Appear After */
.ias-mvv-tabs {
  opacity: 0;
  transform: translateY(40px);
  animation: iasMvvFadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* Then Content Wrapper */
.ias-mvv-content-wrapper {
  opacity: 0;
  transform: translateY(40px);
  animation: iasMvvFadeUp 1s ease forwards;
  animation-delay: 1s;
}

/* Smooth Fade Up */
@keyframes iasMvvFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
