
.hero-slider {
  position: relative;
  height: 650px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
  transition: all 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  color: #fff;
}

.hero-subtitle {
  display: inline-block;
  margin-bottom: 15px;
  color: #e5a12a;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-title {
  color: #fff;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-description {
  color: #fff;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
}


.hero-section{
    position:relative;
}

.hero-slider{
    position:relative;
    width:100%;
    min-height:650px;
}

.hero-slide{
    width:100%;
    height:650px;
}

.hero-slide .container{
    height:100%;
    display:flex;
    align-items:center;
}

.hero-content{
    padding-top:0;
}

/* companies section */
.companies-section {
  padding: 38px 0 46px;
  background: var(--color-page-bg);
}

.companies-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
  color: #073b73;
  text-align: center;
}

.companies-heading h2 {
  margin: 0;
  color: #073b73;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

.companies-heading__line {
  width: 44px;
  height: 2px;
  background: #e5a12a;
}

.companies-heading__plane {
  color: #e5a12a;
  font-size: 22px;
  line-height: 1;
}

.company-card {
  position: relative;
  height: 100%;
  min-height: 348px;
  padding: 54px 42px 30px;
  overflow: visible;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(7, 59, 115, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(7, 59, 115, 0.18);
}

.company-logo {
  position: absolute;
  top: -42px;
  left: 50%;
  width: 92px;
  height: 64px;
  transform: translateX(-50%);
  overflow: hidden;
}

.company-logo img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.company-card h3 {
  margin: 0 0 14px;
  color: #073b73;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.card-tagline {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.company-features {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 0;
  color: #24384c;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
  text-align: left;
}

.company-features li {
  position: relative;
  padding-left: 26px;
}

.company-features li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  content: "✓";
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  align-self: center;
  margin-top: auto;
  padding: 10px 20px;
  background: #eef1f5;
  border: 2px solid currentColor;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.education-card .card-tagline,
.education-card .card-btn {
  color: #4fae55;
}

.education-card .company-features li::before {
  background: #63bd68;
}

.travel-card .card-tagline,
.travel-card .card-btn {
  color: #e89422;
}

.travel-card .company-features li::before {
  background: #f0a137;
}

.visa-card .card-tagline,
.visa-card .card-btn {
  color: #2989cf;
}

.visa-card .company-features li::before {
  background: #70b7e8;
}

@media (max-width: 991px) {
  .companies-section {
    padding-top: 58px;
  }

  .company-card {
    min-height: 330px;
  }
}

@media (max-width: 575px) {
  .companies-heading {
    gap: 8px;
    margin-bottom: 42px;
  }

  .companies-heading h2 {
    font-size: 23px;
  }

  .companies-heading__line {
    width: 28px;
  }

  .company-card {
    padding: 50px 24px 28px;
  }

  .company-card h3 {
    font-size: 22px;
  }
}
/* State Counter */
.stats-section{
    background:#073B73;
    padding:70px 0;
}

.stat-card{
    color:#fff;
}

.stat-card h2{
    font-size:48px;
    font-weight:700;
    color:#E5A12A;
    margin-bottom:10px;
}

.stat-card p{
    margin:0;
    font-size:18px;
    font-weight:500;
    color:#fff;
}

@media(max-width:768px){

.stat-card{
    margin-bottom:30px;
}

.stat-card h2{
    font-size:38px;
}

}
/* study in canada section */
.destinations-section{
    padding:90px 0;
    background:var(--color-page-bg);
}

.destination-card{
    height:100%;
    padding:30px;
    border:1px solid #e5e5e5;
    border-radius:10px;
    background:var(--color-card-bg);
    transition:.3s;
}

.destination-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 30px rgba(0,0,0,.08);
}

.destination-card h3{
    color:#073B73;
    margin-bottom:15px;
}

.destination-card p{
    margin:0;
    line-height:1.8;
}

.destinations-section{
padding:80px 0;
background:var(--color-page-bg);
}

.destinations-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:20px;
}

.destination-card{
position:relative;
height:280px;
overflow:hidden;
border-radius:12px;
display:block;
text-decoration:none;
}

.destination-card img{
width:100%;
height:100%;
object-fit:cover;
}

.destination-card::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
to top,
rgba(0,0,0,.8),
rgba(0,0,0,.1)
);
}

.flag{
position:absolute;
top:12px;
left:12px;
z-index:2;
}

.flag img{
width:36px;
height:36px;
border-radius:50%;
}

.destination-content{
position:absolute;
left:15px;
bottom:15px;
z-index:2;
color:#fff;
}

.destination-content span{
font-size:13px;
}

.destination-content h3{
color:#fff;
margin:0;
}

.destination-content a,
.destination-content .destination-link{
color:#fff;
text-decoration:none;
font-size:14px;
}

.view-destination-btn{
display:inline-block;
background:#073B73;
color:#fff;
padding:12px 30px;
border-radius:6px;
text-decoration:none;
}

@media(max-width:992px){
.destinations-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:576px){
.destinations-grid{
grid-template-columns:1fr;
}
}

/* why chpose us section */
.why-choose-section{
    padding:70px 0;
    background:var(--color-page-bg);
}

.why-choose-section .section-title{
    margin-bottom:40px;
}

.why-choose-section .section-title h2{
    font-size:34px;
    color:#073B73;
    font-weight:700;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
}

.why-card{
    text-align:center;
    padding:20px;
    border-right:1px solid #e5e5e5;
}

.why-card:last-child{
    border-right:none;
}

.why-card i{
    display:block;
    font-size:48px;
    color:#073B73;
    margin-bottom:15px;
}

.why-card h4{
    font-size:18px;
    line-height:1.5;
    color:#073B73;
    margin:0;
    font-weight:500;
}

@media(max-width:992px){

    .why-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .why-card{
        border:none;
    }

}

@media(max-width:576px){

    .why-grid{
        grid-template-columns:1fr;
    }

}
/* testimonials */
.testimonials-section{
    padding:80px 0;
    background:#073B73;
}

.testimonials-section .section-title h2{
    color:#fff;
}

.testimonial-card{
    background:rgba(255,255,255,.08);
    border-radius:10px;
    padding:20px;
    color:#fff;
    height:100%;
}

.testimonial-card p{
    line-height:1.8;
    margin-bottom:20px;
}

.testimonial-stars{
    color:#E5A12A;
    margin-bottom:15px;
    font-size:18px;
}

.testimonial-card h5{
    color:#ffffff;
    font-size:20px;
    margin-bottom:5px;
}

.testimonial-card span{
    opacity:.8;
    font-size:14px;
}
.testimonials-section{
    padding:70px 0;
    background:#073B73;
}

.testimonials-section .section-title h2{
    color:#fff;
}

.testimonial-card{
    background:rgba(255,255,255,.08);
    border-radius:10px;
    padding:20px;
    color:#fff;
    min-height:220px;
}

.testimonial-card p{
    line-height:1.7;
    margin-bottom:15px;
}

.testimonial-stars{
    color:#E5A12A;
    margin-bottom:15px;
}

.testimonial-user{
    display:flex;
    align-items:center;
    gap:12px;
}

.testimonial-user img{
    width:55px;
    height:55px;
    border-radius:50%;
    object-fit:cover;
}

.testimonial-user h5{
    color:#fff;
    margin-bottom:2px;
    font-size:16px;
}

.testimonial-user span{
    color:#d9d9d9;
    font-size:14px;
}

.carousel-control-prev,
.carousel-control-next{
    width:40px;
}
/* partners */
.partners-section{
    background:var(--color-page-bg);
    padding:30px 0;
    border-top:1px solid #ececec;
    border-bottom:1px solid #ececec;
}

.partners-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    align-items:center;
    gap:30px;
}

.partner-item{
    text-align:center;
}

.partner-item img{
    max-width:140px;
    max-height:60px;
    width:auto;
    height:auto;
    transition:.3s;
}

.partner-item img:hover{
    transform:scale(1.05);
}

@media(max-width:768px){

    .partners-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

}
/* Consultancy */
.consultation-section{
    position:relative;
    padding:100px 0;
    background-image:url('../../images/consultancy/consult_bg.jpg');
    background-size:cover;
    background-position:center;
    overflow:hidden;
}

.consultation-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.consultation-content{
    position:relative;
    z-index:2;
    color:#fff;
}

.consultation-content h2{
    font-size:48px;
    line-height:1.2;
    margin-bottom:20px;
    color:#fff;
}

.consultation-content p{
    font-size:20px;
    color:#fff;
}

.consultation-form{
    position:relative;
    z-index:2;
    background:var(--color-card-bg);
    padding:35px;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.consultation-form h3{
    color:#073B73;
    margin-bottom:25px;
    text-align:center;
}

.consultation-btn{
    width:100%;
    border:none;
    padding:14px;
    border-radius:6px;
    background:#E5A12A;
    color:#fff;
    font-weight:600;
}

@media(max-width:768px){

    .consultation-content{
        margin-bottom:40px;
        text-align:center;
    }

.consultation-content h2{
        font-size:34px;
    }

}

/* Final homepage alignment polish */
.home-page .container {
  max-width: 1240px;
}

.hero-slider,
.hero-slide {
  min-height: calc(100vh - 96px);
  height: auto;
  max-height: 860px;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(3, 27, 63, 0.94) 0%,
    rgba(3, 27, 63, 0.76) 38%,
    rgba(3, 27, 63, 0.2) 100%
  );
}

.hero-content {
  max-width: 620px;
  padding-right: 20px;
}

.hero-subtitle {
  margin-bottom: 12px;
  color: #e5a12a;
  font-size: 15px;
  letter-spacing: 0;
}

.hero-title {
  max-width: 610px;
  font-size: 48px;
  line-height: 1.15;
}

.hero-description {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.hero-btn-primary {
  color: #052b63;
  background: #d9a441;
}

.hero-btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

@media (max-width: 1199.98px) {
  .hero-slider,
  .hero-slide {
    min-height: 72vh;
  }

  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 991.98px) {
  .hero-slider,
  .hero-slide {
    min-height: 60vh;
  }

  .hero-content {
    max-width: 560px;
    padding-right: 0;
    padding-left: 18px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-description {
    max-width: 100%;
    font-size: 15px;
  }
}

@media (max-width: 767.98px) {
  .hero-slider,
  .hero-slide {
    min-height: 56vh;
  }

  .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-slider,
  .hero-slide {
    min-height: 52vh;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.companies-section {
  padding: 34px 0 34px;
}

.company-card {
  min-height: 318px;
  padding: 46px 36px 24px;
}

.company-features li::before {
  content: "\2713";
}

.stats-section {
  padding: 28px 0;
  background: linear-gradient(90deg, #052b63, #073b73);
}

.stat-card {
  position: relative;
  min-height: 80px;
}

.stat-card::before {
  display: block;
  margin-bottom: 6px;
  color: #d9a441;
  font-family: "bootstrap-icons";
  font-size: 34px;
  line-height: 1;
}

.stats-section .col-lg-3:nth-child(1) .stat-card::before {
  content: "\F3EE";
}

.stats-section .col-lg-3:nth-child(2) .stat-card::before {
  content: "\F4D7";
}

.stats-section .col-lg-3:nth-child(3) .stat-card::before {
  content: "\F4CF";
}

.stats-section .col-lg-3:nth-child(4) .stat-card::before {
  content: "\F52F";
}

.stat-card h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
}

.stat-card p {
  font-size: 14px;
}

.section-title {
  margin-bottom: 28px;
}

.section-title h2 {
  position: relative;
  margin: 0;
  color: #073b73;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0;
}

.section-title h2::after {
  display: block;
  width: 58px;
  height: 2px;
  margin: 10px auto 0;
  background: #d9a441;
  content: "";
}

.destinations-section {
  padding: 34px 0 46px;
}

.destinations-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.destination-card {
  height: 252px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(5, 43, 99, 0.12);
}

.flag img {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.destination-content h3 {
  font-size: 22px;
  font-weight: 800;
}

.view-destination-btn {
  padding: 10px 28px;
  background: #052b63;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
}

.why-choose-section {
  padding: 36px 0 34px;
}

.why-card {
  padding: 12px 18px;
}

.why-card i {
  margin-bottom: 10px;
  font-size: 42px;
}

.why-card h4 {
  max-width: 160px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.35;
}

.testimonials-section {
  padding: 34px 0 36px;
  background: linear-gradient(90deg, #031b3f, #073b73);
}

.testimonials-section .section-title {
  margin-bottom: 24px;
}

.testimonial-card {
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.company-card,
.consultation-form {
  background: var(--color-card-bg);
  border-color: var(--color-card-border);
}

.company-card {
  background:
    linear-gradient(180deg, rgba(243, 245, 248, 0.82), rgba(232, 236, 242, 0.98)),
    var(--color-card-bg);
}

.testimonial-card p {
  margin-bottom: 12px;
  font-size: 14px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 32px;
}

.partners-section {
  padding: 22px 0;
}

.partner-item img {
  max-width: 150px;
  max-height: 48px;
}

.consultation-section {
  padding: 58px 0;
  background-position: center;
}

.consultation-overlay {
  background: rgba(3, 27, 63, 0.42);
}

.consultation-content h2 {
  max-width: 560px;
  font-size: 34px;
}

.consultation-content p {
  font-size: 18px;
}

.consultation-form {
  padding: 26px;
  border-radius: 10px;
}

.consultation-form h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.consultation-btn {
  color: #052b63;
  background: #d9a441;
}

@media (max-width: 1199px) {
  .destinations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .hero-slider,
  .hero-slide {
    height: 600px;
    min-height: 600px;
  }

  .hero-title {
    font-size: 42px;
  }

  .companies-section {
    padding-top: 58px;
  }

  .stat-card {
    margin-bottom: 20px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-slider,
  .hero-slide {
    height: auto;
    min-height: 560px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .hero-description {
    font-size: 15px;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
  }

  .destination-card {
    height: 240px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    border-right: 0;
    border-bottom: 1px solid #e5e5e5;
  }

  .why-card:last-child {
    border-bottom: 0;
  }

  .consultation-section {
    padding: 48px 0;
  }
}

@media (max-width: 575.98px) {
  .hero-slider,
  .hero-slide {
    min-height: 520px;
  }

  .hero-slide {
    padding: 54px 0;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-btn-primary,
  .hero-btn-secondary,
  .view-destination-btn,
  .card-btn {
    width: 100%;
  }

  .companies-section,
  .destinations-section,
  .why-choose-section,
  .testimonials-section {
    padding-right: 0;
    padding-left: 0;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .consultation-form {
    padding: 22px;
  }
}
