.custom-padding {
  padding: 50px 0;
}

.unique-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 40px 40px;
    background-image: url(https://sos-development.com.au/synergy/wp-content/themes/college/assets/img/hero/headerbg.webp);
}

.card-grid {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 5rem;
}
.card-education {
    border-top: 5px solid #C62127;
}
.card-item {
    position: relative;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 3rem 2rem;
    width: 380px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}
.card-content h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.card-content p {
  font-size: 1rem;
  color: #aaaaaa;
  margin-bottom: 2rem;
}
.unique-hero p {
  font-size: 1.25rem;
  margin-bottom: 4rem;
  color: #cccccc;
  height: 65px;
}

.unique-hero h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  color: #fff;
}
.card-content i {
  font-size: 3rem;
  color: #E20935;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}
.card-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(198, 33, 39, 0.2) 0%, rgba(198, 33, 39, 0) 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
}

@media (max-width: 768px) {
  .unique-hero {
    height: auto;
    padding: 80px 20px 60px;
    text-align: center;
  }
  .card-item {
    width: 100%;
    max-width: 360px;
    padding: 1.5rem;
  }
  .unique-hero {
    text-align: center;
  }
  .hero-content h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
    .card-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
}

.custom-btn::before {background-color: unset !important;}
.custom-btn::after {background-color: unset !important;}
.service h3{
  font-size: 22px;
  margin-bottom: 15px;
  margin-top: 15px;
  }
  
.service h4{
  font-size: 20px;
  padding: 10px 10px 10px 10px;
  }

.service p{
   padding: 10px 10px 10px 10px;
  }
.service {
  padding: 0;
  margin: 0;
  list-style-position: inside; /* optional */
}
.service ul {margin-left:30px;}

.service li {
  padding: 2px 0;       /* reduced vertical gap */
  margin: 0;            /* remove extra space */
  border: none;         /* removes border */
  list-style-type: disc; /* keep normal bullet */
}

.service h2 {font-size: 26px;
  margin-top: 20px;}
  
.service-sec p{height: 280px;}  
.section-bg-3 {
  background-color: #004ec8;
}
.footer-bottom {
  background-color: #004ec8;
}

.footer-widgets-wrapper .single-footer-widget .footer-content .social-icon a {
  color: #fff;
  background: #004ec8;
}
.marque-section {
  background-color: #004ec8;
}
.service-visa-items .service-visa-content h3 {
  /*height: 61px;*/
  font-size:19px;
}

.header-top-4::before {width: 37%;}
.theme-btn {
  padding: 10px 25px;
}
.header-button {
    display: flex;
    justify-content: center;
    width: 100%;
}

.page-template-frontpage-tmpl h5 {
  color: var(--theme);
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 16px;
}

body {
  color: unset!important;
}
.section-title span {
 font-size:26px;
 text-transform: capitalize;
}

/* -----------------------------
   SECTION: MIGRATION ADVICE DESIGN IMPROVED
------------------------------*/

.choose-us-section {
    padding: 70px 0;
    position: relative;
}

/* Headings */
.choose-us-section .section-title span {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #C3002F !important; /* theme red */
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
    text-transform: capitalize;
}

/* Paragraph styling */
.choose-us-section p {
    line-height: 1.8;
    color: #2D2D2D;
    margin-bottom: 18px;
}

/* Sub-Headers */
.choose-us-section h5 {
    font-size: 20px;
    font-weight: 700;
    color: #C3002F; 
    margin-top: 40px;
    margin-bottom: 12px;
    text-transform: capitalize;
}

/* --- LIST STYLE --- */
.choose-us-section ul.choose-list {
    list-style: none !important;
    margin: 10px 0 25px 0;
    padding-left: 0;
}

.choose-us-section ul.choose-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #2D2D2D;
}

/* Tick Icon */
.choose-us-section ul.choose-list li::before {
    content: "\2714";  /* ✔ */
    position: absolute;
    left: 0;
    top: 3px;
    color: #C3002F; /* theme red */
    font-size: 20px;
    font-weight: bold;
}

/* Optional: Light background highlight block */
.choose-us-section .choose-content {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.choose-us-section.section-padding {
    padding-bottom: 40px !important; /* Reduce bottom gap */
}

/* PROUD MEMBERS SECTION - CLEAN STABLE VERSION */
.proud-sec {
    background: #004EC8;
    padding: 80px 0;
    text-align: center;
}

.proud-sec .section-title h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* Remove theme shapes */
.proud-sec .single-team-items,
.proud-sec .single-team-items::before,
.proud-sec .single-team-items::after,
.proud-sec .team-content::before,
.proud-sec .team-content::after {
    background: none !important;
    box-shadow: none !important;
    content: none !important;
}

/* PERFECT CENTERING */
.proud-sec .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* FINAL CARD DESIGN */
.proud-sec .team-content {
    width: 380px !important;
    background: #fff;
    padding: 35px 25px !important;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    min-height: 170px;
    transition: 0.3s ease-in-out;
}

/* Hover Effect */
.proud-sec .team-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Text Styles */
.proud-sec .team-content h5 a {
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1d;
    line-height: 1.4;
    text-transform: uppercase;
}

.proud-sec .team-content p {
    margin-top: 8px;
    font-size: 15px;
    color: #666;
}

/* Make cards slightly smaller */
.proud-sec .team-content {
    width: 330px !important;     /* reduced from 380 → perfect fit */
    min-height: 160px;
}

/* FORCE 3 CARDS PER ROW ON DESKTOP */
@media (min-width: 1200px) {
    .proud-sec .row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        justify-content: center; /* correct */
    }
}


/* Tablet: 2 per row */
@media (max-width: 1199px) and (min-width: 768px) {
    .proud-sec .row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile: 1 per row */
@media (max-width: 767px) {
    .proud-sec .row {
        grid-template-columns: 1fr !important;
    }
}

