:root {
    --orange: #f57c00;
    --blue: #005cb9;
    --white: #ffffff;
    --dark: #333333;
    --light-gray: #f8f9fa;
    --navbar-height: 100px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

/* Page Header */
.page-header {
    background: var(--orange);
    color: var(--white);
    margin-top: 20px;
    padding: 15px 0 !important;
    text-align: center;
    position: relative;
    z-index: 999;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
}

.breadcrumb {
    background: transparent;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 12px 0;
        margin-top: 0 !important;
    }

    .page-header h1 {
        font-size: 20px;
        margin-bottom: 6px;
    }
}

@media (max-width: 991.98px) {
    .page-header {
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-top: 0 !important;
    }
}

/* Main Content */
.main-content {
    padding: 30px 0 60px 0;
    margin: 0;
}

/* Section heading styled like SNSS */
.section-heading-full,
h2.section-heading-full {
    background-color: #005cb9 !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    font-size: 22px !important;
    text-align: left !important;
    margin-bottom: 20px !important;
    position: relative !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 92, 185, 0.3) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
}

.section-heading-full::after {
    content: '';
    display: block;
    width: 65px;
    height: 3px;
    background-color: #f57c00;
    margin-top: 6px;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .section-heading-full,
    h2.section-heading-full {
        font-size: 18px !important;
        padding: 10px 16px !important;
        text-align: left !important;
        margin-bottom: 16px !important;
    }

    .section-heading-full::after {
        width: 40px !important;
        height: 2px !important;
        margin-top: 4px !important;
        margin-left: 0 !important;
    }
}

/* Section Cards like SNSS */
.section-content {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    border-top: 4px solid var(--orange);
}

.section-body {
    padding: 30px;
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Member Cards styled like SNSS uniqueness cards */
.members-grid {
    margin-top: 30px;
}

.member-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--orange);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--blue);
}

.member-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(245, 124, 0, 0.05) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.member-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(20%, 20%);
}

.member-avatar {
    background: linear-gradient(135deg, var(--orange) 0%, #e65100 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.member-avatar i {
    font-size: 2rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.member-card:hover .member-avatar {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 30px rgba(245, 124, 0, 0.4);
}

.member-card:hover .member-avatar i {
    transform: scale(1.1);
}

.member-name {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.member-position {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.member-school {
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.member-contact {
    font-size: 0.85rem;
    color: #666;
    position: relative;
    z-index: 2;
}

.member-contact div {
    margin-bottom: 4px;
}

.member-contact a {
    color: var(--orange);
    text-decoration: none;
}

.member-contact a:hover {
    text-decoration: underline;
}

/* Position-specific styling */
.convener-card {
    border-top-color: #28a745;
}

.convener-card .member-avatar {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.convener-card:hover .member-avatar {
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.4);
}

.co-convener-card {
    border-top-color: #17a2b8;
}

.co-convener-card .member-avatar {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.3);
}

.co-convener-card:hover .member-avatar {
    box-shadow: 0 12px 30px rgba(23, 162, 184, 0.4);
}

.secretary-card {
    border-top-color: #dc3545;
}

.secretary-card .member-avatar {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.secretary-card:hover .member-avatar {
    box-shadow: 0 12px 30px rgba(220, 53, 69, 0.4);
}

/* Info Cards like SNSS vision mission cards */
.info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card h5 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Highlight box styled like SNSS highlights banner */
.highlight-box {
    background: linear-gradient(135deg, var(--blue) 0%, #004494 100%);
    color: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.highlight-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(-50px, 50px);
}

.highlight-box h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 0 40px 0;
    }

    .section-body {
        padding: 20px;
    }

    .member-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .member-avatar {
        width: 70px;
        height: 70px;
    }

    .member-avatar i {
        font-size: 1.8rem;
    }

    .member-name {
        font-size: 1rem;
    }

    .highlight-box {
        padding: 25px 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .members-grid {
        margin-top: 20px;
    }
}

/* Additional responsive fixes */
@media (max-width: 991.98px) {
    .main-content {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 15px;
    }
}