/* =========================================================
   1. RESET & BASE
========================================================= */
*{box-sizing:border-box;}

body{
  margin:0;
  font-family:'Segoe UI',sans-serif;
  color:#222;
  background:#fff;
}

a{
  text-decoration:none;
  color:inherit;
}


/* =========================================================
   2. GLOBAL LAYOUT
========================================================= */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}


/* =========================================================
   3. HEADER â€“ BASE (DESKTOP)
========================================================= */
.site-header{
  background:#fff;
  border-bottom:1px solid #eee;
  position:relative;
  z-index:100;
}

.header-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}

.logo img{
  max-height:40px;
}

.main-nav ul{
  display:flex;
  gap:24px;
  list-style:none;
  margin:0;
  padding:0;
}

.main-nav a{
  font-weight:500;
  color:#222;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.btn-cta{
  background:#0a3d62;
  color:#fff;
  padding:10px 18px;
  border-radius:6px;
  font-weight:500;
  white-space:nowrap;
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:28px;
  cursor:pointer;
}


/* =========================================================
   4. LANGUAGE SWITCH
========================================================= */
.lang-switch{
  display:flex;
  align-items:center;
  gap:6px;
}

.lang-switch a{
  font-size:13px;
  padding:6px 10px;
  border-radius:6px;
  color:#0a3d62;
  border:1px solid transparent;
  font-weight:500;
}

.lang-switch a.active{
  background:#0a3d62;
  color:#fff;
  border-color:#0a3d62;
}


/* =========================================================
   5. FOOTER
========================================================= */
.site-footer{
  background:#0a3d62;
  color:#fff;
  padding:48px 16px 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

.footer-logo{
  max-width:160px;
  margin-bottom:16px;
}

.footer-col h4{
  margin-bottom:12px;
  font-size:16px;
}

.footer-nav{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-nav a{
  display:block;
  margin-bottom:8px;
  color:#fff;
}

.social-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.social-icon{
  background:rgba(255,255,255,0.15);
  padding:8px 12px;
  border-radius:6px;
  font-size:14px;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.2);
  margin-top:32px;
  padding-top:16px;
  text-align:center;
  font-size:14px;
}


/* =========================================================
   6. HOME
========================================================= */
/* ===============================
   HOME – TITLES ALIGNMENT
=============================== */

.home h2 {
  text-align: center;
  margin-bottom: 32px;
}

.hero{
  background:#f5f8fb;
  padding:80px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}


.hero-content h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 24px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===============================
   UNIVERSITY – HERO
=============================== */

.university-hero {
  /*background: #f5f8fb;*/
  background: linear-gradient(
    180deg,
    #f5f8fb 0%,
    #ffffff 100%
  );
  padding: 56px 0;
}

.university-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.uni-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  background: #e8f1f8;
  color: #0a3d62;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.university-hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 12px;
}

.university-hero-content p {
  font-size: 16px;
  margin-bottom: 24px;
}

.university-hero-content .university-location {
  /* display: inline-flex; */
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 22px;
}

.university-location i {
  font-size: 14px;
  color: #0a3d62;
}

.university-hero-image {
    position: relative;
  max-height: 420px;    
  width: 100%;
  /*display: block;
  /*object-fit: cover;*/
  border-radius: 16px;
  overflow: hidden;
  background: #e5ecf3;
}

.university-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.12) 0%,
    rgba(0,0,0,0.00) 40%
  );
  pointer-events: none;
}

.university-hero-image img {
  height: 100%;    
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
}

.university-hero-image.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.university-hero .hero-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a3d62, #1f6aa5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.university-hero .hero-fallback span {
  font-size: 22px;
  font-weight: 600;
  padding: 0 24px;
}

.hero h1{
  font-size:42px;
  margin-bottom:16px;
}

.hero p{
  font-size:18px;
  margin-bottom:24px;
}

.btn-primary{
  background:#0a3d62;
  color:#fff;
  padding:14px 24px;
  border-radius:6px;
  font-weight:600;
  display:inline-block;
}

.btn-secondary{
  background:#fff;
  color:#0a3d62;
  border:2px solid #0a3d62;
  padding:12px 22px;
  border-radius:6px;
  font-weight:600;
}

.why-us{padding:80px 0;}

.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

.why-card{text-align:center;}

.universities{
  padding:80px 0;
  background:#fafafa;
}

.universities-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

/* ===============================
   HOME – UNIVERSITY CARDS
=============================== */

.university-card{
  background:#fff;
  padding:16px;
  border-radius:8px;
  text-align:center;
  display: flex;
  flex-direction: column;      /* 👈 empile */
  align-items: center;
  gap: 12px;
}


.university-card img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
}

.university-card span {
  font-weight: 500;
  font-size: 14px;
}

.university-card small {
  font-size: 13px;
  color: #6b7280;
}


.course-finder-teaser{
  background:#0a3d62;
  color:#fff;
  padding:80px 0;
  text-align:center;
  margin-bottom: 24px;
}

.course-finder-teaser p {
  margin-bottom: 32px;
}

.course-finder-teaser .btn-secondary {
  display: inline-block;
}

.testimonials{padding:80px 0;}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

.testimonial-card{
  background:#f5f8fb;
  padding:24px;
  border-radius:8px;
}

.final-cta{
  padding:80px 0;
  text-align:center;
  background:#f5f8fb;
}


/* =========================================================
   7. UNIVERSITY COURSES
========================================================= */
.university-courses{padding:60px 0;}

.courses-list{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  margin-top:32px;
}

.course-card{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.course-card h3{
  margin:0 0 8px;
  font-size:18px;
}

.course-type{
  font-size:14px;
  color:#6b7280;
  margin-bottom:16px;
}
.course-university {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}


.course-meta{
  list-style:none;
  padding:0;
  margin:0 0 16px;
}

.course-meta li{
  margin-bottom:6px;
  font-size:14px;
}

.course-variants{
  list-style:disc;
  padding-left:20px;
  margin:16px 0;
}

.course-variants li{
  margin-bottom:8px;
  font-size:14px;
}

.course-ielts{
  font-size:14px;
  margin:12px 0;
}

.ielts-note{
  font-size:12px;
  vertical-align:super;
}

.ielts-disclaimer{
  font-size:12px;
  color:#6b7280;
}

.course-requirements{
  font-size:14px;
  margin:12px 0;
}

.course-requirements ul{
  margin:6px 0 0;
  padding-left:18px;
}

.course-requirements li{
  margin-bottom:4px;
}


/* =========================================================
   8. COURSE HEADER (LOGO + TITLE)
========================================================= */
.course-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:4px;
}

.course-uni-logo-bg{
  width:74px;
  height:74px;
  border-radius:50%;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex-shrink:0;
  margin-bottom:12px;
}

.course-uni-logo{
  width:70px;
  height:70px;
  border-radius:50%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex-shrink:0;
  margin-bottom:12px;
  /* contour gris */
  border: 2px solid #e0e0e0;

  /* effet léger */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.course-uni-logo img{
  width:88%;
  height:88%;
  object-fit:contain;
  max-height:40px;
  max-width:140px;
}

.course-title{
  margin:0;
  font-size:18px;
  line-height:1.3;
}


/* =========================================================
   9. MODAL & FORMS
========================================================= */
.lead-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
}

.lead-modal.active{
  display:flex;
}

.lead-modal-content{
  background:#fff;
  padding:24px;
  box-sizing:border-box;
  border-radius:12px;
  width:100%;
  max-width:420px;
  max-height: 90vh;      /* ðŸ‘ˆ clÃ© du fix */
  overflow-y: auto;  
  position:relative;
}

/* ===============================
   MODAL â€“ FORM FIELDS FIX
=============================== */

.lead-modal-content textarea {
  width: 100%;
  max-width: 100%;
  resize: vertical;        /* autorise seulement vertical */
  box-sizing: border-box;  /* sÃ©curitÃ© */
}


.close-modal{
  position:absolute;
  right:12px;
  top:12px;
  background:none;
  border:none;
  font-size:22px;
  cursor:pointer;
}

.form-group{
  margin-bottom:14px;
}

.form-group input,
.form-group textarea,
.form-group select{
  width:100%;
  padding:10px;
  box-sizing:border-box;
  border:1px solid #d1d5db;
  border-radius:6px;
}

#ieltsScoreGroup{
  transition:all 1.2s ease;
}


/* =========================================================
   10. BUTTON INTERACTIONS
========================================================= */
.btn-primary,
.btn-secondary{
  cursor:pointer;
  transition:all 0.2s ease;
}

.btn-primary:hover,
.btn-secondary:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
  opacity:0.95;
}

.btn-primary:focus,
.btn-secondary:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(13,110,253,0.35);
}

.btn-secondary:active,
.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}


/* =========================================================
   11. RESPONSIVE â€“ ORIGINAL RULES (UNCHANGED)
========================================================= */
@media(max-width:900px){
  .menu-toggle{display:block;}
  .main-nav{display:none;position:absolute;top:72px;left:0;width:100%;background:#fff;border-bottom:1px solid #eee;}
  .main-nav.active{display:block;}
  .main-nav ul{flex-direction:column;gap:0;}
  .main-nav li{border-top:1px solid #eee;}
  .main-nav a{display:block;padding:16px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}

@media(max-width:600px){
  .footer-grid{grid-template-columns:1fr;}
  .site-footer{text-align:center;}
  .social-links{justify-content:center;}
}

@media(max-width:900px){
  .hero-grid,
  .why-grid,
  .universities-grid,
  .testimonials-grid{
    grid-template-columns:1fr;
  }
  .hero{text-align:center;}
}


/* =========================================================
   12. HEADER â€“ MOBILE CLEAN & STABLE (UNCHANGED)
========================================================= */
@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo { order: 1; }

  .header-actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .menu-toggle {
    order: 3;
    margin-left: 8px;
  }

  .btn-cta { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
  }

  .main-nav.active { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-top: 1px solid #eee;
  }

  .main-nav a {
    display: block;
    padding: 16px;
  }
}

/* ===============================
   LEAD MESSAGES
=============================== */

.lead-message {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.lead-message.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #10b981;
}

.lead-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* SECTION SEPARATORS */
.section-divider {
  border-top: 1px solid #e5e7eb;
  margin: 56px 0;
}



/* ===============================
   UNIVERSITY – HERO RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .university-hero {
    padding: 40px 0;
  }
  
  .university-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  
  .university-hero-content {
      text-align: center;
}

  .university-hero-image {
      height: 240px;
    margin-top: 24px;
  }
}


/* =========================================================
   COURSE FINDER
========================================================= */

.course-finder-hero {
  background: #f5f8fb;
  padding: 56px 0;
}

.course-finder-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: center;
}

.course-finder-hero .hero-text {
  max-width: 900px;
}

.course-finder-form {
  display: grid;
  grid-template-columns: 1fr 220px 160px;
  gap: 16px;
  margin-top: 32px;
}

.course-finder-hero .hero-illustration {
  display: block;
  max-width: 100%;
}

.course-finder-hero .hero-illustration img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .course-finder-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .course-finder-hero .hero-illustration { 
    display: none;
    margin-top: 24px;
  }
}

.course-finder-form input,
.course-finder-form select {
  height: 48px;
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
}

.course-finder-form input::placeholder {
  color: #9ca3af;
}

.course-finder-form input:focus,
.course-finder-form select:focus {
  outline: none;
  border-color: #0a3d62;
  box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.15);
}

.course-finder-form-wrapper {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 0 auto 40px;
}

.course-finder-form {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 16px;
}
@media (max-width: 900px) {
  .course-finder-form { grid-template-columns: 1fr; }
}


/* Select minimal custom feel */
.course-finder-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #0a3d62 50%),
    linear-gradient(135deg, #0a3d62 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 55%,
    calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.course-finder-results {
  padding: 24px 0;
}

.course-finder-results #results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.course-finder-results #loadMoreBtn {
    width: 100%;
    margin-top: 16px;
  }


.course-finder-results .course-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.course-finder-results .course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.course-card {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Responsive */
@media (max-width: 900px) {
  .course-finder-form {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   COURSE FINDER – RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .course-finder-hero {
    text-align: center;
    padding: 48px 0;
  }

  .course-finder-hero h1 {
    font-size: 32px;
  }

  .course-finder-results #loadMoreBtn {
    width: 100%;
    margin-top: 16px;
  }
  
    .course-finder-results #results {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .course-card {
    padding: 20px;
  }

  .course-title {
    font-size: 16px;
  }

  .course-type, .course-university {
    font-size: 13px;
  }
}

.partner-logos {
  padding: 32px 0;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.logos-marquee {
  overflow: hidden;
}

.logos-marquee:hover .logos-track {
  animation-play-state: paused;
}



.logos-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation-name: marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}


.logos-track img {
  max-height: 40px;
  opacity: .8;
  /*filter: grayscale(100%);*/
}
@media (max-width: 900px) {

  .logos-track {
    gap: 32px;
  }

  .logos-track img {
    max-height: 32px;
  }
}


@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-53%); }
}

.how-it-works .why-card {
  background: #f5f8fb;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

.how-it-works  {
  text-align: center;
}

@media (max-width: 900px) {

  .how-it-works {
    padding: 48px 0;
  }

  .how-it-works .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-it-works .why-card {
    padding: 20px;
  }
}


/* =========================================================
   COURSE FINDER – SEO CONTENT
========================================================= */

.course-finder-seo {
  padding: 48px 0 24px;
  text-align: center;
}

.course-finder-seo .seo-heading {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-finder-seo .seo-text {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}

@media (max-width: 900px) {

  .course-finder-seo {
    padding: 40px 0 16px;
    text-align: center;
  }

  .course-finder-seo .seo-heading {
    font-size: 22px;
    
  }

  .course-finder-seo .seo-text {
    font-size: 14px;
  }
}

.course-finder-seo .container,
.faq .container {
  max-width: 900px;
}



/* =========================================================
   FAQ
========================================================= */

.faq {
  padding: 64px 0;
  background: #f9fafb;
}

.faq h2 {
  font-size: 26px;
  margin-bottom: 24px;
}

.faq details {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin-top: 12px;
  font-size: 14px;
  color: #4b5563;
}

@media (max-width: 900px) {

  .faq {
    padding: 48px 0;
    text-align: center;
  }

  .faq h2 {
    font-size: 22px;
  }

  .faq summary {
    font-size: 15px;
  }

  .faq details p {
    font-size: 14px;
  }
}


/* =========================================================
   FAQ – RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .faq {
    padding: 48px 0;
  }

  .faq h2 {
    font-size: 22px;
  }

  .faq details {
    padding: 14px 16px;
  }

  .faq summary {
    font-size: 15px;
    line-height: 1.4;
  }

  .faq details p {
    font-size: 14px;
  }
}

.loading-indicator {
  text-align: center;
  padding: 32px 0;
  font-size: 14px;
  color: #6b7280;
}


/* =========================================================
   UK UNIVERSITIES PAGE – RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .uk-universities-page .hero {
    padding: 40px 0;
    text-align: center;
  }

  .uk-universities-page .hero h1 {
    font-size: 30px;
  }

  .uk-universities-page .hero p {
    font-size: 15px;
  }

  .uk-universities-page .hero .btn-primary,
  .uk-universities-page .hero .btn-secondary {
      display : flex;
    width: 100%;
    margin-bottom: 12px;
    justify-content: center; /* Centers horizontally (along the main axis) */
    align-items: center;
    text-align: center;
  }

  .uk-universities-page .universities h2,
  .uk-universities-page .course-finder-seo h2,
  .uk-universities-page .final-cta h2,
  .uk-universities-page .faq h2 {
    font-size: 22px;
  }

  .uk-universities-page .universities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .uk-universities-page .university-card {
    padding: 20px;
  }

  .uk-universities-page .final-cta {
    padding: 48px 0;
  }

  .uk-universities-page .final-cta button {
    width: 100%;
  }

  .uk-universities-page .faq details {
    padding: 14px 16px;
  }

  .uk-universities-page .faq summary {
    font-size: 15px;
    line-height: 1.4;
  }

  .uk-universities-page .faq details p {
    font-size: 14px;
  }
}


/* ===== UK PROGRAMS PAGE ===== */

.uk-hero {
  padding: 70px 0;
  background: linear-gradient(180deg, #f5f8fb 0%, #ffffff 100%);
  text-align: left;
}

.hero-subtitle {
  max-width: 720px;
  margin: 16px auto 32px;
  font-size: 17px;
  color: #444;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.seo-section,
.specialty-cta{
  padding: 60px 0;
}

.seo-section h2 {
  margin-bottom: 16px;
}

.seo-section p {
  max-width: 820px;
  margin-bottom: 16px;
}

.specialties-grid {
  padding: 60px 0;
  background: #fafafa;
}

.specialties-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.specialty-card {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: 0.2s;
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.specialty-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.specialty-card span {
  font-size: 14px;
  color: #0a3d62;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }
}







/* =========================================================
   UK PROGRAMS – HERO
========================================================= */
.uk-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #f5f8fb 0%, #ffffff 100%);
}

.uk-hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}


.hero-visual img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  opacity: 0.9;
}


.uk-hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}
.uk-hero p {
  margin: 0;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  color: #555;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   SEO CONTENT
========================================================= */
.seo-section,
.specialty-cta{
  padding: 20px 0 10px;
}

.seo-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.seo-section p {
  max-width: 820px;
  color: #555;
  line-height: 1.7;
}


.specialty-requirements p,
.specialty-about p {
  max-width: 820px;
  color: #555;
  line-height: 1.7;
}

.specialty-requirements li,
.specialty-about li {
  max-width: 820px;
  color: #555;
  line-height: 1.7;
}

/* =========================================================
   SPECIALTIES GRID
========================================================= */
.specialties-grid {
  padding: 80px 0;
  background: #fafafa;
}

.specialties-grid h2 {
  text-align: center;
  margin-bottom: 40px;
      font-size: 28px;
}

.specialties-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.specialty-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 28px;
  border-radius: 14px;
  text-align: center;
  transition: all .25s ease;
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.specialty-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.specialty-card span {
  font-size: 14px;
  color: #0a3d62;
  font-weight: 600;
}

/* =========================================================
   FINAL CTA
========================================================= */
.final-cta {
  padding: 80px 0;
  background: #0a3d62;
  color: #fff;
  text-align: center;
}

.final-cta h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.final-cta .btn-primary {
  background: #fff;
  color: #0a3d62;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .uk-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .container h2{
    text-align: center;
  }
  .uk-hero ,
  .seo-section,
  .specialty-cta{
    padding: 20px 0 10px;
    
  text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .seo-section,
  .specialties-grid,
  .final-cta {
    padding: 20px 0;
  }
}

@media (max-width: 900px) {
  .uk-hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

.breadcrumb {
  background: #f5f8fb;
  padding: 12px 0;
  font-size: 14px;
}

.breadcrumb a {
  color: #0a3d62;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 6px;
  color: #888;
}

html {
  scroll-behavior: smooth;
}


.universities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.university-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;

  display: flex;
  flex-direction: column;
  align-items: center;

  transition: all 0.2s ease;
  border: 1px solid #eee;
}

.university-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* LOGO ZONE */
.university-logo {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.university-logo img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
}

/* TEXT */
.university-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.3;
}

.university-info span {
  font-size: 13px;
  color: #6b7280;
}


.university-card:hover .university-logo img {
  transform: scale(1.05);
}


@media (max-width: 900px) {
  .universities-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================= ACCREDITATIONS ================= */

.accreditations {
  background: #f9fafb;
  padding: 70px 20px;
  text-align: center;
}

.accreditations h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.accreditations-subtitle {
  color: #666;
  margin-bottom: 45px;
  font-size: 16px;
}

.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

/* Cards */
.accreditation-card {
  background: #fff;
  min-height: 280px;
  padding: 30px 25px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.accreditation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* Logos */
.accreditation-card img {
  max-width: 160px;
  height: auto;
  margin-bottom: 20px;
}

/* Text */
.accreditation-card p {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.accreditation-card strong {
  display: block;
  margin-top: 6px;
  color: #111;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .accreditations-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .accreditations h2 {
    font-size: 26px;
  }

  .accreditations-subtitle {
    font-size: 15px;
  }

  .accreditation-card {
    padding: 25px 20px;
  }

  .accreditation-card img {
    max-width: 140px;
  }
}

@media (max-width: 480px) {
  .accreditations {
    padding: 50px 15px;
  }

  .accreditations h2 {
    font-size: 22px;
  }

  .accreditation-card img {
    max-width: 120px;
  }
}

/* ================= WHATSAPP WIDGET ================= */

.wa-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Floating Button */
.wa-float-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,.25);
}

.wa-float-btn img {
  width: 32px;
}

/* Chat Box */
.wa-chatbox {
  display: none;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  position: absolute;
  bottom: 80px;
  right: 0;
  overflow: hidden;
}

.wa-chatbox.active {
  display: block;
}

/* Header */
.wa-header {
  background: #25D366;
  color: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-header img {
  width: 36px;
}

.wa-header h4 {
  margin: 0;
  font-size: 15px;
}

.wa-header span {
  font-size: 12px;
  opacity: .9;
}

.wa-close {
  margin-left: auto;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* Body */
.wa-body {
  padding: 15px;
  font-size: 14px;
  line-height: 1.5;
}

/* Footer */
.wa-footer {
  padding: 10px;
}

.wa-btn {
  display: block;
  background: #25D366;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}


.testimonials {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: #f5f8fb;
  padding: 24px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* header photo + nom */
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.testimonial-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-card strong {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

/* stars */
.testimonial-stars {
  color: #f5b301;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* text */
.testimonial-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .why-grid,
  .universities-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
  }
}



.testimonials-more {
  text-align: center;
  margin-top: 40px;
}

.testimonials-more a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background .2s ease, transform .2s ease;
}

.testimonials-more a:hover {
  background: #333;
  transform: translateY(-2px);
}

.universities .container:last-child {
  text-align: center;
  margin-top: 60px;
}

.universities .container:last-child h3 {
  font-size: 22px;
  margin-bottom: 24px;
}
