/*
    DPharm College Custom Stylesheet
    Author: [Your Name]
    Version: 1.0
*/

/* ------------------------------
   1. CSS Variables & General Setup
   ------------------------------ */
:root {
    --light-blue: #8ecae6;
    --medium-blue: #219ebc;
    --dark-blue: #023047;
    --warm-yellow: #ffb703;
    --orange: #fb8500;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-text: #343a40;
    --body-bg: #ffffff;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-text);
    line-height: 1.7;
    background-color: var(--body-bg);
    overflow-x: hidden; /* Prevents horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-blue);
}

.lead {
    font-weight: 400;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* ------------------------------
   2. Buttons & Links
   ------------------------------ */
a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--medium-blue);
}

.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--warm-yellow);
    border-color: var(--warm-yellow);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--medium-blue);
    border-color: var(--medium-blue);
    color: var(--white);
}
.btn-secondary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--white);
}

/* ------------------------------
   3. Topbar & Navbar
   ------------------------------ */
.topbar {
    background-color: var(--dark-blue);
    color: var(--light-blue);
    font-size: 0.9rem;
}
.topbar .contact-info i { color: var(--warm-yellow); }
.topbar .social-links a { color: var(--white); margin-left: 15px; }

.navbar {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 50px;
    transition: height 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.navbar .nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--dark-blue);
    margin: 0 10px;
    position: relative;
    padding-bottom: 5px;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 0;
    height: 2px;
    background-color: var(--orange);
    transition: width 0.3s;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: calc(100% - 20px);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--orange);
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
}

/* ------------------------------
   4. Hero Slider
   ------------------------------ */
#hero-slider {
    height: 500px;
}
.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2,48,71,0.7) 0%, rgba(2,48,71,0.3) 100%);
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--white);
    padding: 20px;
}
.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-blue);
}
.carousel-indicators .active {
    background-color: var(--warm-yellow);
}

/* ------------------------------
   5. Why Choose Us Section
   ------------------------------ */
.why-us-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
}
.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.why-us-card .icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--medium-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: background-color 0.3s;
}
.why-us-card:hover .icon-box {
    background: var(--orange);
}
.why-us-card h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

/* ------------------------------
   6. Gallery Preview Section
   ------------------------------ */
.gallery-img {
    border-radius: 10px;
    object-fit: cover;
    height: 250px;
    width: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ------------------------------
   7. Testimonials Section
   ------------------------------ */
#testimonials {
    position: relative;
}
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 700px;
    margin: auto;
}
.testimonial-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--light-blue);
}
.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.testimonial-card h5 {
    font-weight: 700;
    color: var(--dark-blue);
}
#testimonial-carousel .carousel-control-prev-icon,
#testimonial-carousel .carousel-control-next-icon {
    background-color: var(--dark-blue);
    border-radius: 5px;
    padding: 15px;
}

/* ------------------------------
   8. Footer
   ------------------------------ */
.footer {
    background-color: var(--dark-blue);
    color: rgba(255,255,255,0.8);
}
.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}
.footer a {
    color: rgba(255,255,255,0.8);
}
.footer a:hover {
    color: var(--warm-yellow);
    padding-left: 5px;
    transition: padding-left 0.3s;
}
.footer-logo {
    height: 50px;
    filter: brightness(0) invert(1);
}
.footer .contact-details li {
    margin-bottom: 10px;
}
.footer .contact-details i {
    color: var(--warm-yellow);
    width: 25px;
}
.footer .social-icons-footer a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--medium-blue);
    color: var(--white);
    margin-right: 10px;
    transition: background-color 0.3s, transform 0.3s;
}
.footer .social-icons-footer a:hover {
    background-color: var(--orange);
    transform: translateY(-3px);
}
.copyright {
    background-color: #012a3f;
    color: rgba(255,255,255,0.6);
}

/* ------------------------------
   9. Responsive Media Queries
   ------------------------------ */
@media (max-width: 991.98px) {
    .navbar .nav-link::after {
        display: none;
    }
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
    .carousel-caption {
        text-align: center !important;
    }
    .section-padding {
        padding: 60px 0;
    }
    .footer .text-start, .footer .text-end {
        text-align: center !important;
    }
}
/* ------------------------------
   10. About Page Specific Styles
   ------------------------------ */

/* Page Header */
.page-header {
    padding: 100px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: var(--white);
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 48, 71, 0.7); /* Dark blue overlay */
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}


/* Mission, Vision, Objectives Card */
.mv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 5px solid transparent;
}

.mv-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
}

.icon-box-about {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--medium-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: background-color 0.3s;
}

.mv-card:hover .icon-box-about {
    background: var(--orange);
}

.mv-card h3 {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark-blue);
}


/* Infrastructure Card */
.infra-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.infra-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.infra-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.infra-card .card-body {
    padding: 25px;
}

.infra-card .card-title {
    font-weight: 700;
    color: var(--dark-blue);
}


/* Recognitions Section */
.recognition-logo img {
    max-height: 120px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.recognition-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

#recognitions h4 {
    color: var(--dark-blue);
    font-weight: 600;
}


/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
}
/* ------------------------------
   11. Courses Page Specific Styles
   ------------------------------ */

/* Course Details Icon List */
.icon-list {
    list-style: none;
    padding-left: 0;
}
.icon-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.icon-list i {
    font-size: 1.2rem;
    color: var(--orange);
    width: 30px; /* Aligns the text */
    text-align: center;
    margin-right: 10px;
}

/* Syllabus Accordion Customization */
.accordion-item {
    border: none;
    border-radius: 10px !important;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-button {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    background-color: var(--white);
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--white);
    background-color: var(--medium-blue);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23023047'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 30px;
    background: #fdfdff;
}

.subject-list {
    list-style-type: none;
    padding-left: 0;
    columns: 2; /* Creates a two-column layout for subjects */
}
.subject-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}
.subject-list li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--medium-blue);
    margin-right: 10px;
    position: absolute;
    left: 0;
}


/* Career Opportunities Card */
.career-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.4s ease;
    height: 100%;
    border-top: 4px solid var(--light-blue);
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-top-color: var(--orange);
}

.icon-box-career {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--medium-blue), var(--light-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: all 0.4s;
}

.career-card:hover .icon-box-career {
    transform: rotate(15deg);
    background: linear-gradient(45deg, var(--orange), var(--warm-yellow));
}

.career-card h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--dark-blue);
}

/* Responsive adjustments for subject list */
@media (max-width: 576px) {
    .subject-list {
        columns: 1;
    }
}
/* ------------------------------
   12. Admission Page Specific Styles
   ------------------------------ */

/* Guideline Cards */
.guideline-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    height: 100%;
    border-left: 5px solid var(--medium-blue);
}
.guideline-card h4 {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 15px;
}
.guideline-card ul {
    list-style: none;
    padding-left: 0;
}
.guideline-card ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.guideline-card ul li::before {
    content: '\f058'; /* Font Awesome solid check circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--orange);
    position: absolute;
    left: 0;
}

/* Admission Procedure Steps */
.process-wrapper {
    position: relative;
}
/* Dotted line connector */
.process-wrapper::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    width: 70%;
    height: 2px;
    border-top: 2px dashed var(--medium-blue);
    z-index: 1;
    display: none; /* এই লাইনটি যোগ করুন */
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-icon {
    width: 120px;
    height: 120px;
    background: var(--white);
    border: 3px solid var(--medium-blue);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--medium-blue);
    position: relative;
    transition: all 0.4s ease;
}
.process-icon span {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.process-step:hover .process-icon {
    background: var(--medium-blue);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h5 {
    font-weight: 700;
    color: var(--dark-blue);
}

/* Admission Helpdesk Card */
.helpdesk-card {
    background: linear-gradient(45deg, var(--dark-blue), var(--medium-blue));
    padding: 50px;
    border-radius: 20px;
    color: var(--white);
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--warm-yellow);
}
.contact-item h4 {
    color: var(--white);
    font-weight: 700;
}
.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}
.contact-item a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.contact-item a:hover {
    color: var(--warm-yellow);
}


/* Responsive adjustments for process line */
@media (max-width: 991.98px) {
    .process-wrapper::after {
        display: none; /* Hide line on smaller screens */
    }
    .process-step {
        margin-bottom: 30px;
    }
}
/* ------------------------------
   13. Faculty Page Specific Styles
   ------------------------------ */

.faculty-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    text-align: center;
    overflow: hidden; /* Important for image zoom effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.faculty-img {
    position: relative;
    overflow: hidden;
}

.faculty-img img {
    transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-img img {
    transform: scale(1.1);
}

.faculty-img .social-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 48, 71, 0.75); /* Dark blue overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faculty-card:hover .social-links {
    opacity: 1;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background-color: var(--orange);
    transform: translateY(-5px);
}

.faculty-info {
    padding: 25px 20px;
}

.faculty-info h4 {
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--dark-blue);
}

.faculty-info .designation {
    display: block;
    font-size: 0.9rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 10px;
}

.faculty-info .qualification {
    font-size: 0.9rem;
    color: #6c757d; /* Bootstrap's secondary text color */
    margin-bottom: 0;
}
/* ------------------------------
   14. Gallery Page Specific Styles
   ------------------------------ */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 48, 71, 0.7); /* Dark blue overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Modal (Lightbox) Customization */
#galleryModal .modal-content {
    background-color: transparent;
    border: none;
}
#galleryModal .modal-header {
    border-bottom: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}
#galleryModal .btn-close {
    background-color: white;
    border-radius: 50%;
    padding: 8px;
    opacity: 0.9;
}
#galleryModal .modal-body {
    padding: 0;
}
#galleryModal .modal-body img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
/* ------------------------------
   15. FAQ Page Specific Styles
   ------------------------------ */

#faq-section .accordion-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 15px !important; /* Overriding bootstrap's default */
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    overflow: hidden; /* Ensures the border-radius is applied correctly */
}

#faq-section .accordion-button {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    background-color: #fff;
    padding: 20px;
    text-align: left;
}

#faq-section .accordion-button:not(.collapsed) {
    color: var(--white);
    background-color: var(--medium-blue);
    box-shadow: none;
}

#faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(33, 158, 188, 0.25);
    border-color: transparent;
}

#faq-section .accordion-button.collapsed {
    transition: background-color 0.3s ease;
}
#faq-section .accordion-button.collapsed:hover {
    background-color: var(--light-gray);
}


/* Customizing the accordion icon */
#faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23023047'%3e%3cpath fill-rule='evenodd' d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}
#faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

#faq-section .accordion-body {
    padding: 20px 30px;
    background: #fdfdff;
    line-height: 1.8;
}

/* FAQ CTA Section */
#faq-cta {
    border-top: 1px solid #e9ecef;
}
/* ------------------------------
   16. Contact Page Specific Styles
   ------------------------------ */

/* Contact Info Box */
.contact-info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.contact-info-box .info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--light-blue);
    color: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}
.contact-info-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-blue);
}
.contact-info-box p {
    margin-bottom: 0;
}
.contact-info-box p a {
    color: var(--dark-text);
    text-decoration: none;
}
.contact-info-box p a:hover {
    color: var(--orange);
}

/* Contact Social Links */
.contact-social-links .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    color: var(--dark-blue);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.contact-social-links .social-icon:hover {
    background-color: var(--orange);
    color: var(--white);
    transform: translateY(-5px);
}


/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-form-wrapper .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--medium-blue);
    box-shadow: 0 0 0 0.25rem rgba(33, 158, 188, 0.25);
}

.contact-form-wrapper button[type="submit"] {
    width: auto;
    padding: 12px 40px;
}
/* ------------------------------
   17. Header Adjustments
   ------------------------------ */

/* Making Topbar social icons smaller */
.topbar .social-links a {
    font-size: 0.9rem; /* Controls the icon size */
    margin-left: 15px;
}
.topbar .social-links a:hover i {
    color: var(--warm-yellow); /* Hover effect for icon */
}

/* Custom styles for Navbar contact button */
.nav-contact-btn {
    padding: 8px 22px !important; /* Overriding default bootstrap padding */
    font-weight: 500;
    font-family: var(--font-primary);
    border-radius: 50px !important;
}

/* Ensure the button doesn't get the nav-link underline effect */
.nav-contact-btn::after {
    display: none !important;
}

/* Style for mobile view */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item {
        margin: 5px 0; /* Add some space between items on mobile */
    }
    
    .nav-contact-btn {
        width: 100%; /* Make button full-width on mobile menu */
        margin-top: 10px;
    }
}
/* ------------------------------
   18. Stats Counter Section
   ------------------------------ */
#stats-counter {
    background: linear-gradient(rgba(2, 48, 71, 0.85), rgba(2, 48, 71, 0.85)), 
                url('https://source.unsplash.com/1600x600/?abstract,pattern') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
}

.stat-item {
    color: var(--white);
}
.stat-item i {
    font-size: 3rem;
    color: var(--warm-yellow);
    margin-bottom: 15px;
}
.stat-item .counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
}
.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* ------------------------------
   19. Director Message Section
   ------------------------------ */
.director-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    border-left: 5px solid var(--orange);
    padding-left: 25px;
}
.director-info h5 {
    font-weight: 700;
    color: var(--dark-blue);
}
.director-info p {
    color: var(--medium-blue);
    font-weight: 500;
}
.director-img {
    border-radius: 50%;
    border: 8px solid var(--light-gray);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ------------------------------
   20. Revamped Testimonials Section
   ------------------------------ */
/* Remove old testimonial styles if they conflict */
#testimonials .carousel { display: none; } /* Hide the old carousel */

.testimonial-card-new {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--medium-blue);
}
.testimonial-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    border-top-color: var(--orange);
}
.testimonial-card-new img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--light-blue);
}
.testimonial-card-new p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}
.testimonial-card-new h5 {
    font-weight: 700;
    color: var(--dark-blue);
    margin-top: 15px;
}
.testimonial-card-new .stars {
    color: var(--warm-yellow);
    margin-bottom: 10px;
}