.typing {
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  animation: blink 0.75s step-end infinite;
}

/* Line 1 typing */
.line1 {
  width: 0;
  animation: typing1 2.5s steps(30, end) forwards, blink 0.75s step-end infinite;
}

/* Line 2 typing */
.line2 {
  width: 0;
  animation: typing2 2.5s steps(30, end) forwards, blink 0.75s step-end infinite;
  animation-delay: 2.7s; /* wait until line1 finishes */
}

/* Line 3 typing */
.line3 {
  width: 0;
  animation: typing3 2.5s steps(30, end) forwards, blink 0.75s step-end infinite;
  animation-delay: 5.5s; /* wait until line2 finishes */
}

.typing-text {
  overflow: hidden;
  border-right: .15em solid #fff;
  white-space: nowrap;  /* <-- REMOVE this if you want wrapping */
}


/* Typing keyframes */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }   /* ensures it stays inside container */
}

@keyframes typing1 {
  from { width: 0 }
  to { width: 100% }
}
@keyframes typing2 {
  from { width: 0 }
  to { width: 100% }
}
@keyframes typing3 {
  from { width: 0 }
  to { width: 100% }
}

/* Cursor blink */
@keyframes blink {
  50% { border-color: transparent }
}

.custom-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #0a0a0a, #111);
  border-radius: 20px;
  padding: 6px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ccc;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.1),
              0 2px 8px rgba(0,0,0,0.6);
  cursor: default;
  overflow: hidden;
}

.hero-subtext {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f1f1f1;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* ✅ Typing effect */
.typing-text {
  overflow: hidden;
  border-right: 3px solid #fff;
  white-space: normal; /* IMPORTANT: allow wrapping */
  display: inline-block;
  animation: typing 6s steps(120, end), blink 0.7s infinite;
}

/* typing animation */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* cursor blink */
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* 📱 Mobile Fix */
@media (max-width: 768px) {
  .typing-text {
    font-size: 0.5rem;
    animation: typing 8s steps(120, end), blink 0.7s infinite;
  }
}

.custom-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff0000, transparent);
  border-radius: 2px;
}

.custom-badge .dot {
  width: 8px;
  height: 8px;
  background: #ff0000;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff0000; /* blue glow */
}

/* Section Layout */
.awards-section {
  padding: 80px 60px;
  background: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.awards-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* Left Content */
.awards-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 20px;
}

.awards-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.awards-text p {
  font-size: 16px;
  color: #aaa;
  max-width: 400px;
  line-height: 1.6;
}

/* Right Grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Award Card */
.awards-section {
  padding: 60px 20px;
  color: #fff;
}

.awards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}

/* Left text */
.awards-text {
  flex: 1 1 300px;
  max-width: 400px;
}

/* Grid */
.awards-grid {
  flex: 2 1 500px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Award Card */
.award-card {
  background: linear-gradient(145deg, rgba(15, 20, 40, 0.95), rgba(10, 10, 15, 0.95));
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
}

/* Logo */
.award-logo {
  font-size: 32px; /* Replace with logos/images if needed */
}

/* Award Info */
.award-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.award-info p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #aaa;
}

/* Badge */
.award-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  color: #fff;
  min-width: 40px;
  text-align: center;
}

/* ✅ Responsive Styles */
@media (max-width: 992px) {
  .awards-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .awards-text {
    max-width: 100%;
  }

  .awards-grid {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 576px) {
  .award-card {
    flex-direction: column;
    align-items: flex-center;
    text-align: left;
    padding: 16px;
  }

  .award-logo {
    font-size: 28px;
  }

  .award-info h4 {
    font-size: 14px;
  }

  .award-info p,
  .award-badge {
    font-size: 12px;
  }
}

.blue-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff0000, transparent);
  border-radius: 2px;
}

.team-section {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

.custom-badge {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.custom-badge .dot {
  width: 10px;
  height: 10px;
  background: #ff1313;
  border-radius: 50%;
  margin-right: 8px;
}

.team-card {
  background: #111;
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.team-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(#ff1313, transparent, #00f7ff, transparent);
  animation: rotate 6s linear infinite;
  opacity: 0.2;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 19, 19, 0.5);
}

.team-card .icon {
  font-size: 3rem;
  color: #ff1313;
  margin-bottom: 15px;
  z-index: 1;
  position: relative;
}

.team-card h5 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: bold;
  color: #fff;
  z-index: 1;
  position: relative;
}

.team-card .role {
  font-size: 0.95rem;
  font-weight: 600;
  color: #00f7ff;
  margin-bottom: 12px;
  z-index: 1;
  position: relative;
}

.team-card .desc {
  font-size: 0.85rem;
  color: #ccc;
  z-index: 1;
  position: relative;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.hero-section {
  height: auto; 
  min-height: 70vh; /* smaller than full screen */
  background: url("Images/BackGround_Image.png") no-repeat center center;
  background-size: cover;  /* better than contain for responsiveness */
  background-color: #000;  
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  position: relative;
  text-align: center;
  color: #fff;
}

/* Overlay effect */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

/* Card Content */
.hero-card, .container {
  position: relative;
  z-index: 1;
  /* max-width: 800px; */
}

/* Headings */
.hero-section h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-section h1 span {
  color: #bbb;
}

/* Paragraph */
.hero-section p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
}

/* Buttons */
.appointment-btn, .btn {
  background: #ff0000;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.8);
  transition: 0.3s;
}

.appointment-btn:hover, .btn:hover {
  background: #cc0000;
}

/* ----------------- Responsive Breakpoints ----------------- */

/* Tablets */
@media (max-width: 740px) {
  .hero-section {
    min-height: 60vh;
    padding: 30px 15px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-section p {
    font-size: 16px;
  }
}

/* Mobiles */
@media (max-width: 576px) {
  .hero-section {
    min-height: 50vh;
    padding: 20px 10px;
  }

  .hero-section h1 {
    font-size: 24px;
    line-height: 1.4;
  }

  .hero-section p {
    font-size: 14px;
  }

  .appointment-btn, .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}


/* ✅ Typing Section (Mobile Fix) */
@media (max-width: 576px) {
  .about-section h1 {
    font-size: 1.8rem !important; /* shrink heading */
    line-height: 1.4;
  }
  .about-section p {
    font-size: 0.9rem;
  }
  .about-section .btn {
    display: block;
    width: 100%;
    margin: 8px 0; /* stack buttons */
  }
}

/* ✅ Awards Section (Mobile Fix) */
@media (max-width: 576px) {
  .awards-container {
    gap: 20px;
    text-align: center;
  }
  .awards-grid {
    grid-template-columns: 1fr; /* one per row */
  }
  .award-card {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
  .typing{
    font-size: 28px;
  }
}

/* ✅ Team Section (Mobile Fix) */
@media (max-width: 576px) {
  .team-card {
    padding: 18px;
  }
  .team-card h5 {
    font-size: 1rem;
  }
  .team-card .role {
    font-size: 0.8rem;
  }
  .team-card .desc {
    font-size: 0.75rem;
  }
}

/* ✅ Hero Section (Mobile Fix - already good, but smaller tweaks) */
@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 20px;
    line-height: 1.3;
  }
  .hero-section p {
    font-size: 13px;
  }
  .appointment-btn, .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}

.btn-contact {
  background: #ff1313;
  color: #fff !important;
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 18px;
  transition: 0.3s;
}

.btn-contact:hover {
  background: #d80a0a;
  transform: scale(1.05);
  box-shadow: 0px 0px 12px rgba(255, 27, 19, 0.7);
}


