/* Page specific styles - inherits base from style.css */
:root {
    --primary: #000000;
    --accent: #000000;
    --accent-soft: #f8fafc;
    --radius: 12px;
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== HERO ===== */
.page-hero {
    position: relative;
    height: 40vh;
    background: url("images/header/tech.jpg") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 28, 45, 0.75), rgba(11, 28, 45, 0.55));
    z-index: 1;
}

.page-hero>* {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    max-width: 700px;
    font-size: 1.15rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.7;
}

/* ===== CONTAINER ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    padding-top: 20px;
}

/* ===== GRID ===== */
.grid {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.grid-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ===== CENTERED ITEM AREA ===== */
.centered-item-row {
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.centered-item-row .item {
    width: calc(50% - 15px);
}

/* ===== PREMIUM CARD STYLE ===== */
.item {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* ===== HEADER PART ===== */
.top {
    display: flex;
    gap: 20px;
    padding: 24px;
    align-items: flex-start;
    cursor: pointer;
    background: var(--white);
}

.no {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    font-size: 18px;
    flex: 0 0 auto;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.num-text {
    transition: all 0.3s ease;
    opacity: 1;
}

.top-icon {
    position: absolute;
    transition: all 0.3s ease;
    opacity: 0;
    font-size: 20px;
    transform: translateY(20px);
}

.item:hover .no {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.title h3 {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.title span {
    font-size: 13px;
    color: var(--text-muted);
}

.item:hover .num-text {
    opacity: 0;
    transform: translateY(-20px);
}

.item:hover .top-icon {
    opacity: 1;
    transform: translateY(0);
    color: white;
}

/* ===== PANEL ===== */
.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 24px;
    background: var(--white);
}

.top:hover+.panel,
.panel:hover {
    max-height: 1000px;
    padding-bottom: 24px;
}

/* ===== PANEL CONTENT ===== */
.panel-inner {
    background: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.panel p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ===== LIST WITH CHECK ICONS ===== */
.panel ul {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.panel ul li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.panel ul li::before {
    content: "\f058";
    /* circle-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #000000;
    font-size: 16px;
    flex-shrink: 0;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 60px;
    text-align: center;
}

.about {
    background: linear-gradient(135deg, #0b1c2d 0%, #1a365d 100%); /* Sophisticated Dark Gradient */
    padding: 90px 20px;
    border-top: 4px solid var(--accent-color); /* Bold Accent Line at the top */
    position: relative;
    overflow: hidden;
}

.about h2 {
    color: #ffffff;
    font-size: 34px;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-weight: 400;
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {
    .page-hero {
        height: 30vh !important;
        padding: 0 15px !important;
        justify-content: center !important;
    }

    .page-hero h1 {
        font-size: clamp(24px, 6vw, 36px) !important;
        margin-bottom: 8px !important;
    }

    .page-hero p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
    }

    .container {
        width: 92% !important;
        margin: 20px auto !important;
        padding-top: 10px !important;
    }

    .grid {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .grid-col {
        gap: 20px !important;
    }

    .centered-item-row {
        margin-top: 20px !important;
        display: block !important;
    }

    .centered-item-row .item {
        width: 100% !important;
    }

    .top {
        padding: 16px 20px !important;
        gap: 15px !important;
    }

    .no {
        width: 40px !important;
        height: 40px !important;
        font-size: 15px !important;
        border-radius: 8px !important;
    }

    .top-icon {
        font-size: 16px !important;
    }

    .title h3 {
        font-size: 15px !important;
    }

    .title span {
        font-size: 11px !important;
    }

    .panel {
        padding: 0 20px !important;
    }

    .top:hover+.panel,
    .panel:hover {
        padding-bottom: 20px !important;
    }

    .panel-inner {
        padding: 15px !important;
        border-radius: 8px !important;
    }

    .panel p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
    }

    .panel ul li {
        font-size: 13px !important;
        gap: 8px !important;
        margin-bottom: 8px !important;
    }

    .panel ul li::before {
        font-size: 14px !important;
    }

    section.about {
        padding: 40px 15px !important;
    }

    .about h2 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .about p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* ===== FOOTER ===== */