/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0E1215; /* dark mode base */
    font-family: system-ui, sans-serif;
    color: #CCCCCC;
    overflow-x: hidden; /* FIX: removes horizontal scroll */
}

/* HEADER */
.header {
    width: 100%;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0E1215;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    height: 42px;
}

.brand span {
    font-size: 22px;
    font-weight: 700;
    color: #8EC5E8; /* brand blue */
}

/* NAV LINKS */
.nav-links a {
    margin-left: 28px;
    text-decoration: none;
    color: #A7DBE2; /* cyan accent */
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #5BA9D6; /* hover: blue accent */
}

/* CONTENT */
.content {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* SECTION TITLE */
.section-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    color: #8EC5E8; /* blue gear color */
}

/* APP GRID */
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 28px;
    justify-items: center;
    margin-top: 12px;
}

.app-card {
    width: 100%;
    max-width: 180px;
    background: #151A1E;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.04);
}

.app-card:hover {
    transform: translateY(-6px);
    border-color: rgba(130,200,255,0.4);
    box-shadow: 0 0 20px rgba(130,200,255,0.15);
}

.app-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.app-card span {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    color: #A7DBE2; /* cyan */
}

/* SHOW MORE TILE */
.app-card.more {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #5BA9D6;  /* blue */
    border: 2px dashed #3C75A1;
    background: #101418;
    font-weight: 700;
}


.apps-section {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;      /* <-- centers title + grid */
}

.section-title {
    width: 600px;               /* match grid width */
    max-width: 100%;
    color: #A7DBE2;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: left;           /* left aligned inside centered area */
    padding-left: 0;            /* remove earlier padding */
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 600px;             /* fixed grid width to stay centered */
    max-width: 100%;
}


.app-card {
    background: #151A1E;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    color: #8EC5E8;
    transition: 0.2s;
}

.app-card:hover {
    background: #1C2328;
}

.app-icon {
    height: 80px;
    width: 80px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.app-title {
    display: block;
    font-size: 15px;
    color: #A7DBE2;
}

/* Placeholder */
.placeholder {
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.15);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 2px dashed rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    color: #6EC7D4;
    margin: 0 auto 12px;
}


/* ============================= */
/*       SLIDER SECTION          */
/* ============================= */

.section-wrapper {
    margin-top: 20px;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

/* BUTTONS */
.slider-btn {
    position: absolute;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    color: #A7DBE2;
    font-size: 24px;
    cursor: pointer;
    transition: 0.2s ease;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.12);
}

.slider-btn.left { left: -20px; }
.slider-btn.right { right: -20px; }

/* TRACK */
.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;

    padding: 10px 0;
    scrollbar-width: none; /* hide scrollbar */
}

.slider-track::-webkit-scrollbar {
    display: none;
}

/* SLIDE CARDS */
.slide-card {
    min-width: 180px;
    background: #151A1E;
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.25s ease;
}

.slide-card:hover {
    transform: translateY(-5px);
    border-color: rgba(130,200,255,0.3);
    box-shadow: 0 0 15px rgba(100,200,255,0.2);
}

.slide-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.slide-card span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #A7DBE2;
}

/* ============================= */
/*       HERO SLIDER SECTION     */
/* ============================= */

.hero-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 320px; /* adjustable */
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Dark gradient for readability */
    filter: brightness(0.75);
}

.hero-overlay {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: #A7DBE2; /* cyan brand color */
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
}

.hero-overlay h1 {
    font-size: 32px;
    margin-bottom: 6px;
    color: #8EC5E8;
}

.hero-overlay p {
    font-size: 18px;
    color: #A7DBE2;
}

/* Navigation arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: #A7DBE2;
    font-size: 26px;
    cursor: pointer;
    transition: 0.2s ease;
}

.hero-nav:hover {
    background: rgba(0,0,0,0.65);
}

.hero-nav.left { left: 10px; }
.hero-nav.right { right: 10px; }

/* ============================= */
/*      REUSABLE SECTION BLOCK   */
/* ============================= */

.section-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 20px 0;
    width: 100%;
}

/* IMAGE */
.section-block .sb-image img {
    width: 320px;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

/* CONTENT */
.section-block .sb-content {
    flex: 1;
}

.section-block .sb-content h2 {
    color: #8EC5E8;
    font-size: 28px;
    margin-bottom: 10px;
}

.section-block .sb-content p {
    color: #A7DBE2;
    font-size: 17px;
}

/* ACTIONS */
.sb-actions {
    margin-top: 18px;
    display: flex;
    gap: 16px;
}

.sb-btn {
    padding: 10px 20px;
    border-radius: 12px;
    background: #2E8891;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.sb-btn:hover {
    background: #3C75A1;
}

/* LAYOUT MODES */
.section-block.text {
    flex-direction: column;
    text-align: center;
}

.section-block.text-bottom-action {
    flex-direction: column;
    text-align: center;
}

.section-block.text-bottom-action .sb-actions {
    justify-content: center;
}

.section-block.image-text,
.section-block.image-text-action {
    flex-direction: row;
}

.section-block.text-image,
.section-block.text-image-action {
    flex-direction: row-reverse;
}

.section-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;         /* space between sections */
}

.section-block {
    width: 900px;
    max-width: 95%;
    padding: 40px;
    background: rgba(255,255,255,0.03);       /* subtle card tint */
    border: 1px solid rgba(255,255,255,0.06); /* subtle border */
    border-radius: 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    display: flex;
    gap: 40px;
}

/* Text styles inside card */
.section-block h2 {
    margin: 0 0 12px 0;
    font-size: 28px;
    color: #CFE8FF; /* soft blue (brand-friendly) */
}

.section-block p {
    color: #B8C6D4;
    font-size: 16px;
    line-height: 1.6;
}

/* Image Areas */
.section-block .sb-image img {
    width: 100%;
    border-radius: 16px;
}

/* Buttons */
.section-block .sb-btn {
    padding: 10px 20px;
    background: #4985C5;
    color: white;
    border-radius: 12px;
    margin-right: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.section-block .sb-btn:hover {
    background: #5CA3EF;
}


/* ============================= */
/*          PARTNERS             */
/* ============================= */

.partners-section {
    margin: 70px 0;
    text-align: center;
}

.partners-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partner-item img {
    height: 50px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: 0.25s;
}

.partner-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================= */
/*         NEWS SECTION          */
/* ============================= */

.news-section {
    margin: 80px 0;
}

.news-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.news-card {
    background: #151A1E;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    color: inherit;
    transition: 0.25s;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(130,200,255,0.3);
    box-shadow: 0 0 20px rgba(130,200,255,0.15);
}

.news-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.news-info {
    padding: 15px 18px;
}

.news-date {
    font-size: 13px;
    color: #6EC7D4;
    display: block;
    margin-bottom: 6px;
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #8EC5E8;
}

.news-info p {
    color: #A7DBE2;
    font-size: 15px;
}
/* ============================= */
/*             FOOTER            */
/* ============================= */

.footer {
    background: #0B0F12;
    padding: 50px 0 25px;
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* TOP AREA */
.footer-top {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;

    display: flex;
    justify-content: space-between;
    gap: 60px;
}

/* BRAND BLOCK */
.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 48px;
    opacity: 0.9;
}

.footer-brand h3 {
    font-size: 22px;
    margin-top: 10px;
    color: #8EC5E8; /* blue */
}

.footer-brand p {
    margin-top: 10px;
    font-size: 15px;
    color: #A7DBE2; /* pale cyan */
    line-height: 1.5;
}

/* LINK BLOCKS */
.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    color: #8EC5E8;
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-col a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    color: #A7DBE2;
    font-size: 14px;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #5BA9D6;
}

/* FOOTER BOTTOM ROW */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: #6EC7D4; /* lighter cyan */
    font-size: 14px;
    opacity: 0.8;
}
/* ============================= */
/*        CONTACT SECTION        */
/* ============================= */

.contact-section {
    margin: 80px 0;
    text-align: center;
}

.contact-subtitle {
    margin-top: 10px;
    margin-bottom: 35px;
    color: #A7DBE2;
}

.contact-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* LEFT PANEL */
.contact-info {
    text-align: left;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    color: #8EC5E8;
    margin-bottom: 6px;
}

.info-item a {
    color: #A7DBE2;
    text-decoration: none;
}

.info-item a:hover {
    color: #6EC7D4;
}

/* RIGHT PANEL — FORM */
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #151A1E;
    border: 1px solid rgba(255,255,255,0.06);
    color: #A7DBE2;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 15px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #2E8891;
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.contact-form button:hover {
    background: #3C75A1;
}

/* MOBILE */
@media (max-width: 800px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info {
        text-align: center;
    }
}

/* ============================= */
/*        SERVICES SECTION       */
/* ============================= */

.services-section {
    margin: 80px 0;
}

.services-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.service-card {
    background: #151A1E;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(130,200,255,0.3);
    box-shadow: 0 0 20px rgba(130,200,255,0.15);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    opacity: 0.9;
}

.service-card h3 {
    color: #8EC5E8;
    margin-bottom: 10px;
}

.service-card p {
    color: #A7DBE2;
    font-size: 15px;
    line-height: 1.4;
}
