/* ===== ABH Frontend — Company Profile Theme ===== */
/* Modern light blue + white, 2026 aesthetic */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
    --accent: #06b6d4;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Navbar ---------- */
.navbar-abh {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-abh.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-abh .navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-dark) !important;
    letter-spacing: -0.02em;
}

.navbar-abh .navbar-brand span {
    color: var(--primary);
}

.navbar-abh .nav-link {
    color: var(--text-body) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 18px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-abh .nav-link:hover,
.navbar-abh .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.navbar-abh .navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-abh .navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(170deg, var(--bg-white) 0%, var(--primary-light) 50%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p.lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 36px;
}

/* ---------- Buttons ---------- */
.btn-primary-abh {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-abh:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    color: #fff;
}

.btn-outline-abh {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border-light);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-abh:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ---------- Sections ---------- */
.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--bg-section);
}

.section-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.section-heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.8;
}

/* ---------- Feature Cards ---------- */
.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Stats ---------- */
.stat-item {
    text-align: center;
    padding: 24px 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---------- About Preview ---------- */
.about-preview {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.about-preview .about-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--primary-gradient);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.btn-cta {
    background: #fff;
    color: var(--primary-dark);
    border: none;
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: var(--primary-dark);
}

/* ---------- Footer ---------- */
.footer-abh {
    background: var(--text-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
}

.footer-abh h5 {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-abh p {
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-abh a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: var(--transition);
    display: block;
    padding: 4px 0;
}

.footer-abh a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    margin-top: 40px;
    font-size: 0.82rem;
}

/* ---------- Utility ---------- */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
.iframe-wrapper {
    width: 100%;
    position: relative;
}
.iframe-wrapper iframe {
    width: 100%;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .iframe-wrapper iframe {
        height: 380px !important;
    }

    .hero {
        padding: 130px 0 70px;
    }

    .section {
        padding: 60px 0;
    }

    .about-preview {
        padding: 28px;
    }

    .stat-number {
        font-size: 2rem;
    }
}
