@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Cinzel:wght@400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');

/* Hero News Section */

.about-section {
  position: relative;
  width: 100%;
  height: 70vh;
  background-image: url("/images/img_23.jpg"); /* Replace with your image name */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* Dark overlay on left side */
.about-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 51, 153, 0.55) 10%, rgba(0, 51, 153, 0.2) 50%);
  display: flex;
  align-items: center;
  padding-left: 100px;
}

.about-text {
  max-width: 500px;
  color: white;
  animation: fadeInLeft 1.2s ease forwards;
}

.about-text h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: "Saira", sans-serif;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #fdfcfc;
  margin-bottom: 25px;
  font-family: "Roboto", sans-serif;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-family: "Roboto", sans-serif;
}

.about-link:hover {
  background: #ffffff;
  color: #000000;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.about-link:hover .arrow-icon {
  transform: translateX(5px);
}

/* Animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Extra small devices (phones, portrait) */
@media (max-width: 320px) { 
  .about-section {
    height: 300px;
  }

  .about-overlay {
    padding-left: 15px;
    background: rgba(0, 0, 0, 0.6); /* Stronger overlay */
  }

  .about-text h1 {
    font-size: 1.6rem;
  }

  .about-text p {
    display: none;
  }

  .about-link {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* Small devices (phones) */
@media (max-width: 480px) { 
  .about-section {
    height: 320px;
  }

  .about-overlay {
    padding-left: 25px;
  }

  .about-text h1 {
    font-size: 1.9rem;
  }

  .about-text p {
    display: none;
  }

  .about-link {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* Medium devices (phones) */
@media (max-width: 576px) { 
  .about-section {
    height: 350px;
  }

  .about-overlay {
    padding-left: 30px;
  }

  .about-text h1 {
    font-size: 2rem;
  }
}

/* Large phones */
@media (max-width: 768px) { 
  .about-section {
    height: 380px;
  }

  .about-overlay {
    padding-left: 35px;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.2) 100%);
  }

  .about-text h1 {
    font-size: 2.2rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .about-link {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Tablets */
@media (max-width: 992px) { 
  .about-section {
    height: 420px;
  }

  .about-overlay {
    padding-left: 20px;
  }

  .about-text h1 {
    font-size: 2.4rem;
  }
}

/* 1152px */
@media (max-width: 1152px) { 
  .about-text h1 {
    font-size: 2.6rem;
  }
}

/* 1440px */
@media (max-width: 1440px) { 
  .about-section {
    height: 65vh;
  }
}




/* News Section */

.container {
  max-width: 850px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 0px 20px 0px;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.card-text {
  flex: 1;
}

.category {
  display: inline-block;
  color: rgb(10, 56, 124);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: "Saira", sans-serif;
}

.title {
  font-size: 20px;
  font-weight: 600;
  margin: 4px 0;
  line-height: 1.3;
  cursor: pointer;
  font-family: "Saira", sans-serif;
}

.title:hover {
  text-decoration: underline;
}

.card-text .description {
  font-size: 15px;
  color: #333 !important;      /* Darker, visible text */
  margin-top: 8px;
  line-height: 1.6;
  font-weight: 400;
  opacity: 1 !important;       /* Ensure full visibility */
  font-family: "Roboto", sans-serif;
}

/* Contact section description (separate rule to keep white text there) */
.text-side .description {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: #f0f0f0;
}
.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.author {
  font-weight: 600;
  font-size: 13px;
  color: #111;
}

.icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 13px;
}

.icon-item svg {
  stroke-width: 1.7;
  color: #777;
}

.card-image img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

.view-more {
  text-align: center;
  margin-top: 40px;
}

.view-more a {
  color: rgb(10, 56, 124);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.view-more a:hover {
  text-decoration: underline;
}

/* Extra small devices (phones, portrait) */
@media (max-width: 320px) {
  .container {
    padding: 20px 10px;
  }
  .card {
    flex-direction: column;
    gap: 14px;
  }
  .card-image img {
    width: 100%;
    height: 160px;
  }
}

/* Small devices (phones) */
@media (max-width: 480px) {
  .container {
    padding: 30px 12px;
  }
  .card {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-image img {
    width: 100%;
    height: 200px;
  }
  .title {
    font-size: 18px;
  }
  .description {
    font-size: 14px;
  }
}

/* Medium devices (phones) */
@media (max-width: 576px) {
  .card {
    flex-direction: column;
  }
  .card-image img {
    width: 100%;
    height: 220px;
  }
}

/* Large phones */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
  }
  .card-image img {
    width: 100%;
    height: 240px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
    padding: 40px 25px;
  }
  .card {
    flex-direction: column;
  }
  .card-image img {
    width: 100%;
    height: 260px;
  }
}

/* Laptop small screens */
@media (max-width: 1152px) {
  .container {
    padding: 40px 40px;
  }
}

/* Large laptop screens */
@media (max-width: 1440px) {
  .container {
    padding: 40px 40px;
  }
}





/* Contact Section */

.section-container {
  display: flex;
  width: 100%;
  height: 50vh;
  background-color: #bababa  ;
  padding: 20px 0px;
}

.image-side {
  position: relative;
  flex: 1.2;
  overflow: hidden;
}

.text-side {
  flex: 1;
  background-color: #bababa  ;
  color: black;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-side h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: black;
  font-family: "Saira", sans-serif;
}

.subtitle {
  font-size: 1.1rem;
  
  line-height: 1.4;
  color: black;
  font-family: "Roboto", sans-serif;
}

.description-con {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: black;
  font-family: "Roboto", sans-serif;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid black;
  color: black;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  width: fit-content;
  font-family: "Roboto", sans-serif;
}

.learn-more-btn:hover {
  background-color: #fff;
  color: black;
}

/* ---------------- MEDIA QUERIES (Responsive) ---------------- */

@media (max-width: 320px) {

  .section-container {
    flex-direction: column;
    height: auto;
    padding: 0;
  }

  .image-side {
    height: 200px;
  }

  .image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .text-side {
    padding: 18px;
  }

  .text-side h2 {
    font-size: 1.3rem;
  }

  .subtitle {
    font-size: 0.85rem;
  }

  .description-con {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .learn-more-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}
@media (max-width: 480px) {

  .section-container {
    flex-direction: column;
    height: auto;
  }

  .image-side {
    height: 240px;
  }

  .text-side {
    padding: 22px;
  }

  .text-side h2 {
    font-size: 1.45rem;
  }

  .subtitle,
  .description-con {
    font-size: 0.95rem;
  }
}
@media (max-width: 576px) {

  .section-container {
    flex-direction: column;
    height: auto;
  }

  .image-side {
    height: 260px;
  }

  .text-side {
    padding: 26px;
  }

  .text-side h2 {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {

  .section-container {
     flex-direction: column;
    height: auto;          /* 🔥 KEY FIX */
    padding: 0;
  }

   .image-side {
    width: 100%;
    height: 220px;         /* ✅ FIXED HEIGHT */
    flex: none;
  }

  .image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* ✅ no stretch */
    display: block;
  }

  .text-side {
    padding: 32px;
  }

  .description-con {
    margin-bottom: 2rem;
  }
}
@media (max-width: 992px) {

  .section-container {
    height: auto;
  }

  .image-side {
    min-height: 320px;
  }

  .text-side {
    padding: 40px;
  }

  .text-side h2 {
    font-size: 1.75rem;
  }
}
@media screen and (max-width: 1152px) {
  /* Desktop layout remains same */
  .text-side h2 {
    font-size: 1.9rem;
  }
}
