* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

.hero-section {
    /*    min-height: 100vh;*/
    /* background: linear-gradient(to bottom right, #eff6ff, #e0e7ff); */
    background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
    padding: 4rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: stretch;
}

/* Form Column Styles */
.form-column {
    width: 100%;
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 0;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .form-header h1 {
        font-size: 1.875rem;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 0.5rem;
    }

    .form-header p {
        color: #6b7280;
    }

.alumni-form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 0.875rem;
        font-weight: 500;
        color: #374151;
        margin-bottom: 0.5rem;
    }

.required {
    color: #ef4444;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.625rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #60a5fa;
        box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
    }

/* .get-otp-btn {
    width: 100%;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.get-otp-btn:hover {
    background: linear-gradient(to right, #1d4ed8, #4338ca);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
} */

.get-otp-btn,
.admin-post-news-cta-button {
    display: flex;
    justify-self: center;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #3b82f6, #1e40af);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

    .get-otp-btn:hover,
    .admin-post-news-cta-button:hover {
        background: linear-gradient(to right, #2563eb, #1d4ed8);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-1px);
    }

/* Image Column Styles */
.image-column {
    width: 100%;
}

.image-container {
    position: relative;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(30, 58, 138, 0.4), rgba(67, 56, 202, 0.3) );
}

.image-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

    .image-content h2 {
        font-size: 3.75rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .image-content p {
        font-size: 1.25rem;
        font-weight: 300;
        max-width: 32rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    /* .image-container {
        height: 500px;
    } */

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-content h2 {
        font-size: 3rem;
    }

    .image-content p {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    

    .hero-section {
        padding: 1.5rem 1rem;
    }

    .form-card {
        padding: 1.5rem;
    }

    .form-header h1 {
        font-size: 1.5rem;
    }

    .image-container {
        height: 400px;
    }

    .image-content h2 {
        font-size: 2.5rem;
    }

    .image-content p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 1rem 0.5rem;
    }

    .form-card {
        padding: 1rem;
    }

    .alumni-form {
        gap: 1rem;
    }

    .image-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

/* Popular Members Section */
.popular-members-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
}

/* Featured Members Section */
.featured-members-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-header h2 {
        font-size: 2rem;
        font-weight: 700;
        color: hsl(222.2, 84%, 4.9%);
        margin-bottom: 1rem;
    }

    .section-header .muted {
        color: hsl(215.4, 16.3%, 46.9%);
    }

.section-description {
    color: hsl(215.4, 16.3%, 46.9%);
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid hsl(214.3, 31.8%, 91.4%);
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

    .carousel-btn:hover {
        background-color: hsl(210, 40%, 96.1%);
    }

.carousel-btn-left {
    left: 0;
}

.carousel-btn-right {
    right: 0;
}

.carousel-btn .icon {
    width: 1.5rem;
    height: 1.5rem;
}

#alumniGrid, #FeaturedAlumniGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 3rem;
}

.alumni-card {
    background: #eff6ff;
    border-radius: 0.5rem;
    border: 1px solid hsl(214.3, 31.8%, 91.4%);
    transition: box-shadow 0.3s ease;
    max-width: 250px;
    margin: 0 auto;
    height: 100%;
}

    .alumni-card:hover {
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.profile-image-container {
    position: relative;
    margin-bottom: 1rem;
    display: inline-block;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background-color: hsl(210, 40%, 96.1%);
}

.verified-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background-color: #22c55e;
    border-radius: 50%;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon {
    width: 0.75rem;
    height: 0.75rem;
    color: white;
}

.name {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(222.2, 84%, 4.9%);
    margin-bottom: 0.25rem;
}

.role {
    font-size: 0.875rem;
    color: hsl(215.4, 16.3%, 46.9%);
    margin-bottom: 0.5rem;
}

.company {
    font-size: 0.875rem;
    color: hsl(215.4, 16.3%, 46.9%);
    margin-bottom: 0.5rem;
}

.degree-info {
    font-size: 0.75rem;
    color: hsl(215.4, 16.3%, 46.9%);
    line-height: 1.4;
}

/* Group Section */
.group-members-section {
    /*    min-height: 100vh;*/
    padding: 4rem 2rem;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 32px;
}

    .header h1 {
        font-size: 24px;
        font-weight: 600;
        color: #0f172a;
        margin-bottom: 8px;
    }

    .header .bold {
        font-weight: 700;
    }

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    /*    border-left: 4px solid;*/
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

    .category-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .category-card.one {
        border-left-color: #f59e0b;
    }

    .category-card.two {
        border-left-color: #ef4444;
    }

    .category-card.three {
        border-left-color: #14b8a6;
    }

.profile-avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.avatar-group {
    display: flex;
    margin-left: -8px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
    filter: blur(2px);
}

.category-title {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}

/* Alumni Grid */
.group-alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.group-alumni-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

    .group-alumni-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.alumni-content {
    display: flex;
    gap: 12px;
}

.alumni-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #14b8a6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.alumni-info {
    flex: 1;
    min-width: 0;
}

.alumni-name {
    font-weight: 500;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alumni-title {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Button */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.see-all-button {
    display: flex;
    justify-self: center;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #3b82f6, #1e40af);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 2rem;
}

    .see-all-button:hover {
        background: linear-gradient(to right, #2563eb, #1d4ed8);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-1px);
    }

.arrow-icon {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .category-grid,
    .group-alumni-grid {
        grid-template-columns: 1fr;
    }

    .group-members-section {
        padding: 16px;
    }

    .header h1 {
        font-size: 20px;
    }
}

.profile-initial-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ccc;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/*Admin Post Section*/

.admin-post-news-section {
    padding: 4rem 1rem;
    background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
}

.admin-post-news-div {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: start;
}

.admin-post-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: clamp(400px, 100vh, 700px);
    overflow-y: scroll;
}

.admin-post-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .admin-post-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

.admin-post-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-post-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.admin-post-card-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.admin-post-card-info p {
    font-size: 14px;
    color: #666;
}

.admin-post-card-content {
    line-height: 1.6;
    color: #333;
    font-size: 15px;
}

.admin-post-card-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.admin-post-news-cta-section {
    height: clamp(400px, 100vh, 700px);
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-post-news-cta-div {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: fit-content;
    /*    position: sticky;
    top: 20px;*/
}

.admin-news-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: scroll;
}

.admin-post-news-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.3;
}

    .admin-post-news-cta-title .admin-post-news-highlight {
        color: #2c3e50;
    }

.admin-post-news-cta-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
}

/*.admin-post-news-cta-button {
    background: #20b2aa;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

    .admin-post-news-cta-button:hover {
        background: #1a9d96;
        transform: translateY(-1px);
    }*/

.admin-post-news-arrow {
    font-size: 18px;
}


@media (max-width: 768px) {
    .admin-post-news-div {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-post-news-cta-div {
        position: static;
    }

    .admin-post-card {
        padding: 20px;
    }

    .admin-post-news-cta-div {
        padding: 24px;
    }

    .admin-post-news-cta-title {
        font-size: 24px;
    }
}
