:root {
    --primary: #0066ff;
    --primary-dark: #0052d4;
    --secondary: #1a1a2e;
    --light: #f8f9fa;
    --dark: #16213e;
    --accent: #00b4d8;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0066ff;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform .2s;
}

.back-to-top:hover {
    transform: scale(1.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 5px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--secondary) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.hero {
    padding: 150px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://centurysvc360.com/cybersecurity/hero.jpg');
    background-size: cover;
    background-position: center bottom;
}

.hero-content {
    position: relative;
    z-index: 1;
    background-color: #093554c4;
    padding: 30px;
    border: 1px solid #093554;
    border-radius: 20px;
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Floating Icon */
.contact-fab {
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: #0066ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;

    /* Floating animation */
    animation: floatY 5s ease-in-out infinite;
}

/* Keyframes */
@keyframes floatY {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.contact-fab::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 102, 255, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 102, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}


.contact-fab:hover {
    transform: scale(1.1);
}

/* Popup Panel */
.contact-popup {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.contact-popup.active {
    right: 0;
}

/* Header */
.contact-header {
    background: #0066ff;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
}

.contact-hint {
    position: fixed;
    bottom: 270px;
    right: 120px;
    background: #ffffff;
    color: #333;
    padding: 12px 15px;
    border-radius: 15px;
    font-size: 14px;
    max-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.contact-hint.show {
    opacity: 1;
    transform: translateY(0);
}

/* Chat arrow */
.contact-hint::after {
    content: "";
    position: absolute;
    bottom: 15px;
    right: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}


/* Body */
.contact-body {
    padding: 20px;
}


.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-light {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
}

.section-title {
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.author-info h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}

.footer {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    padding: 80px 0 40px;
}

.footer h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.8;
}

.security-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 30px;
    font-size: 0.9rem;
}

.stats-section {
    background: var(--light);
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-text {
    font-weight: 500;
    color: var(--secondary);
}

.feature-section {
    padding: 100px 0;
}

.feature-img {
    background-image: url('https://centurysvc360.com/cybersecurity/hero1.png');
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-content {
    padding-left: 50px;
}

.feature-content h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary);
}

.feature-content p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.feature-list i {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .pricing-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }

    .pricing-card.featured:hover {
        transform: scale(1.03);
    }
}

    /* Overlay */
    #centerPopupOverlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.65);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    /* Popup Box */
    .center-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.7);
        width: 95%;
        max-width: 420px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.45s ease;
    }

    /* Active State */
    .center-popup.active {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%) scale(1);
    }

    #centerPopupOverlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Header */
    .popup-header {
        background: #0066ff;
        color: #fff;
        padding: 16px 20px;
        border-radius: 14px 14px 0 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .popup-header h5 {
        margin: 0;
        font-size: 16px;
    }

    /* Close Button */
    .popup-close {
        font-size: 22px;
        cursor: pointer;
    }

    /* Body */
    .popup-body {
        padding: 20px;
    }