/* Fonts */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1A1A1A;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Navbar - Modern Professional Design */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid #A50021;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.6rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: #A50021 !important;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.85;
}

/* Navigation Links */
.navbar-nav {
    gap: 0.25rem;
}

.nav-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

/* Sleek Bottom Line Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #A50021;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link:hover {
    color: #A50021 !important;
}

/* Active Link State */
.nav-link.active {
    color: #A50021 !important;
}

.nav-link.active::after {
    width: 70%;
    height: 2px;
    background-color: #A50021;
}

/* Mobile Toggle Button */
.navbar-toggler {
    border: 1.5px solid #A50021;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(165, 0, 33, 0.15);
}

.navbar-toggler-icon {
    width: 1.25em;
    height: 1.25em;
}

/* Mobile Menu */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1rem;
        border-radius: 0 0 12px 12px;
        margin-top: 0.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(165, 0, 33, 0.1);
    }

    .navbar-nav {
        gap: 0;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: 6px;
    }

    .nav-link:hover {
        background-color: rgba(165, 0, 33, 0.05);
    }

    .nav-link::after {
        display: none;
        /* Hide line animation on mobile for cleaner look */
    }

    .nav-link.active {
        background-color: rgba(165, 0, 33, 0.08);
    }
}

/* Hero Section - Original Content in HD Quality */
/* Hero Section - Banner Image Container */
.hero-section {
    padding: 0;
    background: none;
    min-height: auto;
}

/* Cards (for Members) */
.member-card {
    border: none;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.member-name {
    font-weight: bold;
    color: #A50021;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.member-degree {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #2C3E50;
    color: #ffffff;
    padding-top: 50px;
    padding-bottom: 20px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

footer a:hover {
    color: #cccccc;
    text-decoration: underline;
}

footer h3 {
    color: #A50021;
    /* Matching headers on site */
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Utilities */
.section-padding {
    padding: 60px 0;
}

.contact-info p {
    margin-bottom: 5px;
}

/* About Page Specifics */
.placeholder-img {
    width: 100%;
    height: 150px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 4px;
}

.objectives-list li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: disc;
    margin-left: 20px;
}

/* Office Bearer Cards */
.bearer-card {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(74, 20, 140, 0.1);
}

.bearer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(216, 27, 96, 0.15);
}

.bearer-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #A50021;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bearer-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.bearer-role {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.bearer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #A50021;
    margin-bottom: 5px;
}

.bearer-degree {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
    margin-bottom: 15px;
}

.bearer-contact {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.bearer-contact p {
    margin-bottom: 5px;
}

.bearer-contact i {
    color: #A50021;
    margin-right: 8px;
}

/* About Page Custom Styles */
.about-section-title {
    color: #A50021;
    text-align: center;
    font-weight: 700;
    margin-bottom: 30px;
}

.about-content-box {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.history-text {
    line-height: 1.8;
    color: #444;
}

.quote-container {
    margin-top: 25px;
}

.quote-line {
    font-weight: 700;
    font-style: italic;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.objectives-section-title {
    font-weight: 700;
    color: #333;
    margin-top: 50px;
    margin-bottom: 25px;
    font-size: 1.75rem;
}

.objective-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.objective-item:last-child {
    margin-bottom: 0;
}

.red-indicator {
    width: 4px;
    height: 30px;
    background-color: #A50021;
    margin-right: 25px;
    flex-shrink: 0;
}

.objective-text {
    font-size: 1.05rem;
    color: #444;
}

.name-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #444;
}

.text-red {
    color: #A50021;
    font-weight: 700;
}

/* Bootstrap Overrides for Purple/Magenta Theme */
.text-danger {
    color: #A50021 !important;
}

.table-danger {
    --bs-table-bg: #fff5f5;
    --bs-table-border-color: #ffcccc;
    --bs-table-color: #000;
    background-color: #fff5f5 !important;
}

.table-danger>th,
.table-danger>td {
    background-color: #fff5f5 !important;
}

.btn-danger {
    background-color: #A50021;
    border-color: #A50021;
}

.btn-danger:hover {
    background-color: #80001a;
    border-color: #660014;
}

/* Photo Gallery and Responsive Images */
.photo-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.photo-item {
    width: 100%;
    margin-bottom: 0.5rem;
}

.photo-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}

/* Utility Classes for Dynamic Content */
.w-full {
    width: 100% !important;
}

.rounded {
    border-radius: 0.5rem !important;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Contact Header Section */
.contact-header-section {
    background: #ffffff;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e9ecef;
}

.contact-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.contact-header-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(165, 0, 33, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(165, 0, 33, 0.02) 0%, transparent 50%);
    pointer-events: none;
}


.contact-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

/* Stylish elegant font for Get In Touch */
.contact-hero-title-colorful {
    font-family: 'Georgia', 'Playfair Display', 'Times New Roman', serif;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Contact Cards Section */
.contact-cards-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.contact-cards-section .row {
    justify-content: center;
}

.contact-cards-section .col-md-6.col-lg-4 {
    max-width: 400px;
}


.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(165, 0, 33, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A50021 0%, #D81B60 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(165, 0, 33, 0.15);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #A50021 0%, #D81B60 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(165, 0, 33, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(165, 0, 33, 0.35);
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: #ffffff;
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 15px;
}

.contact-card-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #A50021;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #A50021 0%, #D81B60 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: #D81B60;
}

.contact-link:hover::after {
    transform: scaleX(1);
}

.contact-address {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    font-style: normal;
    margin: 0;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0 100px;
    background: #ffffff;
}

.contact-form-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(165, 0, 33, 0.08);
}

.form-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 15px;
    text-align: center;
}

.form-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.7;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.contact-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #1A1A1A;
}

.contact-input:focus {
    outline: none;
    border-color: #A50021;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(165, 0, 33, 0.1);
}

.contact-input::placeholder {
    color: #999;
}

textarea.contact-input {
    resize: vertical;
    min-height: 150px;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #A50021 0%, #D81B60 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(165, 0, 33, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-submit-btn:hover::before {
    left: 100%;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(165, 0, 33, 0.4);
}

.contact-submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-cards-section {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 35px 25px;
    }

    .form-section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .contact-hero-section {
        padding: 60px 0 40px;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

    .contact-cards-section {
        padding: 40px 0;
    }

    .contact-card {
        margin-bottom: 20px;
    }

    .contact-form-section {
        padding: 60px 0 80px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-section-title {
        font-size: 1.6rem;
    }

    .form-section-subtitle {
        font-size: 1rem;
    }

    .contact-submit-btn {
        width: 100%;
        justify-content: center;
    }
}