/* TABLE BASE */
.
/* LEFT COLUMN (TEXT SIDE) */
.about-ctv-text {

  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center if needed */
}

.text-content {
  padding: 20px;
  text-align: justify;
}

/* heading */
.text-content h1 {
  text-align: center;
  font-size: 40px;
  color: #134faf;
  margin-bottom: 25px;
}


/* paragraph */
.text-content p {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  margin: 0;                      /* no extra offsets */
}

.chandram_about{
	text-align:justify;
}

/* RIGHT COLUMN (IMAGE SIDE) */
.about-ctv-image {
  width: 40%;
  position: relative;
}

.about-ctv-image img {
  width: 100%;
  height: 500px;              /* full height of viewport */
  object-fit: cover;
  display: block;
}

.unique-approach-section {
  background-color: orange; /* orNGE */
  padding: 40px 20px;        /* space around the content */
  border-radius: 10px;        /* optional: slightly rounded edges */
  margin: 30px 0;             /* spacing from other sections */
}

.vision{
background-color: orange; /* light gray or any color you prefer */
  padding: 20px 10px;        /* space around the content */
  border-radius: 10px;        /* optional: slightly rounded edges */
  margin: 30px 0; 
}

.mission{
background-color: orange; /* light gray or any color you prefer */
  padding: 20px 10px;        /* space around the content */
  border-radius: 10px;        /* optional: slightly rounded edges */
  margin: 30px 0; 

}

/*Hover option*/
.vision:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease; /* smooth animation */
}

.mission:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}



/* chandram sir section */
.chandram-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background: linear-gradient(180deg, #000000 0%, #0b132b 100%);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  margin: 60px auto;   /* centers the entire block */
  max-width: 1200px;   /* <<< NOT full screen, looks premium */
  width: 100%;         /* keeps it responsive */
}

.text h2{
    color:#1E90FF !important;
    font-size:38px !important;
}

.chandram-section p{
	text-align:justify;
}
.photo-wrapper {
  position: relative;
  width: 300px; /* increased from 250px */
  flex-shrink: 0;
}

.photo-wrapper img {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.photo-wrapper img:hover {
  transform: scale(1.05); /* subtle zoom on hover */
}

/* Accent circle behind photo */
.photo-accent {
  position: absolute;
  top: -25px; /* slightly bigger offset for larger photo */
  left: -25px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  z-index: -1;
}

.chandram-section .text {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centers heading and text */
  text-align: center;

}

.chandram-section h2 {
  font-size: 44px; /* slightly larger heading */
  color: #134faf;
  margin-bottom: 25px;
}

.chandram-section p {
  line-height: 1.8;
  color: white;
  margin-bottom: 15px;
  font-size:18px;
  
}

.chandram-section .tagline {
  color: #ff6f00;
  font-size: 20px;
  font-style: italic;
  margin-top: 10px;
}

.iast-section-horizontal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  border-radius: 15px;
  gap: 40px;
  flex-wrap: wrap;

  /* ▸ NEW background image */
  background: 
      linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.8)), /* light gradient */
      url('../img/bg.jpg');  /* your background image */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.iast-content {
  flex: 1;
  min-width: 300px;
  margin-left: 30px;         /* spacing from image */
  margin-top: 0;             /* ensure no top margin */
  align-self: flex-start;    /* explicitly align this content to the top */
}

.iast-content h2 {
  color: #1E90FF;
  font-size: 36px;
  margin-bottom: 20px;
}

.iast-content p {
  color: white;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;  /* <-- added */  
}

.iast-collage-horizontal {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
  min-width: 300px;
}

.iast-collage-horizontal img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.iast-collage-horizontal img:hover {
  transform: scale(1.05);
}

.know-more-btn {
  display: block;            /* acts like a box */
  width: fit-content;        /* prevents stretching */
  margin: 0 auto;            /* centers it */
  padding: 10px 24px;
  background-color: #134faf;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.3s ease;
  text-align: center;
}



.know-more-btn:hover {
  background-color: #0f3699;
  
}

/* Announcement Banner */
.announcement-banner {
  width: 100%;
   background: linear-gradient(180deg, #000000 0%, #0b132b 100%);
  padding: 25px 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1200px; /* optional: keeps it centered */
}

.announcement-content h2 {
  color: #1E09FF;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.announcement-content p {
  color: #d32f2f;  /* reddish text */
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.about-table {
  position: relative;
  height: 600px;
  background: url('../img/aboutctv.jpg') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
  padding: 40px 20px;
}

.about-table .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0,0.85);
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 50%;
  color: white;
}

.about-content h1 {
  color: orange;
  font-size: 50px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.about-content p {
  font-size: 18px;
  line-height: 1.6;
  color: white;
}

.about-marquee {
  font-size: 22px;
  color: orange;
}

.about-marquee span {
  color: orange;
  font-size: 25px;
  font-weight: bold;
}

/* Vision & Mission sections */


/* Responsive adjustments */
@media (max-width: 992px) {
  .about-content h1 {
    font-size: 40px;
  }

  .about-content p,
  .vision p,
  .mission ul {
    font-size: 16px;
  }
  .iast-collage-horizontal {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
   .iast-collage-horizontal img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .about-table {
    height: auto;
    padding: 60px 20px;
  }

  .about-content {
    max-width: 95%;
  }

  .about-content h1 {
    font-size: 32px;
  }

  .about-marquee {
    font-size: 18px;
  }
  .iast-collage-horizontal {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
}


@media (max-width: 1200px) {
  .iast-collage-horizontal img {
    width: 220px;
    height: 220px;
  }
}

/* New figure image block */
.memory-photo-figure {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.memory-photo {
  width: 340px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}


.memory-caption {
  margin-top: 15px;
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.memory-caption-sub {
  font-size: 16px;
  font-weight: 400;
  color: #ffcc66;
}

@media (max-width: 1300px) and (min-width: 900px) {

  .iast-collage-horizontal {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;  /* 2 per row */
    gap: 20px !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 10px !important;
  }

  .iast-collage-horizontal img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;   /* keeps perfect square */
    object-fit: cover !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
    transition: transform 0.3s ease !important;
  }

  .iast-collage-horizontal img:hover {
    transform: scale(1.05) !important;
  }
}

/*New addition*/
@media (max-width: 576px) {

  /* About CTV hero */
  .about-table {
    height: auto;
    padding: 60px 16px;
  }

  .about-content {
    max-width: 100%;
    text-align: center;
  }

  .about-content h1 {
    font-size: 34px !important;   /* 👈 reduced heading */
    margin-bottom: 12px;
  }

  .about-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-marquee {
    font-size: 16px;
  }

  .about-marquee span {
    font-size: 18px;
  }
  /* Chandram section order */
  .chandram-section {
    flex-direction: column !important;
    padding-top: 5px; !important;
    gap: 24px;
  }

  /* Move heading first */
  .chandram-section .text {
    order: 1;
    text-align: center;
    align-items: center;
  }

  /* Photo comes after heading */
  .memory-photo-figure {
    order: 2;
  }

  /* Paragraph text */
  .chandram-section p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
        padding-right:10px;
  }

  .chandram-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
        margin-top: 0px !important;
  }

  .photo-wrapper,
  .memory-photo {
    width: 220px;
  }
  /* IAST main container */
  .iast-section-horizontal {
    flex-direction: column;
    padding: 40px 16px;
    gap: 24px;
    align-items:center;
  }

  .iast-content {
    margin-left: 0;
    text-align: center;
    align-self: center;
    padding-right:20px;
  }

  .iast-content h2 {
    font-size: 26px;
        padding-right:10px;
  }

  .iast-content p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;

  }
  /* Image collage responsive */
   .iast-collage-horizontal {
    display: flex !important;
    flex-direction: column !important;   /* 👈 one below one */
    gap: 16px !important;
    width: 100% !important;
    align-items: center !important;
  }

  .iast-collage-horizontal img {
    width: 100% !important;              /* full width */
    max-width: 100% !important;
    height: 200px !important;            /* controlled height */
    object-fit: cover !important;
    border-radius: 12px !important;
align-items:center;
  
}
.program-cardsf li{
	text-align:justify;
}

.text h2{
    color:#1E90FF !important;
    font-size:22px !important;
    text-align:center;
    padding-bottom:8px;
}

}













