/* ===== GLOBAL OVERFLOW FIX ===== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
body{
  font-family: 'Segoe UI', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  /* scroll-behavior: smooth; */
}

/* Reduced Section Spacing */
.section-padding{
  padding:70px 0;
}

/* ================= NAVBAR ================= */

.custom-navbar{
  background: #ffffff;
  padding: 18px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.logo{
  height: 45px;
}

.brand-text{
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text .accent{
  color: #2563eb;
}

.navbar-nav{
  gap: 30px;
}

.nav-link{
  font-weight: 500;
  color: #334155 !important;
  position: relative;
  transition: 0.3s;
}

.nav-link:hover,
.nav-link.active{
  color: #2563eb !important;
}

.nav-link::after{
  content:"";
  position:absolute;
  width:0;
  height:2px;
  bottom:-6px;
  left:0;
  background:#2563eb;
  transition:0.3s;
}

.nav-link:hover::after,
.nav-link.active::after{
  width:100%;
}

.nav-icons i{
  font-size: 20px;
  margin-left: 20px;
  color: #334155;
  transition: 0.3s;
}

.nav-icons i:hover{
  color: #2563eb;
}

/* ================= HERO SECTION ================= */
.hero-section{
  min-height:80vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  background: url('../images/background/about.png ') center/cover no-repeat;
  color:white;
  overflow:hidden;
}

/* Dark gradient overlay */
.hero-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(15,23,42,0.85), rgba(37,99,235,0.75));
  z-index:1;
}

/* Content above overlay */
.hero-content{
  position:relative;
  z-index:2;
  max-width:800px;
}

.hero-title{
  font-size:3.2rem;
  font-weight:700;
  line-height:1.2;
}

.hero-title span{
  color:#14b8a6;
}

.hero-subtitle{
  margin:25px 0;
  font-size:1.1rem;
  color:#e2e8f0;
}

.hero-btn{
  background:linear-gradient(90deg,#2563eb,#14b8a6);
  color:white;
  padding:14px 35px;
  border-radius:30px;
  font-weight:500;
  border:none;
  transition:0.4s ease;
}

.hero-btn:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 30px rgba(20,184,166,0.4);
}

/* Responsive */
@media(max-width:768px){
  .hero-title{
    font-size:2.2rem;
  }
}/* ================= SECTION TITLE ================= */
.section-title{
  font-weight:700;
  position:relative;
  display:inline-block;
}

.section-title::after{
  content:"";
  width:60%;
  height:4px;
  background:linear-gradient(90deg,#2563eb,#14b8a6);
  position:absolute;
  bottom:-10px;
  left:20%;
  border-radius:5px;
}

/* ================= ABOUT ================= */
.about-card{
  background:white;
  padding:40px;
  border-radius:25px;
  box-shadow:0 15px 40px rgba(0,0,0,0.05);
  transition:0.3s;
}

.about-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

.commitment-card{
  background:linear-gradient(135deg,#2563eb,#14b8a6);
  color:white;
  padding:40px;
  border-radius:25px;
  box-shadow:0 20px 45px rgba(20,184,166,0.3);
  transition:0.3s;
}

.commitment-card:hover{
  transform:translateY(-6px);
}

/* ================= DETAILS ================= */
.details-section{
  background:#f2eded;
}

.detail-card{
  background:#f8fafc;
  padding:35px;
  border-radius:20px;
  text-align:center;
  transition:0.4s ease;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
  min-height:240px;        /* Universal equal height */
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.detail-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 45px rgba(37,99,235,0.15);
  background:white;
}

.detail-title{
  font-weight:600;
  margin-bottom:15px;
  color:#2563eb;
  letter-spacing:0.5px;
}

.detail-card p{
  color:#475569;
  font-size:0.95rem;
  line-height:1.6;
}
/* ================= THERAPEUTIC FOCUS ================= */
.focus-section{
  background:#f8fafc;
}

.focus-card{
  background:white;
  padding:30px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  cursor:pointer;
  position:relative;
  overflow:hidden;
}

/* Gradient border effect */
.focus-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:20px;
  padding:2px;
  background:linear-gradient(90deg,#2563eb,#14b8a6);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity:0;
  transition:0.4s;
}

.focus-card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 50px rgba(37,99,235,0.15);
}

.focus-card:hover::before{
  opacity:1;
}

.focus-card h5{
  transition:0.3s;
}

.focus-card:hover h5{
  color:#2563eb;
}


/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  padding: 60px 0 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

.footer-brand h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.footer-brand span {
  color: #00d4ff;
}

.footer p {
  font-size: 14px;
  line-height: 1.7;
  color: #cfd8dc;
}

.footer h5 {
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #cfd8dc;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #00d4ff;
  padding-left: 6px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-right: 8px;
  color: #fff;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background: #00d4ff;
  transform: translateY(-5px);
  color: #000;
}

.footer hr {
  border-color: rgba(255,255,255,0.1);
  margin: 40px 0 20px;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #b0bec5;
}