/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --primary-color: #003974;
    --secondary-color: #0A74FF;
    --light-color: #F5F8FF;
    --dark-color: #062442;
    --accent-color: #80CFFF;
    --transition: all 0.3s ease;
}


/* BASE CSS */
*{
    padding: 0;
    margin:0;
    scroll-behavior: smooth;
}

/* ==========================================
   BASE STYLES
   ========================================== */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 64px;
}

section {
    position: relative;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* ==========================================
   NAVBAR STYLES
   ========================================== */
.navbar {
    padding: 1rem 2rem;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    margin: 0 0.25rem;
    color: var(--dark-color) !important;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--light-color) !important;
    background:var(--secondary-color)
}

.nav-link.active {
    color: white !important;
    background: var(--primary-color);
}

/* Contact Us Button in Navbar */
.navbar-nav .nav-item:last-child .nav-link {
    background: var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==========================================
   BUTTON STYLES
   ========================================== */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--secondary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(10, 116, 255, 0.3);
}

.btn-primary:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 116, 255, 0.4);
}

/* ==========================================
   CARD & FORM STYLES
   ========================================== */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(10, 116, 255, 0.15);
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

.list-group-item {
    border: none;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Hero Slider Container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(100%);
    transition: transform 0.9s ease-in-out;
}

.hero-slide.active {
    transform: translateX(0);
    z-index: 2;
}

.hero-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.3)
    );
    z-index: 1;
}

.hero-slide .container {
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero-content h1 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.hero-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
}

/* Hero Button */
.hero-content .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* Carousel Controls (Next / Prev) */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 5;
}

.control-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--secondary-color);
    color: #ffffff;
    font-size: 1.3rem;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Hero Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 4;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    background: var(--light-color);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.services-section p.lead {
    text-align: center;
    color: #062442;
}

.services-section h1 {
    margin-bottom: 1.5rem;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto;
    color: #333;
}

.service-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 116, 255, 0.05) 0%, rgba(128, 207, 255, 0.05) 100%);
    transition: left 0.5s ease;
    z-index: 0;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(10, 116, 255, 0.3);
    border-color: var(--secondary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-color);
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card:hover h5 {
    color: var(--secondary-color);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.service-card .learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .learn-more {
    opacity: 1;
    transform: translateY(0);
}

.service-card .learn-more::after {
    content: ' →';
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-card:hover .learn-more::after {
    transform: translateX(5px);
}

/* Services Hero Banner */
.services-hero-banner {
    background:
        linear-gradient(
            rgba(0, 57, 116, 0.65),
            rgba(0, 57, 116, 0.65)
        ),
        var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 60px 0 100px;
    position: relative;
    margin-top: 20px;
    color: #ffffff;

}

.services-hero-banner h1 {
    font-size: 3rem;
    font-weight: 700;
}

.services-hero-banner p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1rem;
    opacity: 0.95;
}

/* Services CTA Section */
.services-cta {
    background: linear-gradient(
        135deg,
        rgba(0, 57, 116, 0.65),
        rgba(0, 57, 116, 0.65)
    ), var(--cta-bg) center/cover;
    color: #ffffff;
    padding: 90px 20px;
    margin-bottom: 80px;
    text-align: center;
}

.services-cta h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.services-cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Button */
.services-cta .btn {
    background-color: #ffffff;
    color: #0b5ed7;
    font-weight: 600;
    border-radius: 50px;
    padding: 14px 36px;
    border: none;
    box-shadow: 0 10px 25px rgba(180, 37, 37, 0.2);
    transition: all 0.3s ease;
}

.services-cta .btn:hover {
    background-color: #0b5ed7;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================
   PARTNERSHIP SECTION
   ========================================== */
.partnership-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-color) 100%);
    padding: 5rem 0;
}

.partners-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.partner-logo {
    width: 180px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    background: white;
    padding: 0.5rem;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-content-section {
    padding: 60px 0 40px;
    background: #ffffff;
}

.team-photo-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-photo {
    width: 100%;
    height: auto; /* important for responsiveness */
    object-fit: cover;
    display: block;
}

.about-text-section {
    padding: 40px 0;
}

.about-text-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text-content p {
    text-align: center;
    font-size: 16px;
    line-height: 2;
}

.motto-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

.motto-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2rem;
}

/* Purpose Section */
.purpose-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.purpose-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.purpose-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 5/4;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Purpose Accordion Responsive */
.purpose-accordion {
    margin-top: 1rem;
}

.purpose-accordion-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.purpose-tab-item {
    width: 100%;
    padding: 16px 24px;
    border: none;
    background: #fff;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.purpose-tab-item::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.purpose-tab-item.active::after {
    content: '−';
    transform: rotate(180deg);
}

.purpose-tab-item:hover {
    background: #f8f9fa;
}

.purpose-tab-item.active {
    background: #e8f2ff;
    color: var(--secondary-color);
}

.purpose-tab-content {
    display: none;
    padding: 20px 24px;
    background: #f8f9fa;
}

.purpose-tab-content.active {
    display: block;
}

/* Mobile responsive adjustments for purpose section */
@media (max-width: 768px) {
    .purpose-section .row {
        flex-direction: column-reverse;
    }
    
    .purpose-section .col-md-6:first-child {
        margin-bottom: 2rem;
    }
    
    .purpose-accordion-item {
        margin-bottom: 0.5rem;
    }
    
    .purpose-tab-item {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    
    .purpose-tab-content {
        padding: 16px 18px;
    }
    
    .purpose-tab-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-section-title,
.other-team-title {
    font-weight: 700;
    color: var(--primary-color);
}

.team-member-card,
.other-team-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-image,
.other-team-image {
    width: 100%;
    height: 250px; /*keeps the fix height for all images*/
    object-fit: cover;
}

.team-member-info,
.other-team-info {
    flex-grow: 1; /*makes the info section take up remaining space*/
    padding: 1rem;
    text-align: center;
}

.team-member-name,
.other-team-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.team-member-position,
.other-team-position {
    font-size: 0.85rem;
    color: #666;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-hero-banner h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero-banner .breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.contact-hero-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-hero-banner .breadcrumb-item.active {
    color: white;
}

.contact-hero-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: ">";
}

.contact-main-section {
    padding: 60px 0;
    background: #ffffff;
}

.contact-info-box {
    background: white;
    padding: 0;
}

.contact-info-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-text h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-text p {
    margin-bottom: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-text a {
    color: #666;
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--secondary-color);
}

.social-section {
    margin-top: 2.5rem;
}

.social-section h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-icons-contact {
    display: flex;
    gap: 1rem;
}

.contact-form-box {
    background: white;
    padding: 0;
}

.contact-form-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form .form-control {
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(10, 116, 255, 0.15);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.word-count {
    font-size: 0.85rem;
    color: #999;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    padding: 0.75rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.map-section {
    padding: 0;
    margin: 0;
}

.map-container {
    width: 100%;
    max-width: 1300px;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.footer-top {
    padding: 48px 0;
}

.footer-contact {
    background: #4A90E2;
    color: white;
}

/* Each footer block: Address / Contact / Hours / Follow */
.footer-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 0;
}

/* Icons */
.footer-item i {
    font-size: 24px;
    min-width: 24px;
    color: #003974;
}

/* Section headings */
.footer-item h6 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 16px;
    color: #003974;
}

/* Text lines (Address, Contact, Hours) */
.footer-item p {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 24px;
    color: #003974;
}

.footer-item p:last-child {
    margin-bottom: 0;
}

.footer-social-icons a:nth-child(1) {
    color: var(--secondary-color);
}

.footer-social-icons a:nth-child(2) {
    color: var(--secondary-color);
}

.footer-social-icons a:nth-child(3) {
    color: var(--secondary-color);
}

.footer-social-icons i {
    color: inherit;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: #4A90E2;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    transform: translateY(-4px);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

/* Copyright text */
.footer-copy {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.footer-copy p {
    margin: 0;
    font-size: 14px;
    color: #003974;
}

/* Developer credit */
.footer-copy span {
    display: block;
    font-size: 13px;
    color: #003974;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: #003974;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-top-btn:hover {
    background: #0056CC;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.show {
    display: flex;
}
/* ================= PROJECTS SECTION ================= */
.projects-section {
    background-color: #f8f9fa;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.project-tag {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
}

/* ==========================================
   RESPONSIVE STYLES (MEDIA QUERIES)
   ========================================== */

/* Extra Large Devices (1200px and down) */
@media (max-width: 1200px) {
    .purpose-image {
        width: 100%;
        height: auto;
    }
}

/* Large Devices (992px and down) */
@media (max-width: 992px) {
    /* Navbar */
    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        padding: 0.45rem 1rem;
        font-size: 0.9rem;
        border-radius: 6px;
        width: auto;
        margin: 0.5rem auto 0;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        height: 85vh;
    }

    .container.h-100 {
        height: calc(85vh - 56px);
    }

    .display-3 {
        font-size: 2.5rem;
    }
    /* purpose image */
    .purpose-image {
        width: 100%;
        height: auto;
    }
    /* Services */
    .service-card {
        margin-bottom: 1.5rem;
    }

    /* Contact */
    .contact-hero-banner {
        padding: 120px 0 60px;
    }

    .contact-hero-banner h1 {
        font-size: 2rem;
    }

    .contact-main-section {
        padding: 40px 0;
    }

    .contact-info-box,
    .contact-form-box {
        margin-bottom: 3rem;
    }

    .map-container {
        height: 300px;
    }

    /* Footer */
    .footer-bottom a {
        margin-left: 0;
        margin-right: 16px;
    }

    /* About */
    .motto-title {
        font-size: 1.5rem;
    }

    .motto-subtitle {
        font-size: 1rem;
    }

    .about-content-section {
        padding: 40px 0;
    }

    .purpose-section {
        padding: 40px 0;
    }

    .purpose-title {
        font-size: 2rem;
    }

    .team-section-title {
        font-size: 2rem;
    }

    .other-team-title {
        font-size: 2rem;
    }

    /* Scroll Top Button */
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Medium Devices (768px and down) */
@media (max-width: 768px) {
    /* Footer */
    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
    }

    .footer-copy {
        position: static;
        transform: none;
        order: 1;
    }

    .footer-links {
        order: 2;
    }

    /* Services */
    .services-hero h1 {
        font-size: 2.3rem;
    }

    .services-cta h2 {
        font-size: 2rem;
    }

    .service-text-content p {
        font-size: 1.05rem;
    }
    
    /* About Page Responsive */
    .services-hero-banner {
        padding: 80px 0 60px;
        margin-top: 0;
    }
    
    .services-hero-banner h1 {
        font-size: 2rem;
    }
    
    .about-content-section {
        padding: 30px 0 20px;
    }
    
    .about-text-section {
        padding: 30px 0;
    }
    
    .about-text-content p {
        font-size: 14px;
        line-height: 1.8;
        text-align: left;
        padding: 0 10px;
    }
    
    .motto-title {
        font-size: 1.35rem;
    }
    
    .motto-subtitle {
        font-size: 0.95rem;
    }
    
    .purpose-section {
        padding: 30px 0;
    }
    
    .purpose-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .team-photo-wrapper {
        border-radius: 8px;
    }
}

/* Small Devices (576px and down) */
@media (max-width: 576px) {
    /* Navbar */
    .navbar-nav .nav-item:last-child .nav-link {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero-content {
        text-align: center;
    }

    .carousel-controls {
        padding: 0 1rem;
    }

    .hero-section {
        height: 80vh;
    }
    
    /* About Page - Small Devices */
    .services-hero-banner {
        padding: 70px 0 50px;
    }
    
    .services-hero-banner h1 {
        font-size: 1.75rem;
    }
    
    .services-hero-banner p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .about-text-content p {
        font-size: 13px;
        padding: 0 5px;
    }
    
    .motto-title {
        font-size: 1.25rem;
    }
    
    .motto-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .purpose-title {
        font-size: 1.35rem;
    }
    
    .purpose-tab-item {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .purpose-tab-content {
        padding: 14px 15px;
    }
    
    .purpose-tab-content p {
        font-size: 0.85rem;
    }

}

