:root {
    --blue-main: #9E1B53;
    --blue-dark: #3d0a06;
    --blue-light-overlay: rgba(33, 110, 141, 0.55);
    --white: #ffffff;
    --text-dark: #222;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: var(--text-dark);
}

img {
    max-width: 100%;
    display: block;
}


.top-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 16px;
    min-height: 90px;

    background:
        linear-gradient(var(--blue-light-overlay), var(--blue-light-overlay)),
        url("awareness360/images/header-bg.jpg") center / cover no-repeat;
}

.logo {
    position: absolute;
    left: 16px;
}

.logo img {
    width: 52px;
    height: auto;
}

.top-bar h1 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    color: var(--white);
}

/* Hide desktop nav on mobile */
.nav-bar {
    display: none;
}

/* Mobile nav container */
.mobile-nav {
    background: var(--blue-main);
    padding: 12px 16px;
}

/* Menu button */
#menuToggle {
    background: var(--white);
    color: var(--blue-main);
    border: none;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--blue-main);
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu a:hover {
    background: var(--blue-dark);
}


@media (min-width: 768px) {

    .top-bar {
        padding: 24px 32px;
    }

    .logo img {
        width: 60px;
    }

    .top-bar h1 {
        font-size: 22px;
    }
}


@media (min-width: 1024px) {

    /* Header */
    .top-bar {
        min-height: 120px;
        padding: 30px 60px;
    }

    .logo img {
        width: 70px;
    }

    .top-bar h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    /* Hide mobile nav */
    .mobile-nav,
    .mobile-menu {
        display: none !important;
    }

    /* Desktop nav */
    .nav-bar {
        display: block;
        background: var(--blue-main);
    }

    .nav-bar nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 28px;
        padding: 14px 20px;
    }

    .nav-bar nav a {
        color: var(--white);
        text-decoration: none;
        font-weight: 600;
        padding: 10px 14px;
        border-radius: 6px;
        transition: background 0.3s ease;
    }

    .nav-bar nav a:hover {
        background: var(--blue-dark);
    }

    /* Contact button */
    .contact-btn {
        background: var(--white);
        color: var(--blue-main) !important;
        font-weight: 700;
    }

    .contact-btn:hover {
        background: var(--blue-dark);
        color: var(--white) !important;
    }
}


@media (min-width: 1280px) {

    .top-bar h1 {
        font-size: 40px;
    }

    .nav-bar nav {
        gap: 36px;
    }
}


/* ================== GOOGLE NEST HUB FIX ================== */
/* Screen: 1024 x 600 (landscape, short height) */

@media (width: 1024px) and (height: 600px),
       (min-width: 960px) and (max-height: 640px) {

    /* HEADER */
    .top-bar {
        min-height: 80px;
        padding: 12px 32px;
    }

    .logo img {
        width: 55px;
    }

    .top-bar h1 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    /* NAV BAR */
    .nav-bar nav {
        padding: 10px 12px;
        gap: 18px;
    }

    .nav-bar nav a {
        font-size: 14px;
        padding: 8px 10px;
    }

    .contact-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* SECTIONS – reduce vertical space */
    section {
        padding: 40px 0 !important;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 15px;
    }

    /* SLIDESHOW / HERO FIX */
    .slideshow,
    .hero,
    .hero-slider {
        min-height: 280px;
    }

    /* FOOTER */
    .footer-container {
        padding: 30px 20px;
        gap: 20px;
    }
}


/* ================= SLIDESHOW SECTION ================= */
.slideshow-section {
    width: 100%;
    background: #000;
}

/* ================= CONTAINER ================= */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 60vh;              /* MOBILE FIRST */
    max-height: 420px;
    overflow: hidden;
    background: #9E1B53;
}

/* ================= SLIDE ================= */
.slide {
    width: 100%;
    height: 100%;
    position: relative;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.slideshow-container {
    position: relative;
}


.slide.fade {
    animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: .4; }
    to   { opacity: 1; }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;       /* 🔑 NO CROPPING */
    background: #000;
}

/* ================= TEXT OVERLAY ================= */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.25),
        rgba(0,0,0,0)
    );
    color: #1EB6E8;
}

.slide-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.slide-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 6px;
}

.slide-content .date {
    font-size: 12px;
    opacity: 0.85;
}

/* ================= ARROWS ================= */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px;
    color: #1EB6E8;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    user-select: none;
    z-index: 5;
}

.prev { left: 12px; }
.next { right: 12px; }

.prev:hover,
.next:hover {
    background: rgba(0,0,0,0.7);
}

/* ================= DOTS ================= */
.dots-container {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.dot {
    display: inline-block;
    height: 9px;
    width: 9px;
    margin: 0 4px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active,
.dot:hover {
    background-color: #fff;
}

/* ======================================================
   TABLET (≥ 600px)
====================================================== */
@media (min-width: 600px) {
    .slideshow-container {
        height: 65vh;
        max-height: 480px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 15px;
    }
}

/* ======================================================
   MINI-LAPTOP (≥ 900px)
====================================================== */
@media (min-width: 900px) {
    .slideshow-container {
        height: 70vh;
        max-height: 560px;
    }

    .slide-content {
        padding: 30px 40px;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
        max-width: 70%;
    }
}

/* ======================================================
   DESKTOP (≥ 1200px)
====================================================== */
@media (min-width: 1200px) {
    .slideshow-container {
        height: 75vh;
        max-height: 650px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 17px;
        max-width: 60%;
    }
}

/* ======================================================
   🔥 GOOGLE NEST HUB (1024 × 600)
====================================================== */
@media (width: 1024px) and (height: 600px),
       (min-width: 960px) and (max-height: 640px) {

    .slideshow-container {
        height: 280px;
        max-height: 300px;
    }

    .slide-content {
        padding: 14px 20px;
    }

    .slide-content h2 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 13px;
        max-width: 100%;
    }
}


/* ================= ABOUT 360 SECTION ================= */

/* MOBILE FIRST (DEFAULT) */
.about360° {
    padding: 60px 16px;
    background: #1EB6E8;
}

.about360° h2 {
    text-align: center;
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 700;
    margin-bottom: 40px;
    color: #9E1B53;
}

/* GRID */
.about360°-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* CARD */
.about360°-card {
    background:  #1EB6E8;
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about360°-card h3 {
    font-size: clamp(18px, 4vw, 22px);
    margin-bottom: 14px;
    color: #1EB6E8;
}

.about360°-card p,
.about360°-card li {
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: 1.7;
    color: #333333;
}

/* OBJECTIVES LIST */
.about360°-card ul {
    padding-left: 18px;
}

.about360°-card ul li {
    margin-bottom: 10px;
}

/* HOVER (DESKTOP ONLY FEEL, SAFE FOR MOBILE) */
.about360°-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16, 166, 177, 0.1);
}

/* ================= TABLET ================= */
@media (min-width: 600px) {
    .about360° {
        padding: 80px 32px;
    }

    .about360°-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ================= MINI-LAPTOP / NEST HUB ================= */
@media (min-width: 900px) {
    .about360° {
        padding: 100px 50px;
    }

    .about360°-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .about360°-card {
        padding: 34px 30px;
    }
}

/* ================= LAPTOP & DESKTOP ================= */
@media (min-width: 1200px) {
    .about360°-grid {
        grid-template-columns: repeat(4, 1fr);
        align-items: stretch;
    }

    .about360°-card {
        padding: 38px 34px;
    }
}

/* ================= LARGE DESKTOP ================= */
@media (min-width: 1600px) {
    .about360° {
        padding: 120px 80px;
    }
}

.about360° {
    background: linear-gradient(
        180deg,
        #f4f7f6 0%,
        #ffffff 100%
    );
}

.about360°-card {
    background: #ffffff;
    border: 1px solid rgba(10, 92, 61, 0.12);
}

.about360°-card {
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.04);
}

.about360°-card::before {
    content: "";
    display: block;
    height: 5px;
    width: 60px;
    background: #0a5c3d;
    border-radius: 4px;
    margin-bottom: 16px;
}

.about360°-card {
    background: #ffffff;
    border: 1px solid rgba(10, 92, 61, 0.12);
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   CORE VALUES – GLOBAL
========================================================= */
.core-values {
    padding: clamp(60px, 8vw, 110px) 20px;
    background: linear-gradient(180deg, #f4f7f6, #ffffff);
    text-align: center;
}

.core-values h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: #9E1B53;
    margin-bottom: 50px;
    font-weight: 700;
}


/* =========================
   CORE VALUES – INTERNATIONAL UI
========================= */

.core-values {
    background: #1EB6E8;
    padding: 100px 20px;
    text-align: center;
}

.core-values h2 {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 70px;
    color: #9E1B53;
    font-weight: 700;
}

/* ================= CONTAINER ================= */
.core-container {
    position: relative;
    width: 520px;
    height: 520px;
    margin: auto;
}

/* ================= CENTER ================= */
.core-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 190px;
    height: 190px;
    background: #9E1B53;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.core-center h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.core-center span {
    font-size: 13px;
    opacity: 0.85;
    max-width: 140px;
}

/* ================= ORBIT ================= */
.core-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* ================= CORE ITEM ================= */
.core-item {
    position: absolute;
    width: 150px;
    height: 150px;
    background: #ffffff;
    border-radius: 50%;
    padding: 16px;
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
    overflow: hidden;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* ================= ICON ================= */
.core-item .icon {
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.core-item .icon img {
    width: 52px;
    height: auto;
}

/* ================= TITLE ================= */
.core-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #9E1B53;;
    text-align: center;
    transition: all 0.3s ease;
}

/* ================= DESCRIPTION ================= */
.core-item p {
    position: absolute;
    inset: 16px;
    font-size: 12.5px;
    color: #083b4c;
    line-height: 1.5;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

/* ================= HOVER ================= */
.core-item:hover {
    transform: scale(1.18);
    box-shadow: 0 30px 55px rgba(0,0,0,0.25);
    z-index: 20;
}

.core-item:hover h4 {
    opacity: 0;
    transform: translateY(-10px);
}

.core-item:hover p {
    opacity: 1;
    transform: scale(1);
    color:#9E1B53;
}

/* ================= POSITIONS ================= */
.item-1 { top: -12px; left: 50%; transform: translateX(-50%); }
.item-2 { top: 100px; right: -12px; }
.item-3 { bottom: 100px; right: -12px; }
.item-4 { bottom: -12px; left: 50%; transform: translateX(-50%); }
.item-5 { top: 100px; left: -12px; }
.item-6 { bottom: 100px; left: -12px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .core-container {
        transform: scale(0.88);
    }
}

@media (max-width: 600px) {
    .core-container {
        width: 100%;
        height: auto;
        transform: none;
    }

    .core-orbit,
    .core-center {
        position: static;
        transform: none;
        margin: 0 auto 30px;
    }

    .core-orbit {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px;
    }

    .core-item {
        position: relative;
        margin: auto;
    }
}

/* ==============================
   MOBILE CORE VALUES CARDS
================================ */
@media (max-width: 768px) {

    /* MOBILE CORE VALUES HEADER */
.core-mobile-header {
    text-align: center;
    margin-bottom: 45px;
}

.core-mobile-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: #9E1B53;;
    margin-bottom: 10px;
}

.core-mobile-header p {
    font-size: 17px;
    color: #9E1B53;;
    line-height: 1.6;
}


    .core-container,
    .core-orbit,
    .core-center {
        display: none;
    }

    .core-mobile {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .core-card {
        perspective: 1000px;
    }

    .core-card-inner {
        position: relative;
        width: 100%;
        min-height: 200px;
        transition: transform 0.7s;
        transform-style: preserve-3d;
        cursor: pointer;
    }

    .core-card.flip .core-card-inner {
        transform: rotateY(180deg);
    }

    .core-front{
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        padding: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #fff;
    }
    
    .core-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        padding: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #9E1B53;
    }

    .core-front img {
        width: 60px;
        margin-bottom: 15px;
    }

    .core-front h4 {
        font-size: 22px;
        color: #083b4c;
    }

    .core-back {
        transform: rotateY(180deg);
        font-size: 17px;
        line-height: 1.8;
        color: #083b4c;
        text-align: center;
        background: #e6f7fb;
    }

    /* CARD WRAPPER */
.core-card {
    perspective: 1000px;
    cursor: pointer;
}

/* INNER */
.core-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}

/* FLIP WHEN ACTIVE */
.core-card.active .core-card-inner {
    transform: rotateY(180deg);
}

/* FRONT & BACK */
.core-front,
.core-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
}

/* BACK */
.core-back {
    transform: rotateY(180deg);
}


}

/* ===== DESKTOP DEFAULT ===== */
.core-desktop {
    display: block;
}

.core-mobile {
    display: none;
}


@media (max-width: 768px) {

    .core-desktop {
        display: none !important;
    }

    .core-mobile {
        display: grid !important;
        gap: 20px;
    }
}




/* =========================================================
   IMPACT SECTION – INFINITE LOOP SLIDER
========================================================= */
.impact-section {
    background: #9E1B53;
    padding: 40px 0;
    overflow: hidden;
}

.impact-track {
    display: flex;
    gap: 36px;
    animation: impactScroll 28s linear infinite;
}

.impact-item {
    min-width: 260px;
    background: #1EB6E8;
    border-radius: 16px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.impact-item i {
    font-size: 32px;
    color: #9E1B53;
    margin-bottom: 12px;
}

.impact-item h3 {
    font-size: 26px;
    color: #9E1B53;
    margin-bottom: 6px;
}

.impact-item p {
    font-size: 15px;
    color: #444;
}

/* Infinite Scroll */
@keyframes impactScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================================
   NEST HUB & MINI LAPTOP
========================================================= */
@media (min-width: 900px) and (max-width: 1200px) {
    .core-container {
        transform: scale(.9);
    }
}


/* ======================================================
   GLOBAL SECTION BASICS
====================================================== */
.services-section,
.news-section,
.videos-section {
    padding: clamp(60px, 8vw, 110px) 20px;
    background: linear-gradient(180deg, #f4f7f6, #ffffff);
}

.services-header,
.news-header,
.videos-header {
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
}

.services-header h2,
.news-header h2,
.videos-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #9E1B53;
    margin-bottom: 12px;
}

.services-header p,
.news-header p,
.videos-header p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

/* ======================================================
   SERVICES SECTION
====================================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 26px;
    box-shadow: 0 18px 45px rgba(0,0,0,.14);
    transition: transform .35s ease, box-shadow .35s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

.service-icon img {
    width: 58px;
    margin-bottom: 16px;
}

.services-header h1 {
    font-size: 30px;
    color: #9E1B53;
    margin-bottom: 15px;
}

.services-header p {
    font-size: 0.95rem;
    color: #555;
}

.service-card h3 {
    font-size: 19px;
    color: #1EB6E8;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

/* Accent borders */
.service-card.blue   { border-top: 5px solid #1EB6E8; }
.service-card.green  { border-top: 5px solid #1EB6E8; }
.service-card.orange { border-top: 5px solid #1EB6E8; }
.service-card.purple { border-top: 5px solid #1EB6E8; }

/* ======================================================
   NEWS SECTION
====================================================== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.1);
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.75),
        rgba(0,0,0,.25),
        rgba(0,0,0,0)
    );
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.news-overlay h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.news-overlay p {
    font-size: 14px;
    line-height: 1.6;
}

.news-card:hover img {
    transform: scale(1.08);
}

.news-footer,
.videos-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-see-more {
    display: inline-block;
    padding: 12px 28px;
    background: #9E1B53;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    transition: background .3s ease;
}

.btn-see-more:hover {
    background: #1EB6E8;
}


/* =====================================
   NEWS VIEW PAGE – PREMIUM DESIGN
===================================== */

.news-view-section {
    padding: 80px 20px;
    background: #f4f8fb;
}

/* ================= CONTAINER ================= */

.news-container {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 60px 50px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    position: relative;
}

/* ================= TITLE ================= */

.news-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* ================= META ================= */

.news-meta {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta i {
    color: #1EB6E8;
}

/* ================= IMAGE ================= */

.news-image {
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 14px;
}

.news-image img {
    width: 100%;
    display: block;
    border-radius: 14px;
    transition: transform 0.4s ease;
}

.news-image img:hover {
    transform: scale(1.03);
}

/* ================= CONTENT ================= */

.news-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content h2,
.news-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: #9E1B53;
}

/* ================= SHARE SECTION ================= */

.news-share {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-share span {
    font-weight: 600;
    color: #111;
}

.news-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
}

.news-share a:hover {
    background: #1EB6E8;
    color: #ffffff;
    transform: translateY(-4px);
}

/* ================= BACK BUTTON ================= */

.back-btn {
    margin-top: 40px;
}

.back-btn a {
    text-decoration: none;
    font-weight: 600;
    color: #9E1B53;
    transition: 0.3s;
}

.back-btn a:hover {
    color: #1EB6E8;
}

/* ================= SCROLL PROGRESS BAR ================= */

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background: linear-gradient(to right, #1EB6E8, #9E1B53);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .news-container {
        padding: 40px 25px;
    }

    .news-title {
        font-size: 1.6rem;
    }

    .news-content {
        font-size: 1rem;
    }

    .news-share {
        gap: 12px;
        flex-wrap: wrap;
    }
}



/* ======================================================
   VIDEOS SECTION
====================================================== */
.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    text-decoration: none;
    color: #222;
}

.video-thumb {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.video-thumb img {
    width: 100%;
    display: block;
}

.play-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    background: #1EB6E8;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.video-card h4 {
    font-size: 16px;
    margin-top: 12px;
    line-height: 1.5;
}

/* ======================================================
   RESPONSIVE BREAKPOINTS
====================================================== */

/* Tablet */
@media (min-width: 600px) {
    .services-grid,
    .news-grid,
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mini-Laptop / Nest Hub */
@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .videos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .services-section,
    .news-section,
    .videos-section {
        padding: 130px 80px;
    }
}


/* =========================================
   MODERN INTERNATIONAL FOOTER DESIGN
   Brand Colors: Light Blue & Rich Maroon
========================================= */

.site-footer {
    background: #9E1B53;
    color: #1EB6E8;
    padding: 80px 0 0 0;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

/* subtle top separation line */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, transparent);
    opacity: 0.4;
}

/* ================= GRID ================= */

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    padding: 0 8% 60px 8%;
}

/* ================= BOX ================= */

.footer-box {
    position: relative;
}

.footer-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    position: relative;
}

/* underline accent */
.footer-box h4::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #1EB6E8;
    position: absolute;
    bottom: -8px;
    left: 0;
    border-radius: 10px;
}

/* paragraph + links */
.footer-box p,
.footer-box li {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
}

/* ================= LOGO ================= */

.footer-logo {
    width: 100px;
    margin-bottom: 20px;
    
}

/* ================= LINKS ================= */

.footer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box ul li a,
.footer-box p a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* modern hover underline animation */
.footer-box ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #1EB6E8;
    transition: width 0.3s ease;
}

.footer-box ul li a:hover::after {
    width: 100%;
}

.footer-box ul li a:hover,
.footer-box p a:hover {
    color: #1EB6E8;
}

/* ================= ICONS ================= */

.footer-box i {
    margin-right: 10px;
    color: #1EB6E8;
}

/* ================= SOCIAL ================= */

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ffffff;
    color: #800020;
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* ================= BOTTOM BAR ================= */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.25);
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
}

/* ================= SCROLL TOP ================= */

.scroll-top {
    border: none;
    background: #ffffff;
    color: #800020;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.scroll-top:hover {
    background: #6ec1ff;
    color: #800020;
    transform: translateY(-5px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 600px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-box h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}


/* ================================
   GLOBAL RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f8f9fb;
    color: #333;
    line-height: 1.6;
}

/* ================================
   ABOUT SECTION
================================ */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #ffffff, #f4f7fb);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ================================
   TITLE
================================ */
.about-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #9E1B53;
    margin-bottom: 60px;
    position: relative;
}

.about-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background-color: #9E1B53;
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ================================
   GRID LAYOUT
================================ */
.about-grid {
    display: grid;
    gap: 30px;
}

/* Mobile: 1 column */
@media (min-width: 0px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 4 columns */
@media (min-width: 1200px) {
    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================================
   CARD DESIGN
================================ */
.about-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    transition: all 0.35s ease;
    border-top: 4px solid #1EB6E8;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.30);
}

/* ================================
   CARD HEADINGS
================================ */
.about-card h3 {
    font-size: 1.3rem;
    color: #9E1B53;
    margin-bottom: 15px;
}

/* ================================
   TEXT & LIST
================================ */
.about-card p {
    font-size: 0.95rem;
    color: #555;
}

.about-card ul {
    padding-left: 18px;
}

.about-card ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
}

/* ================================
   SMALL SCREEN IMPROVEMENTS
================================ */
@media (max-width: 480px) {
    .about-section {
        padding: 60px 15px;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-card {
        padding: 20px;
    }
}


/* =====================================
   CORE VALUES SECTION
===================================== */
.core-values-section {
    padding: 90px 20px;
    background: #ffffff;
}

.core-values-section h1 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #9E1B53;
    margin-bottom: 20px;
}

.core-values-section .intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 70px auto;
    font-size: 1rem;
    color: #555;
}

/* =====================================
   GRID STRUCTURE
===================================== */
.core-values-grid {
    display: grid;
    gap: 35px;
}

/* Mobile */
@media (min-width: 0px) {
    .core-values-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1100px) {
    .core-values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================
   CORE CARD DESIGN
===================================== */
.core-card {
    background: #f8f9fb;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    text-align: center;
    border-bottom: 4px solid #1EB6E8;
}

.core-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

/* =====================================
   ICON STYLE
===================================== */
.core-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background: #e6f2fb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.core-card .icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* =====================================
   CARD TEXT
===================================== */
.core-card h3 {
    font-size: 1.2rem;
    color: #9E1B53;
    margin-bottom: 15px;
}

.core-card p {
    font-size: 0.95rem;
    color: #555;
}

/* =====================================
   SMALL SCREEN OPTIMIZATION
===================================== */
@media (max-width: 480px) {
    .core-values-section {
        padding: 70px 15px;
    }

    .core-values-section h1 {
        font-size: 1.8rem;
    }

    .core-card {
        padding: 25px 20px;
    }

    .core-card p {
        font-size: 0.9rem;
    }
}


/* =====================================
   NEWS PAGE SECTION
===================================== */
.news-page {
    padding: 90px 20px;
    background: #f4f7fb;
}

/* =====================================
   PAGE HEADER
===================================== */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #9E1B53;
    margin-bottom: 15px;
}

.page-header p {
    max-width: 650px;
    margin: 0 auto;
    color: #555;
    font-size: 1rem;
}

/* =====================================
   NEWS GRID
===================================== */
.news-grid {
    display: grid;
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto 70px auto;
}

/* Mobile */
@media (min-width: 0px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================
   NEWS CARD
===================================== */
.news-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* =====================================
   IMAGE AREA
===================================== */
.news-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.08);
}

/* =====================================
   CONTENT AREA
===================================== */
.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 1.2rem;
    color: #1EB6E8;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 18px;
}

.news-content .date {
    font-size: 0.85rem;
    color: #0077cc;
    font-weight: 500;
}

/* =====================================
   PAGINATION
===================================== */
.pagination {
    text-align: center;
}

.pagination a {
    display: inline-block;
    margin: 5px;
    padding: 8px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: #1EB6E8;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #d9e2ec;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #0077cc;
    color: #ffffff;
    border-color: #0077cc;
}

.pagination a.active {
    background: #1EB6E8;
    color: #ffffff;
    border-color: #1EB6E8;
}

/* =====================================
   SMALL SCREEN IMPROVEMENTS
===================================== */
@media (max-width: 480px) {

    .news-page {
        padding: 70px 15px;
    }

    .page-header h2 {
        font-size: 1.8rem;
    }

    .news-img {
        height: 200px;
    }

    .news-content {
        padding: 20px;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    .news-content p {
        font-size: 0.9rem;
    }
}


/* =====================================
   DOCUMENTS SECTION
===================================== */
.documents-section {
    padding: 90px 20px;
    background: #ffffff;
    text-align: center;
}

.documents-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #9E1B53;
    margin-bottom: 10px;
}

.documents-section .subtitle {
    color: #666;
    margin-bottom: 60px;
    font-size: 1rem;
}

/* =====================================
   DOCUMENTS GRID
===================================== */
.documents-grid {
    display: grid;
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile */
@media (min-width: 0px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1100px) {
    .documents-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================
   DOCUMENT CARD
===================================== */
.document-card {
    background: #1EB6E8;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    position: relative;
    text-align: center;
    border-top: 4px solid #9E1B53;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

/* =====================================
   ICON STYLE
===================================== */
.doc-icon {
    font-size: 45px;
    margin-bottom: 20px;
    color: #9E1B53;
}

/* =====================================
   CARD TEXT
===================================== */
.document-card h3 {
    font-size: 1.2rem;
    color: #9E1B53;
    margin-bottom: 12px;
}

.document-card p {
    font-size: 0.95rem;
    color: #fdfdfd;
    margin-bottom: 25px;
}

/* =====================================
   ACTION BUTTONS
===================================== */
.doc-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.doc-actions a {
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* View Button */
.btn-view {
    background: #9E1B53;
    color: #ffffff;
}

.btn-view:hover {
    background: #9E1B53;
}

/* Download Button */
.btn-download {
    background: #003366;
    color: #ffffff;
}

.btn-download:hover {
    background: #001f3f;
}

/* =====================================
   DATE STYLE
===================================== */
.doc-date {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}

/* =====================================
   SMALL SCREEN IMPROVEMENTS
===================================== */
@media (max-width: 480px) {

    .documents-section {
        padding: 70px 15px;
    }

    .documents-section h2 {
        font-size: 1.8rem;
    }

    .document-card {
        padding: 25px 20px;
    }

    .document-card p {
        font-size: 0.9rem;
    }

    .doc-actions {
        flex-direction: column;
        gap: 10px;
    }

    .doc-actions a {
        width: 100%;
    }
}


/* ===============================
   CONTACT SECTION
=================================*/

.contact-section {
    padding: 80px 20px;
    background: #f5f7fa; /* Light background for separation */
    font-family: 'Segoe UI', sans-serif;
}

.contact-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #9E1B53;
}

.contact-section .intro {
    text-align: center;
    color: #555;
    margin-bottom: 50px;
    font-size: 16px;
}

/* GRID */
.contact-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* CARD STYLE (Clear Separation) */
.contact-info,
.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e4e4e4;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.contact-info:hover,
.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* HEADINGS */
.contact-info h3,
.contact-form h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #111;
}

/* CONTACT TEXT */
.contact-info p {
    margin-bottom: 12px;
    font-size: 15px;
    color: #444;
}

.contact-info a {
    color: #0077cc;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* SOCIAL LINKS */
.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: #f1f1f1;
    border-radius: 50%;
    color: #333;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: #9E1B53;
    color: #fff;
    transform: translateY(-3px);
}

/* MAP */
.contact-info iframe {
    margin-top: 25px;
    border-radius: 10px;
}

/* FORM */
.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0077cc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,119,204,0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* BUTTON */
.btn-primary {
    padding: 12px;
    background: #9E1B53;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #9E1B53;
    transform: translateY(-2px);
}

/* SUCCESS & ERROR */
.success {
    background: #e6f9ed;
    color: #1c7c3c;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.error {
    background: #fde8e8;
    color: #b91c1c;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 15px;
    }

    .contact-section h2 {
        font-size: 26px;
    }
}


/* =====================================
   MODERN SECTION WAVE DIVIDER
   Brand: Rich Maroon + Light Blue
===================================== */

.section-divider-wave {
    position: relative;
    height: 90px;
    background: #9E1B53;
    overflow: hidden;
}

/* smooth modern wave */
.section-divider-wave::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* next section background */
    clip-path: path("M0,40 C150,90 350,0 600,50 C850,100 1050,10 1200,50 L1200,100 L0,100 Z");
}
