* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: white;
}
/*! navbar start */
.logo-img {
  height: 70px;
  margin-left: 120px;
}
@media (max-width: 768px) {
  .logo-img {
    height: 40px;
    margin-left: 10px;
  }
}
/* !navbar end */

/* Section 1 start */
.arrow-img-first {
  height: 120px !important;
  width: auto;
}
.ireland-font {
  font-size: 200px;
}
/* iBrand font */
@font-face {
  font-family: "iBrand";
  src: url("ibrand.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
.translate-middle-xx {
  transform: translateY(-10%) !important;
}
h1,
.dot {
  font-family: "iBrand", sans-serif;
}
.study-title {
  margin-bottom: 0px !important;
}
.study-title span:first-child {
  color: orangered;
  font-size: 90px;
}
.custom-image-first {
  height: 78vh !important;
  width: 100%;
  object-fit: contain;
}
/* Mobile up to 768px */
@media (max-width: 768px) {
  .study-title span:first-child {
    font-size: 50px;
  }

  .study-title img {
    height: 50px !important;
  }

  .ireland-font {
    font-size: 90px;
  }

  .custom-image-first {
    object-fit: cover;
  }
}
/* Tablet & Small Desktop (769px–1200px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .study-title span:first-child {
    font-size: 70px;
  }

  .ireland-font {
    font-size: 140px;
  }

  .custom-image-first {
    height: 90% !important;
    object-fit: cover;
  }
}

/* Large Desktop (≥1201px) */
@media (min-width: 1201px) {
  .study-title span:first-child {
    font-size: 90px;
  }

  .ireland-font {
    font-size: 200px;
  }

  .custom-image-first {
    height: 90% !important;
    object-fit: contain;
  }
}
/* !1st section end */

/* !SECTION 2ND START */

.overlay-cards {
  position: relative;
  top: -100px;
  height: auto;
}
.overlay-cards .custom-drop-shadow img {
  width: 100%;
  height: auto;
  min-height: 120px;
  border-radius: 8px;
}
.responsive-para {
  text-align: left;
  font-size: 1.1rem;
}
.hr-line-whychooseus {
  height: 1px;
  width: 50%;
  background-color: black;
  margin-bottom: 40px;
}
.h3-responsive {
  font-size: 1.7rem;
  padding: 0;
}
.rounded-bottom-custom {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.custom-drop-shadow {
  filter: drop-shadow(0px 8px 4px lightgrey);
}
/* Smooth transition for overlay cards */
.custom-drop-shadow {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.custom-drop-shadow:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* Mobile screens (up to 425px) */
@media (max-width: 425px) {
  .overlay-cards .custom-drop-shadow img {
    min-height: 160px;
    object-fit: contain;
  }

  .h3-responsive {
    font-size: 0.7rem;
    line-height: 1rem;
    text-align: start;
    padding: 1px;
  }

  .overlay-cards {
    top: -50px;
  }

  .responsive-para {
    text-align: justify;
    font-size: 1rem;
  }
}
/* Tablet screens (426px–1024px) */
@media (min-width: 425px) and (max-width: 1024px) {
  .overlay-cards {
    top: -120px;
    z-index: 20;
    position: relative;
  }

  .overlay-cards .custom-drop-shadow img {
    min-height: 200px;
    object-fit: contain;
  }

  .h3-responsive {
    font-size: 1.2rem;
    line-height: 1.4rem;
  }
}
/* !SECTION 2ND END */

/* !3rd sction start */
.row.gx-0 {
  height: 400px;
}
.my-success-dark {
  background-image: url(./images/BG.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
}
/* Mobile styles */
@media (max-width: 576px) {
  .my-success-dark {
    background-image: none;
    background-color: #034124;
  }
  .row.gx-0 {
    height: 500px;
  }
  .mobile-text-center {
    text-align: start !important;
    margin-top: 60px !important;
  }
  .mobile-text-center h2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .mobile-text-center p {
    margin-top: 0 !important;
    text-align: start !important;
  }
  .text-button-stack {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.75rem;
    margin-top: -40px;
  }
  .text-button-stack button {
    white-space: normal;
    max-width: 200px;
    text-align: center;
    line-height: 1.2;
  }
  .col-12.col-md-4 img.d-block.d-md-none {
    min-height: 200px;
    transform: translateY(60px);
    bottom: 60px !important;
  }
}
@media (min-width: 420px) and (max-width: 430px) {
  .col-12.col-md-4 img.d-block.d-md-none {
    max-height: 250px !important;
    min-height: 250px !important;
    transform: translateY(60px) !important;
    object-fit: contain !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .height-section {
    height: 100vh !important;
    margin-top: 0 !important;
  }
  .my-success-dark {
    height: auto !important;
    background-size: cover;
    background-position: center;
  }
  .row.gx-0 {
    height: auto !important;
    align-items: center;
  }
  .col-12.col-md-4 img.d-none.d-md-block {
    max-height: 337px !important;
    margin-left: 0 !important;
    transform: none !important;
    object-fit: contain;
    margin-top: -68px;
  }
  .col-12.col-md-8 {
    padding: 4rem 3rem !important;
  }
  .mobile-text-center {
    margin-left: 20px !important;
  }
  .text-button-stack {
    width: 100% !important;
    margin-bottom: 20px;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 !important;
    gap: 0 !important;
    margin-left: 0px !important;
  }
  .text-button-stack p,
  .text-button-stack button {
    margin: 0 !important;
    align-self: flex-start !important;
    margin-bottom: 10px !important;
  }
  .custom-margin-nine {
    margin-top: 0 !important;
  }
}
/* !3rd sction ends */

/* !4th section */
.section-content {
  height: auto;
  overflow: visible;
  padding: 5rem;
}
.custom-col {
  height: auto;
}
.img-shadow {
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.2));
  border-radius: 10px; /* optional to match rounded corners */
}
.custom-top-fourth {
  margin-top: 100px;
}
.custom-para-fourth {
  color: rgb(37, 51, 51);
  font-size: 15px;
  text-align: justify;
  font-weight: 500;
}
.fixed-overlay {
  height: auto;
}
.custom-card-overlay {
  width: 100% !important;
  padding: 1rem;
  position: absolute;
  top: 20% !important;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  height: 70%;
  color: white;
  text-align: center;
}
.custom-height-fourth {
  height: auto;
}
.custom-hr-fourth {
  border: none; /* remove default HR border */
  height: 1px; /* set thickness */
  background-color: gray; /* color */
  margin-left: 20px !important;
  width: 50% !important;
}
.custom-drop-shadow .text-truncate-para {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* show only 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carousel-inner .carousel-item img {
  height: 350px; /* mobile card height */
  object-fit: cover;
}
.custom-top-fourth .btn.apply-now-btn {
  white-space: nowrap; /* prevent text wrap */
  overflow: hidden;
  text-overflow: ellipsis; /* optional, in case text overflows */
  max-width: 80%;
  font-size: 0.9rem; /* adjust font size for small screens */
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}
.square-btn {
  width: 50px;
  height: 50px;
  padding: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #fff;
}
.custom-col .position-relative {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Hover effect */
.custom-col:hover .position-relative {
  transform: translateY(-10px);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

@media(max-width:1024px) {
  .custom-height-fourth {
    min-height: 600px;
    height: auto;     
    max-height: none;
}
  .custom-col {
    height:auto;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .custom-col img{
    height: 290px;
    width: 100%;
  }
  /* .section-content h1 {
    font-size: 42px;
    line-height: 1.3;
  } */
  .section-content h1 img {
    height: 35px !important;
    max-width: 60% !important;
  }
  .custom-top-fourth {
    margin-top: 10px;
  }
  /* Card content */
 .section-content .custom-card-overlay h5 {
  font-size: 20px !important;
  line-height: 1.3;
  font-weight: 500;
}

  .section-content {
    padding: 1rem;
  }
  .card-row {
    width: 100%;
  }
  .fixed-overlay {
    height: auto;
  }
  .custom-top-fourth .btn {
    max-width: 160px;
    width: 100%;
    font-size: 0.7rem;
  }
  .custom-card-overlay {
    top: 10% !important;
    width: 100% !important;
    padding: 0.5rem;
  }
  /* .section-content .custom-card-overlay  p {
    font-size:10px !important;
    line-height:1.1rem;
   padding: 10px;
   margin-left: 20px;
  } */
  .section-content h5 {
    text-align: center;
    font-size: 0.73rem !important;
    margin-top: 2px;
  }

  .custom-para-fourth .btn {
    font-size: 10px;
  }
  .custom-top-fourth .btn.apply-now-btn {
    white-space: nowrap;
    font-size: 0.75rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    width: 100% !important;
  }
  .custom-card-overlay .custom-height-fourth {
    display: none !important;
  }

  .custom-card-overlay p {
    margin-top: 2px !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
  }
}
/* Mobile-specific overlay centering */
@media (max-width: 767px) {
  .custom-height-fourth {
    height: 650px !important;
  }
  /* Carousel item */
  .carousel-inner .carousel-item img {
    height: 350px;
    object-fit: contain;
    border-radius: 10px;
  }

  /* Overlay */
  .carousel-inner .carousel-item .custom-card-overlay {
    position: absolute !important;
    top: 10%; /* near top of card */
    left: 50%;
    transform: translateX(-50%) !important;
    width: 75% !important; /* same as desktop overlay */
    height: 80% !important;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* heading on top */
    text-align: left; /* left aligned like desktop */
    padding: 0.5rem 1rem;
    border-radius: 10px;
    z-index: 2;
    margin-top: 15px !important;
  }

  .carousel-inner .carousel-item .custom-card-overlay h5 {
    font-size: 20px !important;
    margin-bottom: 0.1rem;
  }

  .carousel-inner .carousel-item .custom-card-overlay p {
    font-size: 15px !important;
    line-height: 1.5;
    margin-top: 30px !important;
    text-align: justify;
  }

  /* Peek effect */
  .carousel-inner {
    overflow: visible;
  }
  .carousel-item {
    padding-right: 15px; /* shows a peek of next card */
  }
  #irelandCarousel {
    overflow: visible !important;
  }
}
/* Extra small devices (≤320px) */
@media (max-width: 320px) {
  .custom-height-fourth {
    height: 290px !important;
  }
  .carousel-inner .carousel-item .custom-card-overlay {
    width: 80% !important; /* more horizontal space */
    height: 70% !important; /* let height fit content */
    padding: 0.3rem 0.5rem !important; /* reduce padding */
    top: 10% !important;
  }
  .carousel-inner .carousel-item .custom-card-overlay h5 {
    font-size: 15px !important; /* smaller heading */
    line-height: 1.2 !important;
  }

  .carousel-inner .carousel-item .custom-card-overlay p {
    font-size: 13px !important; /* smaller paragraph */
    line-height: 1.3 !important;
    margin-top: 0.3rem !important;
    margin-top: 20px !important;
  }

  .custom-top-fourth .btn.apply-now-btn {
    font-size: 0.9rem !important; /* smaller button text */
    padding: 0.3rem 0.5rem !important;
    width: 100% !important;
    white-space: normal; /* allow text wrap */
  }

  .carousel-inner .carousel-item img {
    height: 300px !important; /* slightly smaller image */
  }
}
.custom-card-overlay .custom-height-fourth {
  display: none !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .custom-height-fourth {
    height: 760px !important;
    border:  1px solid lightblue;
  }

  #irelandCarouselTablet .carousel-inner {
    height: 430px !important;
    padding: 20px;              /* space inside carousel */
  }

  #irelandCarouselTablet .col-6 {
    height: 400px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;              /* equal inner padding */
  }

  .custom-col {
    width: 100% !important;
    height: 100% !important;
    position: relative;
    padding: 2px;
    margin: 5px;                /* margin around each card */
    border-radius: 12px;        /* optional rounded look */
    overflow: hidden;
  }

  .custom-col img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain;
  }

  /* Overlay */
  .custom-card-overlay {
    position: absolute !important;
    top: 10% !important;
    left: 50%;
    transform: translateX(-50%);
    width: 85% !important;
    padding: 0.8rem;
    border-radius: 10px;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    z-index: 2;
    color: black;
  }

  .custom-card-overlay h5 {
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    margin-left: 80px !important;
    text-align: justify;
  }

  .custom-card-overlay p {
    font-size: 17px !important;
    line-height: 1.5;
    margin-top: 0.5rem !important;
    text-align: justify;
    padding: 5px;
  }

  .custom-card-overlay hr {
    margin-left: 90px !important ;
    width: 30% !important;
  }
}
/* !4th section ends */

/*! 5th section starts*/
.custom-margin-top {
  margin-top: 70px !important;
}
.custom-pill-sm {
  border-radius: 0.25rem;
  width: 100%;
  padding: 1rem 1rem;
  font-size: 1rem;
}
/* Smooth sliding effect */
.carousel-item {
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out !important;
}
/* Optional: make buttons look smoother when appearing */
.carousel .btn {
  transition: all 0.4s ease-in-out;
}
.carousel .btn:hover {
  transform: scale(1.02);
}
/* White background buttons */
.btn-white {
  background-color: #fff !important;
  border: 2px solid #198754; /* Green border */
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}
/* Green icons inside */
.btn-white i {
  color: #198754 !important;
  font-size: 1.2rem;
}
/* Hover effect */
.btn-white:hover {
  background-color: #198754 !important;
}
.btn-white:hover i {
  color: #fff !important;
}
@media (max-width: 324px) {
 #buttonCarousel .btn-success {
  height: 70px;             
  padding: 0.3rem 1.2rem !important; 
  font-size: 0.75rem !important;     
  display: flex;
  align-items: center;
  justify-content: flex-start;       
}
#buttonCarousel .btn-success span {
  font-size: 0.95rem !important; 
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
  #buttonCarousel img {
    width: 32px !important; 
    height: 32px !important;
  }
  #buttonCarousel .d-flex.justify-content-center {
    gap: 0.25rem !important;
  }
}
@media (max-width: 767px) {
  .custom-margin-top {
    margin-top: 1px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .custom-up {
    margin-top: -30px;
  }

  .custom-pill-sm {
    border-radius: 50px !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
    width: 100% !important;
    font-size: 0.85rem !important;
  }

  .custom-pill-sm img {
    width: 35px !important;
    height: 35px !important;
    padding: 3px !important;
  }

  .carousel .btn:hover {
    transform: none;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {

  .col-md-6.position-relative > .position-absolute {
    background-image: url('./images/Rectangle.png') !important;
    background-size: contain !important;
    background-position: center !important;
  }
  /* Adjust section container */
  .custom-margin-top {
    margin-top: 10px !important;
    padding: 0.8rem 1rem !important;
    min-height: 270px !important;
    overflow: hidden;
  }

  /* Heading fix */
  .custom-margin-top h3 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.8rem !important;
    margin-top: 15px !important;
    margin-left: 20px !important;   /* ✅ push heading inside */
  }

  .custom-margin-top h3 span {
    font-size: 1.7rem !important;
  }
   .custom-margin-top h3 img {
    max-height: 10px !important;   /* keeps image small */
    width: auto !important;        /* maintains aspect ratio */
    margin-left: 5px;              /* ensures it doesn’t touch the edge */
  }
  /* Carousel buttons */
  #buttonCarousel .btn {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.8rem !important;
  }

  #buttonCarousel img {
    width: 32px !important;
    height: 32px !important;
  }

  /* Keep carousel items tighter */
  #buttonCarousel .carousel-inner {
    margin-top: 0.2rem !important;
  }

  /* Background image fix */
  .col-md-6.position-relative > .position-absolute {
    background-size: contain !important;
  }
}
/*! 5th section ends*/

/* !6th section start */
.background {
  height: 100%;
  width: 100%;
  margin-top: 0 !important;
  padding-top: 1px;
}
.background > .heading_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
}
.swiper {
  width: 70%;
  height: auto !important;
  padding: 40px 0 60px;
}
.swiper-slide {
  height: 100%;
  width: 360px !important;
  margin-top: 5px;
  transition: filter 0.4s ease, opacity 0.4s ease;
  filter: blur(1.5px);
  opacity: 0.5;
}
.swiper-slide {
  height: 100%;
  width: 360px !important; /* good */
  margin-top: 5px;
  transition: filter 0.4s ease, opacity 0.4s ease;
  filter: blur(1.5px);
  opacity: 0.5;

  display: flex; /* 🔑 Center content inside */
  justify-content: center; /* 🔑 */
  align-items: center; /* 🔑 */
}
.swiper-slide-active {
  filter: blur(0px) !important;
  opacity: 1;
}
.swiper-slide .card {
  height:95%;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-bottom: 1px solid black;
  width: 100% !important;
}
.card-img-top {
  height: 300px;
  width: 100%;
  object-fit: cover;
}
.card-mid-text {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
}
.card-mid-text > img {
  height: 60px;
  width: 20%;
  border: 1px solid lightgrey;
  padding: 5px;
  border-radius: 10px;
}
.card-text {
  font-size: 20px !important;
  font-weight: 300;
}
.card-mid-text > .card-text {
  font-size: 10px;
  text-align: justify;
  text-shadow: none;
}
.card-bottom-text {
  height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-bottom-text > .card-btn {
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid lightgrey;
  padding: 5px 40px;
  text-align: center;
  font-size: 20px;
  margin-left: 10px;
  color: black;
  width: auto;
  border: 1px solid #198754;
    transition: all 0.3s ease;
}
.card-bottom-text > .card-btn:hover {
  background-color: #198754 !important; 
  color: white !important;             
  border-color: #198754;               
  cursor: pointer;
  border: 1px solid white;
}

.card-bottom-text > img {
  height: 90px;
  padding: 5px;
}
.swiper-wrapper-container {
  position: relative;
  width: 100%;
}
.custom-prev,
.custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 5px 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}
.custom-prev {
  left: 20px;
}
.custom-prev .bi {
  height: 50px;
}
.custom-next {
  right: 20px;
}
.last-link {
  height: 50px;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  justify-content: center;
  padding: 10px;
  color: white;
}
.last-link > a {
  color: white;
  text-decoration: none;
  border-radius: 20px;
  padding: 15px 80px;
  text-transform: capitalize;
  font-size: 17px;
}
.last-link > a:hover {
  background-color: rgb(64, 99, 64) !important;
  cursor: pointer;
}
.swiper-pagination {
  display: none !important;
}
@media (max-width: 767.98px) {
  .heading_text h1 {
    font-size: 1.5rem !important;
  }
  img[src="./images/lines_topsrc.png"] {
    width: 120px !important;
    height: auto !important;
  }
  .swiper {
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
    padding-bottom: 30px !important;
  }
  .swiper-wrapper{
    height: 400px !important;
  }
  .swiper-slide .card {
    height: 100% !important;
    padding: 0px;
    width: 95% !important;
    margin: 0 auto;
  }
  .card-img-top {
    height: 70% !important;
  }
  .card-mid-text > img {
    height: 60px !important;
    width: 60px !important;
    margin: 0 !important  ;
  }
  .card-mid-text > .card-text {
    font-size: 1.2rem !important;
    margin-right: 3px !important;
  }
  .custom-prev,
  .custom-next {
    display: none !important;
  }
  .swiper-pagination {
    display: block !important;
    margin-top: 15px;
  }
  .last-link {
    margin-top: 20px !important;
  }
  .card-bottom-text {
    padding: 0 13px;
    justify-content: space-between;
  }

  .card-bottom-text > .card-btn {
    padding: 5px 20px !important;
  }
  .card-mid-text {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }
  .last-link > a {
    border-radius: 20px;
    padding: 10px 40px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .heading_text h1 {
    font-size: 2rem !important;
  }
  .swiper {
    width: 85% !important;
    height: auto !important;
    margin: 30px auto !important;
  }
  .swiper-slide .card {
    height: 390px !important;
  }
  .swiper-slide .card > img {
    height: 200px !important;
  }
  .card-img-top {
    height: 100px !important;
  }
  .card-mid-text > img {
    height: 60px !important;
    width: 60px !important;
  }
  .card-mid-text > .card-text {
    font-size: 1.3rem !important;
  }
  .card-bottom-text {
    margin-bottom: 30px !important;
  }
  .card-bottom-text > .card-btn {
    font-size: 0.8rem !important;
    padding: 4px 15px !important;
  }
}
/* !6th section ends--> */

/* !7th section start--> */
/* General carousel card adjustments */
.guidence-hover {
  height: 160px; /* desktop height */
}
/* Icon size */
.custom-icon-height {
  height: 60px !important;
}
/* Card heading */
.guidence-hover h5 {
  text-align: center;
  margin-left: 50px !important;
  font-size: 20px;
}
/* Card paragraph */
.guidence-hover p {
  color: rgb(37, 51, 51);
  font-size: 15px;
  text-align: justify;
  font-weight: 500;
  margin-left: 15% !important;
}
/* Card hover */
.guidence-hover:hover {
  background-color: aliceblue;
  cursor: pointer;
}
.guidence-hover hr {
  margin-left: 17% !important;
  width: 30% !important;
}
/* Rounded corners */
.custom-rounded {
  border-radius: 15px !important;
}
/* Carousel smooth transition */
#guidanceCarousel .carousel-item {
  transition: transform 1s ease-in-out, opacity 0.8s ease-in-out;
}
/* Stack cards vertically */
#guidanceCarousel .carousel-item-next,
#guidanceCarousel .carousel-item-prev,
#guidanceCarousel .carousel-item.active {
  display: flex !important;
  flex-direction: column;
}
.custom-icon-height {
  position: absolute;
  top: 0;
  left: 12px;
  height: 60px;
}
/* Heading text */
.heading-text {
  line-height: 1.2;
  text-align: start;
}

/* Top line: Expert Guidance + Arrow */
.heading-text .top-line {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 120px !important;
}

.heading-text .top-line span {
  font-size: clamp(20px, 5vw, 40px); /* responsive font size */
  font-weight: bold;
  color: orangered;
}

.heading-text .arrow-img {
  height: clamp(25px, 5vw, 50px); /* responsive arrow size */
  width: auto;
  margin-left: 5px;
}

/* Bottom line: line/star image + For Admission */
.heading-text .bottom-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2px;
}

.heading-text .bottom-line span {
  font-size: clamp(40px, 4vw, 32px); /* responsive font size */
  font-weight: bold;
}

.heading-text .line-img {
  width: 35%;
  height: auto;
  margin-right: 5px;
}

/* ===================== Fix for exactly 320px screens ===================== */
@media only screen and (max-width: 324px) {

  /* Reduce heading top/bottom margins */
  .heading-text {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }

  .heading-text .top-line,
  .heading-text .bottom-line {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Top-line flex-wrap */
  .heading-text .top-line {
    flex-wrap: wrap;
  }

  .heading-text .top-line span {
    font-size: 27px !important; 
    margin-top: 0;
  }

  .heading-text .arrow-img {
    height: 20px; 
    margin-left: 3px;
  }

  .heading-text .bottom-line span {
    font-size: 30px; 
  }

  .heading-text .line-img {
    width: 40%;
  }

  /* Keep previous carousel fixes */
  .guidence-hover {
    position: relative !important;
    height: 100%;
  }

  .guidence-hover .custom-icon-height {
    position: absolute !important;
    top: -126px;
    left: 10px;
    height: 50px !important;
    width: 50px !important;
  }

  .guidence-hover h5 {
    font-size: 14px !important;
    margin-left: 45px !important;
    text-align: start !important;
  }

  .guidence-hover hr {
    width: 40% !important;
    margin-left: 45px !important;
  }

  .guidence-hover p {
    font-size: 12px !important;
    margin-left: 45px !important;
    padding-left: 0 !important;
    text-align: start !important;
  }

  #guidanceCarousel .carousel-inner {
    height: 550px !important;
  }

  #guidanceCarousel .carousel-item {
    height:100% !important;
  }
}
@media (max-width: 767px) {
 .heading-text .top-line {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 12px !important;
}
   #guidence-crausel .carousel-item {
    height: 450px !important; /* increase height for small screens */
  }
  /* Icon/image */
  .custom-icon-height {
    height: 40px !important;
  }
  .right-content {
    background-image: none !important;
  }
  #guidanceCarousel .carousel-card {
    height: 170px; /* adjust as needed */
  }
     .heading-text .top-line span {
    font-size: 30px; 
    margin-top: 0;
  }
  /* Card headings */
  .guidence-hover h5 {
    font-size: 16px !important;
    margin-left: 20px !important;
    text-align: start !important;
  }

  /* Card paragraph */
  .guidence-hover p {
    font-size: 12px !important;
    margin-left: 10px !important;
    text-align: justify !important;
  }

  .guidence-hover hr {
    margin-left: 28% !important;
  }

  /* Carousel padding to expand item width */
  #guidanceCarousel {
    padding: 0.5rem !important;
  }

  /* Make cards occupy more width */
  .guidence-hover {
    width: 100% !important;
  }

  /* Optional: reduce overall card height on small screens */
  .guidence-hover {
    height: auto !important;
  }
}
/* ===================== Tablets & small desktops (768px - 1024px) ===================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Heading adjustments */
  .heading-text {
    width: 100% !important;
    text-align:center !important;
    margin-bottom: 15px !important;
  }

  .heading-text .top-line span {
    font-size: 40px !important; /* smaller than desktop, smaller than 767px heading */
    margin-top: 0;
    margin-top:-126px !important ;
    margin-left: 180px !important;
  }

  .heading-text .arrow-img {
    height: 25px !important;
    margin-left: 5px;
    margin-top:-126px !important ;

  }

  .heading-text .bottom-line span {
    font-size: 40px !important;
    margin-top:-40px !important ;

  }

  .heading-text .line-img {
    width: 30% !important;
    margin-top:-40px !important ;
    margin-left: 100px !important;
  
  }

  /* Remove background image from right content */
  .right-content {
    background-image: none !important;
  }

  /* Carousel adjustments - same as your 0-767px media query */
  #guidanceCarousel .carousel-item {
    height: 430px !important; /* same as small screens */
    flex-direction: column !important;
  }

  .custom-icon-height {
    height: 50px !important;
  }

  #guidanceCarousel .carousel-card {
    height: 130px !important; /* same as small screens */
  }

  .guidence-hover {
    width: 100% !important;
    height: auto !important;
  }

  .guidence-hover h5 {
    font-size: 25px !important;
    margin-left: 20px !important;
    text-align: start !important;
  }

  .guidence-hover p {
    font-size: 17px !important;
    margin-left: 10px !important;
    text-align: justify !important;
  }

  .guidence-hover hr {
    margin-left: 12% !important;
  }

  #guidanceCarousel {
    padding: 0.5rem !important;
  }
    .col-12.col-md-5.d-none.d-md-flex img {
    width: 100% !important;
    height: 100% !important; /* match right carousel height */
    object-fit: contain;
    transform: none !important;
  }

   
}


/* !7th section ends--> */

/* !8th section start */
.carousel-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.carousel-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}
.carousel-btns button {
  min-width: 50px;
}
.hero-testimonial {
  min-height: 100vh;
  padding: 5rem;
}
.section-heading {
  margin-top: 90px !important;
}
.carousel-item img {
  transition: transform 1s ease-in-out;
}
.carousel-item.active img {
  border-radius: 10px;
}
.span-orange {
  color: orangered;
}
.card-img-fixed {
  width: 100%;
  height: 310px !important;   /* set your preferred fixed height */
  object-fit: cover;
}
.card {
  height: 100%; /* ensures card stretches equally */
}

/* Small screens adjustments for testimonials */
@media (max-width: 426px) {
  .hero-testimonial {
    min-height: auto !important;
    padding: 0rem 1rem !important;
    width: 100% !important;
    background-image: none !important;
  }
  .section-heading {
    font-size: 1.8rem;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    margin-left: 18px !important;
  }
  .hero-testimonial img {
    margin-left: 18px !important;
  }
  /* Carousel adjustments */
  #studentCarouselSm .carousel-inner,
  #studentCarouselSm .carousel-item {
    min-height: 270px !important; /* Reduce card height */
    height: auto !important;
  }
  /* Card adjustments */
  #studentCarouselSm .card {
    min-height: 520px !important; /* Adjust height */
    max-height: 520px !important;
  }
  #studentCarouselSm .card .col-md-4 img {
    height: 210px !important; /* Reduce student image size */
    width: 190px !important;
    object-fit: cover;
    border-radius: 10px;
    margin-left: 20px;
    margin-top: 10px;
  }
  #studentCarouselSm .card .col-md-8 {
    padding: 1rem !important;
  }
  #studentCarouselSm .card img[alt="DCU Logo"] {
    margin-top: 10px;
    margin-bottom: 25px !important;
    height: 60px !important;
  }
  
  /* Text adjustments */
  #studentCarouselSm .card h5 {
    font-size: 14px !important;
  }
  #studentCarouselSm .card p {
    font-size: 12px !important;
  }
  #studentCarouselSm .read-more {
    font-size: 12px !important;
  }
  /* Carousel buttons spacing */
  #studentCarouselSm .carousel-btns {
    gap: 1rem !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-testimonial{
    background:none !important;
  }
  .section-heading {
    margin-top: 0 !important;
  }
  #studentCarouselSm .card .col-md-4 img {
    height: 90% !important;
    width: 80% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    margin-left: 15px !important;
    margin-top: 15px !important;
  }

  #studentCarouselSm .card {
    min-height: 270px !important;
    max-height: 270px !important;
    width: 90% !important;
  }

  #studentCarouselSm .card p,
  #studentCarouselSm .card h5,
  #studentCarouselSm .read-more {
    font-size: 15px !important;
  }

  #studentCarouselSm .card .col-md-8 {
    padding: 1rem !important;
  }

  #studentCarouselSm .card img[alt="DCU Logo"] {
    height: 60px !important;
  }
}
/* Equal card height on exactly 1024px screens */
@media (min-width: 1024px) and (max-width: 1024px) {
  #studentCarouselLg .carousel-item .card {
    height: 100% !important;
    min-height: 270px !important;
    display: flex;
    flex-direction: column;
  }
  #studentCarouselLg .carousel-item .card img {
    height: 80% !important;
    width: 80% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    margin-left: 15px !important;
    margin-top: 15px !important;
  }
  #studentCarouselLg .carousel-item .row {
    align-items: stretch !important;
  }
  #studentCarouselLg .carousel-item img[alt="DCU Logo"] {
    height: 30px !important; /* smaller height */
    width: auto !important; /* keep aspect ratio */
  }
}
/* !8th section ends */
/* !9th section start */
.row.align-items-center {
  height: 100%;
}
.custom-margin-nine {
  margin-top: 100px !important;
}
@media (max-width: 767px) {
  .col-12.col-md-8 {
    text-align: start !important;
  }
  /*reduce heading font size on small screens */
  .col-12.col-md-8 h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  /* Button alignment same as text */
  .col-12.col-md-8 .d-flex {
    justify-content: start !important;
  }
  .custom-margin-nine {
    margin-top: 10px !important;
  }
  .custom-bg {
    background-image: url(./images/BG_Mobile.png);
  }
}
/* Tablet screens: 768px - 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Section adjustments */
  .my-success-dark {
    height: auto !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .custom-margin-nine {
    margin-top: 30 !important;
  }
  /* Row adjustments */
  .row.gx-0 {
    height: auto !important;
    align-items: center !important;
    padding: 0 !important;
  }
  /* Image column adjustments */
  .col-12.col-md-5 img.d-none.d-md-block {
    max-height: 390px !important;
    margin-left: 0 !important;
    transform: none !important;
    object-fit: contain !important;
    margin-top: -68px !important;
  }
  /* Mobile image adjustments */
  .col-12.col-md-5 img.d-md-none {
    max-height: 200px !important;
    object-fit: contain !important;
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin: 0 auto !important;
  }
  /* Text column adjustments */
  .col-12.col-md-7 {
    padding-top: 20px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: start !important;
  }

  /* Heading adjustments */
  .col-12.col-md-7 h2 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    margin-top: 1rem !important;
  }
  /* Button adjustments */
  .col-12.col-md-7 .d-flex {
    justify-content: flex-start !important;
  }
  .col-12.col-md-7 button.btn {
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    font-size: 14px !important;
    margin-top: 0px !important;
    margin-bottom: 40px !important;
  }
  /* Optional: stack text and button vertically */
  .text-button-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
/* !end */

/* !footer start */
.links-column::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #ffffff70;
}
/* Mobile responsive footer */
@media (max-width: 767px) {
  .links-column::before {
    display: none;
  }
  .footer-logo-col {
    width: 100%;
    text-align: center !important;
    margin-bottom: 1rem;
  }
  .footer-links-col {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-bottom: 1rem;
  }
  /* Vertical separator between links */
  .footer-links-col span.separator {
    display: inline-block;
    border-left: 1px solid #fff;
    height: 16px;
    margin: 0 0.5rem;
  }
  /* Horizontal line above links row */
  .footer-links-hr-top {
    display: block;
    width: 100%;
    border-top: 1px solid #fff;
    margin: 0.5rem 0;
  }
}
/* !footer ends */
