/* ========= Enter Your CSS ========== */
.custom-alert {
  position: fixed;
  top: 30px;
  right: 30px;
  background-color: #28a745;
  color: white;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  font-weight: 500;
}
.custom-alert.show {
  opacity: 1;
  pointer-events: auto;
}

/* ========= Service Cards Equal Height ========== */
.service__area .row.items_space {
  display: flex;
  flex-wrap: wrap;
}

.service__area .row.items_space > [class*='col-'] {
  display: flex;
  margin-bottom: 30px;
}

.service__box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.service__box-image {
  width: 100%;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.service__box-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.service__box .service__box-title {
  min-height: 60px;
  display: flex;
  align-items: center;
}

.service__box .service__box-desc {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
}

/* Responsive adjustments for service cards */
@media (max-width: 991px) {
  .service__box {
    min-height: 280px;
  }
  
  .service__area .row.items_space > [class*='col-'] {
    margin-bottom: 25px;
  }
}

@media (max-width: 767px) {
  .service__box {
    min-height: auto;
  }
  
  .service__area .row.items_space > [class*='col-'] {
    margin-bottom: 20px;
  }
  
  .service__box .service__box-title {
    min-height: auto;
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .service__area {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .service__box {
    padding: 25px 20px;
  }
}

/* ========= Logo Size Fixes ========== */
.nav__logo-image img {
  max-width: 140px;
  height: auto;
  width: 100%;
  object-fit: contain;
}

/* Responsive logo sizing */
@media (max-width: 991px) {
  .nav__logo-image img {
    max-width: 120px;
  }
}

@media (max-width: 767px) {
  .nav__logo-image img {
    max-width: 100px;
  }
}

@media (max-width: 575px) {
  .nav__logo-image img {
    max-width: 80px;
  }
}

/* ========= Founder Card Custom Design ========== */
.founder-card-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.founder-card {
  background: linear-gradient(135deg, #69b7f7 0%, #14446A 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.founder-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.founder-card-image {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.founder-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-card-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.founder-card-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.founder-card-name a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.founder-card-name a:hover {
  opacity: 0.8;
}

.founder-card-position {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.founder-card-bio {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 25px;
  padding: 0 10px;
}

.founder-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.founder-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.founder-social-links a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .founder-card {
    padding: 30px 25px;
  }
  
  .founder-card-image {
    width: 160px;
    height: 160px;
  }
  
  .founder-card-name {
    font-size: 24px;
  }
  
  .founder-card-position {
    font-size: 14px;
  }
  
  .founder-card-bio {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .founder-card {
    padding: 25px 20px;
  }
  
  .founder-card-image {
    width: 140px;
    height: 140px;
  }
  
  .founder-card-name {
    font-size: 22px;
  }
}
