/* =========================================
   BRIGHT ANGEL - SINGAPORE SERVICES UI
   ========================================= */

body {
    background-color: #f8fafc;
    font-family: 'Times New Roman', Times, serif;
    color: #334155;
    margin: 0;
    padding: 0;
}

/* --- Singapore Hero Section --- */
.sg-hero {
    padding: 160px 20px 80px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    text-align: center;
    border-bottom: 4px solid #ef4444; /* Corporate Red */
}

.sg-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.sg-hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Section Typography --- */
.sg-section-title {
    font-weight: 700;
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.sg-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ef4444; /* Red underline to match Singapore theme */
}

/* --- Singapore Service Cards --- */
.sg-service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.sg-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Top colored border based on service */
.sg-border-primary { border-top: 4px solid #3b82f6; }
.sg-border-success { border-top: 4px solid #10b981; }
.sg-border-info { border-top: 4px solid #0ea5e9; }
.sg-border-warning { border-top: 4px solid #f59e0b; }
.sg-border-danger { border-top: 4px solid #ef4444; }

.sg-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sg-service-card:hover .sg-icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.sg-service-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.sg-service-card p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 20px 0;
}

.sg-card-link {
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.sg-card-link:hover {
    gap: 12px;
}

/* Back to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s, background 0.3s;
    opacity: 0;
    transform: scale(0);
    z-index: 1000;
}

#scrollToTop.show {
    opacity: 1;
    transform: scale(1);
}

#scrollToTop:hover {
    background: #ef4444;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .sg-hero { padding: 130px 20px 60px 20px; }
    .sg-hero h1 { font-size: 2.4rem; }
}