
      /* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Custom Colors */
:root {
    --bhc-red: #850f0f;
    --bhc-green: rgba(12, 157, 34, 0.97);
    --bhc-footer: rgba(30, 30, 30, 1);
    --bhc-light-red: rgba(133, 15, 15, 0.8);
    --bhc-light-blue: #e0f2fe;
}

/* Navigation */
.navbar {
    background: var(--bhc-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logos {
    display: flex;
    gap: 8px;
}

.logo-circle {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bhc-red);
    font-weight: bold;
    font-size: 10px;
}

.brand-text h1 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.brand-text h2 {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    background: var(--bhc-green);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: rgba(12, 157, 34, 0.8);
}

.hamburger {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: var(--bhc-red);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding: 24px;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-login-btn {
    background: var(--bhc-green);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.mobile-login-btn:hover {
    background: rgba(12, 157, 34, 0.8);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Services Page CSS - Based on provided content structure */
/* Main Container */
.services-main {
    min-height: calc(100vh - 160px);
    background: #f8f9fa;
    padding: 20px 0;
}
.services-1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Section Headings */
.text-2 .text-rgb-175-24-57,
.text-47 .text-rgb-175-24-57,
.text-67 .text-rgb-175-24-57,
.text-68 .text-rgb-175-24-57 {
    color: rgb(175, 24, 57);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    display: block;
    margin: 40px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* General Text Styling */
.text-black {
    color: #333;
    line-height: 1.6;
}
.text-white {
    color: white;
}
/* Main Description */
.text-3 {
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}
/* Service Sections */
.student-services-4,
.special-services-48,
.faculty-services-58,
.special-services-69 {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}
/* Rectangle Headers */
.rectangle-54-5,
.rectangle-54-49,
.rectangle-54-59,
.rectangle-54-70 {
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background: rgb(175, 24, 57);
    height: 60px;
    margin: -30px -30px 20px -30px;
    border-radius: 12px 12px 0 0;
    position: relative;
    transition: background 0.3s ease;
}
/* Header Buttons */

.rectangle-54-5:hover,
.rectangle-54-49:hover,
.rectangle-54-59:hover,
.rectangle-54-70:hover {
    background: rgb(155, 20, 47);
}
/* Service Titles */
.text-6,
.text-16,
.text-20,
.text-21,
.text-26,
.text-28,
.text-29,
.text-33,
.text-34,
.text-38,
.text-51,
.text-53,
.text-55 {
    font-size: 20px;
    font-weight: 700;
    color: rgb(175, 24, 57);
    margin: 25px 0 15px 0;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}
/* Content Text */
.text-6c{
  text-indent: 20px;
  text-align: justify;
}
.text-20a{
    text-indent: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
    text-align: justify;
}
.text-21a{
    text-indent: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
    text-align: justify;
}
.text-26a{
    text-indent: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
    text-align: justify;
}
.text-33a{
    text-indent: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
    text-align: justify;
}
.text-33b{
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
}
.text-34a{
    text-indent: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
    text-align: justify;
}
.text-34b{
    text-indent: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
    text-align: justify;
}
.text-38a{
    text-indent: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
    text-align: justify;
}
.text-38b{
    text-indent: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
    text-align: justify;
}

.text-6c,
.text-7c,
.text-9c,
.text-10c,
.text-11a,
.text-11b,
.text-12a,
.text-12b,
.text-12c,
.text-16a,
.text-16b,
.text-18,
.text-19,
.text-20b,
.text-27,
.text-30,
.text-36,
.text-52,
.text-54,
.text-56,
.text-57,
.text-63,
.text-65,
.text-72,
.text-74 {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 10px 0;
}
/* Sub-headings */
.text-7,
.text-8,
.text-9,
.text-10,
.text-11,
.text-12,
.text-17,
.text-31,
.text-35,
.text-64,
.text-73 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
}
/* Special Notes */
.text-24,
.text-39 {
    text-align: center;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
    border-left: 4px solid rgb(175, 24, 57);
}
.text-24 .text-rgb-175-24-57,
.text-39 .text-black {
    color: rgb(175, 24, 57);
    font-weight: 500;
}
/* Booking Section */

.bc{  
    
    background: rgb(155, 20, 47);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 10px;
    display: flex;
    align-items: center; 
    justify-content: space-between;
}
.button-44 {
    background: rgba(237, 241, 238, 0.97);
    color: rgb(206, 15, 15);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 10px;
}
.bc:hover {
  background: rgb(175, 24, 57);
}
.button-44:hover {
    background: rgb(246, 248, 246);
}
/* Appointment Section */
.appointment-40 {
    background: linear-gradient(135deg, rgb(175, 24, 57), rgb(155, 20, 47));
    border-radius: 12px;
    padding: 10px 20px;
    margin: 30px 0;
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    box-shadow: 0 8px 30px rgba(175, 24, 57, 0.3);
}

.text-41 {
    text-align: left; 
}

.text-42 {
    font-size: 15px;
    font-weight: 200;
    margin-bottom: 10px;
}

.text-43 {
    font-size: 15px;
    opacity: 0.9;
}

/* Faculty Services */
.text-62 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
/* Goals and Process Lists */
.text-23,
.text-31,
.text-35,
.text-25,
.text-52 {
    background: #f8f9fa;
    border-left: 4px solid rgba(12, 157, 34, 0.97);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
/* Responsive Design */
@media (max-width: 768px) {
    .services-1 {
        padding: 0 15px;
    }
    
    .student-services-4,
    .special-services-48,
    .faculty-services-58,
    .special-services-69 {
        padding: 20px;
        margin: 20px 0;
    }
    
    .rectangle-54-5,
    .rectangle-54-49,
    .rectangle-54-59,
    .rectangle-54-70 {
        margin: -20px -20px 15px -20px;
        height: 50px;
    }
    
    .hs,
    .text-71 {
        font-size: 16px;
        padding: 12px 16px;
    }
    
    .text-2 .text-rgb-175-24-57,
    .text-47 .text-rgb-175-24-57,
    .text-67 .text-rgb-175-24-57,
    .text-68 .text-rgb-175-24-57 {
        font-size: 28px;
        margin: 30px 0 15px 0;
    }
    
    .text-6,
    .text-16,
    .text-20,
    .text-21,
    .text-26,
    .text-28,
    .text-29,
    .text-33,
    .text-34,
    .text-38,
    .text-51,
    .text-53,
    .text-55 {
        font-size: 18px;
    }
    
    .appointment-40 {
        padding: 20px;
        margin: 20px 0;
    }
    
    .text-42 {
        font-size: 20px;
    }
    
    .text-43 {
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .services-1 {
        padding: 0 10px;
    }
    
    .student-services-4,
    .special-services-48,
    .faculty-services-58,
    .special-services-69 {
        padding: 15px;
    }
    
    .text-2 .text-rgb-175-24-57,
    .text-47 .text-rgb-175-24-57,
    .text-67 .text-rgb-175-24-57,
    .text-68 .text-rgb-175-24-57 {
        font-size: 24px;
    }
    
    .text-3 {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .hs,
    .text-71 {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .text-6c,
    .text-7c,
    .text-9c,
    .text-10c,
    .text-16a,
    .text-16b,
    .text-18,
    .text-19 {
        font-size: 14px;
    }
}
/* Print Styles */
@media print {
    .services-main {
        background: white;
    }
    
    .student-services-4,
    .special-services-48,
    .faculty-services-58,
    .special-services-69 {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    .bc,
    .button-44,
    .hs {
        display: none;
    }
}

/* Footer */
.footer {
    background: var(--bhc-footer);
    color: white;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.office-hours {
    margin-top: 24px;
}

.office-hours h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .desktop-nav,
    .nav-right .login-btn {
        display: none;
    }
    
    .brand-text {
        display: none;
    }
    
    
    
    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .featured-event img {
        height: 250px;
    }
    
    .featured-content {
        padding: 24px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .brand-text h1 {
        font-size: 16px;
    }
    
    .brand-text h2 {
        font-size: 11px;
    }
    
    .desktop-nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .featured-event {
        grid-template-columns: 1fr 1fr;
    }
    
    .featured-event img {
        height: auto;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
        font-size: 8px;
    }
    
    .main-content {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .mobile-menu {
        width: 100vw;
    }
    
    .cards-grid {
        gap: 20px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .featured-content {
        padding: 20px;
    }
    
    .footer-content {
        padding: 40px 15px 30px;
    }
    
    .footer-columns {
        gap: 30px;
    }
}

/* log in and register form css */
/* Popup background */
.popup-container {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* Popup box */
.form-popup {
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);          
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: white;        
    font-weight: bold;
    z-index: 1000;
}

/* Form styling */
.form-box h2 {
    color: white;
    margin-bottom: 15px;
    text-align: center;
}
.form-box p {
    color: white;
}

.form-box p a {
    color: white;       
    font-weight: bold; 
    text-decoration: underline; 
}

.form-box p a:hover {
    color: #ffcccc; 
}
.form-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.form-box button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #d40000;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.form-box button:hover {
    background: #b30000;
}

.hidden {
    display: none;
}
.file-label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

#profilePic {
    margin-top: 5px;
    padding: 5px;
    font-size: 14px;
}
.register-switch {
    display: flex;
    margin-bottom: 10px;
}

.register-switch button {
    flex: 1;
    padding: 8px;
    border: none;
    cursor: pointer;
    background: #eee;
    font-weight: bold;
}

.register-switch button.active {
    background: #d40000;
    color: white;
}

.hidden {
    display: none;
}

.file-label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}
