/* CSS variables for theme */
:root {
    --primary-color: #0D6493;
    --primary-glow: rgba(33, 150, 243, 0.8);
    --secondary-color: #f7cb2d;
    --text-color: #0a0a12;
    --bg-color: ffffff;
    --blue-border-color: #1390e03d;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --dropdown-bg: rgba(240, 240, 255, 0.9);
    --hover-color: #3f51b5;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --neon-glow: 0 0 10px rgba(33, 150, 243, 0.5),
        0 0 20px rgba(33, 150, 243, 0.3),
        0 0 30px rgba(33, 150, 243, 0.1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-bg: linear-gradient(135deg, var(--bg-color), #151530);
    --glass-effect: saturate(180%) blur(10px);
    --border-radius: 12px;
    --text-description: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base typography */
h1 {
    font-size: 3.5rem;
    /* 48px */
    line-height: 1.4;
    /* 57.6px */
    font-weight: 400;
    /* Bold */
}

h2 {
    font-size: 2.5rem;
    /* 40px */
    line-height: 1.3;
    /* 52px */
    font-weight: 500;
}

h3 {
    font-size: 2rem;
    /* 32px */
    line-height: 1.35;
    /* 43.2px */
    font-weight: 500;
    /* Semi‑bold */
    margin: 1rem 0;
}

h4 {
    font-size: 1.5rem;
    /* 24px */
    line-height: 1.4;
    /* 33.6px */
    font-weight: 500;
}

h5 {
    font-size: 1.25rem;
    /* 20px */
    line-height: 1.5;
    /* 30px */
    font-weight: 500;
    /* Medium */
}

p,
td,
input {
    font-size: 18px;
    /* 16px */
    line-height: 1.6;
    /* 25.6px */
    font-weight: 400;
    /* Regular */
}

a {
    text-decoration: none;
}

/* Tablet */
@media (max-width: 1023px) {
    h1 {
        font-size: 2.5rem;
        /* 40px */
    }

    h2 {
        font-size: 2rem;
        /* 32px */
    }

    h3 {
        font-size: 1.75rem;
        /* 28px */
    }

    h4 {
        font-size: 1.25rem;
        /* 20px */
    }

    h5 {
        font-size: 1.125rem;
        /* 18px */
    }

    p,
    td,
    input {
        font-size: 1rem;
        /* 16px */
    }
}

/* Mobile */
@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
        /* 32px */
    }

    h2 {
        font-size: 1.75rem;
        /* 28px */
    }

    h3 {
        font-size: 1.5rem;
        /* 24px */
    }

    h4 {
        font-size: 1.125rem;
        /* 18px */
    }

    h5 {
        font-size: 1rem;
        /* 16px */
    }

    p,
    td,
    input {
        font-size: 0.9375rem;
        /* 15px */
    }
}

h1,
h2,
h3,
h4,
p,
td,
input {
    font-family: "Poppins", sans-serif;

}

.dark-bg-section {
    background-color: var(--primary-color);
    border-radius: 40px;
}

.dark-bg-section h2,
.dark-bg-section p {
    color: #fff;
}





.sec-padding {
    padding: 60px !important;
}

.heading-section {
    text-align: center;
    margin-bottom: 5rem;

}

.highlight-card {
    margin-bottom: 1rem;
}

.sub-headings-eduwire {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    /* margin-bottom: 0.5rem; */
}

.text-white {
    color: #fff;
}

.text-black {
    color: #000;
}


.section-flex {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 1rem;
    flex-direction: row;
}

.section-flex-child {
    
    width: 50%;
}

.img-align-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-flex-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     /*border-radius: 40px; */
}

.main-hero-image{
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-hero-image img{
    width: 90% !important;
    border-radius: 0 !important;
    height: 100% !important;
}

.content-center {
    display: flex;
    /* justify-content: center; */
    align-items: center;
}

.page-section-heading {
    margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .swiper-pagination {
    display: none !important;
  }
}


@media (max-width: 768px) {

    .section-flex {
        flex-direction: column-reverse;
    }

    .section-flex-child {
        width: 100%;
    }

    .heading-section {
        margin-bottom: 3rem;
    }

    .steps-image {
        padding: 0 !important;
    }

    .sub-headings-eduwire {
        font-size: 1.2rem;
    }
    .section-flex-child img{
        border-radius: 20px;
    }
}



/* edu-wire buttons design  */

.edu-wire-btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: white;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.4s ease;
    z-index: 1;
    margin-top: 1rem;
}

.edu-wire-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 0%;
    width: 100%;
    background: var(--primary-color);
    /* Slide color */
    z-index: 0;
    transition: height 0.4s ease;
}

.edu-wire-btn:hover::before {
    height: 100%;
}

.edu-wire-btn span{
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: color 0.4s ease;
    color: var(--primary-color);
}

.edu-wire-btn:hover span{
    color: #fff;
}

.edu-wire-secondary-btn {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edu-wire-secondary-btn:hover {
    background: #fff;
    color: var(--primary-color);

}

/*fab icons design */

.corner-icon-container {
height: 65px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  flex-direction: column-reverse;
  gap: 10px;
  z-index: 999;
}

.main-icon, .icon-btn {
  color: white;
  background-color: #fff;
   border: 2px solid  var(--primary-color);
  height: 65px;
  width: 65px;
  padding: 5px;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 4px 10px #D0E1EF;
  cursor: pointer;
}
.main-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.floating-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.corner-icon-container:hover{
    height: 100%;
}

.corner-icon-container:hover .floating-icons {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


.icon-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.icon-btn:hover {
  transform: scale(1.1);
  /*background-color: #0056b3;*/
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .main-icon,
  .icon-btn {
    height: 50px;
    width: 50px;
    font-size: 18px;
  }

  .corner-icon-container {
    bottom: 15px;
    right: 15px;
  }
}



body {
    font-family: "Poppins", sans-serif;
    /* background: var(--gradient-bg);  */
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header and Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    /* backdrop-filter: var(--glass-effect);  */
    /* -webkit-backdrop-filter: var(--glass-effect); */
    border-bottom: 1px solid #dadada;
    /* box-shadow: 0 4px 30px var(--shadow-color); */
    /* border-bottom: 1px solid #dadada; */
    transition: var(--transition-medium);
}

/* Logo */
.logo {
    /* height: 40px; */
    width: 160px;
    position: relative;
    display: inline-block;
    transition: var(--transition-medium);
}

.log a {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    /* gap: 1.5rem; */
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--neon-glow);
}

/* Icons */
.icon {
    transition: var(--transition-medium);
    vertical-align: middle;
}

.chevron-icon {
    transition: transform var(--transition-medium);
}

.has-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}

/* Dropdown Menus */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    min-width: 230px;
    background: var(--dropdown-bg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all var(--transition-medium);
    box-shadow: 0 10px 30px var(--shadow-color);
    z-index: 100;
    overflow-y: auto;
}
.dropdown::-webkit-scrollbar {
    width: 8px;
    height: 50px; /* horizontal scrollbar height — vertical scrollbar will still be full height */
  }

  .dropdown::-webkit-scrollbar-thumb {
    background-color: var(--primary-color); /* use your custom primary color here */
    border-radius: 8px;
  }

  .dropdown::-webkit-scrollbar-track {
    background-color: transparent;
  }
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* .nav-item:hover .sub-dropdown {
  
} */

/* Left Panel */
.submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 250px;
    border-right: 1px solid #eee;
}

.submenu-list li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #000;
}



/* Right Panel */
.submenu-content {
    padding-left: 20px;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 180px;
}

.submenu.active {
    display: block;
}

.submenu li a {
    text-decoration: none;
    color: #222;
    display: block;
    padding: 10px !important;
}


sub-dropdown {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: var(--dropdown-bg);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);

}

.sub-dropdown {
    display: flex;
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.7rem 1rem;
    display: block;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    margin-bottom: 2px;
}

.dropdown a:hover,
.submenu-trigger.active a {
    background: rgba(33, 150, 243, 0.15);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Search Bar */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    width: 140px;
    transition: all var(--transition-medium);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    width: 140px;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 5px;
    transition: var(--transition-fast);
}

.search-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    padding: 0.6rem;
    font-size: 1.2rem;
    transition: all var(--transition-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(15deg);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.6rem;
    transition: var(--transition-medium);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    position: absolute;
    transition: all var(--transition-medium);
    border-radius: 10px;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
    width: 70%;
}

.hamburger span:last-child {
    top: 18px;
}

/* Mobile Menu Active State */
.nav-active .hamburger span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.nav-active .hamburger span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-active .hamburger span:last-child {
    transform: rotate(-45deg);
    top: 9px;
}

/* Content Styling */
.content {
    /* margin-top: 70px; */
    padding: 2rem;
}

.hero-sec-padding {
    padding: 60px;
}

.hero-section-flex{
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.hero-section-flex-child{
    width: 50%;
}

.hero-section-flex-child img{
   width: 100%;
   height: 100%;
    object-fit: cover;
}

.hero-section-flex-child{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-inner-image{
    height: 90%;
    width: 90%;
}

.main-hero-section{
        height: 100vh;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
  .hero-section-flex{
    flex-direction: column-reverse;
  }
  .hero-section-flex-child{
    width: 100%;
}
.hero-inner-image{
    height: 100%;
    width: 100%;
}
.hero-sec-padding {
    padding: 60px 30px;
}
.main-hero-section{
        height: auto;
}
}

@media (max-width: 500px) {
  .hero-section-flex{
    flex-direction: column-reverse;
  }
  .hero-section-flex-child{
    width: 100%;
}
.hero-inner-image{
    height: 100%;
    width: 100%;
}
.hero-sec-padding {
    padding: 65px 20px;
}
}

.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(33, 150, 243, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--text-description);
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-medium);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.6);
}



.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}


/* Responsive Design */
@media (max-width: 968px) {
    .logo {
        width: 110px;
    }

    .sub-dropdown {
        flex-direction: column;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        backdrop-filter: var(--glass-effect);
        -webkit-backdrop-filter: var(--glass-effect);
        width: 80%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: right var(--transition-slow);
        /* box-shadow: -10px 0 30px var(--shadow-color);  */
        border-left: 1px solid var(--border-color);
    }

    .nav-active .nav-menu {
        right: 0;
        overflow-y: scroll;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        margin-bottom: 2rem;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(33, 150, 243, 0.15);
    }

    .dropdown {
        position: static;
        width: 100%;
        /* background: rgba(0, 0, 0, 0.2); */
        border: none;
        padding: 20px 0;
        padding-left: 1rem;
        margin-left: 1rem;
        display: none;
        box-shadow: none;
        border-left: 1px solid var(--border-color);
        transform: none;
        transition: all var(--transition-medium);
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown.active .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .dropdown a {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        display: none;
    }

    .search-container {
        width: 100%;
    }

    .search-input,
    .search-input:focus {
        width: 100%;
    }

    .search-input {
        padding: 0.8rem 1rem;
    }

    .theme-toggle {
        align-self: flex-start;
    }

    .chevron-icon {
        position: absolute;
        right: 1rem;
    }

    .has-dropdown.active .chevron-icon {
        transform: rotate(180deg);
    }

    .hero-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .hero-image {
        margin-bottom: 10px;
        width: 100%;
        height: 100%;

    }
    .submenu-list{
        border: none !important;
    }

}

@media (max-width: 576px) {
    .navbar {
        padding: 1rem;
    }

    .nav-menu {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content {
        padding: 0rem;
    }

    .sec-padding {
        padding: 30px 20px !important;
    }

}

/* Base section styling for laptops/desktops */
section {
    padding: 30px 60px;
    margin: 0 auto;
    /* max-width: 1200px; */
    box-sizing: border-box;
}

/* Tablets (width ≤ 1024px) */
@media (max-width: 1024px) {

    section,
    main {
        padding: 50px 30px;
    }
}

/* Mobile devices (width ≤ 768px) */
@media (max-width: 768px) {

    section,
    main {
        padding: 40px 20px;
    }
}

/* Small mobile (width ≤ 480px) */
@media (max-width: 480px) {

    section,
    main {
        padding: 30px 15px;
    }
}


/* hero section style starts here  */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.swiper-slide img {
    display: block;
    width: 90%;
    height: 100%;
    object-fit: cover;
}


.hero-section-eduwire {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}


.hero-image,
.hero-content {
    width: 50%;

    /* height: 100%;  */
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;

}

.second-img-mb {
    margin-bottom: 6rem;
}



.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 1rem;
}

.inner-image-container {
    height: 60%;
}

.hero-content .hero-sec-heading,
.hero-content p {
    text-align: start;
}

.highlight-line {
    font-weight: 600;
    position: relative;
}


.highlight-line::after {
    content: "";
    display: block;
    width: 100%;
    height: 26px;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 26' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23e77763'/%3E%3Cstop offset='100%25' stop-color='%23edb992'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23grad1)' fill-rule='evenodd' clip-rule='evenodd' d='M13.5596 5.10535C26.0614 6.62996 58.9167 6.70621 148.107 6.85867C287.38 7.08736 397.914 8.76442 428.635 11.2038C431.074 11.4325 235.848 13.1096 215.799 11.8899C184.545 9.90787 35.2852 11.5849 5.25037 13.8719C-3.28745 14.4817 -0.0857323 16.6162 5.4791 17.0736C14.1693 17.8359 37.496 17.7596 101.454 17.6072C146.43 17.5309 504.256 19.2842 543.362 22.4097C565.316 24.163 578.657 25.7638 584.755 25.3827C589.862 25.0778 589.939 24.163 585.517 21.6474C582.544 19.9703 585.898 18.9793 588.033 18.5219C591.311 17.7596 589.939 15.1678 585.822 13.1096C580.257 10.289 570.652 10.3653 575.226 13.1858C576.217 13.7956 576.446 15.3202 572.939 15.0153C562.724 14.1006 490.534 7.84966 470.943 6.78243C261.766 -4.8046 57.6207 3.65697 14.398 0.836441C-0.924302 -0.230786 6.08901 4.19059 13.5596 5.10535Z'/%3E%3C/svg%3"); */
background-image: url("../images/highlight-svg.svg");
    background-size: contain;
    background-repeat: no-repeat;
    top: 85%;
    left: 0;
    position: absolute;
}

.br-mobile {
  display: none;
}



/* Mobile devices (width ≤ 768px) */
@media (max-width: 768px) {
     .br-mobile {
    display: inline;
  }

    .hero-section-eduwire {
        height: auto;
    }

    .hero-slide {
        flex-direction: column-reverse;
        margin-top: 2rem;
    }

    .hero-image,
    .hero-content {
        width: 100%;

    }
    .hero-content{
        gap: 0.5rem;
    }
    .hero-image{
        margin: 0;
    }
    .second-img-mb {
        margin-bottom: 0rem;
    }


}



/* why edu-wire design start  */
.content-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.content-flex .column {
    flex: 1;
    display: flex;
    align-items: center;
    border-left: 1px solid var(--blue-border-color);
}

/* Remove border-left from the first column */
.content-flex .column:first-child {
    border-left: none;
}


.content-flex .column svg {
    height: 100px;
}

.why-eduwire-content {
    background: #a2c4e082;
    padding: 40px 30px;
    border-radius: 30px;
    border: 2px solid var(--blue-border-color);

}

.counts-edu-wire {
    font-size: 2.3rem;
    font-weight: 500;
}

.why-eduwire-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Mobile devices (width ≤ 768px) */
@media (max-width: 768px) {
    .content-flex {
        flex-direction: column;
        align-items: unset;
    }

    .content-flex .column {
        border-left: none;
        border-bottom: 1px solid var(--blue-border-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 20px;
    }

   .content-flex .column:last-child {
    border-bottom: none !important;
       
   }

    .content-flex .column p,
    .content-flex .column h4 {
        text-align: center;
    }
}


/* contact eduwire section design  */
.signin-form {
    width: 100%;
}

.contact-input-field {
    width: 100%;
    padding: 1rem;
    background: transparent;
    /* Ensure background is dark container's background */
    border: 1px solid white;
    color: white;
    font-size: 1rem;
    border-radius: 15px;
    outline: none;
    /* transition: border-color 0.3s ease; */
}

.contact-input-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
    /* Slightly dimmed white for placeholders */
}

/* .contact-input-field:focus {
    border-color: #00bfff; 
    background: transparent;
} */

/* Optional: Add some margin or spacing */
.form-input {
    margin-bottom: 1rem;
}

/* Style select option text */
.contact-input-field option {
    color: black;
    /* For select dropdown options */
}

/* Optional: style textarea to match */
textarea.contact-input-field {
    min-height: 120px;
    resize: none;
}

/* Style the select field */
select.contact-input-field {
    appearance: none;
    /* Removes default arrow for custom styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    /* Your desired dark background */
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid white;
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    /* Space for custom icon */
    font-size: 1rem;
    border-radius: 8px;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6H0z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 10px;
}

/* Optional: Style the dropdown options (when open) */
select.contact-input-field option {
    background-color: var(--primary-color);
    color: white;
}

.contact-image {
    border-radius: 40px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {}

/* our services section  */

.swiper-navigation {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    gap: 1rem;
}

.nav-button {
    height: 50px !important;
    width: 50px !important;
    border-radius: 15px !important;
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem;
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    position: relative !important;
    margin: 1rem;
}

.nav-button:hover {
    background-color: #0056b3;
    /* Slightly darker on hover */
}

.nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #ffffff;
}




.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem !important;
    color: #fff;
}

.service-icon {
    background-color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 30px;
    margin-bottom: 15px;
}

.service-title {
    color: var(--primary-color);
}

.service-slide {
    height: 400px !important;
    padding: 20px;
    background: #a2c4e082;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* top universities section  */

.university-grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.university-card {
    flex: 1 1 180px;
    min-width: 150px;
    max-width: 200px;
    border: 1px solid #0a65923b;
    border-radius: 12px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.university-card img {
    width: 70%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 12px; */
}


/* top study abraod destinations section  */
.destination-section {
    background-color: #fff;
    /* padding: 4rem 2rem;  */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 4rem;
    color: #1f2937;
}

/* .horizontal-scroll-outer {
    overflow: hidden;
    position: relative;
    padding: 4rem 0;
    
}

.horizontal-scroll-inner {
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    height: auto;
} */

.horizontal-scroll-outer {
    overflow: hidden;
    position: relative;
}

.horizontal-scroll-inner {
    display: flex;
    gap: 1rem;
    will-change: transform;
}


.destination-card {
    flex: 0 0 auto;
    width: 300px;
    /* or your preferred card width */
    height: 420px;
    /* or your preferred card height */
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}


.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.8s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-front {
    background-size: cover;
    background-position: center;
    transform: rotateY(0deg);
}

.country-name {
    font-size: 1.2rem;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.card-back {
    background-color: var(--primary-color);
    transform: rotateY(180deg);
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.destination-card-inner{
     position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.destination-card:hover .destination-card-inner {
    transform: rotateY(180deg);
}




/* steps to study abroad section */

.pin-section {
    position: relative;

}

.steps-wrapper {
    display: flex;
    flex-direction: column;
}


.steps-image {
    /* flex: 1; */
    position: sticky;
    top: 100px;
    /* Adjust based on your header height */
    align-self: flex-start;
    padding: 20px;
}

.step-card {
    margin-bottom: 1rem;
    background: #a2c4e082;
    padding: 20px;
    border-radius: 30px;
    border: 2px solid var(--blue-border-color);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
    margin-bottom: 1rem;
}

.step-number {
    height: 50px;
    width: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    flex-grow: 0;
}

.step-header-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0;
}

/* .step-content {
    height: var(--content-height, 0px);
    opacity: var(--content-opacity, 0);
    overflow: hidden;
    transition: all 0.3s ease;
    margin: var(--content-margin, 0px);
    will-change: height, opacity, margin;
} */

.step-content {
    overflow: hidden;
}

.step-card.active .step-content {
  opacity: 1;
  max-height: 500px; /* or whatever fits your tallest content */
}

/* .step-card.collapsed .step-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
} */

.step-content-inner {
    padding-top: 10px;
}

/* Clickable area for toggling */
.step-toggle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    /* Match header height */
    cursor: pointer;
    z-index: 2;
}

/* Layout styles */
.flex {
    display: flex;
    gap: 1rem;
}

.left,
.right {
    width: 50%;
}

.steps-section img {
    border-radius: 40px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}



/* Pinning effect */
.steps-section {
    position: relative;
}



.pin-spacer {
    margin: 0 !important;
    padding: 0 !important;
}


@media (max-width: 768px) {
    .steps-wrapper {
        position: sticky;
        top: 0;
        /* or some spacing like 10px */
        z-index: 10;
        background-color: #fff;
        /* Make sure it doesn’t become transparent */
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .steps-image {
        display: none;
        /* Hide image for a better mobile UX if needed */
    }

    .steps-section img {
        border-radius: 20px;
    }
}


/* courses section  */
.section-courses {
    padding: 60px 20px;
    background: #fff;
}

.section-courses .container {
    max-width: 1200px;
    margin: auto;
}

.section-courses h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #222;
}

.course-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

/* Buttons styling (unchanged) */
.course-nav button,
.section-nav-btn {
    padding: 15px 20px;
    border: none;
    background: #a2c4e082;
    border-radius: 20px;
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text from wrapping */
    flex-shrink: 0;
}

.course-nav button.active,
.section-nav-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Scrollable and improved UI on small screens */
@media (max-width: 768px) {
    .course-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 10px 15px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .course-nav::-webkit-scrollbar {
        height: 6px;
    }

    .course-nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .course-nav::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 10px;
    }

    .course-nav button,
    .section-nav-btn {
        font-size: 16px;
        padding: 10px 16px;
    }
}


.course-content {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.course-content.active {
    display: grid;
}

.course-box {
    background: #a2c4e082;
    border-radius: 10px;
    transition: 0.3s;
    border: 2px solid var(--blue-border-color);
    border-radius: 40px;
    overflow: hidden;
    height: 300px;
}

.course-box .image-container {
    width: 100%;
    height: 60%;
}

.course-box .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-heading {
    padding: 20px;
}

.course-box:hover {
    background: var(--primary-color);
    color: #fff;
}



/*cta- section style start */
.eduwire-cta-section {
    /*background-color: #f1f7ff;*/
    padding: 60px 20px;
    margin-top: 60px;
}

.eduwire-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.eduwire-cta-container button{
    background: transparent;
    border: none;
    cursor: pointer;
}

.eduwire-cta-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: #0D6493;
    border-radius: 40px;
    /*height: 400px;*/
}

.eduwire-cta-text {
    width: 60%;
    padding: 40px;
}

.eduwire-cta-text h2 {
    font-size: 42px;
    font-weight: 400;
    text-transform: capitalize;
    color: #fff;
    margin-bottom: 1rem;
}

.eduwire-cta-text p {
    font-size: 18px;
    
    line-height: 1.6;
    color: #F8F9FA;
}

.eduwire-cta-btn {
    display: inline-block;
    padding: 14px 30px;
    border: 2px solid #fff !important;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s ease;
    font-size: 20px;
    margin: 20px 0;
}

.eduwire-cta-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.eduwire-cta-image {
    width: 40%;
    height: 604px;
    margin-top: -120px;
    padding-right: 20px;
}

.cta-contact-icons{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.eduwire-cta-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.eduwire-cta-contact a {
    color: #F8F9FA !important;
}

.cta-contact-icons svg{
    height: 25px;
}

@media (max-width: 768px) {
    .eduwire-cta-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .eduwire-cta-text {
        width: 100%;
        padding: 20px;
    }

    .eduwire-cta-text h2 {
        font-size: 1.5rem !important;
        text-align: start !important;
        margin-bottom: 20px;
    }

    .eduwire-cta-text p {
        text-align: start;
    }

    .eduwire-cta-image {
        width: 100%;
        height: 360px;
        margin-top: -70px;
    }
}

/*cta- section style end */


/* Footer Base Styling */
.footer {
    background-color: #a2c4e082;
    color: var(--text-color);
    /* padding: 50px 20px 20px; */
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    /* First column is now wider */
    gap: 30px;
    padding: 40px 20px;
}


/* .flex-2{
    flex: 2;
}

.flex-1{
    flex: 1;
} */

.social-links {
    padding: 10px 20px;
    border-radius: 10px;
    /* background-color: #fff;  */
    display: flex;
    gap: 20px;
    width: max-content;
    margin-top: 20px;
}

.social-links a {
    display: block;
    height: 35px;
    width: 35px;

}

.social-links a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-container a{
    color: #000;
    font-size: 16px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
}

.footer-icon-location{
    display: flex;
    align-items: center;
    
    
}
.footer-icon-location img{
    height: 60px;
    width: 60px;
    object-fit: cover;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.footer-tagline {
    margin-top: 10px;
    color: var(--text-color);
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.location-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.location-heading img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}


/* 
.footer-section ul li a:hover {
  color: #ffffff;
} */

/* .footer-section p {
  margin: 6px 0;
  font-size: 14px;
} */

.footer-socials {
    margin-top: 10px;
}

.footer-socials a {
    color: var(--text-color);
    margin-right: 12px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b3d;
    text-align: center;
    padding: 20px 0 0;
    font-size: 13px;
    color: #64748b;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-socials {
        justify-content: center;
    }
}



/* nav pages of edu-wire  */
.hero-page-eduwire {
    height: 60vh;
}


/* about us page  */
.values-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.value-card {
    flex: 1;
    height: 450px !important;
}


 .team-section {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }

    .team-card {
      width: 350px;
      height: 500px;
      background-color: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      background-size: cover;
      background-position: center;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      position: relative;
    }

    .about-experts {
      position: relative;
      padding: 20px;
      background: linear-gradient(to bottom, rgba(13, 100, 147, 0.3), rgba(13, 100, 147, 1));
      color: white;
    }

    .about-experts h2, .about-experts h3 {
      margin: 0;
      position: relative;
      z-index: 1;
    }

    .about-experts h2 {
      font-size: 1.2rem;
      margin-bottom: 5px;
    }

    .about-experts h3 {
      font-size: 1.5rem;
    }

    .view-profile-btn {
      margin-top: 1rem;
      padding: 8px 16px;
      background-color: #0d6493;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      position: relative;
      z-index: 1;
    }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      z-index: 9999;
      padding-top: 40px;
      left: 0; top: 0;
      width: 100%; height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.6);
    }


    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 2rem;
      border-radius: 10px;
      max-width: 50%;
      text-align: center;
      position: relative;
      animation: fadeIn 0.3s ease-in-out;
    }

    .modal-content img {
      width: 150px;
      height: 150px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 1rem;
    }

    .modal-content h2 {
      margin-bottom: 0.5rem;
    }

    .modal-content h4 {
      margin-bottom: 1rem;
      color: #0d6493;
    }

    .modal-content p {
      line-height: 1.6;
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 30px;
      font-weight: bold;
      color: #333;
      cursor: pointer;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 767px) {
      .team-card {
        width: 100%;
      }

      .modal-content {
        /*margin: 1rem;*/
        max-width: 90%;
        overflow-y: auto;
        height: 86%;
      }
       .modal-content::-webkit-scrollbar {
    width: 8px;
    height: 50px; /* horizontal scrollbar height — vertical scrollbar will still be full height */
  }

  .modal-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-color); /* use your custom primary color here */
    border-radius: 8px;
  }

  .modal-content::-webkit-scrollbar-track {
    background-color: transparent;
  }
    }
.section-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 12px 20px;
    border-bottom: 2px solid var(--blue-border-color);
    position: relative;
    z-index: 99;
    transition: all 0.3s ease;
}

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}


/* Table base styles */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.info-table thead.primary-color {
    background-color: var(--primary-color);
    /* primary color (blue) */
    color: white;
}

.info-table th,
.info-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 16px;
}

.info-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* faqs section  */
.faq-item {
    border: 2px solid var(--blue-border-color);
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: #a2c4e082;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.faq-toggle {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    font-size: 16px;
    line-height: 1.6;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
    opacity: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}


.faq-item.active span {
    color: var(--primary-color);
}

.faq-item.active {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-scholarship-guidance .about-content {
    display: flex;
    align-items: center;
}

.about-scholarship-guidance img {
    border-radius: 30px;
}


/* addmision process for study abroad section  */

.admission-steps-container {}

.progress-bar-container {
    width: 6px;
    height: 350px;
    background: #b1adad;
    border-radius: 3px;
    margin-top: 5px;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    width: 100%;
    height: 0;
    background-color: #0d6493;
    border-radius: 3px;
    transition: all 0.8s ease;
}

.admission-step .left-content {
    width: 50%;
}

.admission-step .right-image {
    width: 484px;
    height: 362px;
}

.admission-step .right-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.admission-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
    border: 2px solid var(--blue-border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 64px;
    background-color: #a2c4e082;
}

.admission-step span {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

.edu-wire-btn {
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 1rem;
}

.edu-wire-btn a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
    .admission-step {
        flex-direction: column;
        align-items: center;
        text-align: start;
        padding: 20px;
    }

    .progress-bar-container {
        display: none;
    }

    .admission-step .left-content {
        width: 100%;
    }

    .admission-step .right-image {
        width: 100%;
        height: 200px;
    }

}

/* ------------------  */





/* mbbs pages lists for about country  */
.country-list-bullet li {
    margin-bottom: 1rem;
    color: #fff;
}

#about img {
    border-radius: 30px;
}

.about-country-list {
    margin-left: 1rem;
}

.why-choose-mbbs-card {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.why-choose-icons {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    flex-grow: 0;
    flex-shrink: 0;
}

.why-choose-icons i {
    color: #fff;
    font-size: 1.5rem;
}

.top-university-container {
    border: 2px solid var(--blue-border-color);
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: #a2c4e082;
    padding: 1rem;
}

.universities-wrapper {
    display: flex;

}


.university-cost-study,
.university-image {
    width: 50%;
}

.university-cost-study table {
    background: #fff;
}

.university-image {
    padding: 10px;
}

.university-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
}

.university-cost-study h4 {
    margin: 10px 0;
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
    .d-none-mobile{
        display: none;
    }
    .about-country-list{
        margin: 0 !important;
    }
    .universities-wrapper{
        flex-direction: column;
    }
    .university-cost-study,
    .university-image {
        width: 100%;
    }

.university-cost-study{
    overflow-x: scroll;
}

    .university-cost-study table {
        background: #fff;
        padding: 10px;
        border-radius: 20px;
    }

    .university-image{
        padding: 0;
    }

    .university-image img {
        border-radius: 20px;
    }

    .why-choose-icons{
        height: 40px;
        width: 40px;
    }
   .why-choose-icons i {
    font-size: 1rem;
}

}






/* steps to study in italy or country bise  */
.timeline-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  flex-wrap: wrap;
}

.timeline-steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 5px;
  background: #d3d3d3;
  z-index: 0;
  transform: translateY(-50%);
}

.timeline-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 5px;
  background: var(--primary-color);
  z-index: 1;
  transition: width 0.5s ease-in-out;
  transform: translateY(-50%);
  border-radius: 100px;
}

.timeline-step {
  text-align: center;
  margin-top: 120px;
  cursor: pointer;
  z-index: 2;
}

.step-id {
  background: transparent;
  border: 1px solid black;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  margin: auto;
  margin-bottom: 10px;
  transition: background 0.3s ease;
}

.timeline-step.active-step .step-id {
  background: var(--primary-color);
  color: white;
  border: none;
}

.timeline-step.active-step .step-name {
  color: var(--primary-color);
}

.step-name {
  font-weight: 400;
  display: block;
}

.phase-section {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.phase-section.active-phase {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phase-header {
  display: flex;
  margin-bottom: 30px;
}

.phase-index {
  background-color:var(--primary-color);
  color: white;
  padding: 5px 10px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 10px;
  border-radius: 5px;
}

.phase-header h2 {
  font-size: 1.5rem;
  color: #333;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.info-card {
  background-color: #fff;
  border: 2px solid var(--blue-border-color);
  border-radius: 8px;
  padding: 20px;
}

.info-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #333;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 8px;
}

.info-card p,
.info-card li {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 10px;
}

.info-card h1 {
  font-size: 0.95rem;
  font-weight: 300;
  color: #444;
  margin: 10px 0;
}

.info-card h4 {
  margin-bottom: 10px;
}

ul.list-marked li::before {
  content: "*";
  color: blue;
  margin-right: 8px;
}

ul {
  list-style: none;
}

.consult-btn {
  background-color: #1ebc6f;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.consult-btn:hover {
  background-color: #17a65f;
}



.card-box,
.card-box1,
.card-box2 {
  margin: 10px 5px;
  width: 100%;
  max-width: 550px;
  height: auto;
  min-height: 60px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 10px;
  word-break: break-word;
}

.card-box {
  background-color: #fff1f2;
  border: 1px dotted #fecaca;
}

.card-box1 {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
}

.card-box2 {
  background-color: #fffbeb;
  border: 1px solid #fee099;
}

@media (max-width: 992px) {
  .wrapper {
    padding: 15px;
  }

  .timeline-step {
    margin-top: 100px;
  }

  .card-box,
  .card-box1,
  .card-box2 {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .wrapper h2 {
    font-size: 1.2rem;
  }

  .timeline-step {
    margin-top: 80px;
  }

  .step-name {
    display: none;
  }

  .phase-header {
    align-items: flex-start;
  }

  .phase-grid {
    grid-template-columns: 1fr;
  }


  .timeline-steps::before,
  .timeline-progress {
    top: 30%;
    bottom: -30px;
  }
}


/* Our Certification Partners */
.certification-logos{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.certification-logo{
    height: 220px;
    width: 220px;
    padding: 20px;
    border: 2px solid var(--blue-border-color);
    border-radius: 20px;
}

.certification-logo img{
    height: 100%;
    width: 100%;
    object-fit: contain ;
}


@media (max-width: 600px) {
.certification-logo{
    height: 150px;
    width: 150px;
}
}

/* blog page  */

    .blogs-card-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        /*justify-content: center;*/
        gap: 25px;
        padding: 20px;
        

    }

    .blog-card {
        background-color: white;
        width: 380px;
        /*height: 450px;*/
            border: 2px solid var(--blue-border-color);
        border-radius: 30px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .blog-card .blog-image {
        width: 100%;
        height: 190px;

        border-top-right-radius: 8px;
        border-top-left-radius: 8px;
        overflow: hidden;
    }

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;


    }

    .blog-card h3 {
        font-size: 20px;
        font-weight: 600;
        padding: 0 10px;


    }
     .blog-heading h1{
        font-size: 25px;
        font-weight: 600;
        
        margin-top: 30px;
    }

    

    .blog-card p {
        font-size: 15px;
        padding: 0 10px;
        margin-bottom: 10px;
    }

    .last {
        display: flex;
        align-items: center;
    }

    .last a {
        text-decoration: none;
        padding: 10px;
        color: black;
        font-weight: 500;

    }

.short-heading{
     display: -webkit-box;
  -webkit-line-clamp: 2;   /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Add "..." at the end */
}

    .short-para {
  display: -webkit-box;
  -webkit-line-clamp: 3;   /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Add "..." at the end */
}

.country-details-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.country-detail  {
    padding: 20px;
    background: #a2c4e082;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    width: 30%;
   
}
.country-detail ul{
    padding: 20px 0 0 20px;
}
.country-detail li{
     list-style: disc;
}

.blog-lists{
        padding-left: 20px;
    margin-bottom: 20px;
    line-height: 1.6;
    list-style: disc;
}
.country-info{
    display: flex;
    gap: 20px;
}

.blog-flag-container{
    height: 80px;
    width: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.blog-flag-container img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.blog-date {
    font-size: 0.85rem;
    color: #777;
    margin: 0.3rem 0;
}

@media (max-width: 600px) {
.blogs-card-container{
    padding: 0;
}
.country-detail{
    width: 100%;
    border-radius: 20px;
}
.page-section-heading{
    margin-bottom: 1rem;
}
}


/* event Css  */

    .events-container {
  width: 100%;
  padding: 15px;
  margin-top: 50px;
}

.events-header {
  width: 100%;
  min-height: 300px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  gap: 20px;
}

.event-title {
  flex: 1 1 300px;
  padding: 30px;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.event-title h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.event-title p{
    text-align: left;
}

.event-image {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.section-2 {
  width: 100%;
  position: sticky;
   top: 10%;
  z-index: 98;
  display: flex;
  justify-content: center;
  
}
#gallery,
#student,
#webinars {
  scroll-margin-top: 200px; /* Adjust based on sticky bar height */
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background-color: #e3eefd;
  padding: 10px;
  border-radius: 30px;
  margin: 20px;
}

.tab {
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  background-color: #cdd9ec;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tab.active {
  background-color: #1a3d8f;
  color: #fff;
}

.tab:hover:not(.active) {
  background-color: #b7c7e6;
}
/* ------------------ */
/* ✅ Responsive Rules */
/* ------------------ */

@media (max-width: 768px) {
  .tab {
    padding: 8px 16px;
    font-size: 13px;
  }

  .button-group {
    gap: 8px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .tab {
    padding: 8px 14px;
    font-size: 12px;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
  }

  .section-2 {
    top: 0; /* reduce stickiness offset for small screens */
    padding: 6px 0;
  }
}

.gallery-container {
  width: 100%;
  padding: 40px 20px;
  margin-top: 10px;
  border: 1px solid var(--blue-border-color);
  border-radius: 20px;
}

.gallery-container h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 600;
  text-align: center;
}

.student-container {
  width: 100%;
  border: 1px solid var(--blue-border-color);
  border-radius: 20px;
  padding: 40px 20px;
  margin: 20px 0 10px;
}

.student-container h1 {
  font-size: 2.5rem;
  margin-top: 20px;
  font-weight: 600;
  text-align: center;
}

.student-imgcontainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 10px;
}

.student-card {
  width: 100%;
  max-width: 350px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.student-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.masonry {
  column-count: 4;
  column-gap: 20px;
  padding: 0 20px;
}

.masonry img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.masonry img:hover {
  transform: scale(1.03);
}

/* ✅ Responsive Design */
@media (max-width: 1200px) {
  .masonry {
    column-count: 3;
  }
}

@media (max-width: 900px) {
  .event-title h1,
  .gallery-container h1,
  .student-container h1 {
    font-size: 2rem;
  }

  .masonry {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .event-title h1,
  .gallery-container h1,
  .student-container h1 {
    font-size: 1.5rem;
  }

  .events-header {
    flex-direction: column;
  }

  .button-group {
    justify-content: center;
  }

  .masonry {
    column-count: 1;
    padding: 0 10px;
  }

  .student-card {
    height: auto;
  }
}


/* form popup  */

/* Prevent body from scrolling when popup is open */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.popup-overlay {
   display: none;
    position: fixed;

    z-index: 99;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center; align-items: center;
  }

  .popup-content {
    background:#fff;
    padding: 30px;
    border-radius: 12px;
    width: 70%;
    /* max-width: 400px; */
    position: relative;
  }
  
.close-btn-wrapper{
    height:40px;
    width: 40px;
    border-radius: 50%;
    background: #0D6493 ;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-btn-wrapper i{
    color: #fff;
}

  .close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 22px;
    cursor: pointer;
  }

  .form-heading{
    margin-bottom: 3rem;
    text-align: center;
  }

  .form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
  }

  .form-group i {
    
    color: #a8a8a8;
  }

  .form-group input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
  }

  .popup-submit-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
  }

  .iti--separate-dial-code .iti__selected-flag{
    background-color: transparent !important;
  }
  @media (max-width: 768px){
      .popup-content{
          padding: 15px;
          width: 85%;
      }
      .popup-overlay{
          top: 50%;
        transform: translateY(-50%);
      }
      .form-heading{
          margin: 3rem 0 !important;
      }
      
  }
  /* Base styles */
.edu-contact-container {
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  background-color: #fff;
  box-sizing: border-box;
}

.edu-contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  justify-content: center; /* Center on wider screens */
}

.edu-contact-form,
.edu-contact-location {
  flex: 1 1 45%;
  min-width: 300px;
  margin: 10px 0;
  border-radius: 16px;
  box-sizing: border-box;
}

.edu-contact-location {
  padding: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.edu-contact-address {
  border-radius: 16px;
  margin-top: 10px;
  padding: 6px;
  transition: border-color 0.3s ease;
}

.edu-contact-address h4 {
  font-weight: 500;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.edu-contact-address h4 img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.edu-contact-address p {
  opacity: 0.7;
  font-size: 14px;
}

.edu-contact-form-wrapper {
  background-color: #fff;
  width: 100%;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.edu-contact-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.edu-contact-form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.edu-contact-form-group input,
.edu-contact-form-group select {
  padding: 12px;
  border: 1px dotted #0D6493;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.edu-contact-form-group input:focus,
.edu-contact-form-group select:focus {
  border-color: #007bff;
}

.edu-contact-checkbox-group {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.edu-contact-checkbox-group input[type="checkbox"] {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  /*accent-color: #007bff;*/
}

.edu-contact-checkbox-group label {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.edu-contact-submit {
  margin-top: 30px;
  text-align: center;
}

.edu-contact-button a {
  text-decoration: none;
  color: black;
}

.edu-contact-heading-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.map {
  height: 50vh;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Responsive */

/* Large desktops */
@media (max-width: 1440px) {
  .edu-contact-heading-title {
    font-size: 2.3rem;
  }
}

/* Medium desktops and tablets */
@media (max-width: 1024px) {
  .edu-contact-form-group {
    flex: 1 1 100%;
  }

  .edu-contact-heading-title {
    font-size: 2.2rem;
  }

  .edu-contact-box {
    justify-content: space-between;
  }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
  .edu-contact-box {
    flex-direction: column;
    gap: 25px;
  }

  .edu-contact-form,
  .edu-contact-location {
    flex: 1 1 100%;
  }

  .edu-contact-heading-title {
    font-size: 2rem;
    margin-top: 20px;
  }

  .mobile-top-margin {
    margin-top: 2rem;
  }
}

/* Phones */
@media (max-width: 480px) {
  .edu-contact-heading-title {
    font-size: 1.6rem;
    margin-top: 20px;
  }

  .edu-contact-address h4 img {
    width: 30px;
    height: 30px;
  }

  .edu-contact-form-group input,
  .edu-contact-form-group select {
    font-size: 14px;
  }

  .edu-contact-checkbox-group label {
    font-size: 13px;
  }

  .mobile-top-margin {
    margin-top: 4rem;
  }

  .edu-contact-form-wrapper {
    padding: 20px;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .edu-contact-heading-title {
    font-size: 1.4rem;
  }

  .edu-contact-form-group input,
  .edu-contact-form-group select {
    font-size: 13px;
    padding: 10px;
  }

  .edu-contact-checkbox-group label {
    font-size: 12px;
  }
}

  
  
  
 

/*required documents and eligibility critria */
.documnets-realted-section{
    background: #a2c4e082;
    border-radius: 40px;
}    
.eligibility-section{
    display: flex;
    gap: 2rem;
}

.criteria-column{
    width: 50%;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
}


.criteria-title {
    /*font-size: 1.25rem;*/
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.criteria-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 0.5rem;
    margin-top: 0.15rem;
    background-image: url(' data:image/svg+xml;utf8,\ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%230A6592">\ <path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05L7.477 11.56\ a.75.75 0 0 1-1.08.02L3.384 8.384a.75.75 0 1 1 1.06-1.06l2.995\ 2.994L10.97 4.97z"/>\ </svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.criteria-item {
    /*font-size: 1.1rem;*/
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .eligibility-section{
        flex-direction: column;
}
.criteria-column{
    width: 100%;
}
}


.partner-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}



.partner-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
}

.partner-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.partner-carousel::-webkit-scrollbar {
  display: none;
}
.partner-card {
  flex: 0 0 auto;
  height:100px;
  width: 200px;
  
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
  scroll-snap-align: center;
  transition: transform 0.3s;
  border: 2px solid var(--blue-border-color);
  
}

.partner-card img {
  width: 100%;
  height: 100%;
  margin-bottom: 15px;
  object-fit: contain;
}



.partner-card:hover {
  transform: translateY(-5px);
}

/* Optional: Hide scrollbar */
.partner-carousel {
  display: flex;
  gap: 20px;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-35%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-heading {
    font-size: 2rem;
  }
  .partner-card {
    min-width: 160px;
  }
}



    .carousel-wrapper {
      position: relative;
      max-width: 100%;
      overflow: hidden;
      padding: 20px 40px;
    }

    .scroll-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
      background: #003f9e;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      cursor: pointer;
      font-size: 1.5rem;
    }

    .scroll-btn.left {
      left: 10px;
    }

    .scroll-btn.right {
      right: 10px;
    }

    .country-container {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
      scroll-behavior: smooth;
      gap: 20px;
      padding: 10px;
    }

 .country-card {
  flex: 0 0 430px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  min-height: 500px;
  transition: background-color 0.6s ease, box-shadow 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--blue-border-color);
}



.ranking-label {
    width: 70%;
    background-color: #004080;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap
  margin-top: 10px;
}

.careers h4{
    font-size: 1.2rem;
}
.careers ul {
    padding-left: 20px;
    margin-top: 5px;
}
.country-card:hover  {
  background-color:#a2c4e082;
   box-shadow: 0px 20px 40px 0px rgba(61, 65, 84, 0.15);
  transform: translateY(-5px);
  color:#fff;
}
country-card img :hover{
    background-color: white;
}

.country-card:hover h2,
.country-card:hover h3,
.country-card:hover h4,
.country-card:hover p,
.country-card:hover .country-desc,
.country-card:hover li,
.country-card:hover td,
.country-card:hover th {
  color: black;
}

.country-card:hover .course-info table th {
  background-color:  #e9ecef;
  color: black;
}
    .country-header {
        display: flex;
 
  justify-content: flex-start;
  align-items: center; /* or center if you prefer centered layout */
  gap: 10px; /* spacing between title and ranking badge */
  margin-bottom: 10px;
    }

    .country-header img {
      width: 50px;
      height: 50px;
      object-fit: contain;
      border-radius: 50%;
      border: 1px solid #a2c4e082;
      background-color: white;
      
    }

    .country-header h2 {
      font-size: 22px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
    }

    .country-desc {
      margin: 12px 0;
      font-size: 1rem;
      color: #333;
    }

    .course-info h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .course-info table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 10px;
    }

   .course-info table th,
.course-info table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
  font-size: 16px;
}

.course-info table th {
  background-color: #e9ecef;
}

.country-card:hover .course-info table th,
.country-card:hover .course-info table td {
  border: 1px solid black;
}


    .eligibility h4 {
      margin: 10px 0 5px;
      font-size: 1rem;
    }

    .eligibility ul {
      padding-left: 20px;
      margin: 0;
    }

    .eligibility li {
      font-size: 1rem;
      margin-bottom: 4px;
    }


    @media (max-width: 480px) {
      .country-card {
        flex: 0 0 260px;
        padding: 16px;
      }

      .country-header {
        flex-direction: column;
        text-align: center;
      }

      .country-header img {
        width: 40px;
        height: 40px;
      }

      .country-header h2 {
        font-size: 1.5rem;
      }

      .course-info table th,
      .course-info table td {
        font-size: 0.85rem;
        padding: 6px;
      }
    }
    
    
    /*seminar */
.seminar-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 20px;
  margin-top: 10px;
  border: 1px solid var(--blue-border-color);
  border-radius: 20px;
}

.seminar-section h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 600;
  text-align: center;
}

/* Card Container */
.seminar-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  border-radius: 10px;
  border: 2px solid blue;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 10px;
}

/* Alternate Card Reversal */
.seminar-card.reverse {
  flex-direction: row-reverse;
}

/* Image Section */
.seminar-image {
  flex: 1 1 50%;
  height: auto;
}

.seminar-image img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* Content Section */
.seminar-content {
  flex: 1 1 50%;
  padding: 2rem;
  background-color: #f9f9f9;
}

.seminar-content h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: #0d6493;
}

.seminar-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.seminar-date {
  font-weight: bold;
  color: #0d6493;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .seminar-card,
  .seminar-card.reverse {
    flex-direction: column;
    height: auto;
  }

  .seminar-image,
  .seminar-content {
    width: 100%;
    flex: 1 1 100%;
  }

  .seminar-image img {
    max-height: 250px;
    border-radius: 0;
  }

  .seminar-content {
    padding: 1.5rem;
  }

  .seminar-section h1 {
    font-size: 2rem;
  }
}


/*testimonials*/

.testimonial-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* prevent vertical shifting */
  /*padding: 80px;*/
  /*background: #fff;*/
  /*max-width: 1200px;*/
  /*margin: auto;*/
  gap: 40px; /* spacing between left and right */
}





.testimonial-right{
    
  flex: 1;
  padding: 20px;
  min-height: 220px; /* ✅ Ensures fixed space to avoid shift */
  transition: opacity 0.3s ease-in-out;


}
.testimonial-left {
  flex: 1;
  padding: 20px;
  position: relative;
}

/*.testimonial-left h2 {*/
/*  font-size: 2.5rem;*/
/*  margin-bottom: 10px;*/
/*}*/

.testimonial-highlight {
  font-weight: 800;
}

.testimonial-description {
  margin-bottom: 20px;
  color: #555;
}

.testimonial-nav-buttons{
    display: flex;
    gap: 15px;
}

.testimonial-nav-buttons button {
  /*font-size: 1.2rem;*/
  /*padding: 10px;*/
  /*margin-right: 10px;*/
  /*border: 1px solid #ccc;*/
  /*border-radius: 50%;*/
  /*background: #fff;*/
  /*cursor: pointer;*/
    background-color: #fff;
    border: 2px solid var(--primary-color);
    height: 50px;
    width: 50px;
    padding: 5px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 10px #D0E1EF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.testimonial-quote {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-size: 3rem;
  color: #3b3bea;
  position: absolute;
  top: -20px;
  left: -20px;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.testimonial-profile-name {
  font-weight: bold;
}

.testimonial-profile-role {
  font-size: 0.9rem;
  color: #666;
}


/* Responsive Styling */
@media (max-width: 600px) {
    .testimonial-wrapper{
    flex-direction: column;
    gap: 0px;
    }
    .testimonial-left{
        padding: 0;
    }
    .testimonial-quote{
        font-size: 1rem;
    }
    
}

/*visa approved section*/
.visa-approved-section {
  /*padding: 4rem 2rem;*/
  /*max-width: 80rem;*/
  /*margin: 0 auto;*/
  text-align: center;
}

.visa-approved-header h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.visa-approved-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.visa-approved-card {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.visa-approved-card-image {
  width: 100%;
  /*aspect-ratio: 4 / 3;*/
  overflow: hidden;
  position: relative;
}

.visa-approved-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 4px;
}

.visa-approved-card-image:hover img {
  transform: scale(1.05);
}

.spain-institution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.spain-institution-card {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spain-institution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.spain-institution-card .spain-icon {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.popular-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.spain-section-courses h4{
    font-size: 1.3rem;
}

.cost-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.cost-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}


.cost-section-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Left Column Styles */
.text-content {
  padding-right: 2rem;
}

.heading-wrapper {
  margin-bottom: 2rem;
}


.heading-underline {
  width: 6rem;
  height: 4px;
  background-color: #f97316;
  border-radius: 2px;
  margin-top: 1rem;
}

.description-text {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

/* Right Column Styles */
.cost-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cost-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cost-header-card {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  text-align: center;
}

.cost-header-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  margin: 0;
}

.cost-item-card {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cost-single-card {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  text-align: center;
}

.cost-label {
  font-weight: 600;
  color: #374151;
}

.cost-value {
  font-weight: 700;
  color: #1f2937;
}

.cost-value-large {
  font-weight: 700;
  color: #1f2937;
  font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .cost-section-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .text-content {
    padding-right: 0;
  }


}

@media (max-width: 768px) {
  .sec-padding {
    padding: 2rem 1rem;
  }

  

  .cost-item-card {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .description-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cost-header-card,
  .cost-item-card,
  .cost-single-card {
    padding: 0.75rem 1rem;
  }

}

.program-block-wrapper{
    display: flex;
    gap: 20px;
    overflow-x:scroll ;
}::-webkit-scrollbar{
    display: none;
}

.program-block{
    width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    flex-shrink: 0;
}
.program-block h4{
    font-size: 22px;
}

.program-block .course-duration{
    font-size: 14px;
    color:#989696;
}


.program-block span{
        color: green;
    font-weight: 500;
    margin: 10px 0;
}

.program-block li {
  position: relative;
  padding-left: 20px;
  margin: 10px 0;
}

.program-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background-color: #dadada; /* or your preferred color */
}



