/* =====================================================
   RESET
   ===================================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #222;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
    background: #0b3c49;
    color: #fff;
    padding: 16px 20px;
}

.header-inner {
    max-width: 1100px;
    margin: auto;
}

.logo {
    margin: 0;
    font-size: 22px;
}

.main-nav {
    margin-top: 10px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 16px;
    font-weight: bold;
}

/* =====================================================
   CONTENT
   ===================================================== */
.site-content {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    padding: 24px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

h2,
h3 {
    color: #0b3c49;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: #0b3c49;
    color: #fff;
    text-align: center;
    padding: 16px;
    font-size: 14px;
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
    margin: 0 6px;
}

/* =====================================================
   RESPONSIVE NAV / CONTENT
   ===================================================== */
@media (max-width: 768px) {
    .main-nav a {
        display: block;
        margin: 8px 0;
    }

    .site-content {
        padding: 16px;
    }
}

/* =====================================================
   VIDEO ROW – TWO VIDEOS SIDE BY SIDE
   ===================================================== */
.video-row {
    display: flex;
    gap: 24px;
    margin: 32px 0;
}

.video-block {
    flex: 1;
}

.video-block h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 14px;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile fallback */
@media (max-width: 768px) {
    .video-row {
        flex-direction: column;
    }
}

/* =====================================================
   POWER BI FULLSCREEN EMBED
   ===================================================== */
body.embed-page,
html.embed-page {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.report-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
}

.full-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.logo-bottom-right {
    position: absolute;
    bottom: 20px;
    right: 35px;
    z-index: 9999;
}

.logo-bottom-right img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.9;
    border: 2px solid #fff;
}

/* =====================================================
   HERO TITLE + IMAGE (CLEAN)
   ===================================================== */
.hero-title {
    background: rgba(255, 193, 7, 0.35);
    padding: 56px 48px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.hero-title h1 {
    font-size: 2.6rem;
    color: #111827;
    margin-bottom: 14px;
}

.hero-title p {
    max-width: 720px;
    font-size: 1.05rem;
    color: #1f2937;
    margin-bottom: 22px;
}

.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* =====================================================
   ANALYTICS SECTION
   ===================================================== */
.analytics-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin: 56px 0;
    align-items: center;
}

.analytics-image img {
    width: 100%;
    border-radius: 14px;
}

.content-section {
    margin: 32px 0;
}

/* =====================================================
   VIDEO EMBED (BLOG)
   ===================================================== */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 32px 0;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* =====================================================
   BLOG
   ===================================================== */
.blog-post {
    max-width: 820px;
    margin: auto;
    line-height: 1.7;
}

.blog-cta {
    margin-top: 32px;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-page {
    max-width: 900px;
    margin: auto;
    padding: 24px 0;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    margin-top: 32px;
}

.contact-form label {
    display: block;
    margin-bottom: 16px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 12px;
    background: #0ea5e9;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.contact-form button:hover {
    background: #0284c7;
}

.contact-info h2 {
    margin-bottom: 12px;
}

.contact-info p {
    margin-bottom: 14px;
}

/* =====================================================
   MOBILE FIXES (SINGLE SOURCE OF TRUTH)
   ===================================================== */
@media (max-width: 768px) {

    .hero-title {
        padding: 28px 20px;
    }

    .hero-title h1 {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .hero-title p {
        font-size: 0.95rem;
    }

    .hero-image img {
        height: auto;
        max-height: 260px;
        object-fit: contain;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
