/* ==========================================================================
   SMART EDUCATION PUCHONG MODERNIZED DESIGN SYSTEM
   ========================================================================== */

:root {
    --primary: #004aad;
    --primary-dark: #001f4d;
    --accent: #ffc107;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* HERO GLOBAL COMPONENT */
.puchong-hero {
    background: linear-gradient(135deg, var(--primary-dark), #003580, var(--primary));
    padding: 120px 0 100px 0;
    overflow: hidden;
    position: relative;
    color: white;
}

.puchong-hero:before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    top: -200px;
    right: -150px;
    pointer-events: none;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.puchong-hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.puchong-hero h1 span {
    color: var(--accent);
}

.puchong-hero p {
    font-size: 19px;
    line-height: 1.7;
    margin-top: 24px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-buttons a {
    margin-right: 15px;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.hero-buttons .btn-warning {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.hero-buttons a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* HERO IMAGE STYLING */
.hero-img-wrapper {
    perspective: 1000px;
}

.puchong-hero-img {
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    transform: rotateY(-10deg) rotateX(6deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    transition: var(--transition-smooth);
}

.puchong-hero-img:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* UNIVERSAL TYPOGRAPHY & SECTIONS */
.puchong-section, .services-3d, .why-puchong, .areas-section, .faq-section {
    padding: 100px 0;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-align: center;
}

.section-lead {
    font-size: 19px;
    line-height: 1.75;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* SMART EDUCATION SERVICE GRID */
.services-3d {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.04);
    border: 1px solid rgba(0, 74, 173, 0.06);
    transition: var(--transition-smooth);
    position: relative;
    top: 0;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 74, 173, 0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.service-card:hover {
    top: -8px;
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.12);
    border-color: rgba(0, 74, 173, 0.15);
}

.service-card:hover .card-icon {
    background: var(--primary);
    color: white;
}

/* FEATURES SECTION WITH GLASSMORPHISM */
.why-puchong {
    background: linear-gradient(135deg, var(--primary-dark), #0d3366);
    color: white;
}

.why-puchong .section-title {
    color: white;
}

.feature-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 25px;
    border-radius: 16px;
    height: 100%;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.feature-icon-wrapper {
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 14.5px;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
}

.feature-box:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* SERVICE AREAS TAG CLOUD */
.areas-section {
    background: var(--bg-light);
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.area-tag {
    background: white;
    color: var(--primary-dark);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.area-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.05);
}

/* MODERN ACCORDION-STYLE FAQ ARCHITECTURE */
.faq-container {
    max-width: 840px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 28px 0;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* CONVERSION CTA SECTION */
.puchong-cta {
    background: linear-gradient(135deg, var(--primary), #0062ff);
    color: white;
    padding: 90px 0;
}

.puchong-cta h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.puchong-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.puchong-cta .btn {
    border-radius: 8px;
    padding: 16px 45px;
    font-weight: 700;
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    transition: var(--transition-smooth);
}

.puchong-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* VISUAL KEYFRAME DECORATIONS */
@keyframes floating {
    0% { transform: rotateY(-10deg) rotateX(6deg) translateY(0px); }
    50% { transform: rotateY(-10deg) rotateX(6deg) translateY(-12px); }
    100% { transform: rotateY(-10deg) rotateX(6deg) translateY(0px); }
}

.puchong-hero-img {
    animation: floating 6s ease-in-out infinite;
}

/* RESPONSIVE DESIGN CONTROLS */
@media (max-width: 991px) {
    .puchong-hero h1 { font-size: 42px; }
    .puchong-hero { text-align: center; padding: 80px 0; }
    .hero-img-wrapper { margin-top: 50px; }
    .puchong-hero-img { transform: none; animation: none; }
    .puchong-hero-img:hover { transform: none; }
}

@media (max-width: 768px) {
    .puchong-section, .services-3d, .why-puchong, .areas-section, .faq-section { padding: 70px 0; }
    .section-title { font-size: 30px; }
    .hero-buttons a { display: block; margin: 12px 0 0 0; }
}