* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
}

a {
  text-decoration: none;
}

/* Navbar */
.navbar {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #8B0000;
}

/* Container to toggle nav + icons together */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  margin-left: 40px;
  transition: all 0.3s ease;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #8B0000;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #8B0000;
  transition: width 0.3s ease;
}

.nav-links a:hover:after {
  width: 100%;
}

/* Icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-icon {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.nav-icon:hover {
  color: #8B0000;
}

.icon-text {
  font-weight: 500;
}

.btn-quote {
  background-color: #8B0000;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-quote:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Hero Section */
.hero {
  background-color: #8B0000;
  color: white;
  padding: 160px 30px;
  text-align: center;
  margin-top: 70px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero p {
  font-size: 1rem;
  margin-top: 10px;
  font-weight: 300;
}

.hero-buttons {
  margin-top: 25px;
}

.hero-buttons a {
  margin: 0 10px;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.btn-white {
  background-color: #fff;
  color: #8B0000;
}

.btn-outline-white {
  border: 1px solid white;
  color: white;
}

.btn-outline-white:hover {
  background-color: white;
  color: #8B0000;
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
}

/* Services Cards */
.services-cards {
  padding: clamp(40px, 5vw, 60px) clamp(15px, 3vw, 20px);
  background: #fff;
}

.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(15px, 3vw, 20px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(10px, 3vw, 20px);
}

.service-card {
  background-color: #f9dddd;
  padding: clamp(50px, 3vw, 30px) clamp(15px, 3vw, 20px);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  min-height: clamp(180px, 30vw, 220px);
  position: relative;
}

.service-card h3 {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  margin-bottom: clamp(15px, 3vw, 20px);
  color: #222;
}

.card-btn {
  display: inline-block;
  background-color: #8B0000;
  color: #fff;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  padding: clamp(6px, 1vw, 8px) clamp(12px, 2vw, 16px);
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  margin-top: auto;
  align-self: center;
  width: fit-content;
}

.card-btn i {
  margin-right: 5px;
}

.card-btn:hover {
  background: #000;
}
/* About Section */
.about-shermed {
  padding: 60px 40px;
  background: #fff;
  border:0px solid #000;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.about-shermed p {
  font-size: 1.2rem;
  color: #222;
  max-width: 1000px;
  margin: 0 0 20px 0;
}

.about-shermed h2 {
  color: #f1bcbc;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-btn {
  display: inline-block;
  background-color: #8B0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.about-btn:hover {
  background: #000;
}

/* What We Offer Section */
.offer-section {
  padding: 60px 40px;
  background: #fff;
}

.offer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: center; /* Changed from flex-start to center */
  max-width: 1200px;
  margin: 0 auto;
}

.offer-left {
  flex: 1 1 300px;
  padding-top: 20px; /* Added to fine-tune vertical alignment */
}

.offer-left h3 {
  color: #8B0000;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.offer-left p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #222;
  line-height: 1.6;
}

.btn-red {
  background-color: #8B0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-red:hover {
  background-color: #000;
}

.offer-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  flex: 2;
}

.offer-item {
  position: relative;
  padding: 30px 20px;
  overflow: hidden;
}

.offer-bg-number {
  position: absolute;
  top: 40%;
  left: 20%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  font-weight: 800;
  color: #8B0000;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.offer-item i,
.offer-item h4,
.offer-item p {
  position: relative;
  z-index: 1;
}

.offer-item i {
  font-size: 2rem;
  color: #8B0000;
  margin-bottom: 8px;
}

.offer-item h4 {
  font-size: 1rem;
  margin: 8px 0;
  color: #8B0000;
}

.offer-item p {
  font-size: 1rem;
  color: #555;
}

/* Partner Section */
.partner-section {
  padding: 60px 40px;
  background: #fff;
}

.partner-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.partner-left {
  flex: 1 1 150px;
}

.partner-left h3 {
  color: #8B0000;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.partner-left p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}

.partner-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}

.partner-stats div {
  font-size: 1rem;
  color: #111;
}

.partner-stats strong {
  font-size: 1.2rem;
  color: #8B0000;
}

.partner-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
}

.btn-red-new {
  background: #8B0000;
  border: 2px solid #8B0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn-red-new:hover{
  background: #000;
  border: 2px solid #000;
}

.btn-outline-1 {
  border: 2px solid #8B0000;
  color: #8B0000;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}
.btn-outline-1:hover {
  background: #8B0000;
  color: #fff;
}
.partner-right {
  flex: 1 1 200px;
  font-size: 1.2rem;
  color: #222;
}

/* Quote Banner */
.quote-banner {
  background: url('../images/doctor-bg.png') center center/cover no-repeat;
  border-radius: 20px;
  padding:150px 100px;
  margin: 60px 40px 0px;
  text-align: center;
  color: #fff;
  position: relative;
}

.quote-content h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.quote-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-quote-white {
  background-color: #fff;
  color: #8B0000;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
}
.btn-quote-white:hover {
  font-size: 1.5rem;
}
/* Feature Cards */
.quote-features {
  padding: 60px 40px;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.feature-card {
  background-color: #fceeee;
  border-radius: 12px;
  padding: 80px 50px; /* Reduced padding to make room for button */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex; /* Added flexbox */
  flex-direction: column; /* Stack children vertically */
  height: 100%; /* Ensure card takes full height */
  position: relative; /* For absolute positioning if needed */
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
  color: #000;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 30px;
  color: #333;
  flex-grow: 1; /* Makes the paragraph take available space */
}

.feature-card .btn-quote {
  background-color: #8B0000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  margin-top: auto; /* Pushes button to bottom */
  align-self: center; /* Center the button horizontally */
}

.feature-card .btn-quote:hover {
  background: #000;
}

/* Testimonial Section */
.testimonial-section {
  padding: 80px 40px;
  background-color: #fff;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}

.testimonial-left {
  flex: 1;
  min-width: 280px;
}

.testimonial-left h4 {
  font-size: 1.4rem;
  color: #8B0000;
  margin-bottom: 10px;
}

.testimonial-left p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #222;
  max-width: 400px;
}

.btn-review {
  background-color: #8B0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn-review:hover{
  background: #000;
}

.testimonial-right {
  flex: 2;
  min-width: 300px;
  position: relative;
}

.testimonial-right .quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #222;
  margin-bottom: 30px;
  line-height: 1.6;
}

.client-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.client-info strong {
  color: #000;
}

.client-info small {
  font-size: 0.85rem;
  color: gray;
}

.client-avatar {
  width: 55px;
  height: 55px;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #555;
}

/* Certificate Red Banner */
.cert-banner {
  background: #8B0000;
  border-radius: 20px;
  color: white;
  text-align: center;
  padding: 100px 20px;
  margin: 60px 40px;
}

.cert-banner h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.tag-pill {
  background: white;
  color: #8B0000;
  border-radius: 50px;
  padding: 2px 10px;
  font-weight: bold;
  display: inline-block;
}

.cert-banner p {
  margin: 10px auto 25px;
  max-width: 700px;
  font-size: 1rem;
}

.cert-buttons a {
  margin: 0 10px;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
}

.cert-buttons .btn-white {
  background: #fff;
  color: #8B0000;
}

.cert-buttons .btn-outline-white {
  border: 1px solid #fff;
  color: white;
}

.cert-buttons .btn-outline-white:hover {
  background: #fff;
  color: #8B0000;
}

/* Bottom Intro */
.bottom-intro {
  padding: 60px 40px;
  text-align: left;
  background: #fff;
}

.bottom-intro p {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 40px;
}

.bottom-intro .btn-quote {
  background-color: #8B0000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.bottom-intro .btn-quote:hover{
  background: #000;
}

/*occupational-intro*/
.occupational-intro {
  padding: 100px 40px;
  background: #fff;
}

.occupational-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.occupational-left {
  flex: 1;
  min-width: 280px;
}

.occupational-left h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  color: #000;
}

.occupational-right {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.occupational-right p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 10px;
}

.red-link {
  color: #8B0000;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

.quote-form {
  display: flex;
  gap: 10px;
  max-width: 100%;
}

.quote-form input[type="email"] {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #8B0000;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
}

.quote-form button {
  background-color: #8B0000;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}

.quote-form button:hover{
  background: #000;
}

/*Services Section*/
.services-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.services-title {
  font-size: 1.8rem;
  color: #8B0000;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card_1 {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card_1_1 {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.icon-circle {
  border: 2px solid #8B0000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.icon-circle img {
  width: 100%;
  height: 100%;
}

.service-card_1 h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #111;
}

.service-card_1 p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 20px;
}

.btn-appointment {
  background-color: #8B0000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn-appointment:hover {
  background: #000;
}

/*Trusted Section*/
.trusted-section {
  padding: 80px 40px;
  background: #fff;
}

.trusted-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.trusted-left {
  flex: 1;
  min-width: 250px;
}

.trusted-left h3 {
  color: #8B0000;
  font-size: 2rem;
  line-height: 1.4;
}

.trusted-right {
  flex: 2;
  min-width: 280px;
  max-width: 700px;
}

.trusted-right p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}

.btn-appointment {
  background-color: #8B0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

/* Logo Grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-grid img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-grid img:hover {
  transform: scale(1.05);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Specialized Industries Section */
.industries-section {
  padding: 80px 40px;
  background-color: #fff;
  text-align: center;
}

.industries-header h3 {
  color: #8B0000;
  font-size: 2rem;
  margin-bottom: 10px;
}

.industries-header p {
  color: #333;
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
}

.industry-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.industry-info {
  background-color: #8B0000;
  color: #fff;
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.industry-info h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.industry-info p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hero Banner */
.hse-hero {
  background-image: url('../images/Mask Group 1.png'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 40px;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 130px 40px;
  border-radius: 15px;
  text-align: center;
  color: #fff;
  width: 100%;
  height: 100%;
}

.hero-overlay h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.btn-red-1 {
  background-color: #8B0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin: 5px;
  width: 200px;
  text-align: center;
}

.btn-red {
  background-color: #8B0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin: 5px;
  width: 60%;
  text-align: center;
}

/* Info Section */
.hse-info {
  padding: 60px 40px;
  background: #fff;
}

.info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.info-left {
  flex: 1;
  min-width: 250px;
}

.info-left h3 {
  color: #8B0000;
  font-size: 2rem;
}

.info-right {
  flex: 2;
  min-width: 300px;
}

.info-right p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
}

/* Course Cards Section */
.hse-cards {
  padding: 60px 40px;
  background: #fff;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.card-box {
  flex: 1;
  min-width: 280px;
  height: 300px;
  background-color: #f8dcdc;
  padding: 30px 30px;
  border-radius: 12px;
}

.card-box h4 {
  margin-bottom: 10px;
}

.card-box ul {
  padding-left: 20px;
  color: #333;
  font-size: 0.95rem;
}

.card-box ul li {
  margin-bottom: 6px;
}

.signup-box {
  flex: 1.5;
  min-width: 300px;
  background-color: #fff;
  border: 0px solid #ccc;
  padding: 20px;
  border-radius: 12px;
}

.signup-box h4 {
  margin-bottom: 10px;
}

.signup-box p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #444;
}

/* ACCREDITATION SECTION */
.accreditation-section {
  padding: 60px 40px;
  background-color: #fff;
}

.accreditation-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
}

.accreditation-left {
  flex: 1;
  min-width: 250px;
  margin-top: 70px;
}

.accreditation-left h3 {
  color: #8B0000;
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.accreditation-left p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}

.accreditation-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
}

.accreditation-logos img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.accreditation-logos img:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .accreditation-logos {
    gap: 20px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .accreditation-logos {
    grid-template-columns: 1fr;
    max-width: 300px;
    gap: 15px;
  }
}

/* PATIENT PORTAL SECTION */
.patient-portal-section {
  padding: 60px 0;
  background: #fff;
}

.patient-portal-box {
  background-color: #8B0000;
  border-radius: 20px;
  margin: 0 40px;
  padding: 40px 30px;
  color: #fff;
}

.portal-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: relative; /* Important for absolute positioning inside */
}

.portal-content h2 {
  font-size: 6rem;
  font-weight: 800;
  margin-bottom: 20px;
  width: 100%;
}

.portal-left {
  max-width: 550px;
  flex: 1;
  min-width: 250px;
}

.portal-left h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.portal-left ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}

.portal-left ul li {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.portal-left p {
  font-size: 0.95rem;
  color: #f3f3f3;
}

.portal-right {
  position: absolute; /* Makes it float over the content */
  right: 70px;
  bottom: 1;
  text-align: center;
  border:0px solid #fff;
}

.portal-right img {
  max-width: 279px;
  height: auto;
}

.btn-login {
  margin-bottom: 30px;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid #fff;
  text-decoration: none;
  font-weight: bold;
  background: transparent;
}

.btn-login:hover {
  background: #fff;
  color: #8B0000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .portal-right {
    position: static;
    margin-top: 20px;
  }

  .portal-right img {
    max-width: 220px;
  }

  .btn-login {
    margin-bottom: 10px;
  }
}

/* TEAM SECTION */
.team-section {
  text-align: center;
  padding: 60px 40px;
  background: #fff;
}

.team-section h2 {
  color: #8B0000;
  font-size: 2rem;
  margin-bottom: 15px;
}

.team-description {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: #333;
}

.team-profiles {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.team-profiles::-webkit-scrollbar {
  display: none;
}

.profile-card {
  border-radius: 15px;
  width:300px;
  flex-shrink: 0;
  text-align: left;
}

.profile-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.profile-card h4 {
  color: #8B0000;
  font-size: 1rem;
  margin-bottom: 5px;
}

.profile-card p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.profile-icons {
  display: flex;
  gap: 15px;
}

.profile-icons i {
  color: #8B0000;
  font-size: 1.1rem;
  cursor: pointer;
}

/* GET IN TOUCH SECTION */
.get-in-touch-section {
  position: relative;
  background: url('../images/Repeat Grid 1.png') center/cover no-repeat;
  margin: 20px;
  padding: 60px 15px;
  text-align: center;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.get-in-touch-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.get-in-touch-overlay {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  z-index: 1;
  padding: 0 10px;
}

.get-in-touch-overlay h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.get-in-touch-overlay p {
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.touch-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.touch-buttons .btn {
  margin: 0;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-red-new-1 {
  background: #fff;
  color: #8B0000;
  border: none;
}

.btn-outline-new {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-red-new-1:hover,
.btn-outline:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-outline-new:hover {
  background: #fff;
  color: #8B0000;
}

/* CONTACT SECTION */
.contact-section {
  padding: 60px 40px;
  background: #fff;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-left {
  flex: 1;
  min-width: 250px;
}

.contact-left h3 {
  color: #8B0000;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-info {
  width: 100%;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-item {
  margin-bottom: 0;
  border-radius: 8px;
  margin-bottom: 40px;
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
  color: #8B0000;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-right {
  flex: 1;
  min-width: 250px;
}

.contact-right h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #8B0000;
}

.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-right input,
.contact-right textarea {
  padding: 12px;
  border: 1px solid #8B0000;
  border-radius: 5px;
  font-size: 0.95rem;
  width: 100%;
}

.contact-right textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-red {
  background: #8B0000;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-red:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    gap: 30px;
  }
  
  .contact-left, .contact-right {
    flex: 1 1 100%;
  min-width: auto;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 20px;
  }
  
  .contact-left h3 {
    font-size: 1.3rem;
  }
}

/* FOOTER SECTION */
.footer-section {
  background: #8B0000;
  color: #fff;
  padding: 60px 0% 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 90%;
  margin: 0 auto 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #fff;
}

.footer-top h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0;
  text-align: left;
}

.footer-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 90%;
  margin: 0 auto 30px;
  text-align: left;
}

.footer-logo img {
  width: 150px;
  max-width: 100%;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.footer-links h5 {
  font-size: 1rem;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  padding-left: 5px;
}

.footer-bottom {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 15px;
  margin-top: 30px;
  backdrop-filter: blur(8px);
  border: 0px solid rgba(255, 255, 255, 0.3);
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

/* BUTTON STYLES */
.btn-red-2, .btn-outline {
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-red-2 {
  background: #fff;
  color: #8B0000;
  border: 2px solid #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-red-2:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animation for footer */
[data-aos="fade-up"] {
  opacity: 0;
  transition: all 0.6s ease;
  transform: translateY(20px);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .footer-section {
    padding: 60px 30px;
  }  
  .footer-grid {
    gap: 40px;
  }
  
  .footer-links {
    flex: 1 1 200px;
  }
  
  .footer-logo{
    width: 100%;
  }

  .btn-red-2, .btn-outline {
    font-size: 0.77rem;
  }
    
  .footer-top{
    max-width: 1120px;
  }
  
  .footer-grid {
    max-width: 1120px;
  }
  
  .footer-bottom {
    max-width: 1120px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
    justify-content: stretch;
  }
  
  .footer-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-buttons {
    grid-template-columns: 1fr;
  }
  
  .footer-top h3 {
    text-align: center;
    width: 100%;
  }
  
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-bottom {
    padding: 10px;
  }
}

/* Tablet styles */
@media (min-width: 768px) {
  .get-in-touch-section {
    margin: 30px;
    padding: 80px 20px;
    border-radius: 16px;
  }
  
  .get-in-touch-overlay h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .touch-buttons {
    gap: 20px;
  }
  
  .touch-buttons .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Desktop styles */
@media (min-width: 992px) {
  .get-in-touch-section {
    margin: 40px;
    padding: 100px 20px;
    border-radius: 20px;
  }
  
  .get-in-touch-overlay h2 {
    font-size: 2.2rem;
  }
  
  .get-in-touch-overlay p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .get-in-touch-section {
    margin: 15px;
    padding: 50px 10px;
    border-radius: 10px;
  }
  
  .get-in-touch-overlay h2 {
    font-size: 1.5rem;
  }
  
  .get-in-touch-overlay p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .touch-buttons .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}


@media (max-width: 768px) {
  .accreditation-container {
    flex-direction: column;
  }

  .accreditation-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .portal-content {
    flex-direction: column;
  }

  .patient-portal-box {
    padding: 30px 20px;
    margin: 0 20px;
  }

  .portal-content h2 {
    font-size: 1.6rem;
  }

  .portal-left h4 {
    font-size: 1.1rem;
  }

  .btn-login {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
  .accreditation-left p{
    text-align: left;
  }
}


@media (max-width: 992px) {
  .hero-overlay {
    padding: 15% 20px;
  }
}

@media (max-width: 576px) {
  .hse-hero {
    margin: 25px;
    border-radius: 15px;
  }

  .signup-box {
    padding: 0px;
  }

  .btn-red {
    margin: 0px;
    margin-bottom: 10px;
  }

  .hero-overlay h2 {
    font-size: 1.4rem;
  }

  .hero-overlay p {
    font-size: 0.9rem;
  }
}


/* Tablet styles */
@media (max-width: 992px) {
  .services-section {
    padding: 60px 25px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .services-title {
    font-size: 1.6rem;
    margin-bottom: 35px;
  }

  .occupational-intro {
    padding: 100px 25px;
  }

  .trusted-section {
    padding: 80px 25px;
  }  

  .industries-section {
    padding: 80px 25px;
  }  

  .accreditation-section{
    padding: 30px 25px;
    border:0px solid #000;
    margin-bottom: 30px;
  }

  .accreditation-left{
    width: 100%;
    border:0px solid #000;
  }

  .accreditation-right{
    width: 100%;
    border:0px solid #000;
  }

  .accreditation-logos{
    width: 100%;
    padding-top: 30px;
    border:0px solid #000;
  }  

  .accreditation-container{
    display: block;
  }

  .patient-portal-section {
    padding: 0px 25px;
    border:0px solid #000;
  } 

  .patient-portal-box{
    width: 100%;
    margin: 0px;
  } 
  .patient-portal-box h2{
    font-size: 3rem;
  }  
  .team-section {
    padding: 60px 25px;
  }
  .get-in-touch-section {
    margin: 40px 25px;  
  }
}

/* Mobile Styles */
@media (max-width: 950px) {
  .navbar {
    padding: 15px 30px;
  }
  
  .cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partner-stats {
    gap: 20px;
  }

  .hamburger {
    display: block;
  }

  .nav-container {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-left: 0;
  }

  .nav-container.active {
    display: flex;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 15px;
    border:0px solid #000;
  }

  .nav-links a {
    padding: 12px 10px;
    font-size: 1.1rem;
  }

  .nav-icons {
    width: 100%;
    padding: 12px 10px;
    margin-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons a {
    display: block;
    margin: 10px auto;
  }

  .cards-wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .about-shermed,
  .offer-section,
  .partner-section,
  .quote-features,
  .testimonial-section,
  .bottom-intro {
    padding: 50px 25px;
  }
  
  .about-shermed h2 {
    font-size: 2rem;
  }
  
  .offer-container,
  .partner-container,
  .testimonial-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .partner-stats,
  .partner-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .quote-banner,
  .cert-banner {
    margin: 40px 20px;
    padding: 60px 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .about-shermed h2 {
    font-size: 1.8rem;
  }
  
  .about-shermed p,
  .partner-left p,
  .testimonial-left p {
    font-size: 1rem;
  }
  
  .offer-item {
    padding: 25px 15px;
  }
  
  .quote-banner h2,
  .cert-banner h2 {
    font-size: 1.5rem;
  }
  
  .quote-banner p,
  .cert-banner p {
    font-size: 0.95rem;
  }
  
  .cert-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .cert-buttons a {
    margin: 0;
    width: 100%;
    max-width: 250px;
  }

  .cards-wrapper {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    min-height: 180px;
  }
  
  .cards-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* Mobile styles */
@media (max-width: 768px) {
  .services-section {
    padding: 50px 20px;
  }
  
  .services-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 500px;
  }
  
  .service-card_1 {
    padding: 20px 15px;
  }
  
  .icon-circle {
    width: 50px;
    height: 50px;
  }
  
  .icon-circle img {
    width: 100%;
    height: 100%;
  }
}