/* ================= GOOGLE FONT ================= */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: 'Open Sans', sans-serif;
}

/* ================= COLORS ================= */
:root {
  --primary-blue: #001f3f;
  --accent-red: #d90429;
  --accent-yellow: #d90429;
  --light-bg: #f8f9fa;

  --yellow: #d90429;
  --dark: #1f1f1f;
  --text: #333;
}


/* ================= HERO ================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ================= IMAGE ================= */
.hero-img {
  width: 100%;
  height: 100vh;
  object-fit: 100% 100%; 
}

/* ================= FORM LAYER ================= */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: flex-end; /* right side */
  padding-right: 8%;
}

/* ================= FORM ================= */
.enquiry-form {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 360px;
}

/* ================= INPUT ================= */
.form-control {
  margin-bottom: 15px;
  height: 50px;
  border-radius: 8px;
}

/* ================= BUTTON ================= */
.btn-submit {
  background: #ff2b2b;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 30px;
  width: 140px;
}

/* ================= TABLET ================= */
@media (max-width: 992px) {

  .hero-section {
    height: auto;
  }

  .hero-img {
    height: 400px;
    object-fit: contain; /* 👈 logo safe */
    background: #fff;
  }

  .hero-content {
    position: relative;
    justify-content: center;
    padding: 20px;
  }

  .enquiry-form {
    margin-top: -60px; /* 👈 slight overlap professional look */
  }
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {

  .hero-img {
    height: 250px;
  }

  .enquiry-form {
    width: 95%;
    padding: 20px;
    margin-top: -50px;
  }

  .btn-submit {
    width: 100%;
  }
}

/* ================= TOP STRIP ================= */
.top-strip {
  background: #1f1f1f;
  color: #fff;
  font-size: 13px;
  height: 42px;
  display: flex;
  align-items: center;
}

.container1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}top-strip

/* LEFT */
.left-links {
  display: flex;
  align-items: center;
}

.left-links a {
  color: #ccc;
  text-decoration: none;
  padding: 0 8px;
}

.left-links a i {
  color: var(--yellow);
}

.divider {
  color: #555;
}

/* RIGHT */
.right-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* LIVE */
.live {
  background: #ff3b3b;
  padding: 5px 12px;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
}

/* INFO */
.info {
  color: #ddd;
  text-decoration: none;
  display: flex;
  gap: 5px;
  align-items: center;
}

.info:hover {
  color: #fff;
}

/* ================= HEADER ================= */
.main-header {
  background: #fff;
  padding: 12px 0;
}

.logo img {
  height: 60px;
}

/* CONTACT (FIXED NO DUPLICATE) */
.contact-info div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  font-size: 20px;
}

.contact-info .call i { color: red; }
.contact-info .whatsapp i { color: green; }
.contact-info .mail i { color: black; }

.contact-info small {
  font-size: 12px;
  color: #666;
}

.contact-info strong {
  font-size: 14px;
}

/* ================= NAV ================= */
.navbar-nav .nav-link {
  color: #000;
  margin: 0 10px;
}

.navbar-nav .nav-link:hover {
  color: var(--yellow);
}

/* ================= FLAGS ================= */
.flag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.flag-item {
  text-align: center;
  width: 80px;
}

.flag-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* ================= SERVICES ================= */
.service-box img {
  width: 100px;
  margin-bottom: 10px;
}

.service-box p {
  font-weight: 700;
  color: var(--primary-blue);
}

/* ================= WHY ABROAD ================= */
.why-abroad {
  background-color: #002762;
  color: #fff;
}

/* ================= STUDY ================= */
/* SECTION */
.study-section {
  background: #fff;
  padding: 60px 0;
}

/* TITLE */
.title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #222;
}

/* GRID */
.seven-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* ITEM */
.country-item {
  width: 14.28%;
  padding: 15px 10px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

/* FLAG IMAGE */
.country-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;

  /* 🔥 SHADOW */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  transition: all 0.4s ease;
}

/* TEXT */
.country-item p {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  transition: 0.3s;
}

/* 🔥 HOVER EFFECT */
.country-item:hover img {
  transform: translateY(-8px) scale(1.05);

  /* Stronger shadow on hover */
  box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

/* TEXT HOVER */
.country-item:hover p {
  color: #ff2b2b;
}

/* OPTIONAL: glow ring effect */
.country-item:hover img {
  border: 3px solid #ff2b2b;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .country-item {
    width: 25%;
  }
}

@media (max-width: 768px) {
  .country-item {
    width: 33.33%;
  }

  .country-item img {
    width: 70px;
    height: 70px;
  }
  .connect-with-expert{
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .country-item {
    width: 50%;
  }

  .country-item img {
    width: 60px;
    height: 60px;
  }

  .country-item p {
    font-size: 13px;
  }
}

/* ================= CONNECT ================= */
.connect-with-expert {
  background: url('image/connect-expert.jpeg') center/cover;
  padding: 40px;
}

.connect-bg {
  border: 2px solid red;
  border-radius: 10px;
  padding: 30px;
}

.form-text {
  height: 100px;
  border: 1px solid #ccc;
}

.btn-connect {
  background: red;
  color: #fff;
  height: 50px;
  width: 100%;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {

  .container1 {
    flex-direction: column;
    gap: 10px;
  }

  .contact-info {
    flex-direction: column;
  }
}

/*@media (max-width: 768px) {*/

/*  .top-strip {*/
/*    height: auto;*/
/*    padding: 8px;*/
/*  }*/

/*  .right-section {*/
/*    flex-wrap: wrap;*/
/*  }*/


/*  .country-item {*/
/*    width: 50%;*/
/*  }*/
/*}*/

@media (max-width: 768px) {
    .country-item {
   width: 50%;
     }

  .top-strip {
    height: auto;
    padding: 10px 8px;
    text-align: center;
  }

  .container1 {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* 🔥 FIRST ROW */
  .left-links {
    display: flex;
    justify-content: center;
    gap: 18px;  
    width: 100%;
    font-size: 12px;
  }

  .divider {
    display: none;
  }

  /* 🔥 SECOND ROW */
  .right-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding-left: 10px; 
  }


  /* Live + phone ek line */
  .live {
    padding: 6px 12px;
    font-size: 12px;
  }

  .info.call {
    display: flex;
    align-items: center;
  }

  /* 🔥 THIRD ROW (force new line) */
  .info.whatsapp,
  .info.mail {
    width: 45%;   /* side by side */
    justify-content: center;
  }

  .info {
    font-size: 12px;
    text-align: center;
  }
}

/* consultation-strip**/

.consultation-strip {
  background: #ffdeda; /* light pink/beige */
  padding: 50px 20px;
}

/* WRAPPER */
.consult-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* LEFT TEXT */
.consult-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

.consult-text span {
  color: #ff2b2b;
}

/* CONTACT INFO */
.consult-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ICON BOX */
.info-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-box .icon {
  width: 36px;
  height: 36px;
  background: #333;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  font-size: 14px;
}

/* TEXT */
.info-box p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #222;
}

/* BUTTON */
.consult-btn button {
  background: #ff2b2b;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER */
.consult-btn button:hover {
  background: #d91f1f;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .consult-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .consult-btn {
    width: 100%;
  }

  .consult-btn button {
    width: 100%;
    text-align: center;
  }
}

/* the education section*/
/* SECTION */
.st-education {
  background: #f4f4f4;
  padding: 60px 20px;
}

/* TITLE */
.edu-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

.edu-title span {
  color: #ff2b2b;
}

/* GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* STAT BOX */
.stat-box {
  text-align: center;
}

/* NUMBER */
.stat-box h2 {
  font-size: 32px;
  font-weight: 900;
  color: #ff2b2b;
  margin-bottom: 5px;
}

/* TEXT */
.stat-box p {
  font-size: 14px;
  color: #444;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .edu-title {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .edu-title {
    font-size: 24px;
  }

  .stat-box h2 {
    font-size: 28px;
  }
}



/* CALLBACK */
.callback-section {
  background: #0a2d63;
  padding: 0;
}

.callback-bar {
  background: #3a3a3a;
  padding: 18px 25px;
  border-radius: 12px;
  transform: translateY(40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid white;
}

/* LEFT */
.callback-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background: #ff3b3b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.callback-left h2 {
  color: #fff;
  font-size: 20px;
}

/* RIGHT */
.callback-right {
  display: flex;
  gap: 10px;
}

.callback-right input {
  padding: 10px;
  border-radius: 5px;
  border: none;
  width: 220px;
}

.callback-right button {
  background: #ff3b3b;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}
.callback-right button:hover {
  background: #00194f;
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  background: #000;
  padding: 90px 20px 20px;
  color: #fff;
}

.footer h4 {
  margin-bottom: 20px;
  font-weight: 700;
}

/* LIST */
.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.3s;
}

/* 🔥 ARROW ICON */
.footer ul li i {
  font-size: 10px;
  color: #aaa;
}

/* HOVER */
.footer ul li:hover {
  color: #ff3b3b;
  transform: translateX(5px);
}

.footer ul li:hover i {
  color: #ff3b3b;
}

/* ACTIVE */
.highlight {
  color: red;
}

/* CONTACT */
.contact li {
  align-items: flex-start;
}

/* BOTTOM */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
}

/* SOCIAL */
.social i {
  margin-left: 15px;
  cursor: pointer;
}

.social i:hover {
  color: #f4d40d;
}

/* RESPONSIVE */
@media (max-width: 992px) {

  .callback-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .callback-right {
    width: 100%;
    flex-direction: column;
  }

  .callback-right input,
  .callback-right button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/*The testomonals*/
.testimonial-section {
  padding: 60px 20px;
  background: #f5f5f5;
}

.testi-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.testi-header h2 {
  font-size: 32px;
  font-weight: 800;
}

.testi-header span {
  color: red;
}

/* SLIDER */
.testimonial-slider {
  overflow: hidden;
}

.testi-track {
  display: flex;
  gap: 20px;

  /* 🔥 AUTO SCROLL */
  animation: scroll 20s linear infinite;
}

/* CARD */
.testi-card {
  min-width: 25%;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

/* IMAGE WRAPPER */
.testi-card img {
  width: 100%;
  height: 260px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}

/* 🔥 FIXED QUOTE ICON */
.quote {
  position: absolute;
  bottom: 200px;   /* 👈 exact adjust karo */
  left: 50%;
  transform: translateX(-50%);

  width: 55px;
  height: 55px;
  background: red;
  color: #fff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  font-weight: bold;

  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* NAME */
.testi-card h4 {
  font-weight: 600;
  position: relative;
}

.testi-card h4::after {
  content: "";
  width: 40px;
  height: 2px;
  background: red;
  display: block;
  margin: 5px auto;
}

/* TEXT */
.testi-card p {
  font-size: 14px;
  color: #555;
}

/* 🔥 INFINITE SCROLL */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .testi-card {
    min-width: 50%;
  }
}

@media (max-width: 576px) {
  .testi-card {
    min-width: 100%;
  }

  .testi-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}