/* Homepage layout — centered wrap, equal cards, no overflow */
.sf-wrap,
.sf-new-wrap .sf-wrap,
.sf-section .sf-wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.video-header-message {
    padding: 0 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}
#video-header .video-header-message h1 {
    font-size: 36px;
    max-width: 780px;
    margin: 0 auto 12px;
    line-height: 1.25;
    padding: 0 8px;
}
#video-header .video-header-message p {
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 0 8px;
}
.sf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
}
.sf-hero-actions .hw-btn {
    margin: 0 !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
    letter-spacing: 0.02em !important;
    display: inline-block !important;
    float: none !important;
    width: auto !important;
}
.sf-hero-actions .hw-btn-outline {
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    box-shadow: none !important;
}
.sf-hero-actions .hw-btn-outline:hover {
    background: #fff !important;
    color: #10c469 !important;
}

.header.header1 .row.no-gutter {
    box-shadow: none;
}
.header.header1 .sf-menu {
    float: right;
}
.header.header1 .sf-menu > li > a {
    padding: 23px 11px;
    font-size: 12px;
}
.header.header1 .topbar .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.header.header1 .dropdown {
    text-align: right;
}

.sf-section {
    padding: 48px 0 28px;
}
.sf-section-head {
    text-align: center;
    margin: 0 auto 28px;
    max-width: 760px;
}
.sf-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #10c469;
    margin-bottom: 8px;
}
.sf-section-head h2 {
    margin: 0 0 10px;
    color: #2c3e50;
    line-height: 1.3;
}
.sf-section-head p {
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.sf-about-points {
    max-width: 720px;
    margin: 0 auto;
}
.sf-about-points ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
}
.sf-about-points li {
    position: relative;
    padding: 6px 0 6px 22px;
}
.sf-about-points li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10c469;
}

.sf-new-wrap {
    background: #0f1720;
    padding: 52px 0 48px;
    margin: 0;
    overflow: hidden;
}
.sf-new-wrap .sf-section-head h2 {
    color: #fff;
}
.sf-new-wrap .sf-kicker {
    color: #5eead4;
}
.sf-new-wrap .sf-section-head p {
    color: #c5d0da;
}

.sf-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sf-grid > * {
    min-width: 0;
}

.sf-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 22px 20px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #ececec;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.sf-product-card:hover,
a.sf-product-card:focus {
    text-decoration: none;
    color: inherit;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(16, 196, 105, 0.18);
}
.sf-product-card h4 {
    margin: 0 0 8px;
    color: #10c469;
    font-size: 18px;
    font-weight: 800;
    text-align: left;
    line-height: 1.3;
}
.sf-product-card p {
    margin: 0 0 14px;
    color: #5a5a5a;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
    flex: 1 1 auto;
}
.sf-card-link {
    font-size: 13px;
    font-weight: 700;
    color: #10c469;
    letter-spacing: 0.02em;
    margin-top: auto;
}

.sf-featured-card {
    background: #16202b;
    border: 1px solid rgba(94, 234, 212, 0.18);
    color: #fff;
    min-height: 0;
}
a.sf-featured-card:hover {
    box-shadow: 0 16px 36px rgba(16, 196, 105, 0.22);
    border-color: rgba(16, 196, 105, 0.45);
}
.sf-featured-card h4 {
    color: #fff;
    font-size: 22px;
}
.sf-featured-card p {
    color: #c5d0da;
}
.sf-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    align-self: flex-start;
}
.sf-badge-ai { background: rgba(16, 196, 105, 0.18); color: #5eead4; }
.sf-badge-sec { background: rgba(56, 189, 248, 0.16); color: #7dd3fc; }
.sf-badge-edu { background: rgba(251, 191, 36, 0.16); color: #fcd34d; }
.sf-featured-card .sf-card-link { color: #5eead4; }

.sf-portfolio-grid {
    padding-bottom: 20px;
}

section.numbers iframe,
section.calltoaction iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}
section.numbers .row.no-gutter {
    box-shadow: none;
}
section.numbers .numbersbox-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
section.numbers .numbersbox-small .number {
    text-align: center;
    padding: 8px 4px;
}
section.numbers .numbername {
    white-space: normal;
    font-size: 11px;
    line-height: 1.3;
    word-break: break-word;
}

.sf-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.sf-testimonial-card {
    text-align: center;
}
.sf-testimonial-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    background: #111;
}
.sf-testimonial-card label,
.sf-testimonial-card h6 {
    display: block;
    margin: 8px 0 0;
}

.footer-element p span {
    display: block;
}

@media (max-width: 991px) {
    .sf-grid,
    .sf-testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .header.header1 .sf-menu > li > a {
        padding: 20px 8px;
        font-size: 11px;
    }
    section.numbers .numbersbox-small {
        grid-template-columns: 1fr 1fr;
        margin-top: 16px;
    }
}

@media (max-width: 767px) {
    #video-header {
        height: 480px;
    }
    #video-header .video-header-message h1 {
        font-size: 24px;
    }
    #video-header .video-header-message p {
        font-size: 14px;
    }
    .sf-hero-actions .hw-btn {
        font-size: 14px !important;
        padding: 10px 16px !important;
    }
    .sf-grid,
    .sf-testimonial-grid {
        grid-template-columns: 1fr;
    }
    .sf-section-head h2 {
        font-size: 26px;
    }
    .header.header1 .topbar .row {
        display: block;
    }
}
