/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #e8ecf4;
}

/* ============================================
   NAVIGATION - WHITE THEME
   ============================================ */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-custom .navbar-brand {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 22px;
}

.navbar-custom .navbar-brand span {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-custom .navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-custom .nav-link {
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-custom .nav-link:hover {
    color: #667eea !important;
}

.navbar-custom .nav-link.active {
    color: #667eea !important;
}

.navbar-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

.btn-login-nav {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff !important;
    padding: 8px 25px !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-login-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    color: #ffffff !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: #e8ecf4;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.06), transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.04), transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 8px 24px;
    border-radius: 50px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    color: #1a1a2e;
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #667eea, #764ba2, #667eea);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 5px;
}

.hero .lead {
    color: rgba(0, 0, 0, 0.6);
    font-size: 20px;
    font-weight: 300;
    max-width: 550px;
    margin: 20px auto 30px;
    line-height: 1.8;
}

.btn-explore {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border: none;
    display: inline-block;
    text-decoration: none;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.btn-explore i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-explore:hover i {
    transform: translateX(5px);
}

/* Hero Decoration */
.hero-decoration {
    position: relative;
    z-index: 1;
}

.hero-decoration .floating-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    animation: float 6s ease-in-out infinite;
}

.hero-decoration .floating-icon:nth-child(2) {
    animation-delay: 2s;
    margin-top: 30px;
    margin-left: auto;
}

.hero-decoration .floating-icon:nth-child(3) {
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
    background: #e8ecf4;
    padding: 80px 0;
    position: relative;
}

.section-title {
    color: #1a1a2e;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

.about-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 30px 25px;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.04), rgba(118, 75, 162, 0.04));
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.12);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.about-card:hover img {
    transform: scale(1.03);
}

.about-card h4 {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 22px;
    margin-top: 18px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.about-card h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 10px auto 0;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.about-card:hover h4::after {
    width: 60px;
}

.about-card p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.btn-about {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 1;
    gap: 8px;
}

.btn-about:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #ffffff;
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.btn-about i {
    transition: transform 0.3s ease;
}

.btn-about:hover i {
    transform: translateX(5px);
}

/* ============================================
   ANNOUNCEMENT SECTION
   ============================================ */
#announcement {
    background: #e8ecf4;
    padding: 80px 0;
}

/* ============================================
   CAROUSEL SECTION
   ============================================ */
.carousel-section {
    background: #e8ecf4;
    padding: 60px 0;
}

.carousel-container {
    background: #ffffff;
    border-radius: 25px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.carousel {
    border-radius: 15px;
    overflow: hidden;
}

.carousel-item img {
    height: 450px;
    object-fit: cover;
    width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-container:hover .carousel-control-prev,
.carousel-container:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scale(1.2);
    border-color: #ffffff;
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-section {
    background: #e8ecf4;
    padding: 80px 0;
}

.welcome-box {
    background: #ffffff;
    padding: 50px 45px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 6px solid #667eea;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.welcome-box h3 {
    color: #1a1a2e;
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-align: left;
}

.welcome-box h3 i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-box p {
    color: #1e1b4b;
    font-size: 17px;
    line-height: 2.0;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: left;
    padding: 6px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.welcome-box p:last-child {
    margin-bottom: 0;
}

.welcome-box .highlight-text {
    color: #667eea;
    font-weight: 700;
    background: rgba(102, 126, 234, 0.08);
    padding: 2px 10px;
    border-radius: 4px;
}

.welcome-box p:hover {
    background: rgba(102, 126, 234, 0.04);
    padding-left: 12px;
    border-radius: 6px;
}

/* ============================================
   CALENDAR BOX
   ============================================ */
.calendar-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 45px 40px;
    border-radius: 20px;
    color: #1a1a2e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.calendar-box h3 {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 26px;
    text-align: center;
}

.calendar-box i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calendar-box p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.calendar-box .btn-calendar {
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
    padding: 12px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 18px;
    font-weight: 500;
    font-size: 15px;
    display: inline-block;
}

.calendar-box .btn-calendar:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: #ffffff;
}

/* ============================================
   MINI CALENDAR
   ============================================ */
.mini-calendar-wrapper {
    background: rgba(102, 126, 234, 0.04);
    border-radius: 14px;
    padding: 18px;
    margin: 15px 0;
    border: 1px solid rgba(102, 126, 234, 0.08);
    width: 100%;
}

.mini-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mini-calendar-header span {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.mini-cal-nav {
    background: rgba(102, 126, 234, 0.08);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #667eea;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-cal-nav:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    transform: scale(1.05);
}

.mini-calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.mini-calendar-table th {
    text-align: center;
    padding: 6px 0;
    color: rgba(0, 0, 0, 0.3);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-calendar-table td {
    text-align: center;
    padding: 6px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.mini-calendar-table td:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

.mini-calendar-table td.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.mini-calendar-table td.other-month {
    color: rgba(0, 0, 0, 0.2);
}

.mini-calendar-table td.has-event {
    position: relative;
}

.mini-calendar-table td.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.mini-calendar-table td.active.has-event::after {
    background: #ffffff;
}

.mini-calendar-table td.today {
    border: 2px solid #667eea;
    font-weight: 700;
}

/* Mini Event List */
.mini-event-list {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    max-height: 130px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #667eea #f0f0f0;
    padding-right: 4px;
}

.mini-event-list::-webkit-scrollbar {
    width: 4px;
}

.mini-event-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.mini-event-list::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.mini-event-list::-webkit-scrollbar-thumb:hover {
    background: #5a67d8;
}

.mini-event-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.65);
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mini-event-item:last-child {
    border-bottom: none;
}

.mini-event-item:hover {
    background: rgba(102, 126, 234, 0.04);
    padding-left: 4px;
    border-radius: 4px;
}

.mini-event-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.mini-event-text {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-event-more {
    display: block;
    text-align: center;
    font-size: 11px;
    color: #667eea;
    font-weight: 500;
    padding: 6px 0;
    margin-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mini-event-more:hover {
    color: #5a67d8;
    background: rgba(102, 126, 234, 0.04);
    border-radius: 4px;
}

/* ============================================
   SUB CLUBS SECTION
   ============================================ */
#clubs {
    background: #e8ecf4;
    padding: 80px 0;
}

/* ============================================
   ACTIVITIES SECTION
   ============================================ */
#activities {
    background: #e8ecf4;
    padding: 80px 0;
}

/* ============================================
   DOCUMENTS SECTION
   ============================================ */
#documents {
    background: #e8ecf4;
    padding: 80px 0;
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
#achievement {
    background: #e8ecf4;
    padding: 80px 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
    background: #e8ecf4;
    padding: 80px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 44px;
    }
    .hero h2 {
        font-size: 32px;
    }
    .hero-decoration {
        display: none;
    }
    .section-title {
        font-size: 34px;
    }
    .about-card img {
        height: 200px;
    }
    .about-card h4 {
        font-size: 20px;
    }
    .about-card p {
        font-size: 15px;
    }
    .welcome-box {
        padding: 40px 35px;
    }
    .welcome-box h3 {
        font-size: 28px;
    }
    .welcome-box p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
        text-align: center;
    }
    .hero h1 {
        font-size: 34px;
    }
    .hero h2 {
        font-size: 26px;
    }
    .hero .lead {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }
    .btn-explore {
        padding: 14px 35px;
        font-size: 16px;
    }
    .carousel-item img {
        height: 250px;
    }
    .navbar-custom .navbar-brand {
        font-size: 18px;
    }
    .btn-login-nav {
        margin-left: 0;
        margin-top: 5px;
        text-align: center;
    }
    #about {
        padding: 60px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .about-card {
        padding: 25px 20px;
    }
    .about-card img {
        height: 180px;
    }
    .about-card h4 {
        font-size: 18px;
    }
    .about-card p {
        font-size: 14px;
    }
    .btn-about {
        padding: 10px 28px;
        font-size: 14px;
    }
    .welcome-section {
        padding: 60px 0;
    }
    .welcome-box {
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    .welcome-box h3 {
        font-size: 24px;
    }
    .welcome-box p {
        font-size: 15px;
        line-height: 1.9;
        padding: 4px 0;
    }
    .welcome-box p:hover {
        padding-left: 10px;
    }
    .calendar-box {
        padding: 30px 25px;
    }
    .calendar-box h3 {
        font-size: 22px;
    }
    .mini-calendar-wrapper {
        padding: 15px;
    }
    .mini-calendar-table td {
        font-size: 13px;
        padding: 5px 0;
    }
    .mini-calendar-header span {
        font-size: 14px;
    }
    .mini-cal-nav {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .mini-event-item {
        font-size: 12px;
    }
    .mini-event-text {
        font-size: 12px;
    }
    .mini-event-list {
        max-height: 110px;
    }
    #announcement,
    #clubs,
    #activities,
    #documents,
    #achievement,
    #contact {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    .hero h2 {
        font-size: 20px;
    }
    .hero-badge {
        font-size: 11px;
        padding: 4px 14px;
    }
    .hero .lead {
        font-size: 14px;
    }
    .carousel-item img {
        height: 200px;
    }
    .welcome-box {
        padding: 25px 20px;
    }
    .welcome-box h3 {
        font-size: 20px;
    }
    .welcome-box p {
        font-size: 14px;
        line-height: 1.8;
        padding: 3px 0;
    }
    .welcome-box p:hover {
        padding-left: 8px;
    }
    .calendar-box {
        padding: 25px 20px;
    }
    .calendar-box h3 {
        font-size: 18px;
    }
    .calendar-box p {
        font-size: 14px;
    }
    .calendar-box .btn-calendar {
        padding: 10px 30px;
        font-size: 13px;
    }
    .btn-explore {
        padding: 12px 28px;
        font-size: 14px;
    }
    .section-title {
        font-size: 24px;
    }
    .about-card img {
        height: 160px;
    }
    .about-card h4 {
        font-size: 17px;
    }
    .about-card p {
        font-size: 13px;
    }
    .btn-about {
        padding: 8px 22px;
        font-size: 13px;
    }
    .mini-calendar-wrapper {
        padding: 12px;
    }
    .mini-calendar-table td {
        font-size: 11px;
        padding: 4px 0;
    }
    .mini-calendar-header span {
        font-size: 12px;
    }
    .mini-cal-nav {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    .mini-event-item {
        font-size: 11px;
    }
    .mini-event-text {
        font-size: 11px;
    }
    .mini-event-dot {
        width: 5px;
        height: 5px;
    }
    .mini-event-list {
        max-height: 100px;
    }
    #announcement,
    #clubs,
    #activities,
    #documents,
    #achievement,
    #contact {
        padding: 40px 0;
    }
}