/* ============================================================
   SGN Frontend Stylesheet
   ============================================================ */
:root {
    --sgn-primary: #1a3a5c;
    --sgn-secondary: #2c5f8a;
    --sgn-accent: #f0a500;
    --sgn-success: #198754;
    --sgn-danger: #dc3545;
    --sgn-warning: #ffc107;
    --sgn-info: #0dcaf0;
    --sgn-bg: #f0f4f8;
    --sgn-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --sgn-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --sgn-shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
    --sgn-shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d3748;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    background: transparent;
    padding: 1rem 0;
}
.navbar.scrolled {
    background: #fff;
    box-shadow: var(--sgn-shadow-sm);
    padding: 0.75rem 0;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
}
.navbar.scrolled .navbar-brand {
    color: var(--sgn-primary);
}
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}
.navbar.scrolled .navbar-nav .nav-link {
    color: var(--sgn-primary);
}
.navbar-nav .nav-link:hover {
    color: var(--sgn-accent);
}
.navbar-toggler {
    border: none;
    color: #fff;
    font-size: 1.5rem;
}
.navbar.scrolled .navbar-toggler {
    color: var(--sgn-primary);
}
.brand-icon-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f0a500 0%, #eab308 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 60%, #0d1b2a 100%);
    padding: 12rem 0 8rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.highlight {
    color: var(--sgn-accent);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero-buttons .btn {
    padding: 0.875rem 2rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.25s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--sgn-accent) 0%, #eab308 100%);
    border-color: var(--sgn-accent);
    color: var(--sgn-primary);
    box-shadow: 0 4px 12px rgba(240, 165, 0, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #eab308 0%, #f0a500 100%);
    border-color: #eab308;
    color: var(--sgn-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 165, 0, 0.4);
}
.btn-outline-light:hover {
    color: var(--sgn-primary);
    background: rgba(255,255,255,0.95);
}
.hero-stats {
    margin-top: 3rem;
}
.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sgn-accent);
}
.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}
.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sgn-shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}
.hero-image img {
    width: 100%;
    height: auto;
}
.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}
.wave svg {
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #fff;
}
.section-header {
    margin-bottom: 4rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sgn-primary);
}
.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin-top: 0.75rem;
}
.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.25s ease;
    background: #fff;
}
.feature-card:hover {
    box-shadow: var(--sgn-shadow-md);
    transform: translateY(-5px);
    border-color: var(--sgn-secondary);
}
.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}
.feature-icon.primary { background: rgba(26,58,92,0.12); color: var(--sgn-primary); }
.feature-icon.accent { background: rgba(240,165,0,0.15); color: var(--sgn-accent); }
.feature-icon.success { background: rgba(25,135,84,0.12); color: var(--sgn-success); }
.feature-icon.danger { background: rgba(220,53,69,0.12); color: var(--sgn-danger); }
.feature-icon.warning { background: rgba(255,193,7,0.12); color: var(--sgn-warning); }
.feature-icon.info { background: rgba(13,202,240,0.12); color: var(--sgn-info); }
.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sgn-primary);
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: #718096;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--sgn-bg);
}
.about-point {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #fff;
}
.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--sgn-shadow-md);
}
.contact-icon {
    font-size: 2.5rem;
    color: var(--sgn-primary);
    margin-bottom: 1rem;
}
.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sgn-primary);
}
.form-control {
    border-radius: 12px;
    border-color: #cbd5e1;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}
.form-control:focus {
    border-color: var(--sgn-primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 58, 92, 0.15);
}

/* Footer */
.footer {
    background: var(--sgn-primary);
    color: #fff;
    padding: 4rem 0 2rem;
}
.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.footer-brand:hover {
    color: #fff;
}
.footer ul li {
    padding: 0.3rem 0;
}
.footer ul a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer ul a:hover {
    color: var(--sgn-accent);
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.25s ease;
}
.social-link:hover {
    background: var(--sgn-accent);
    color: var(--sgn-primary);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero {
        padding: 10rem 0 6rem;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .navbar-collapse {
        background: rgba(13, 27, 42, 0.98);
        border-radius: 12px;
        padding: 1.5rem;
        margin-top: 1rem;
    }
    .navbar.scrolled .navbar-collapse {
        background: #fff;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}
