 :root {
     --primary: #9e0505;
     --secondary: #3d8b9f;
     --accent: #d9534f;
     --light: #f8f9fa;
     --dark: #343a40;
     --text-dark: #333;
     --text-light: #777;
 }

 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     color: var(--text-dark);
     line-height: 1.6;
 }

 .top-bar {
     background-color: var(--primary);
     color: white;
     padding: 8px 0;
     font-size: 14px;
 }

 .social-icons {
     display: inline-flex;
     gap: 12px;
     margin-right: 20px;
 }

 .social-icons a {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 28px;
     height: 28px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.2);
     color: white;
     text-decoration: none;
     transition: all 0.3s ease;
 }

 .social-icons a:hover {
     background: white;
     color: #0d6efd;
     transform: translateY(-2px);
 }

 .date-display {
     display: inline-block;
 }

 .header {
     background-color: white;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     padding: 15px 0;
 }

 .logo {
     font-weight: 800;
     font-size: 28px;
     color: var(--primary);
     text-decoration: none;
 }

 .tagline {
     font-size: 18px;
     color: var(--secondary);
     font-weight: 500;
 }

 .main-tagline {
     font-size: 20px;
     font-weight: 600;
     color: var(--primary);
 }

 .search-box {
     position: relative;
     margin-top: 10px;
 }

 .search-box input {
     width: 100%;
     padding: 8px 15px;
     border: 1px solid #ddd;
     border-radius: 4px;
 }

 .search-box i {
     position: absolute;
     right: 15px;
     top: 10px;
     color: #777;
 }

 /* Custom Navigation */
 .custom-navbar {
     background-color: white;
     border-bottom: 2px solid var(--primary);
     height: 90px;
 }

 .navbar-nav .nav-link {
     color: var(--dark);
     font-weight: 500;
     padding: 12px 20px;
     transition: all 0.3s;
 }


 .nav-link {
     margin-left: 05px;
 }

 .navbar-nav .nav-link:hover,
 .navbar-nav .nav-link.active {
     color: var(--primary);
     background-color: rgba(61, 139, 159, 0.1);
 }

 .navbar-brand {
     margin-left: -40px;
     color: #9e0505;
     font-weight: bold;
 }

 .navbar-brand img {
     width: 100px;
     height: 70px;
 }

 .navbar-brand p {
     display: none;
 }


 @media (max-width: 600px) {
     .navbar-brand {
         margin-left: 0px;
         font-size: 16px;
         font-weight: bold;
     }

     .navbar-brand p {
         margin-top: -60px ;
         margin-left: 100px;
         font-weight: bold;
         font-size: 18px;
       display: block;
       font-family: serif;
     }

 }

 .dropdown-menu {
     border-radius: 0;
     border-top: 3px solid var(--primary);
     margin-top: 0;
 }

 .navbar-toggler {
     border: none;
     padding: 0.25rem 0.5rem;
 }

 .navbar-toggler:focus {
     box-shadow: none;
 }

 .appointment-btn {
     background-color: var(--primary);
     color: white;
     padding: 10px 20px;
     font-weight: 600;
     border-radius: 4px;
     text-decoration: none;
     display: inline-block;
 }

 .appointment-btn:hover {
     background-color: var(--secondary);
     color: white;
 }

 .hero {
     background: linear-gradient(rgba(29, 95, 122, 0.8), rgba(29, 95, 122, 0.8)), url('https://images.unsplash.com/photo-1532938911079-1b06ac7ceec7?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1480&q=80');
     background-size: cover;
     background-position: center;
     color: white;
     padding: 80px 0;
     text-align: center;
 }

 .section-title {
     color: var(--primary);
     font-weight: 700;
     margin-bottom: 30px;
     position: relative;
     padding-bottom: 15px;

 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 70px;
     height: 3px;
     background-color: var(--accent);
 }











 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 20px;
 }

 .section-title {
     text-align: center;
     margin-bottom: 40px;
     color: #0a5c8a;
     font-size: 2.2rem;
     position: relative;
     padding-bottom: 15px;
 }

 .section-title:after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 4px;
     background: #4bb1e7;
     border-radius: 2px;
 }

 .services-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 10px;
 }

 .service-card {
     background: lightgrey;
     border-radius: 12px;
     padding: 10px;
     box-shadow: 0 10px 20px rgba(11, 94, 138, 0.1);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     display: flex;
     flex-direction: column;
     height: 100%;
     border-left: 5px solid #9e0505;
     margin-top: 20px;
 }

 .service-card h3 {
    font-size: 20px;
 }

 .service-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 30px rgba(11, 94, 138, 0.15);
 }

 .service-icon {
     font-size: 2.5rem;
     color: #0a5c8a;
     margin-bottom: 20px;
     text-align: center;
 }

 .service-title {
     color: #0a5c8a;
     font-size: 1.5rem;
     margin-bottom: 15px;
     text-align: center;
     font-weight: 600;
 }

 .service-content {
     flex-grow: 1;
     margin-bottom: 20px;
     color: #333;
     font-size: 1rem;
     text-align: justify;
 }

 .know-more-btn {
     display: inline-block;
     background-color: #0a5c8a;
     color: white;
     padding: 12px 25px;
     border-radius: 30px;
     text-decoration: none;
     font-weight: 600;
     transition: background-color 0.3s ease;
     text-align: center;
     margin-top: auto;
 }

 .know-more-btn:hover {
     background-color: #4bb1e7;
 }

 @media (max-width: 768px) {
     .services-grid {
         grid-template-columns: 1fr;
     }

     .service-card {
         padding: 20px;
     }
 }



 .page-wrapper {
     background-color: #f5f7fa;
     color: #333;
     line-height: 1.6;
     padding: 20px;
     min-height: 100vh;
 }

 .about-container {
     max-width: 1200px;
     margin: 0 auto;
     background: white;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     padding: 40px;
 }

 .hospital-header {
     text-align: center;
     margin-bottom: 40px;
 }

 .trust-partner {
     color: #2c7db7;
     font-size: 22px;
     font-weight: 600;
     margin-bottom: 10px;
 }

 .hospital-title {
     color: #2c5282;
     font-size: 32px;
     font-weight: 700;
     margin-bottom: 15px;
 }

 .title-divider {
     width: 80px;
     height: 3px;
     background: linear-gradient(to right, #2c7db7, #2c5282);
     margin: 0 auto;
     border: none;
 }

 .hospital-content {
     display: flex;
     align-items: center;
     gap: 30px;
 }

 .doctor-images {
     display: flex;
     flex-direction: column;
     gap: 20px;
     flex: 1;
 }

 .doctor-img-left,
 .doctor-img-right {
     width: 100%;
     height: 380px;
     border-radius: 8px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     background-size: cover;
 }

 .doctor-img-left {
     margin-top: 0px;
     background-image: url('img/home.jpg');
 }



 .hospital-description {
     flex: 2;
 }

 .description-text {
     color: #4a5568;
     font-size: 16px;
     margin-bottom: 25px;
     text-align: justify;
     line-height: 1.8;
 }

 .read-more-btn {
     display: inline-block;
     background: linear-gradient(to right, #2c7db7, #2c5282);
     color: white;
     padding: 12px 25px;
     border-radius: 30px;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s ease;
     box-shadow: 0 4px 6px rgba(44, 125, 183, 0.2);
 }

 .read-more-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 8px rgba(44, 125, 183, 0.3);
 }

 @media (max-width: 992px) {
     .hospital-content {
         flex-direction: column;
     }

     .doctor-images {
         flex-direction: row;
         width: 100%;
     }

     .doctor-img-left,
     .doctor-img-right {
         width: 48%;
         
     }
 }

 @media (max-width: 768px) {
     .about-container {
         padding: 25px;
     }

     .trust-partner {
         font-size: 18px;
     }

     .hospital-title {
         font-size: 26px;
     }

     .doctor-images {
         flex-direction: column;
     }

     .doctor-img-left,
     .doctor-img-right {
         width: 100%;
         height: 300px;
     }
 }



 .service-box {
     background-color: white;
     border-radius: 8px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     padding: 25px;
     margin-bottom: 30px;
     transition: transform 0.3s;
     height: 100%;
 }

 .service-box:hover {
     transform: translateY(-10px);
 }

 .service-icon {
     font-size: 40px;
     color: var(--primary);
     margin-bottom: 20px;
 }

 .btn-primary {
     background-color: var(--primary);
     border-color: var(--primary);
     padding: 10px 25px;
     font-weight: 600;
 }

 .btn-primary:hover {
     background-color: var(--secondary);
     border-color: var(--secondary);
 }

 .btn-outline-primary {
     color: var(--primary);
     border-color: var(--primary);
     font-weight: 600;
 }

 .btn-outline-primary:hover {
     background-color: var(--primary);
     color: white;
 }

 .specialty-box {
     background-color: var(--light);
     padding: 15px;
     border-radius: 8px;
     text-align: center;
     margin-bottom: 15px;
     transition: all 0.3s;
     height: 100%;
     background-color: #d9534f;
 }

 .specialty-box:hover {
     background-color: var(--primary);
     color: white;
 }

 .specialty-box:hover i {
     color: white;
 }

 .founders-section {
     background-color: #f8f9fa;
     padding: 80px 0;
 }

 .founder-card {
     background-color: white;
     border-radius: 8px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     padding: 30px;
     margin-bottom: 30px;
     text-align: center;
     transition: all 0.3s;
 }

 .founder-card:hover {
     transform: translateY(-10px);
 }

 .founder-img {
     width: 150px;
     height: 150px;
     border-radius: 50%;
     object-fit: cover;
     margin: 0 auto 20px;
     border: 5px solid var(--light);
 }

 .founder-name {
     color: var(--primary);
     font-weight: 700;
     margin-bottom: 5px;
 }

 .founder-position {
     color: var(--secondary);
     font-weight: 500;
     margin-bottom: 15px;
 }

 .read-more-btn {
     color: var(--primary);
     font-weight: 600;
     text-decoration: none;
     display: inline-block;
     margin-top: 15px;
 }

 .read-more-btn:hover {
     color: var(--secondary);
 }

 .footer {
     background-color: #9e0505;
     color: white;
     padding: 60px 0 30px;
 }

 .footer-title {
     font-weight: 700;
     margin-bottom: 25px;
     font-size: 20px;
 }

 .footer-links {
     list-style: none;
     padding: 0;
 }

 .footer-links li {
     margin-bottom: 10px;
 }

 .footer-links a {
     color: #ddd;
     text-decoration: none;
     transition: all 0.3s;
 }

 .footer-links a:hover {
     color: white;
     padding-left: 5px;
 }

 .copyright {
     background-color: rgba(0, 0, 0, 0.2);
     padding: 15px 0;
     margin-top: 30px;
 }

 @media (max-width: 992px) {
     .navbar-collapse {
         background-color: white;
         padding: 15px;
         border-radius: 5px;
         box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
         margin-top: 10px;
     }

     .navbar-nav .nav-link {
         padding: 10px 15px;
     }

     .dropdown-menu {
         border: none;
         box-shadow: none;
         padding-left: 20px;
     }

     .appointment-btn {
         margin-top: 15px;
         text-align: center;
     }
 }

 @media (max-width: 768px) {
     .custom-navbar {
         height: auto;
     }

     .hero {
         padding: 50px 0;
     }

     .section-title {
         font-size: 24px;
     }

     .header .row {
         text-align: center;
     }

     .search-box {
         margin-top: 15px;
     }
 }