/* body */
*{
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
}
/* header */
.Home-header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
/* nav-list */
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 150px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style-type: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}.text-box {
    position: absolute;
    margin-top: 2.5rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 1rem;
    width: 90%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-box h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.text-box p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
    background-color: #f44336;
    color: white;
    transform: scale(1.05);
}

nav .fas {
    display: none;
}
@media (max-width: 768px) {
  /* Hero Text Styling */
  .text-box {
    width: 90%;
    padding: 1rem;
  }

  .text-box h1 {
    font-size: 4rem;
    margin: 0 1rem 1rem;
  }

  .text-box p {
    font-size: 1rem;
    margin: 0 1rem 1.5rem;
  }

  /* Navigation Menu Styling */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(45deg, #f44336, #d32f2f);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    z-index: 950;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
  }

  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-links ul {
    display: flex;
    text-align: left;
    flex-direction: column;
    list-style: none;
    padding: 0 1.5rem;
    margin: 0;
    width: 100%;
  }

  .nav-links ul li {
    padding: 1rem 1.5rem;
    justify-self: left;
  }

  /* Menu Icons */
  nav .fas {
    display: block;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  nav .fas:hover {
    transform: rotate(90deg);
  }
}


  /* gallery */
/* Reset margin and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
}

.Sub-gallery-header h1{
  place-self: center;
  font-size: 3rem;
  color: #000000;
}


.gallery-grid img {
    width: 100%;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s;
  }

  .gallery-grid img:hover {
    transform: scale(1.05);
  }

.gallery-btn {
  display: block;
  width: fit-content;
  margin: 3rem auto 0 auto;
  background-color: #eee;
  font-size: 1rem;
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  color: black;
  text-align: center;
}

.gallery-btn:hover {
  background: #f44336;
  transition: 0.5s;
  color: white;
  cursor: pointer;
  text-decoration: none;
}


.gallery h{
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
}


/* Modal container */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal image */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

  .modal-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
  }
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #ccc;
}
/* Responsive fix */
@media (max-width: 600px) {
  .modal-content {
    max-width: 95%;
    max-height: 70vh;
  }

  .close {
    font-size: 28px;
    top: 10px;
    right: 15px;
  }
}
    @media (max-width: 768px) {
      .Sub-gallery-header{
        height: 20rem;
      }
      .Sub-gallery-header h1{
        margin-top: 5rem;
        font-size: 3rem;
        margin-left: 2rem;
      }
      .Sub-gallery-header img{
        width: 3rem;
      }
#gallery-sp{
  font: 500;
  color: white;
  margin-left: 4rem;
}
    }

  /* courser  */
.course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    font-family: 'Poppins', sans-serif;
  }
  
  .course h1 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
  }
  
  .course p {
    font-size: 16px;
    color: #666;
    margin: 10px 0 40px;
  }
  
  .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px; /* Add this line */
  }
  
  
  
  .course-col {
    flex-basis: 30%;
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  
  .course-col:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
  
  .course-col h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #f44336;
  }
  
  .course-col p {
    font-size: 15px;
    color: #555;
  }

  
  /* Responsive design for smaller screens */
  @media (max-width: 768px) {
    .row {
      flex-direction: column;
    }
  
    .course-col {
      flex-basis: 100%;
    }
  }
  .testimonials {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}


/* Testimonial */
.testimonials h1 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.testimonial {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 300px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.testimonial:hover {
    transform: translateY(-10px);
}

.testimonials {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.testimonials h1 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.testimonial {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 300px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.testimonial:hover {
    transform: translateY(-10px);
}

.testimonial p {
    font-size: 16px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.testimonial .location {
    font-size: 14px;
    color: #888;
}

.testimonial p + h3 {
    margin-top: 10px;
    font-style: normal;
}

.stars {
    margin-top: 15px;
}

.stars i {
    color: #f44336; /* Star color */
    font-size: 18px;
    margin-right: 5px;
}

.stars i.fa-star-half-alt {
    color: #ffb400; /* Half-star color */
}

.stars i.fa-star-o {
    color: #ccc; /* Empty star color */
}

.student-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    margin: 0 auto;
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        width: 80%;
        margin-bottom: 20px;
    }
}
/* Footer Styles */
.isha-footer {
  background-color: #1a1a1a;
  color: #eee;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 220px;
  margin: 15px;
}

.footer-column h4 {
  margin-bottom: 15px;
  color: #fff;
}

#footer-brand{
  margin-bottom: 4rem;
}

.footer-column p,
.footer-column a {
  font-size: 14px;
  line-height: 1.8;
  color: #ccc;
  text-decoration: none;
}

.footer-column a:hover {
  color: #f44336;
}

.footer-column img{
  height: 2rem;
  width: 2rem;
}
.footer-column span{
  margin:auto;
  font-size: 1.8rem;
}

.footer-logo {
  margin-top: 10px;
  width: 12rem;
  height: 100rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 18px;
  color: #ccc;
}

.social-icons a:hover {
  color: #f44336;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 13px;
}

.why-choose-us {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
    place-self: center;
  }
  
  .why-choose-us h1 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
  }
  
  .why-choose-us .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  @media (max-width: 768px){
    .feature{
      place-self: center;
      width: 20rem;
    }
  }

  .feature {
    background: white;
    border-radius: 10px;
    padding: 25px;
    max-width: 250px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .feature i {
    font-size: 40px;
    color: #f44336;
    margin-bottom: 15px;
  }
  
  .feature h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 10px;
  }
  
  .feature p {
    font-size: 14px;
    color: #555;
  }


  .gallery {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  .gallery h1 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.05);
  }
  .contact {
    padding: 50px 20px;
    text-align: center;
    background-color: #f5f5f5;
  }
  
  .contact h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .contact p {
    color: #555;
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .contact-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .contact-box {
    background: white;
    padding: 20px;
    width: 18rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .contact-box i {
    font-size: 30px;
    color: #f44336;
    margin-bottom: 10px;
  }

/* about us page */

.Sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/background.jpg);
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
}
.Sub-header h1{
    margin-top: -50px;
    font-size: 3rem;
}

.about-us .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* allows it to wrap on smaller screens */
    gap: 20px;
  }
  
  .about-col {
    flex: 1;
    min-width: 300px; /* ensures proper wrapping on small screens */
  }
.about-col {
    margin: 2rem;
}
.about-col h1{
    color: #f44336;
    font-size: 3rem;
}

  .about-col img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
  }
  
/* Our team  */
/* General Team Section */
.team {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .team h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #222;
  }
  
  /* Flex Layout */
  .team-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  /* Team Member Card */
  .team-member {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    max-width: 280px;
    width: 100%;
    transition: transform 0.3s ease;
  }
  
  .team-member:hover {
    transform: translateY(-5px);
  }
  
  .team-member img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  
  .team-member h3 {
    color: #0056b3;
    margin-bottom: 5px;
  }
  
  .team-member p {
    font-size: 0.95rem;
    margin: 4px 0;
  }
  
  /* Responsive Typography */
  @media (max-width: 768px) {

    .Sub-header h1{
      margin-top: 7rem;
    }
    .team h2 {
      font-size: 2rem;
    }
  
    .team-member {
      max-width: 90%;
    }
  }
  
  
.Faculty {
  padding: 40px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.Faculty h1 {
  font-size: 2.8rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Container for all cards */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Card styling */
.team-member {
  background-color: #fff;
  width: 300px;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #007bff;
}

.team-member h3 {
  margin: 10px 0 5px;
  color: #007bff;
  font-size: 1.2rem;
}

.team-member p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #555;
}

.team-member span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .team-member {
    width: 90%;
  }
}

  @media (max-width: 480px) {
    .team h2 {
      font-size: 1.75rem;
    }
  
    .team-member {
      padding: 15px;
    }
  
    .team-member p {
      font-size: 0.9rem;
    }
  }
  .explore-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #000; /* shorthand for visible border */
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  }
  
  .explore-btn:hover {
    background-color: #f44336;
    color: #fff;
    transform: scale(1.05);
  }

/*courses page  */
.courses-header{
  height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(/images/library.png);
  background-position: center;
  background-size: cover;
  color: white;
  text-align: center;
}
.courses-header h1{
  margin-top: 5rem;
  font-size: 7rem;
}
.course-grid {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
  }
  
  .section-title {
  font-size: 2.5rem;
  color: #002147;
  margin-bottom: 10px;
  }
  
  .section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  }
  
  .grid-container {

  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
  }
  
  .course-card {
  background: #ffffff;
  flex: 1 1 calc(33.333% - 60px);
  max-width: 350px;
  min-width: 260px;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: left;
  border-left: 5px solid #007bff;
  transition: 0.3s ease-in-out;
  }
  
  .course-card\:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  }
  
  .course-card h3 {
  color: #002147;
  margin-bottom: 10px;
  font-size: 1.3rem;
  }
  
  .course-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
  }
  
  /* /\* Responsive Design \*/ 
  @media (max-width: 1000px) {
  .course-card {
  flex: 1 1 calc(45% - 40px);
  }
  #courses-h1{
    font-size: 5rem;
  }
  }
  
  @media (max-width: 600px) {
  .course-card {
  flex: 1 1 100%;
  }
  .section-title {
  font-size: 2rem;
  }
  }  

  /* header */
.contact-header{
  min-height: 70vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7));
  color: #000;
  background-position: center;
  background-size: cover;
  position: relative;
}

.contact-header h1{
  margin-top:7rem;
}
.contact-section {
  padding: 50px;
  background-color: #f9f9f9;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.contact-form, .contact-info {
  flex: 1 1 45%;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-form h2, .contact-info h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-form{
  padding: 50px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button {
  padding: 12px 25px;
  background-color:#f44336;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.contact-info p {
  margin: 15px 0;
  font-size: 16px;
}

.contact-info i {
  margin-right: 10px;
  color: #f44336;
}

.social-media {
  margin-top: 30px;
}

.social-media h3 {
  margin-bottom: 10px;
}

.social-media a {
  margin-right: 10px;
  font-size: 20px;
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.social-media a:hover {
  color: #0056b3;
}

.map-container {
  margin-top: 30px;
}

.map-container h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 10px;
}


/* Responsive */
@media (max-width: 768px) {
  .container {
    place-self: center;
    flex-direction: column;
  }

  .contact-form, .contact-info {
    flex: 1 1 100%;
  }
  .contact-header h1{
    font-size: 3rem;
  }
  .contact-form{
    width: 21.5rem;
  }
  .contact-section{
    margin-left:-2rem;
  }

}
/* Blog styling */


/* Blog styling */
/* Blog Container Layout */
.blog-container {
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* Blog Grid */
.blog-grid {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Blog Post Card */
.blog-post {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.blog-post h3 {
  font-size: 20px;
  color: #333;
  margin: 10px 0;
}

.blog-post p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.blog-post .read-more {
  display: inline-block;
  margin-top: 10px;
  color: #007BFF;
  text-decoration: none;
  font-weight: 500;
}

.blog-post .read-more:hover {
  text-decoration: underline;
}

/* Sidebar */
/* General Container */
.blog-container {
  padding: 40px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Grid Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Blog Card */
.blog-post {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image */
.blog-post img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
}

/* Blog Content */
.blog-post h3 {
  font-size: 1.4rem;
  margin: 16px 20px 10px;
  color: #333;
}

.blog-post p {
  margin: 0 20px 16px;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Button */
.read-more-btn {
  display: block;
  margin: 0 20px 20px;
  padding: 10px 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #0056b3;
}

/* Responsive Tweaks (Optional) */
@media (max-width: 600px) {
  .blog-post h3 {
    font-size: 1.2rem;
  }

  .read-more-btn {
    width: 80%;
    text-align: center;
  }
}

.page-popup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  overflow: hidden;
  padding: 10px; /* Add some padding for mobile */
}

.popup-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%; /* no bigger than viewport */
}

.popup-content img {
  max-width: 100%;
  height: auto;
  max-height: 90vh; /* default max height for desktop */
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
  display: block;
  margin: 0 auto;
}

/* Close button on top right corner of image */
.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  user-select: none;
  transition: background-color 0.3s;
}

.close-btn:hover {
  background: rgba(255,255,255,0.7);
  color: black;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .popup-content img {
    max-height: 60vh; /* smaller height on mobile */
    max-width: 90vw;
  }

  /* Slightly smaller close button on mobile */
  .close-btn {
    font-size: 24px;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
}

/* WhatsApp *//* WhatsApp Floating Button */
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background-color: #1ebd5a;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.whatsapp-text {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

/* Responsive: On very small screens, hide the text and only show the icon */
@media (max-width: 480px) {
  .whatsapp-float {
    padding: 12px;
    border-radius: 50%;
  }

  .whatsapp-float .whatsapp-text {
    display: none;
  }

  .whatsapp-float img {
    margin: 0;
  }
}

/*  Careers Page */
