 :root {
     --primary-red: #9f1c22;
     --dark-red: #ba1f1f;
     --light-red: #f25f5f;
 }

 body {
     /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
     overflow-x: hidden !important;
     background-color: #f9f9f9;
 }

 /* Navbar Styles */
 .navbar {
     background-color: white;
     /* background-color: rgb(250 250 249 / 0.6); */
     border-color: rgb(231 229 228 / var(--tw-border-opacity, 1));
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     padding: 0px 0;
     transition: all 0.3s ease;
 }

 .navbar.scrolled {
     opacity: .8;
     padding: 0px 0;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
 }

 .navbar-brand {
     color: var(--primary-red) !important;
     font-weight: 700;
     font-size: 1.8rem;
 }

 .nav-link {
     color: #333 !important;
     font-weight: 500;
     margin: 0 10px;
     position: relative;
 }

 .nav-link:hover,
 .nav-link.active {
     color: var(--primary-red) !important;
 }

 .nav-link:after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     background: var(--primary-red);
     bottom: 0;
     left: 0;
     transition: width 0.3s;
 }

 .nav-link:hover:after,
 .nav-link.active:after {
     width: 100%;
 }

 /* Hero Banner Styles */
 .hero-banner {
     background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/home/banner-image.jpg') no-repeat center center;
     background-size: cover;
     height: 760px !important;
     max-height: 100%;
     display: flex;
     align-items: center;
     color: white;
     text-align: center;
     position: relative;
 }

 .hero-header {
     color: #b49147;
     font-size: 0.875rem;
     line-height: 1.25rem;
     padding: 0.375rem 1rem;
     border: 1px solid #b4914799;
     background-color: rgba(0, 0, 0, 0.2);
     backdrop-filter: blur(4px);
     -webkit-backdrop-filter: blur(4px);
     width: fit-content;
     margin-left: auto;
     margin-right: auto;
     margin-bottom: 1.5rem;
 }

 .hero-content {
     width: 100%;
     padding: 0 20px;
 }

 .hero-content h1 {
     font-size: 4.5rem;
     font-weight: 800;
     margin-bottom: 25px;
     text-transform: uppercase;
     letter-spacing: 2px;
 }

 .hero-content p {
     font-size: 1.2rem;
     margin-bottom: 40px;
     font-weight: 300;
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
 }

 /* Button Styles */
 .btn-primary {
     background-color: var(--primary-red);
     border-color: var(--primary-red);
     padding: 11px 34px;
     font-weight: 500;
     font-size: 1rem;
     border-radius: 0px;
     text-transform: uppercase;
     letter-spacing: 1px;
 }

 .btn-primary:hover {
     background-color: var(--dark-red);
     border-color: var(--dark-red);
 }

 .btn-outline-light {
     padding: 11px 0px;
     font-weight: 500;
     font-size: 16px;
     border-radius: 50px;
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-left: 15px;
     border: none;
 }

 .btn-outline-light:hover {
     background-color: transparent;
     color: white;
     border-bottom: 1px solid white;
     border-radius: 0px;
 }

 .btn-check:checked+.btn,
 .btn.active,
 .btn.show,
 .btn:first-child:active,
 :not(.btn-check)+.btn:active {
     color: white;
     background-color: transparent !important;
     border-color: transparent !important;
 }

 /* Scroll Down Indicator */
 .scroll-down {
     position: absolute;
     bottom: 30px;
     left: 50%;
     transform: translateX(-50%);
     color: white;
     font-size: 2rem;
     animation: bounce 2s infinite;
 }

 @keyframes bounce {

     0%,
     20%,
     50%,
     80%,
     100% {
         transform: translateY(0) translateX(-50%);
     }

     40% {
         transform: translateY(-20px) translateX(-50%);
     }

     60% {
         transform: translateY(-10px) translateX(-50%);
     }
 }

 /* Section Styles */
 section {
     padding: 100px 0;
 }

 .section-title {
     text-align: center;
     margin-bottom: 60px;
 }

 .section-title h2 {
     font-size: 1.875rem;
     font-weight: 700;
     color: #333;
     position: relative;
     display: inline-block;
     padding-bottom: 15px;
 }

 .section-title p {
     max-width: 743px;
     margin: 0 auto;
     text-align: center;
     font-size: 1.125rem;
 }

 .section-title h2:after {
     content: '';
     position: absolute;
     width: 80px;
     height: 3px;
     background: var(--primary-red);
     bottom: 0;
     left: 50%;
     transform: translateX(-50%);
 }

 /* Features Section */
 .feature-box {
     text-align: start;
     padding: 30px;
     border-radius: 5px;
     margin-bottom: 30px;
     background: white;
     /* important for card look */
     border: 1px solid rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
 }

 .feature-box:hover {
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 }

 .feature-icon {
     width: 70px;
     height: 70px;
     background: #fafaf9;
     color: var(--primary-red);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     /* margin: 0 auto 25px; */
     margin-bottom: 20px;
     font-size: 2rem;
     transition: all 0.3s ease-in-out;
 }

 .feature-box:hover .feature-icon {
     transform: scale(1.08);
     transition: all 0.3s ease-in-out;
 }

 .feature-icon svg {
     height: 40px;
     width: 40px;
 }

 .feature-box h3 {
     font-size: 1.25rem;
     font-weight: 600;
     margin-bottom: 15px;
     color: #0f0f0f;
 }

 .feature-box p {
     color: #0f0f0f;
 }

 /* About Section */
 .about-img {
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
 }

 .about-img img {
     width: 100%;
     transition: all 0.5s ease;
 }

 .about-img:hover img {
     transform: scale(1.05);
 }

 .about-content h2 {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 20px;
     color: #333;
 }

 .about-content p {
     font-size: 1.1rem;
     line-height: 1.8;
     color: #666;
     margin-bottom: 20px;
 }

 /* Services Section */
 .services {
     background: #f9f9f9;
 }

 .service-card {
     background: white;
     border-radius: 10px;
     padding: 30px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     transition: all 0.3s ease;
     margin-bottom: 30px;
     height: 100%;
 }

 .service-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(214, 40, 40, 0.1);
 }

 .service-icon {
     color: var(--primary-red);
     font-size: 2.5rem;
     margin-bottom: 20px;
 }

 .service-card h3 {
     font-size: 1.5rem;
     font-weight: 600;
     margin-bottom: 15px;
 }

 /* Schools Section */
 .school-card {
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
     margin-bottom: 30px;
 }

 .school-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(214, 40, 40, 0.2);
 }

 .school-img {
     height: 200px;
     overflow: hidden;
 }

 .school-img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: all 0.5s ease;
 }

 .school-card:hover .school-img img {
     transform: scale(1.1);
 }

 .school-info {
     padding: 20px;
 }

 .school-info h3 {
     font-size: 1.5rem;
     font-weight: 600;
     margin-bottom: 10px;
     color: #333;
 }

 .school-info .location {
     color: var(--primary-red);
     margin-bottom: 15px;
     display: block;
 }

 /* CTA Section */
 .cta-section {
     background: var(--primary-red);
     color: white;
     text-align: center;
     padding: 80px 0;
 }

 .cta-section h2 {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 30px;
 }

 .cta-section .btn-outline-light {
     border-color: white;
     color: white;
 }

 /* Contact Section */
 .contact-info {
     margin-bottom: 30px;
 }

 .contact-info i {
     color: var(--primary-red);
     font-size: 1.5rem;
     margin-right: 15px;
 }

 .form-control:focus {
     border-color: var(--primary-red);
     box-shadow: 0 0 0 0.25rem rgba(214, 40, 40, 0.25);
 }

 /* guardian network */

 .guardians-network {
     background: #0f0f0f;
 }

 .guardian-content {
     margin: 15px 0;
 }

 .guardian-content h3 {
     color: #f5f5f4;
     font-size: 30px;
     font-weight: 700;
 }

 .guardian-content p {
     color: #a8a29e;
     font-size: 18px;
     font-weight: 400;
 }

 .guardian-content button {
     padding: 0.625rem 2rem;
     font-size: 16px;
     color: #fff;
     background-color: #9f1d22;
     font-weight: 500;
     border: transparent;
 }

 .guardian-image {
     position: relative;
 }

 .guardian-image img {
     width: 100%;
     height: 225px;
     object-fit: cover;
     border-radius: 12px;
     position: relative;
     z-index: 2;
 }

 .guardian-image .border {
     position: absolute;
     top: 16px;
     left: 16px;
     border: 1px solid #b4914799 !important;
     border-radius: 10px;
     z-index: 3;
     pointer-events: none;
     width: 100%;
     height: 225px;
 }

 .red-line {
     background-color: #9f1d22 !important;
     width: 100%;
     height: 4px;
 }

 /* Footer */
 footer {
     background: #0f0f0f;
     color: white;
     padding: 60px 0 30px;
 }

 .footer-logo {
     font-size: 20px;
     font-weight: 700;
     color: white;
     margin-bottom: 15px;
     display: inline-block;
     text-decoration: none !important;
     font-family: 'Noto Serif SC', serif;
 }

 .footer-content {
     font-size: 14px;
     color: #a8a29e;
 }

 .social-content {
     position: relative;
     width: 100% !important;
     gap: 20px !important;
 }

 .social-content span {
     font-size: 0.75rem;
     line-height: 1rem;
     padding: 0.125rem 0.5rem;
     border: 1px solid #b49147;
     color: #b49147;
     border-radius: 0.25rem;
 }

 .footer-logo span {
     color: var(--primary-red);
 }

 .footer-links h3 {
     font-size: 18px;
     margin-bottom: 10px;
     position: relative;
     padding-bottom: 10px;
     font-weight: 700;
 }

 .footer-links p {
     color: #d6d3d1;
     font-size: 14px;
     font-weight: 400;
     display: flex;
     align-items: flex-start;
     gap: 20px;
 }

 .footer-links p span {
     color: #9f1d22;
     flex-shrink: 0;
 }

 .footer-links ul {
     list-style: none;
     padding: 0;
 }

 .footer-links li {
     margin-bottom: 7px;
 }

 .footer-links a {
     color: #e5e7eb;
     text-decoration: none;
     transition: all 0.3s ease;
     font-size: 14px;
 }

 .footer-links a:hover {
     color: #9f1d22;
 }

 .social-icons a {
     display: inline-block;
     width: 40px;
     height: 40px;
     background: rgba(255, 255, 255, 0.1);
     color: white;
     border-radius: 50%;
     text-align: center;
     line-height: 40px;
     margin-right: 10px;
     transition: all 0.3s ease;
 }

 .social-icons a:hover {
     background: var(--primary-red);
     transform: translateY(-5px);
 }

 .copyright {
     border-top: 1px solid #444;
     padding-top: 30px;
     margin-top: 30px;
     color: #aaa;
     font-size: 0.9rem;
 }

 .navbar-auth .btn {
     font-size: 16px;
     font-weight: 500;
     background-color: transparent !important;
     border: none !important;
     color: #333 !important;
     position: relative;
 }

 .navbar-auth .btn:after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     background: #9f1d22;
     bottom: -2px;
     left: 0;
     transition: width 0.3s;
 }

 .navbar-auth .btn:hover,
 .navbar-auth .btn.active {
     color: #9f1d22 !important;
 }

 .navbar-auth .btn:hover:after,
 .navbar-auth .btn.active:after {
     width: 100%;
 }

 nav a:hover {
     color: white;
 }

 .search-bar {
     position: relative;
     display: inline-block;
     margin-left: 18px;
 }

 .search-input {
     width: 150px;
     padding: 6px 12px;
     border: 1px solid #ccc;
     border-radius: 25px;
     font-size: 14px;
     transition: all 0.3s ease;
     outline: none;
     color: #ccc;
     padding-right: 30px;
     height: 32px;
 }

 .search-input::placeholder {
     color: #ccc;
 }

 .search-icon {
     position: absolute;
     right: 8px;
     top: 50%;
     pointer-events: none;
     transform: translateY(-50%);
     color: #888;
 }

 .search-input:focus {
     border: 1px solid #9f1c22;
     width: 250px;
     color: #000 !important;
 }

 .search-input:hover+.search-icon {
     color: #9f1c22;
 }

 .search-input:focus+.search-icon {
     color: #9f1c22;
 }

 .btn-login {
     color: var(--primary-red);
     border: 1px solid var(--primary-red);
     background-color: transparent;
 }

 .btn-login:hover {
     background-color: var(--primary-red);
     color: white;
 }

 .btn-signup {
     background-color: var(--primary-red);
     color: white;
     border: 1px solid var(--primary-red);
 }

 .btn-signup:hover {
     background-color: var(--dark-red);
 }

 .service-card p {
     margin-left: 0px !important;
 }

 a:focus,
 /* When the link is focused (e.g., via keyboard navigation) */
 a:active,
 /* While the link is being clicked */
 a:hover {
     /* When the mouse hovers over the link (optional) */
     color: red;
     /*background-color: red;*/
 }

 .two-lines {
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     text-overflow: ellipsis;
     /*font-size:2px;*/
 }

 .pointer {
     cursor: pointer;
 }

 button.close {
     border: none;
     background: transparent;
     font-size: 18px;
 }

 .accordion-button:not(.collapsed) {
     color: #9b0000;
     background-color: #730a142e;
     box-shadow: none;
     box-shadow: n;
 }

 .accordian-lecture-item {
     padding: 10px 1px;
 }

 .text-nowrap {
     text-wrap: nowrap !important;
 }

 .text-wrap {
     text-wrap: auto !important;
 }

 @media(max-width:576px) {
     .c-main-page {
         margin-top: 70px !important;
     }

     .hero-content .display-1 {
         font-size: 2rem !important;
     }

     .btn-outline-light {
         padding: 12px 8px;
         margin-left: 0px;

     }
 }

 @media (max-width:500px) {
     .links {
         padding-top: 20px !important;
     }

     .nav-btns {
         padding: 15px 0;
     }
 }

 @media (max-width:800px) {

     .links {
         padding-top: 20px !important;
     }

     .nav-btns {
         padding: 15px 0;
     }
 }