/* ========== Common css========= */
:root {
  --accent: #0b6fb8;
  --bg: #f5f8fb;
  --muted: #516176;
  font-family: 'Poppins', sans-serif;
}
* {
  box-sizing: border-box;
  outline: 0;
}
h1,
h2,
h3 {
  padding: 0;
  margin: 0;
}
body {
  margin: 0;
  background: var(--bg);
  color: #0f1724;
  position: relative;
  z-index: 0;
  background-image: url(../images/bg.jpg);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 18px; */
}
/* Modern Glass Header like consulo-next */
/* Header initially over the slider */
.modern-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 14px 0;
  transition: background 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.modern-header.sticky .menu a {
  color: #1c1c1c !important;
}

.modern-header.sticky .logo {
  color: #0b6fb8 !important;
}

.modern-header .menu a {
  color: #fff !important;
}
.modern-header .menu a:hover {
  color: #0a84ff !important;
  transition: all 0.3s linear;
}
/* Sticky state when scrolling */
.modern-header.sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display';
  font-size: 26px;
  font-weight: 800;
  color: #fff238;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu a {
  text-decoration: none;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  transition: 0.2s;
}

.menu a:hover {
  color: #0a84ff;
}

/* Contact Button */
.contact-btn {
  padding: 7px 18px;
  border-radius: 6px;
  background: #0a84ff;
  color: #fff !important;
  font-weight: 600;
}

.contact-btn:hover {
  background: #006edc;
}

/* Language Dropdown */

/* Language select styling */
.langSelect {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #2a3b47;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none; /* Remove default arrow for most browsers */
  background-image: url('data:image/svg+xml;utf8,<svg fill="%232a3b47" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); /* custom arrow */
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  width: 60px;
  margin: 0 !important;
}

/* Hover effect */
.langSelect:hover {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

/* Focus effect */
.langSelect:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .menu {
    gap: 0;
  }

  .logo {
    font-size: 22px;
  }
}

.siteLogo img {
  height: 100px;
  width: 110px;
}
.nav {
  display: flex;
  gap: 33px;
  align-items: center;
  margin-left: auto;
}
.menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}
a.btn {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.topContLanBtn {
  display: flex;
  gap: 17px;
  align-items: center;
}
/* Base header styles already provided */

/* Mobile card look */
@media (max-width: 768px) {
  /* Mobile Menu Animation */
  .menu {
    transition: all 0.35s ease-in-out;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
  }
  .topContLanBtn {
    display: flex;
    gap: 17px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    margin: 5px 22px;
  }
  /* When active */
  .menu.active {
    transform: scaleY(1);
    opacity: 1;
  }
  .menu {
    display: flex;
    flex-direction: column;
    max-width: 350px;
    margin-left: auto;
    background: rgb(15 23 36 / 92%);
    position: absolute;
    top: 70px;
    left: 0;
    right: 10px;
    padding: 15px 0;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: none;
  }
  .modern-header.sticky .menu a {
    color: #fff !important;
  }
  a.contact-btn {
    width: 80px !important;
    padding: 10px 0 !important;
    border: 0 !important;
    margin-left: 22px;
    text-align: center;
  }
  .langSelect {
    margin-right: 22px !important;
  }
  .menu a,
  .menu select {
    color: #1c1c1c !important;
  }

  .menu a {
    padding: 12px 20px;
    border-bottom: 1px solid #eeeeee;
    width: 100%;
  }
  .menu a:hover {
    background: #fff;
  }
  .menu a:last-child {
    border-bottom: none;
  }

  /* Smooth fade-in for each item */
  .menu a,
  .menu select {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s ease;
  }

  .menu.active a,
  .menu.active select {
    opacity: 1;
    transform: translateY(0);
  }

  /* animation delay */
  .menu.active a:nth-child(1) {
    transition-delay: 0.05s;
  }
  .menu.active a:nth-child(2) {
    transition-delay: 0.1s;
  }
  .menu.active a:nth-child(3) {
    transition-delay: 0.15s;
  }
  .menu.active a:nth-child(4) {
    transition-delay: 0.2s;
  }
  .menu.active select {
    transition-delay: 0.25s;
  }

  /* Hamburger icon */
  .hamburger {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 2000;
  }

  .hamburger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #0a84ff;
    left: 0;
    transition: 0.3s;
    border-radius: 6px;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .hamburger span:nth-child(3) {
    bottom: 0;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Top banner */
.banner {
  position: relative;
  width: 100%;
  height: 100vh;
}
.mySwiper {
  height: 100%;
}
.swiper-slide {
  padding-top: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1c253999; /* black overlay with 50% opacity */
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 20px 0 20px 150px;
  border-radius: 10px;
}

.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  margin-bottom: 12px;
}

.slide-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.slide-content .btn {
  margin: 0 5px;
  padding: 10px 20px;
  background-color: #7141ef;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.slide-content .btn:hover {
  background-color: #5a32c7;
}
.slideArrowBtn {
  z-index: 99;
  width: 100%;
  height: 80px;
  align-items: center;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
}
.slideArrowBtn .swiper-button-next,
.slideArrowBtn .swiper-button-prev {
  z-index: 10;
  cursor: pointer;
  width: 50%;
  height: inherit;
  color: #fff;
  background-color: transparent;
  border: none;
  border-top: 1px solid #ffffff4d;
  outline: none;
  justify-content: center;
  align-items: center;
  margin: 0;
  transition: all 0.3s;
  display: flex;
  position: static;
}
.slideArrowBtn .swiper-button-next:hover,
.slideArrowBtn .swiper-button-prev:hover {
  color: #fff;
  background-color: #ffffff26;
  border-top: 1px solid #5d666f80;
}
.slideArrowBtn .swiper-button-next svg,
.slideArrowBtn .swiper-button-prev svg {
  height: 35px;
  width: 35px;
}
.banner img {
  width: 100%;
  height: 100%;
}
.swiper-slide-active .slide-content h1,
.swiper-slide-active .slide-content p,
.swiper-slide-active .slide-content .btn {
  opacity: 0;
  transform: translateY(200px);
  animation-fill-mode: forwards;
  animation-duration: 1.5s;
  display: inline-block;
}
.swiper-slide-active .slide-content h1 {
  animation-delay: 0.3s;
}
.swiper-slide-active .slide-content .btn {
  animation-delay: 0.8s;
}
.swiper-slide-active .slide-content p {
  animation-delay: 0.6s;
}
.swiper-slide-active .animate-text {
  animation-name: slideIn;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-grid {
  display: grid;
  grid-template-columns: 260px 1fr 320px;
  gap: 18px;
  margin-top: 16px;
}

@media (max-width: 1000px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  padding: 10px;
  border-bottom: 1px solid #eef3f8;
}

.news-item a {
  color: var(--accent);
  font-weight: 600;
}

.news-item .meta {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------------------------------------------

--------------------------------------------- */
.lead-form {
  margin: 20px auto;
  background: #fdfdfd;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
}

.lead-form label {
  display: block;
  font-weight: 500;
  color: #2a3b47;
  margin-bottom: 6px;
  margin-top: 12px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.lead-form textarea {
  min-height: 100px;
  resize: vertical;
}

.form-action {
  margin-top: 18px;
  text-align: center;
}

.lead-form .btn {
  padding: 10px 25px;
  background: #007bff;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
}

.lead-form .btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.test {
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 6px 18px rgba(12, 30, 60, 0.03);
}

/* ---------------------------------------------

--------------------------------------------- */
h1 {
  font-family: 'Playfair Display';
  font-size: 28px;
  margin: 0;
}

.muted {
  color: var(--muted);
}

/* ---------------------------------------------
FORM + GALLERY + SERVICES SECTION (UPDATED)
--------------------------------------------- */

.layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  margin-top: 16px;
}

@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e9eef5;
  box-shadow: 0 8px 25px rgba(12, 30, 60, 0.06);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(12, 30, 60, 0.1);
}

/* SERVICES LIST */
.card ul li {
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px dashed #e5eaf0;
  color: #374151;
}
.card ul li:last-child {
  border-bottom: none;
}

/* NEWS */
#studentNews li,
#legalNews li {
  padding: 10px 0;
  background: #f8fbff;
  margin-bottom: 8px;
  border-radius: 8px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

/* FORM */
label {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e6edf3;
  background: #f9fbff;
  margin-top: 5px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 111, 184, 0.15);
  background: #fff;
}

/* BUTTON */
.btn {
  background: #0b6fb8;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
}

.btn:hover {
  background: #095a97;
}

/* GALLERY */
#galleryMain {
  border-radius: 10px;
}

.thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 8px;
}

.thumbs img {
  width: 90px;
  height: 65px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.25s;
  border: 2px solid transparent;
}

.thumbs img:hover {
  transform: scale(1.04);
  border-color: var(--accent);
}
/* Top Footer */
/* Footer wrapper */
.footer-wrap {
  background: #111827;
  color: #d1d5db;
  padding: 40px 20px 0 20px;
  border-radius: 14px 14px 0 0;
  margin-top: 40px;
}

/* GRID LAYOUT */
.topFooter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.topFooter aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topFooter h3 {
  font-family: 'Playfair Display', serif;
  color: #f3f4f6;
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.topFooter .muted {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d5db;
}

.topFooter a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.topFooter a:hover {
  text-decoration: underline;
}

/* Latest News Section */
.latest-news ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.latest-news li {
  background: #1f2937;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 10px;
  border-left: 4px solid #3b82f6;
  transition: transform 0.2s, background 0.2s;
}

.latest-news li:hover {
  transform: translateX(4px);
  background: #2c313a;
}

.latest-news li a {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
}

.latest-news li .meta {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

/* Button */
.topFooter .btn {
  background-color: #3b82f6;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: 0.3s;
}

.topFooter .btn:hover {
  background-color: #2563eb;
}

/* ===========================================
   TABLET RESPONSIVE  (≤ 992px)
========================================== */
@media (max-width: 992px) {
  .topFooter {
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .topFooter h3 {
    font-size: 1.3rem;
  }

  .latest-news li a {
    font-size: 0.9rem;
  }
}

/* ===========================================
   MOBILE RESPONSIVE (≤ 768px)
========================================== */
@media (max-width: 768px) {
  .footer-wrap {
    padding: 30px 15px 0 15px;
  }

  .topFooter {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .topFooter h3 {
    font-size: 1.2rem;
  }

  .topFooter .muted {
    font-size: 0.9rem;
  }
  .social-widget {
    margin: 0 !important;
  }
  .social-icons {
    justify-content: start !important;
  }
  .latest-news li {
    padding: 12px;
  }

  .latest-news li a {
    font-size: 0.9rem;
  }
}

/* ===========================================
   EXTRA SMALL MOBILE (≤ 480px)
========================================== */
@media (max-width: 480px) {
  .footer-wrap {
    padding: 25px 12px 0 12px;
  }

  .topFooter h3 {
    font-size: 1.1rem;
  }

  .topFooter .muted {
    font-size: 0.85rem;
  }

  .topFooter .btn {
    padding: 9px 14px;
    font-size: 0.9rem;
  }
}

/* Footer copyright */
.footer {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .topFooter {
    grid-template-columns: 1fr;
  }
}

.footer {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ================ */
#testimonialsWrap .swiper-slide {
  padding: 0 !important;
  width: 100% !important;
}
.testimonial-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 600px;
  margin: auto;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid #e8eef4;
  margin: auto;
  display: block;
}

.testimonial-card strong {
  font-size: 18px;
  color: #2a3b47;
}

.testimonial-card p {
  margin-top: 10px;
  line-height: 1.6;
  color: #516176;
  font-size: 15px;
}

/* Swiper buttons design */
.swiper-button-next,
.swiper-button-prev {
  color: #2a3b47;
  scale: 0.8;
}

/* Dots */
.swiper-pagination-bullet {
  background: #9aa7b8;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #2a3b47;
}
.clentsFeed {
  max-width: 600px !important;
  margin: auto;
  padding: 0 20px;
}

.testimonial-card {
  max-width: 520px;
  margin: auto;
}

/* ============================
   RESPONSIVE FIXES ONLY
============================ */

/* --------- Small Laptop & Tablet --------- */
@media (max-width: 992px) {
  .wrap {
    padding: 0 10px;
  }
  /* HEADER */
  .header-container {
    padding: 14px 20px;
  }
  .slide-content {
    padding: 20px 40px;
  }

  .slide-content h1 {
    font-size: 48px;
  }
}

/* =============== */

/* --------- Tablet & Mid Devices --------- */
@media (max-width: 768px) {
  .wrap {
    padding: 0 10px;
  }
  .modern-header {
    background: rgba(0, 0, 0, 0.45);
  }

  /* NAV ITEMS SMALLER */
  .menu a,
  .contact-btn,
  .langSelect {
    font-size: 13px;
  }

  /* SLIDER */
  .banner {
    height: 80vh;
  }

  .slide-content {
    max-width: 95%;
    padding: 20px;
  }

  .slide-content h1 {
    font-size: 36px;
  }

  .slide-content p {
    font-size: 0.95rem;
  }

  .slide-content .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* 2 Column Layout → 1 Column */
}

/* --------- Mobile Phones --------- */
@media (max-width: 576px) {
  .wrap {
    padding: 0 10px;
  }
  /* HEADER */
  .logo {
    font-size: 20px;
  }

  .contact-btn {
    padding: 6px 12px;
  }

  /* SLIDER HEIGHT */
  .banner {
    height: 70vh;
  }

  .slide-content h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .slide-content {
    padding: 10px;
  }

  .slide-content p {
    font-size: 14px;
  }

  /* SLIDER BUTTONS */
  .slideArrowBtn {
    height: 50px;
  }

  .slideArrowBtn .swiper-button-next svg,
  .slideArrowBtn .swiper-button-prev svg {
    height: 24px;
    width: 24px;
  }

  /* TESTIMONIAL SLIDER */
  .clentsFeed {
    padding: 0 10px;
  }

  /* RIGHT SIDEBAR UNDER MAIN */
  .layout aside.card {
    order: 3;
  }

  .layout {
    grid-template-columns: 1fr !important;
  }
}
/* Social Icon */
.latest-news {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}

.latest-news h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 600;
  text-align: left;
}
.contact-widget {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-widget h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
  position: relative;
}

.contact-widget h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #007bff;
  margin: 6px 0;
  border-radius: 2px;
}

/* Contact items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 2px 0;
  font-size: 15px;
  color: #fff;
}

.contact-item i {
  color: #fff;
  font-size: 18px;
  min-width: 24px;
}

/* Links style */
.contact-item a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.contact-item a:hover {
  color: #007bff;
  text-decoration: underline;
}

/* Social Icons */
.social-widget {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

  margin: 20px auto;
}

.social-widget h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
  position: relative;
}

.social-widget h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #007bff;
  margin: 6px 0;
  border-radius: 2px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 45px;
  height: 45px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Brand colors */
.social-icons a.facebook {
  background: #1877f2;
}
.social-icons a.instagram {
  background: #e1306c;
}
.social-icons a.whatsapp {
  background: #25d366;
}
.social-icons a.linkedin {
  background: #0a66c2;
}
.social-icons a.youtube {
  background: #ff0000;
}

/* Hover effect */
.social-icons a:hover {
  filter: brightness(1.2);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* Tooltip */
.social-icons a::after {
  content: attr(aria-label);
  position: absolute;
  bottom: 60px;
  background: #1877f2;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.social-icons a:hover::after {
  opacity: 1;
}

/* ================ Home Page ====================== */
/* About, Vision & Mission Section Styling */
.about-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px auto;
  padding: 0 16px;
}

.about-section .card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.about-section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
  color: #2a3b47;
}

.about-section p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #555;
}

.vision-card {
  border-top: 4px solid #4f46e5;
}

.mission-card {
  border-top: 4px solid #10b981;
}

.about-card {
  border-top: 4px solid #f59e0b;
}

#testimonials {
  margin-top: 20px;
}

.clentsFeed {
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 10px 0;
}

.testimonialItem {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  margin: auto;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonialItem img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimonialItem h4 {
  font-size: 18px;
  margin: 5px 0;
  color: #2a3b47;
}

.testimonialItem p {
  font-size: 15px;
  line-height: 22px;
  color: #555;
  margin-bottom: 10px;
}

.swiper-pagination-bullet {
  background: #2a3b47;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #ff4c60;
  opacity: 1;
}

@media (max-width: 600px) {
  .testimonialItem {
    padding: 15px;
    width: 95%;
  }

  .testimonialItem h4 {
    font-size: 16px;
  }
}
/* MODAL OVERLAY */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  padding: 20px;
}
.contact-section h1,
.contact-section h2 {
  text-align: center;
}
.contact-section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}
/* MODAL BOX */
.modal-content {
  background: #fff;
  margin: auto;
  padding: 25px;
  border-radius: 20px;
  width: 100%;
  max-width: 1000px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  opacity: 0;
  transition: 0.4s ease;
}

/* OPEN ANIMATION */
.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

/* CLOSE BUTTON */
.modal .close {
  color: #666;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  transition: 0.3s;
}
.modal .close:hover {
  color: #ff4c60;
}

/* GRID RESPONSIVE */
.contact-container {
  display: grid;
  grid-template-columns: 2fr 1.3fr;
  gap: 20px;
}

/* CARDS */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.08);
}

/* FORM INPUTS */
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
}

/* BUTTON */
.contact-form-card .btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #007bff;
  color: white;
  font-size: 17px;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form-card .btn:hover {
  background: #005ad1;
}

/* =======================================
   RESPONSIVE: TABLET 
======================================= */
@media (max-width: 992px) {
  .modal-content {
    max-width: 95%;
    padding: 20px;
  }

  .contact-container {
    gap: 15px;
  }
}

/* =======================================
   RESPONSIVE: MOBILE 
======================================= */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .modal .close {
    font-size: 28px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 20px;
  }

  iframe {
    height: 300px !important;
  }
}

/* =======================================
   EXTRA SMALL MOBILE
======================================= */
@media (max-width: 480px) {
  .modal-content {
    padding: 15px;
  }

  h1 {
    font-size: 22px;
  }

  .contact-form-card input,
  .contact-form-card textarea {
    font-size: 14px;
  }

  .contact-form-card .btn {
    font-size: 15px;
    padding: 12px;
  }
}
/* ============== PreLoader ============== */
/* PRELOADER WRAPPER */
#preloader {
  position: fixed;
  inset: 0;
  background: #0f172a; /* dark blue/black premium look */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.6s ease, visibility 0.6s;
}

/* CIRCLE ANIMATION */
.loader {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 6px solid #1e293b;
  border-top-color: #3b82f6;
  border-right-color: #38bdf8;
  animation: spin 1.2s linear infinite, glow 1.5s ease-in-out infinite alternate;
}

/* LOADING TEXT */
.loading-text {
  margin-top: 18px;
  font-family: 'Poppins', sans-serif;
  color: #e2e8f0;
  font-size: 1rem;
  letter-spacing: 2px;
  animation: fadeText 1.5s infinite;
}

/* SPIN ANIMATION */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* GLOW EFFECT */
@keyframes glow {
  from {
    box-shadow: 0 0 8px #3b82f6;
  }
  to {
    box-shadow: 0 0 20px #3b82f6;
  }
}

/* TEXT FADE */
@keyframes fadeText {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

/* HIDE PRELOADER */
#preloader.hide {
  opacity: 0;
  visibility: hidden;
}
