/*
  ASITE Homepage Redesign
  Inspired by finsmartaccounting.com layout
  Header / menu / footer colors unchanged (defined in style.css)
*/

/* ===== Hero ===== */
.fs-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(7, 41, 77, 0.92) 0%, rgba(2, 29, 58, 0.85) 100%),
        url('../images/slider/s-1.jpg') center/cover no-repeat;
    padding: 100px 0 120px;
    overflow: hidden;
}

.fs-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.fs-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.fs-hero-content h1 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.fs-hero-content h1 span {
    color: #ffc600;
    display: block;
}

.fs-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 600px;
}

.fs-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fs-hero-btns a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #ffc600;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 50px;
    border: 2px solid #ffc600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.fs-hero-btns a:hover {
    background: transparent;
    color: #ffc600;
}

.fs-hero-btns a.fs-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.fs-hero-btns a.fs-btn-outline:hover {
    background: #fff;
    color: #07294d;
    border-color: #fff;
}

/* ===== Section Common ===== */
.fs-section {
    padding: 90px 0;
}

.fs-section-title {
    text-align: center;
    margin-bottom: 55px;
}

.fs-section-title h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: #07294d;
    font-weight: 700;
    margin-bottom: 12px;
}

.fs-section-title p {
    font-size: 17px;
    color: #666;
    max-width: 680px;
    margin: 0 auto;
}

.fs-section-title .fs-divider {
    width: 60px;
    height: 4px;
    background: #ffc600;
    margin: 18px auto 0;
    border-radius: 2px;
}

/* ===== About ===== */
.fs-about {
    background: #fff;
}

.fs-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.fs-about-text h5 {
    color: #ffc600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.fs-about-text h3 {
    font-size: 32px;
    color: #07294d;
    margin-bottom: 20px;
    line-height: 1.3;
}

.fs-about-text p {
    text-align: justify;
    margin-bottom: 18px;
    color: #555;
    line-height: 1.8;
}

.fs-about-text .main-btn {
    margin-top: 10px;
    border-radius: 50px;
}

.fs-about-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(7, 41, 77, 0.15);
}

.fs-about-video img {
    width: 100%;
    display: block;
}

.fs-about-video .fs-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #ffc600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07294d;
    font-size: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 198, 0, 0.4);
}

.fs-about-video .fs-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #07294d;
    color: #ffc600;
}

.fs-about-video .fs-video-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 25px;
    background: linear-gradient(transparent, rgba(7, 41, 77, 0.9));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* ===== Programs / Solutions Cards ===== */
.fs-programs {
    background: #f8f9fb;
}

.fs-program-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.fs-program-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    border: 1px solid #eee;
}

.fs-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(7, 41, 77, 0.12);
}

.fs-program-card .fs-card-head {
    background: #07294d;
    padding: 25px 20px;
    text-align: center;
}

.fs-program-card .fs-card-head img {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.fs-program-card .fs-card-head h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fs-program-card .fs-card-body {
    padding: 20px 22px 25px;
}

.fs-program-card .fs-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.fs-program-card .fs-card-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fs-program-card .fs-card-body ul li::before {
    content: '\f105';
    font-family: FontAwesome;
    color: #ffc600;
    font-weight: 700;
}

.fs-program-card .fs-card-body ul li:last-child {
    border-bottom: none;
}

.fs-program-card .fs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #07294d;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.fs-program-card .fs-card-link:hover {
    color: #ffc600;
}

.fs-program-card .fs-card-link i {
    transition: transform 0.3s;
}

.fs-program-card .fs-card-link:hover i {
    transform: translateX(5px);
}

/* ===== Stats / Strengths ===== */
.fs-stats {
    background: #07294d;
    padding: 70px 0;
    position: relative;
}

.fs-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.fs-stat-item .fs-stat-num {
    font-size: 48px;
    font-weight: 700;
    color: #ffc600;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.fs-stat-item .fs-stat-num span {
    font-size: 36px;
}

.fs-stat-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
}

/* ===== Notice Board ===== */
.fs-notice {
    background: #fff;
}

.fs-notice-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

.fs-notice-head {
    background: #07294d;
    padding: 22px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fs-notice-head h3 {
    color: #fff;
    font-size: 22px;
    margin: 0;
}

.fs-notice-head a {
    color: #ffc600;
    font-size: 14px;
    font-weight: 600;
}

.fs-notice-head a:hover {
    color: #fff;
}

.fs-notice-table {
    width: 100%;
    margin: 0;
}

.fs-notice-table thead {
    background: #f4f6f9;
}

.fs-notice-table thead th {
    padding: 14px 25px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #07294d;
    font-weight: 700;
    border: none;
}

.fs-notice-table tbody td {
    padding: 14px 25px;
    font-size: 14px;
    color: #555;
    border-color: #f0f0f0;
    vertical-align: middle;
}

.fs-notice-table tbody td a {
    color: #07294d;
    font-weight: 600;
    padding: 5px 16px;
    background: #ffc600;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
}

.fs-notice-table tbody td a:hover {
    background: #07294d;
    color: #ffc600;
}

/* ===== Facilities ===== */
.fs-facilities {
    background: #f8f9fb;
}

.fs-facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.fs-facility-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.fs-facility-item:hover {
    border-color: #ffc600;
    transform: translateY(-5px);
}

.fs-facility-item .fs-facility-icon {
    width: 70px;
    height: 70px;
    background: rgba(7, 41, 77, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background 0.3s;
}

.fs-facility-item:hover .fs-facility-icon {
    background: #07294d;
}

.fs-facility-item .fs-facility-icon img {
    width: 35px;
    transition: filter 0.3s;
}

.fs-facility-item:hover .fs-facility-icon img {
    filter: brightness(0) invert(1);
}

.fs-facility-item h4 {
    font-size: 18px;
    color: #07294d;
    margin-bottom: 10px;
}

.fs-facility-item p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* ===== Courses ===== */
.fs-courses {
    background: #fff;
}

.fs-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fs-course-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
    transition: all 0.35s ease;
}

.fs-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(7, 41, 77, 0.12);
}

.fs-course-card .fs-course-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.fs-course-card .fs-course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fs-course-card:hover .fs-course-img img {
    transform: scale(1.08);
}

.fs-course-card .fs-course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc600;
    color: #07294d;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.fs-course-card .fs-course-body {
    padding: 25px;
}

.fs-course-card .fs-course-body h4 {
    font-size: 20px;
    color: #07294d;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.fs-course-card:hover .fs-course-body h4 {
    color: #ffc600;
}

.fs-course-card .fs-course-body p {
    font-size: 14px;
    color: #888;
}

/* ===== Apply / Dual CTA ===== */
.fs-apply {
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.fs-apply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(7, 41, 77, 0.15);
}

.fs-apply-box {
    padding: 50px 45px;
    position: relative;
}

.fs-apply-box.fs-apply-1 {
    background: #07294d;
}

.fs-apply-box.fs-apply-2 {
    background: #092e56;
}

.fs-apply-box h3 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 12px;
}

.fs-apply-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.fs-apply-box .main-btn {
    border-radius: 50px;
}

/* ===== Testimonials ===== */
.fs-testimonials {
    background: linear-gradient(135deg, rgba(7, 41, 77, 0.95), rgba(2, 29, 58, 0.98)),
        url('../images/bg-2.jpg') center/cover no-repeat;
    padding: 90px 0;
}

.fs-testimonials .fs-section-title h2,
.fs-testimonials .fs-section-title p {
    color: #fff;
}

.fs-testimonials .fs-section-title .fs-divider {
    background: #ffc600;
}

.fs-testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 35px;
    margin: 15px;
}

.fs-testimonial-card .fs-quote {
    color: #ffc600;
    font-size: 28px;
    margin-bottom: 15px;
}

.fs-testimonial-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.fs-testimonial-card .fs-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fs-testimonial-card .fs-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffc600;
}

.fs-testimonial-card .fs-author h6 {
    color: #fff;
    font-size: 16px;
    margin: 0;
}

/* ===== Partners ===== */
.fs-partners {
    background: #f8f9fb;
    padding: 60px 0;
}

.fs-partners .fs-section-title {
    margin-bottom: 35px;
}

.fs-partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.fs-partner-logos img {
    max-height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s;
    filter: grayscale(30%);
}

.fs-partner-logos img:hover {
    opacity: 1;
    filter: none;
}

/* ===== Bottom CTA ===== */
.fs-cta {
    background: #07294d;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fs-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 198, 0, 0.08);
    border-radius: 50%;
}

.fs-cta h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 15px;
    position: relative;
}

.fs-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    max-width: 550px;
    margin: 0 auto 30px;
    position: relative;
}

.fs-cta .main-btn {
    border-radius: 50px;
    padding: 0 45px;
    position: relative;
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
    .fs-program-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .fs-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fs-facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .fs-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fs-course-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .fs-apply-grid {
        grid-template-columns: 1fr;
    }

    .fs-hero {
        min-height: 500px;
        padding: 80px 0 100px;
    }
}

@media (max-width: 767px) {
    .fs-section {
        padding: 60px 0;
    }

    .fs-program-cards {
        grid-template-columns: 1fr;
    }

    .fs-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .fs-stat-item .fs-stat-num {
        font-size: 36px;
    }

    .fs-facility-grid {
        grid-template-columns: 1fr;
    }

    .fs-hero-btns {
        flex-direction: column;
    }

    .fs-hero-btns a {
        text-align: center;
        justify-content: center;
    }

    .fs-notice-table thead th,
    .fs-notice-table tbody td {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fs-stats-grid {
        grid-template-columns: 1fr;
    }
}
