@import 'variable.css';

/* =========================================
   Global & Utilities
   ========================================= */
body {
    overflow-x: hidden;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.section-undeline {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
}

.btn-submit,
.btn-contact {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 0.5px;
}

.btn-submit:hover,
.btn-contact:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 163, 17, 0.3);
}

.shadow-lg {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.rounded {
    border-radius: 0.5rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-base);
}

.nav-links a:not(.btn-contact):hover::after {
    width: 100%;
}

.nav-links a:not(.btn-contact):hover {
    color: var(--primary-color);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-start;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--primary-color), #2c5282);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.development-notice {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.hero-description p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    text-align: justify;
}

.hero-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-form-wrapper h3 {
    margin-bottom: 0.5rem;
}

.form-instruction {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 44, 95, 0.1);
}

textarea.form-control {
    resize: vertical;
}

/* =========================================
   About Section
   ========================================= */
.about-subtitle {
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
    margin-bottom: 1.5rem;
}

.vision-box,
.mission-box {
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.vision-box:hover,
.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.05);
    background: #fff !important;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.core-value-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    transition: var(--transition-base);
}

.core-value-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--secondary-color);
}

.core-value-item h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* =========================================
   Services Section
   ========================================= */
.services-section {
    background: #f8fafc;
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* WOW effect */
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 15px;
    color: var(--text-secondary);
}

.service-content li {
    margin-bottom: 8px;
}

/* =========================================
   Process Section
   ========================================= */
.process-section {
    padding: 80px 0;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    background: var(--bg-white);
    padding: 15px 25px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    transition: all 0.3s;
}

.step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-weight: 800;
}

.step:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f9ff;
}

/* =========================================
   Commitment Section
   ========================================= */
.commitment-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.commit-item {
    text-align: center;
    padding: 30px;
    transition: var(--transition-base);
}

.commit-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.commit-item:hover .commit-icon {
    transform: scale(1.1);
}

/* =========================================
   Partner Section (Social Boost)
   ========================================= */
.partner-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.sponsor-wrapper {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Premium */
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.sponsor-wrapper::before {
    content: "";
    /* Glass shine effect */
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.sponsor-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #000;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom-left-radius: 12px;
    z-index: 10;
}

.sponsor-body {
    padding: 40px;
}

.sponsor-link-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sponsor-btn {
    background: #f1f3f5;
    color: #495057;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.sponsor-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-info-box {
    padding: 40px;
    background: #f8fbff;
    border-radius: 12px;
    height: 100%;
    border-left: 5px solid var(--primary-color);
}

.contact-form-box {
    padding: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-note {
    margin-top: 30px;
    padding: 15px;
    background: #e9ecef;
    border-left: 4px solid var(--primary-color);
    font-size: 0.9em;
    font-style: italic;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--primary-color);
    /* Deep Blue */
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-input-group {
    position: relative;
    margin-bottom: 20px;
}

.footer-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
}

.footer-input:focus {
    background: rgba(255, 255, 255, 0.2);
}

.btn-subscribe {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0 15px;
    border-radius: 3px;
    font-weight: 700;
    cursor: pointer;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 20px;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* =========================================
   Responsive Design (Mobile First)
   ========================================= */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-form-wrapper {
        margin-top: 30px;
    }


    .hero-title {
        font-size: 2rem;
    }
}

/* =========================================
   Diamond Partner Section
   ========================================= */
.diamond-partner-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f6 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.diamond-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(253, 185, 49, 0.4);
    margin-bottom: 20px;
}

.diamond-badge i {
    font-size: 1.1rem;
}

.partner-intro {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.partner-intro:after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, transparent, #002c5f);
    z-index: -1;
    border-radius: 22px;
    opacity: 0.3;
}

.partner-logo-wrapper {
    height: 60px;
    margin-bottom: 20px;
}

.partner-logo-wrapper img {
    height: 100%;
    width: auto;
}

.partner-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.partner-link-item {
    display: block;
    padding: 12px 15px;
    background: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.partner-link-item i {
    font-size: 1.1rem;
}

/* =========================================
   Strategic Partners Section
   ========================================= */
.strategic-partners-wrapper {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    padding: 40px;
    margin-top: 30px;
    border: 1px solid #f0f0f0;
}

.strategic-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.strategic-item:last-child {
    border-bottom: none;
}

.strategic-item:hover {
    background-color: #f9fcff;
    padding-left: 20px;
}

.strategic-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #eef2f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.strategic-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.partner-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.partner-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.partner-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.partner-link:hover::after {
    width: 100%;
}

/* =========================================
   Utilities & Extra Components
   ========================================= */
.img-cover {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-sub-images {
    display: flex;
    justify-content: space-between;
}

.about-sub-images img {
    width: 48%;
}

/* Social Brand Colors */
.text-facebook {
    color: #1877f2 !important;
}

.text-instagram {
    color: #c32aa3 !important;
}

.text-tiktok {
    color: #000000 !important;
}

.text-twitter {
    color: #1da1f2 !important;
}

.text-youtube {
    color: #ff0000 !important;
}

.text-telegram {
    color: #0088cc !important;
}

.text-shopee {
    color: #ee4d2d !important;
}

.text-lazada {
    color: #0f146d !important;
}


@media (max-width: 768px) {
    .header {
        height: auto;
        padding-bottom: 10px;
    }

    .header .container {
        flex-direction: column;
        padding: 15px;
    }

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .logo img {
        height: 40px;
    }

    .commitment-grid {
        grid-template-columns: 1fr;
    }

    .about-sub-images {
        flex-direction: column;
        gap: 15px;
    }

    .about-sub-images img {
        width: 100%;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step::after {
        content: "↓" !important;
        right: 50% !important;
        top: 100% !important;
        transform: translateX(50%) !important;
    }

    .step:last-child::after {
        display: none;
    }

    .service-img-top {
        height: 180px;
    }
}