.site-header {
    background-color: #ffffffe3;
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.3);
    position: fixed;
    z-index: 1000;
    transition: all 0.3 sease-in-out;
    width: 100%;
    top:0;
}

.container {
    display: grid;
    grid-template-columns: 0.2fr 1fr 0.3fr;
    align-items: center;
    padding: 10px 200px;
}

.logo img {
    width: 150px;
    height: 100%;
}

.main-nav {
    display: flex;
    justify-content: center;
}

.main-nav .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav .nav-links li {
    display: inline;
    padding: 0 10px;
}
.main-nav > .nav-links > li > a {
    position: relative;
    text-decoration: none;
    color: #18548a;
    font-weight: 400;
    font-size: 20px;
    display: inline-block;
}

.main-nav > .nav-links > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 130px;  
    height: 50px; 
    background: url('../images/cursor-img1.webp') no-repeat center center;
    background-size: contain;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.main-nav > .nav-links > li > a:hover {
    color: #fe3c66;
}

.main-nav > .nav-links > li > a:hover::after {
    opacity: 1;
}

@media (max-width: 1075px) {
    .main-nav > .nav-links > li > a {
    font-size: 16px;
    }
}

/* Preview Section with Row of Cards */
.nav-section-preview {
    position: absolute;
    text-align: center;
    align-items: center;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffffcb;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 10px 0px;
    /* Let the inner container control scrolling */
    /* overflow: hidden;  */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@media (max-width: 990px) {
    .nav-section-preview {
        display: none;
    }
}

.nav-section-preview::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.about-cards{
    justify-items: center;
}

.offices-cards{
    justify-items: center;
}

/* Cards in a row */
.cards-container {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;              /* keep to one row */
    align-items: stretch;
    justify-content: center;
    overflow-x: auto;               /* enable horizontal scroll */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;  /* smooth on iOS */
    scroll-snap-type: x proximity;       /* optional: tidy snapping */
    padding-bottom: 6px;   
    justify-items: center; 
}

.card {
    flex: 0 0 220px;                /* fixed card width; no shrinking */
    max-width: 220px;
    height: 280px;
    padding: 10px;
    min-width: 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    scroll-snap-align: start;
}

.card img {
   width: 100%;
    /* height: 150px; */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    flex: 1;
    padding: 5px;
}
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #18548a;
    margin: 10px 10px 5px;
    line-height: 1.2;
}

.card-desc {
   font-size: 12px;
    color: #18548a;
    padding: 0 10px;
    line-height: 1.4;
    margin-bottom: 10px;
    word-wrap: break-word;       /* Breaks long words */
    overflow-wrap: break-word;   /* Ensures wrapping on modern browsers */
    box-sizing: border-box;  
}

 .card a {
    display: inline-block;
    font-size: 11px;
} 

.header-card-btn {
    border:2px solid transparent; 
    color:#fff;
    font-size: 12px;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to right, #18548a, #fe3c66);
    background-origin: border-box; 
    background-clip: padding-box, border-box;
    border-radius:24px; 
    padding:5px 10px; cursor:pointer; 
    display:inline-block; 
    margin:5px;
}

.header-card-btn a {
    font-size: 12px !important;   /* Ensures button text size is 12px */
    text-decoration: none;
    color: #18548a;    /* Adjust text color if needed */
}
.header-card-btn a:hover {
    color: #fe3c66;
}


/* Hover effect */
.main-nav .nav-links li:hover .nav-section-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Destinations Preview container */
.destinations-preview {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffffcb;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 999;
  padding: 20px 40px;
  text-align: center;
  overflow-x: auto; /* allow horizontal scroll */
  white-space: nowrap; /* keep cards in single line for scroll */
}

@media (max-width: 990px) {
    .destinations-preview {
        display: none;
    }
}


/* Grid container for cards */
.destinations-cards {
  display: inline-grid; /* inline-grid for horizontal scroll */
  grid-auto-flow: column; /* fill columns horizontally */
  grid-template-rows: repeat(3, 1fr); /* 2 rows */
  gap: 20px 20px; /* row-gap, column-gap */
}

/* Card styling */
.destinations-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 6px 10px;
  width: 220px;
  height: 70px;
  flex-shrink: 0; /* prevent shrinking in scroll */
  text-decoration: none;
}

/* Image on left */
.destinations-card img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

/* Text on right */
.destinations-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #18548a;
  text-align: left;
}

/* Hover effect */
.main-nav .nav-links li:hover .destinations-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



.main-nav .nav-links li.current-menu-item a {
    color: #fe3c66;
}

.menu-toggle:focus {
    outline: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    background: none;
    border: none;
    position: relative;
    z-index: 1010;
}

.menu-toggle .close-icon {
    display: none;
    
}

.menu-toggle.active .menu-icon {
    display: none;
}

.menu-toggle.active .close-icon {
    display: inline;
}

.main-nav .nav-links li:last-child {
    border-right: none;
}

.header-button-area{
  display: flex;
  gap:10px;
  justify-content: right;
}

.hero-social{
    position: fixed;
    bottom: 1%;
    right: 1%;
    display: flex;
    flex-direction: column; /* stack vertically */
    gap: 10px;
    z-index: 999;
}

.hero-social img{
    width: 50px;
    height: 50px;
}

/* Optional: specific style for book button if needed */
.hero-social .book-btn img {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* makes it perfectly round */
    object-fit: cover;  /* ensures image fits well inside the circle */
}

.header-button-area-m{
    display: none;
}


@media (max-width: 1600px) {
    .container {
        padding: 10px 100px;
    }
  }

@media (max-width: 1400px) {
    .container {
        padding: 10px 50px;
    }
  }


@media (max-width: 1230px) {
.logo img {
    width: 100px;
    height: 100%;
}

.main-nav .nav-links li {
    padding: 0 5px;
}

    .container {
        padding: 10px 30px;
        /* grid-template-columns: 0.2fr 1fr 0.6fr; */
    }

    .main-nav .nav-links a {
    font-size: 18px;
}
}

@media (max-width: 990px) {
    .container {
       padding: 10px 30px;
        align-items: center;
        grid-template-columns: 0.2fr 1fr 0.1fr;
    }

    .menu-toggle {
        display: block;
        order: 3;
        color:#18548a;
        text-align: right;
    }

  .logo {
        order: 1;
    }

    .header-button-area {
    order: 2;
}

    .main-nav .nav-links {
        flex-direction: column;
        padding: 15px;
    }

    .main-nav .nav-links li {
        padding: 10px;
        display: block;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid #1d568926;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 0%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 15px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    }

    .main-nav.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .header-button-area-m{
        display: flex;
        justify-content: left;
        gap: 10px;
        padding: 0 20px;
    }

    .main-nav .nav-links a {
        color: #004080;
    }

    .main-nav .nav-links a:hover {
        color: #fe3c66;
    }

    .main-nav .nav-links li.current-menu-item a {
        color: #fe3c66;
    }

    .hero-social{
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .hero-social img{
        width: 35px;
    height: 35px;
    }

    .student-btn {
    display: none;
}

 .agent-btn {
    display: none;
}
}

@media (max-width: 550px) {
.header-button-area {
    justify-content: center;
}
}



/* Book Apointment popup css *******************************/

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    text-align: center;
    align-items: center;

}


.modal-content {
    background: #fff;
    padding: 40px 20px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    border-radius: 30px;
    max-width: 600px;
    width: 90%;
    border: 4px solid #ef365c;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    position: relative;
}
.close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #aaa;
}

.book-title {
    font-size: 25px;
    position: relative;
    font-weight: 800;
    color: #18548a;
    margin-bottom: 20px;
}

.book-text {
    color: rgb(103, 105, 107);
    position: relative;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 20px;
}

.coutry-selctor select {
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  color: #18548a;
  border-radius: 6px;
  border: 2px solid #ef365c;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}

.coutry-selctor select:hover,
.coutry-selctor select:focus {
  border-color: #18548a;
}
