/* ===== About Society Section Styles ===== */

/* Section Container */
.about-society-section {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 90px !important;
}

.about-society-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Badge */
.about-society-badge {
    display: inline-block;
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid #198754;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #198754;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Heading */
.about-society-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

/* Subtext */
.about-society-subtext {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation Tabs */
.about-society-nav-tabs {
    border: none;
    gap: 10px;
    flex-wrap: wrap;
}

.about-society-tab-btn {
    background: transparent;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-society-tab-btn:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.05);
}

.about-society-tab-btn.active {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-color: #0d6efd;
    color: white;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.about-society-tab-btn.active i {
    color: white;
}

.about-society-tab-btn i {
    font-size: 1.1rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.about-society-tab-btn:hover i {
    color: #0d6efd;
}

/* Tab Content */
.about-society-tab-content {
    min-height: 400px;
}

/* Cards - Base Style */
.about-society-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid #eef2f7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.about-society-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-society-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.15);
    border-color: transparent;
}

.about-society-card:hover::before {
    transform: scaleX(1);
}

/* Card Icon */
.about-society-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(102, 16, 242, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #0d6efd;
    transition: all 0.3s ease;
}

.about-society-card:hover .about-society-card-icon {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Card Title */
.about-society-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

/* Card Text */
.about-society-card-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
}

/* Card Link */
.about-society-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.1);
    transition: all 0.3s ease;
    margin-top: auto;
}

.about-society-card-link:hover {
    background: #0d6efd;
    color: white;
}

/* Legal Status Cards */
.about-society-card-legal {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.about-society-icon-legal {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(13, 110, 253, 0.1) 100%);
    color: #198754;
}

.about-society-card-legal:hover .about-society-icon-legal {
    background: linear-gradient(135deg, #198754 0%, #0d6efd 100%);
    color: white;
}

/* Registration Number Display */
.about-society-reg-number {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 20px;
    border-radius: 10px;
    margin: 15px 0;
    letter-spacing: 1px;
    border: 2px dashed #dee2e6;
}

/* Annual Reports Cards */
.about-society-card-reports {
    text-align: left;
}

.about-society-folder-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.about-society-card-reports:hover .about-society-folder-icon {
    transform: scale(1.1);
}

/* File List */
.about-society-file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
}

.about-society-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-society-file-item:hover {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    transform: translateX(5px);
}

.about-society-file-item i {
    font-size: 1.2rem;
    color: #dc3545;
}

.about-society-file-item:nth-child(2) i {
    color: #198754;
}

.about-society-file-item:nth-child(3) i {
    color: #0d6efd;
}

/* View All Link */
.about-society-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.about-society-view-all:hover {
    gap: 12px;
    color: #0a58ca;
}

/* ============================= */
/* Society Profile Horizontal Scroll */
/* ============================= */

.about-society-horizontal-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

/* Hide scrollbar (optional – clean UI) */
.about-society-horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}

.about-society-horizontal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.about-society-horizontal-scroll::-webkit-scrollbar-thumb {
  background: rgba(13, 110, 253, 0.4);
  border-radius: 10px;
}

/* Ensure cards don’t shrink */
.about-society-horizontal-scroll .row {
  flex-wrap: nowrap;
}

.about-society-horizontal-scroll .col-lg-3,
.about-society-horizontal-scroll .col-md-6 {
  min-width: 280px; /* controls card width */
}


/* Responsive Styles */
@media (max-width: 992px) {
    .about-society-nav-tabs {
        gap: 8px;
    }

    .about-society-tab-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .about-society-section {
        padding: 40px 0;
    }

    .about-society-heading {
        font-size: 1.8rem;
    }

    .about-society-subtext {
        font-size: 0.95rem;
    }

    .about-society-tab-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .about-society-tab-btn i {
        font-size: 1rem;
    }

    .about-society-card {
        padding: 25px;
    }

    .about-society-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-society-nav-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .about-society-tab-btn {
        justify-content: center;
        width: 100%;
    }
}