body {
    color: #333;
    font-family: Muli, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: #0a5ab8;
}

.pt-sans {
    font-family: "PT Sans", Arial, sans-serif;
}

.dark-bg {
    background: #042964;
}

.light-bg {
    background: #fff;
}

.header-top {
    padding: 10px 0;
}

.header-top ul,
.header-menu ul,
.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-top a,
.header-top li {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-right: 18px;
}

.ictvoip-version-badge,
.ictvoip-stable-badge {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
    padding: 4px 10px;
}

.ictvoip-version-badge {
    background: #fff;
    color: #0a5ab8;
}

.ictvoip-stable-badge {
    background: #28a745;
    color: #fff;
}

.main-header {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 0;
}

.site-logo {
    display: block;
    max-height: 80px;
    width: auto;
}

.logo-text {
    color: #042964;
    display: none;
    font-size: 24px;
    font-weight: 700;
}

.header-menu > ul {
    display: flex;
    justify-content: flex-end;
}

.header-menu > ul > li {
    margin-left: 24px;
    position: relative;
}

.header-menu a {
    color: #333;
    font-weight: 700;
}

.header-menu li.active > a,
.header-menu a:hover {
    color: #0a5ab8;
    text-decoration: none;
}

.header-menu li ul {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: none;
    left: 0;
    min-width: 240px;
    padding: 14px 0;
    position: absolute;
    top: 100%;
    z-index: 20;
}

.header-menu li:hover ul {
    display: block;
}

.header-menu li ul li {
    margin: 0;
}

.header-menu li ul a {
    display: block;
    font-weight: 600;
    padding: 8px 18px;
}

.btn-docs,
.btn-primary,
.btn-reference {
    background: #1f4a8a;
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    padding: 10px 18px;
}

.btn-docs:hover,
.btn-primary:hover,
.btn-reference:hover {
    background: #0a5ab8;
    color: #fff;
    text-decoration: none;
}

.home-hero,
.page-hero {
    background: linear-gradient(135deg, #2196f3 0%, #0a5ab8 100%);
    color: #fff;
    overflow: hidden;
    padding: 85px 0;
    position: relative;
}

.hero-slider {
    padding: 0;
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    min-height: 500px;
}

.hero-slide-bg {
    background: linear-gradient(135deg, #2196f3 0%, #0a5ab8 100%);
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}

.hero-slide-bg::before {
    background-image: url("/img/wave-pattern-v2.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    filter: blur(3px);
    height: 45%;
    opacity: 0.4;
    pointer-events: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
    z-index: 1;
}

.hero-slide-row {
    min-height: 500px;
    position: relative;
    z-index: 2;
}

.slide-content h3 {
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.slide-content h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.slide-content h1 span {
    color: #fff;
}

.slide-content p {
    color: rgba(255,255,255,0.92);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 26px;
    max-width: 640px;
}

.slide-content .btn {
    margin-right: 12px;
    margin-top: 6px;
}

.slide-overlay-image {
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 5px 15px rgba(0,0,0,0.2);
    max-height: 400px;
    max-width: 550px;
    opacity: 0.75;
    width: 100%;
}

.hero-slider .carousel-indicators {
    bottom: 24px;
}

.hero-slider .carousel-indicators li {
    border-radius: 50%;
    height: 11px;
    margin: 0 6px;
    width: 11px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    opacity: 0.55;
    width: 7%;
}

.contact-hero {
    background: linear-gradient(135deg, #042964 0%, #0166dc 100%);
    overflow: hidden;
    padding: 120px 0 80px;
    position: relative;
}

.contact-hero::before {
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    bottom: 0;
    content: "";
    left: 0;
    opacity: 0.3;
    position: absolute;
    right: 0;
    top: 0;
}

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

.contact-hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    margin-bottom: 0;
}

.home-hero::before,
.page-hero::before {
    background-image: url("../images/wave-pattern-v2.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    filter: blur(2px);
    height: 70%;
    opacity: 0.28;
    pointer-events: none;
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 48%;
}

.home-hero::after,
.page-hero::after {
    background: radial-gradient(circle at center, rgba(255,255,255,0.18), rgba(255,255,255,0));
    border-radius: 50%;
    content: "";
    height: 360px;
    position: absolute;
    right: -120px;
    top: -100px;
    width: 360px;
}

.home-hero .container,
.page-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero h3,
.page-hero h3 {
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.home-hero h1,
.page-hero h1 {
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 15px;
}

.home-hero p,
.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    max-width: 760px;
}

.pt-100 {
    padding-top: 100px;
}

.pb-100 {
    padding-bottom: 100px;
}

.doc-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 40px;
}

.doc-content h1 {
    border-bottom: 3px solid #1f4a8a;
    color: #1f4a8a;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.doc-content h2 {
    border-bottom: 1px solid #eee;
    color: #333;
    margin: 40px 0 20px;
    padding-bottom: 10px;
}

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

.reference-card {
    border: 1px solid #e8eef7;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(31,74,138,0.08);
    padding: 24px;
}

.reference-card .icon {
    align-items: center;
    background: #eaf3ff;
    border-radius: 50%;
    color: #1f4a8a;
    display: flex;
    font-size: 20px;
    height: 48px;
    justify-content: center;
    margin-bottom: 18px;
    width: 48px;
}

.highlight-panel {
    background: linear-gradient(135deg, #042964 0%, #0a5ab8 100%);
    border-radius: 12px;
    color: #fff;
    margin: 35px 0;
    padding: 35px;
    text-align: center;
}

.highlight-panel h2,
.highlight-panel p {
    color: #fff;
}

.highlight-list-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 24px;
}

.highlight-list-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.highlight-list-grid li {
    color: #fff;
    font-size: 16px;
    padding: 8px 0;
}

.highlight-list-grid li::before {
    color: #4caf50;
    content: "\f00c";
    font-family: FontAwesome;
    margin-right: 10px;
}

.video-preview-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(1,102,220,0.2);
    margin: 0 auto;
    max-width: 960px;
    overflow: hidden;
}

.video-preview-card video {
    background: #111;
    display: block;
    min-height: 260px;
    object-fit: cover;
}

.video-preview-caption {
    padding: 24px 28px;
}

.video-preview-caption h3 {
    color: #042964;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.home-section {
    margin: 0;
    padding: 80px 0;
}

.home-content > .container {
    max-width: 1140px;
}

.home-section + .home-section {
    border-top: 1px solid #eef2f7;
}

.intro-video-section,
.offer-section,
.alternate-section,
.client-services-section {
    background: #f8f9fa;
}

.intro-video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.intro-video-section .section-title {
    margin-bottom: 40px;
}

.intro-video-section .section-title span {
    color: #0166dc;
    font-size: 15px;
}

.intro-video-section .section-title h2 {
    color: #042964;
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.intro-video-section .section-title p {
    color: #666;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 760px;
}

.section-title {
    margin: 0 auto 42px;
    max-width: 840px;
    text-align: center;
}

.section-title span,
.section-kicker {
    color: #0166dc;
    display: block;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-title h2,
.split-copy h2 {
    color: #042964;
    font-size: 38px;
    font-weight: 700;
}

.split-copy h2 span {
    color: #0166dc;
}

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

.feature-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.offer-card-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.offer-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.offer-card:hover {
    box-shadow: 0 15px 42px rgba(1,102,220,0.18);
    transform: translateY(-5px);
}

.offer-card .fa {
    align-items: center;
    background: linear-gradient(135deg, #0166dc 0%, #0a5ab8 100%);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 30px;
    height: 72px;
    justify-content: center;
    margin-bottom: 22px;
    width: 72px;
}

.offer-card h3 {
    color: #042964;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
}

.offer-card p {
    color: #666;
    margin-bottom: 0;
}

.gradient-card-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 30px 0;
}

.gradient-card-grid.two-col {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.gradient-border-card {
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #0166dc, #042964) border-box;
    border: 2px solid transparent;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    padding: 30px;
}

.gradient-border-card.wide {
    grid-column: 1 / -1;
}

.gradient-border-card h3 {
    color: #042964;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.gradient-border-card h3 .fa,
.gradient-border-card h3 i {
    color: #0166dc;
    margin-right: 10px;
}

.gradient-border-card ul,
.theme-list-style,
.three-list ul {
    list-style: none;
    margin: 18px 0;
    padding: 0;
}

.gradient-border-card li,
.theme-list-style li,
.three-list li {
    color: #555;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.gradient-border-card li::before,
.theme-list-style li::before,
.three-list li::before {
    color: #0166dc;
    content: "\f00c";
    font-family: FontAwesome;
    left: 0;
    position: absolute;
    top: 0;
}

.split-section {
    align-items: center;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-copy p {
    color: #666;
    font-size: 17px;
}

.split-cards {
    display: grid;
    gap: 20px;
}

.ictvoip-feature-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 28px;
}

.ictvoip-feature-box h3 {
    color: #042964;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
}

.ictvoip-feature-box h3 i {
    color: #0166dc;
    margin-right: 8px;
}

.muted {
    color: #666;
    font-size: 14px;
}

.api-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.api-badge,
.compat-badge {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 20px;
    color: #042964;
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    margin: 4px 4px 4px 0;
    padding: 6px 12px;
}

.compat-value {
    color: #0166dc;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

.service-card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.single-includes {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
}

.single-includes .fa {
    color: #0166dc;
    display: block;
    font-size: 42px;
    margin-bottom: 15px;
}

.single-includes h3 {
    color: #042964;
    font-size: 18px;
    font-weight: 700;
}

.single-includes p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.dark-section {
    background: #042964;
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.dark-section .section-title h2,
.dark-section .section-title p,
.dark-section .section-title span {
    color: #fff;
}

.three-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.compat-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.image-showcase img {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: block;
    max-width: 100%;
    width: 100%;
}

.feature-card,
.video-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 28px;
    transition: all 0.3s ease;
}

.feature-card:hover,
.video-card:hover {
    box-shadow: 0 12px 32px rgba(1,102,220,0.16);
    transform: translateY(-4px);
}

.feature-card .fa,
.feature-card > i {
    color: #0166dc;
    font-size: 34px;
    margin-bottom: 18px;
}

.feature-card h3,
.video-card h3 {
    color: #042964;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p,
.video-card p {
    color: #666;
}

.video-info {
    padding: 0;
}

.video-badge {
    background: #0166dc;
    border-radius: 20px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    padding: 6px 14px;
}

.video-badge .fa {
    margin-right: 6px;
}

.cta-panel {
    background: #f4f8ff;
    border-left: 4px solid #0166dc;
    border-radius: 8px;
    margin: 40px 0 10px;
    padding: 30px;
}

.cta-panel h2 {
    margin-top: 0;
}

.btn-reference.secondary {
    background: #042964;
    margin-left: 10px;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    margin: 20px 0;
    padding: 18px;
}

.highlight-box {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    border-radius: 6px;
    margin: 20px 0;
    padding: 18px;
}

.contact-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    padding: 40px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 10px 30px rgba(1,102,220,0.15);
    transform: translateY(-5px);
}

.contact-info-card .icon {
    align-items: center;
    background: linear-gradient(135deg, #0166dc 0%, #0a5ab8 100%);
    border-radius: 50%;
    display: flex;
    height: 70px;
    justify-content: center;
    margin: 0 auto 25px;
    width: 70px;
}

.contact-info-card .icon i {
    color: #fff;
    font-size: 32px;
}

.contact-info-card h4 {
    color: #042964;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.contact-info-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: center;
}

.contact-info-card a {
    color: #0166dc;
    font-weight: 600;
}

.contact-form-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-top: 40px;
    padding: 50px;
}

.contact-form-container h2 {
    color: #042964;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.contact-form-container .subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
    text-align: center;
}

.elfsight-app-2c195fea-a233-43e1-9ef5-67b75b2f10dd a[href*="elfsight.com"],
.elfsight-app-2c195fea-a233-43e1-9ef5-67b75b2f10dd [class*="eapps-link"],
.elfsight-app-2c195fea-a233-43e1-9ef5-67b75b2f10dd [class*="eapps-branding"] {
    display: none !important;
}

.footer {
    background: linear-gradient(135deg, #042964 0%, #0a5ab8 100%);
    color: rgba(255,255,255,0.7);
}

.footer h3,
.footer h4 {
    color: rgba(255,255,255,0.95);
    margin-bottom: 20px;
}

.footer-logo {
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
    max-height: 50px;
    width: auto;
}

.footer-brand {
    display: none;
}

.footer a {
    color: rgba(255,255,255,0.75);
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget .fa {
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

.pt-60 {
    padding-top: 60px;
}

.pb-30 {
    padding-bottom: 30px;
}

@media (max-width: 991px) {
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item,
    .hero-slide-row {
        min-height: 460px;
    }

    .slide-content h1 {
        font-size: 34px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .gradient-card-grid.two-col {
        grid-template-columns: 1fr;
    }

    .home-section {
        padding: 60px 0;
    }

    .section-title h2,
    .split-copy h2 {
        font-size: 30px;
    }

    .header-menu > ul {
        display: block;
        margin-top: 20px;
    }

    .header-menu > ul > li {
        margin: 0 0 12px;
    }

    .header-menu li ul {
        box-shadow: none;
        display: block;
        padding: 8px 0 0 15px;
        position: static;
    }
}
