/* ============================================
   SFI GECP - Index Page Custom Styles
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-red: #dc2626;
    --primary-dark: #991b1b;
    --primary-light: #fee2e2;
}

/* ============================================
   Global Transitions
   ============================================ */
* {
    transition: all 0.25s ease;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
    position: relative;
    overflow: hidden;
    min-height: 72vh;
    display: flex;
    align-items: center;
}

#hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: brightness(0.45) saturate(0.95);
    transform-origin: center;
}

/* Decorative soft shapes */
#hero::before,
#hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

#hero::before {
    top: -40px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, rgba(220, 38, 38, 0.12), rgba(153, 27, 27, 0.02));
    animation: float 8s ease-in-out infinite;
}

#hero::after {
    bottom: -80px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 70% 70%, rgba(153, 27, 27, 0.12), rgba(220, 38, 38, 0.02));
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(18px);
    }
}

.hero .container {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    max-width: 900px;
}

.hero h2 {
    margin: 0 0 8px 0;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    line-height: 1.2;
}

.typed {
    color: #fff;
    font-family: 'Caveat', cursive;
    font-size: 32px;
    font-weight: 500;
    display: inline-block;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 6px;
}

.hero .btn-cta {
    margin-top: 18px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 40px;
    box-shadow: 0 12px 30px rgba(153, 27, 27, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
    font-weight: 700;
}

.hero .btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(153, 27, 27, 0.28);
}

/* ============================================
   Navigation Menu
   ============================================ */
.navmenu {
    padding: 0;
    z-index: 9997;
}

.navmenu ul {
    list-style: none;
    padding: 0 0 20px 0;
    margin: 0;
}

.navmenu ul li a {
    color: var(--nav-color);
    padding: 12px 15px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 4px 0;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navmenu ul li a .navicon {
    font-size: 20px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.navmenu ul li a:hover {
    background: rgba(220, 38, 38, 0.08);
    color: var(--primary-red);
    border-left-color: var(--primary-red);
}

.navmenu ul li a.active {
    background: rgba(220, 38, 38, 0.12);
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    font-weight: 500;
}

.navmenu ul li a:hover .navicon {
    color: var(--primary-red);
}

.navmenu ul li a.active .navicon {
    color: var(--primary-red);
}

/* ============================================
   Header Customization
   ============================================ */
#header {
    background: rgba(4, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid var(--primary-red);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
}

.profile-img img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(0, 0, 0, 0.06);
}

.logo .sitename {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--heading-color);
    margin: 8px 0;
}

/* Mobile Toggle Button */
.header-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    border-radius: 6px;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-toggle:hover {
    background: var(--primary-red);
    color: white;
}

/* ============================================
   Unit Committee Section
   ============================================ */
#unit-committee {
    padding: 48px 0;
}

/* Force 2 cards per row on desktop */
.col-lg-20 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Large, prominent cards */
.member-card {
    text-align: center;
    background: var(--surface-color);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    border: 2px solid transparent;
}

.member-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
    border-color: var(--primary-red);
}

/* VERY LARGE, clearly visible images */
.member-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    border: 6px solid var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
    background: white;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Large, readable text */
.member-position {
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.member-name {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.member-contact-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: auto;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 2px solid;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link[href^="tel"] {
    color: #0073e6;
    border-color: #0073e6;
}

.contact-link[href^="tel"]:hover {
    background: #0073e6;
    color: white;
}

.contact-link[href*="wa.me"] {
    color: #25d366;
    border-color: #25d366;
}

.contact-link[href*="wa.me"]:hover {
    background: #25d366;
    color: white;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Sahayi Section
   ============================================ */
.sahayi-card {
    border-left: 4px solid var(--primary-red);
    background: var(--surface-color);
    border-radius: 10px;
}

.card-icon {
    font-size: 2.6rem;
    color: var(--primary-red);
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    text-align: center;
}

.section-title h2 {
    position: relative;
    padding-bottom: 10px;
    color: #222;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-dark));
    border-radius: 2px;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary,
.btn-danger {
    background: var(--primary-red);
    border: none;
}

.btn-primary:hover,
.btn-danger:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   Links
   ============================================ */
a {
    color: var(--primary-red);
}

/* ============================================
   Animations
   ============================================ */
.section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Interactive Elements
   ============================================ */
.icon-box:hover {
    box-shadow: 0 10px 26px rgba(153, 27, 27, 0.12);
    transform: translateY(-6px);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-dark) 100%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(153, 27, 27, 0.2);
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 3px solid var(--primary-red);
    box-sizing: border-box;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-red);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item div {
    flex: 1;
}

.footer-contact-item h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-contact-item p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a.facebook {
    color: #1877f2;
    border-color: #1877f2;
}

.footer-social a.facebook:hover {
    background: #1877f2;
    color: #fff;
}

.footer-social a.whatsapp {
    color: #25d366;
    border-color: #25d366;
}

.footer-social a.whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.footer-social a.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: #fff;
}

.footer-social a.instagram:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom p a {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }
}

@media (min-width: 1200px) {

    main,
    footer {
        margin-left: 300px;
    }
}

@media (max-width: 1200px) {
    .col-lg-20 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 992px) {
    .col-lg-20 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .member-image {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .col-lg-20 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .member-card {
        padding: 32px 24px;
        min-height: 320px;
    }

    .member-image {
        width: 150px;
        height: 150px;
    }

    .member-name {
        font-size: 1.2rem;
    }

    .member-position {
        font-size: 0.8rem;
    }

    #hero::before {
        width: 250px;
        height: 250px;
    }

    #sahayi::before {
        right: 20px;
        font-size: 10px;
        padding: 4px 12px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 28px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .typed {
        font-size: 24px;
    }
}

/* Mobile Nav Overlay */
@media (max-width: 1199px) {
    .header {
        background: rgba(4, 11, 20, 0.95);
    }
}


/* ============================================
   Contact Section
   ============================================ */
.contact-team {
    margin-top: 60px;
    text-align: center;
}

.contact-team h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 40px;
}

.contact-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
    border-color: var(--primary-red);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-icon i {
    font-size: 40px;
    color: white;
}

.contact-icon .contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.contact-card .position {
    font-size: 14px;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.contact-phone,
.contact-whatsapp {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-red);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 5px;
}

.contact-phone:hover,
.contact-whatsapp:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    color: white;
}

.contact-whatsapp {
    background: #25D366;
}

.contact-whatsapp:hover {
    background: #1da851;
}

.contact-phone i,
.contact-whatsapp i {
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-team h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .contact-card {
        padding: 25px 15px;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
    }

    .contact-icon i {
        font-size: 35px;
    }
}