:root {
    /* Color Variables */
    --primary-color: #0056b3;
    --primary-light: #007bff;
    --primary-dark: #003d7a;
    --secondary-color: #003366;
    --accent-color: #00a8e8;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --dark-blue: #0a2463;
    --footer-bg: #1a1a2e;
    --nav-bg: rgba(10, 36, 99, 0.98);
    --nav-height: 70px;

    --brand-color: #3498db; /* Example brand color - change as needed */
    
    /* Animation Variables */
    --transition-base: all 0.3s ease;
    --transition-long: all 0.5s ease;
}

/* ===== Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333; /* Improved contrast */
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 0;
}

a {
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Utility Classes ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ===== Header/Navigation ===== */
header.navbar {
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header.navbar.scrolled {
    height: 60px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-base);
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition-base);
}

.brand-text span {
    color: var(--accent-color);
}

.nav-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: white;
    outline: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown Menu */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition-base);
    border-left: 3px solid transparent;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background: rgba(0, 86, 179, 0.08);
    color: var(--primary-color);
    border-left: 3px solid var(--accent-color);
    outline: none;
}

/* ===== Hero Section ===== */
.hero-banner-section {
    /* height: 100vh;
    min-height: 700px; */
    position: relative;
    overflow: hidden;
    margin-top: var(--nav-height);
}

.hero-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
    z-index: 0;
}

.carousel-item.active .hero-banner-img {
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 36, 99, 0.6) 0%, rgba(10, 36, 99, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: calc(100vh - var(--nav-height));
    min-height: calc(700px - var(--nav-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
    align-self: flex-start;
    display: inline-block;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); */
    color: var(--accent-color);
}

.text-highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-content .lead {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-base);
    border-width: 2px;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    -webkit-transition: var(--transition-base);
    -moz-transition: var(--transition-base);
    -ms-transition: var(--transition-base);
    -o-transition: var(--transition-base);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    outline: none;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: var(--primary-color);
    border-color: white;
    color: white;
}

.btn-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--secondary-color);
    /* background: rgba(255, 255, 255, 0.1); */
    background: var(--light-color);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-light:hover,
.btn-light:focus {
    background: var(--primary-color);
    border-color: white;
    color: white;
}

/* Text container background for better readability (optional) */
.text-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

/* Scroll Down Button */
.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: var(--transition-base);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.scroll-down-btn:hover,
.scroll-down-btn:focus {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
    outline: none;
}

.scroll-down-btn svg {
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Carousel Progress */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: var(--accent-color);
    transition: width 5s linear;
}

.carousel-item.active ~ .carousel-progress .progress-bar {
    width: 100%;
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-elements div {
    position: absolute;
    opacity: 0.05;
}

.circle-element {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    top: -100px;
    right: -100px;
}

.square-element {
    width: 300px;
    height: 300px;
    border: 2px solid var(--secondary-color);
    bottom: -50px;
    left: -50px;
    transform: rotate(15deg);
}

.triangle-element {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--accent-color);
    top: 30%;
    right: 10%;
    transform: rotate(30deg);
}

/* Floating shapes animation */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 3;
    filter: blur(30px);
    opacity: 0.7;
    will-change: transform;
    backface-visibility: hidden;
}

.floating-shape.shape-1 {
    width: 250px;
    height: 250px;
    top: -50px;
    left: -50px;
    background: rgba(0, 168, 232, 0.15);
    animation: float 8s ease-in-out infinite;
}

.floating-shape.shape-2 {
    width: 180px;
    height: 180px;
    bottom: -30px;
    right: -30px;
    background: rgba(0, 86, 179, 0.15);
    animation: float 10s ease-in-out infinite reverse;
}

.floating-shape.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    background: rgba(10, 37, 64, 0.1);
    animation: float 12s ease-in-out infinite 2s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ===== Clients Section ===== */
/* ===== Auto-Scrolling Clients Section ===== */
.clients-section {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: white;
    /* padding: 3rem 0; */
    position: relative;
    overflow: hidden;
}

.client-logos-container {
    display: flex;
    align-items: center;
}

.trusted-by-text {
    flex: 0 0 auto;
    width: 240px;
    padding-right: 2rem;
    text-align: center;
}

.client-logos-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.client-logos-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    will-change: transform;
    padding: 1.5rem 0;
}

.client-logos {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-left: 2rem;
}

.client-logo {
    flex: 0 0 auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) contrast(0.8);
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%) contrast(1);
}

/* Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover */
.client-logos-wrapper:hover .client-logos-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .client-logos {
        gap: 3.5rem;
    }
    .client-logo {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 992px) {
    .trusted-by-text {
        width: 200px;
        padding-right: 1.5rem;
    }
    .client-logos {
        gap: 3rem;
        padding-left: 1.5rem;
    }
    .client-logo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .trusted-by-text {
        display: none; /* Removes "TRUSTED BY" text on mobile */
    }
    .client-logos-wrapper {
        width: 100%;
    }
    .client-logos {
        gap: 2.5rem;
        padding-left: 0;
    }
    .client-logo {
        width: 100px;
        height: 100px;
    }
    .client-logos-track {
    padding: 0;
}
}

@media (max-width: 576px) {
    .client-logos {
        gap: 2rem;
    }
    .client-logo {
        width: 100px;
        height: 100px;
    }
    .client-logos-track {
    padding: 0;
}
}
/* ===== Services Section ===== */
.services-section {
    background-color: white;
    position: relative;
    padding: 5rem 0;
}

.section-header {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    background: rgba(0, 86, 179, 0.1);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 15px;
}

.section-description {
    color: var(--gray-color);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(0, 168, 232, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-base);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover,
.service-link:focus {
    color: var(--secondary-color);
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991.98px) {
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .trust-badge {
        align-self: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .btn {
        width: 100%;
    }
    
    .scroll-down-btn {
        bottom: 20px;
    }
    
    .client-logos {
        gap: 15px;
    }
    
    .client-logo img {
        max-height: 80px;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-banner-img,
    .progress-bar,
    .scroll-down-btn svg,
    .btn {
        animation: none !important;
        transition: none !important;
    }
    
    .carousel-item.active .hero-banner-img {
        transform: scale(1);
    }
    
    .floating-shape {
        display: none;
    }
}

/* Footer */
/* .footer-section {
    background-color: var(--footer-bg);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
} */

.footer-section {
    background: linear-gradient(135deg, #0a2463 0%, #1a1a2e 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 0;
    position: relative;
    /* overflow: hidden; */
}

/* .footer-section {
    background-color: var(--footer-bg);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
} */

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 168, 232, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.footer-heading {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

.footer-brand .brand-text {
    font-size: 1.8rem;
}

.footer-about {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-heading {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}


.footer-contact {
    list-style: none;
    padding: 0;
}

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

.footer-contact i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: white;
}

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

.footer-extra-links a {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 15px;
    font-size: 0.9rem;
}

.footer-extra-links a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px;
    /* bottom: 30px; */
    right: 28px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 25px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats-section .col-6 {
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


/* About Page Specific Styles */
.about-hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-hero-section h1 span {
    color: var(--primary-color);
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--gray-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--gray-color);
}

.about-hero-image {
    position: relative;
    z-index: 1;
}

.about-hero-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* Mission/Vision Section */
.mission-vision-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(0, 168, 232, 0.05) 100%);
    z-index: -1;
}

.mission-vision-card h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Our Story Section */
.story-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-content h3 {
    color: var(--secondary-color);
    font-weight: 700;
}

.milestones {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.milestone-item {
    text-align: center;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 120px;
}

.milestone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.milestone-text {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Values Section */
.value-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-align: center;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--primary-color);
    color: white;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Team Section */
.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    background: rgba(0, 86, 179, 0.8);
    transition: all 0.3s ease;
}

.team-card:hover .social-links {
    bottom: 0;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    color: white;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.team-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* About CTA Section */
.nav-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        margin-top: 0.5rem;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-cta {
        margin: 0.5rem 0 0;
        width: 100%;
        text-align: center;
    }
}

.about-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}
.about-cta-section h2{
   color: var(--light-color);
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .mission-vision-card {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .about-hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .about-hero-section h1 {
        font-size: 2.2rem;
    }
    
    .story-content {
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .about-hero-section h1 {
        font-size: 2rem;
    }
    
    .mission-vision-card {
        padding: 25px;
    }
    
    .milestones {
        justify-content: center;
    }
}


/* Contact Page Specific Styles */
.contact-hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-hero-section h1 span {
    color: var(--primary-color);
}

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

.contact-hero-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* Contact Methods Section */
.contact-method-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

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

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-method-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-method-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.contact-method-card p a {
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.contact-method-card p a:hover {
    color: var(--primary-color);
}

.method-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.method-link:hover {
    color: var(--secondary-color);
}

/* Contact Form Section */
.contact-form-section .section-header {
    text-align: left;
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--secondary-color);
}

.form-control,
.form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    font-size: 0.9rem;
}

.form-check-label a {
    color: var(--primary-color);
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.contact-details {
    margin-top: 30px;
}

.detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.detail-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.detail-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.detail-item a {
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.detail-item a:hover {
    color: var(--primary-color);
}

/* FAQ Section */
.accordion {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    font-weight: 600;
    padding: 15px 20px;
    color: var(--secondary-color);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 86, 179, 0.05);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 20px;
    color: var(--gray-color);
}

/* Status Messages */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .contact-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .contact-info-card {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .contact-hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .contact-hero-section h1 {
        font-size: 2.2rem;
    }
    
    .contact-method-card {
        text-align: center;
    }
    
    .method-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .contact-hero-section h1 {
        font-size: 2rem;
    }
    
    .contact-info-card {
        padding: 25px;
    }
}

/* Services Page Specific Styles */
.services-hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.services-hero-section h1 span {
    color: var(--primary-color);
}

.services-hero-image {
    position: relative;
    z-index: 1;
}

.services-hero-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* Services Navigation */
.services-nav-section {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.services-nav {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    gap: 15px;
}

.service-nav-link {
    padding: 8px 20px;
    border-radius: 30px;
    white-space: nowrap;
    color: var(--gray-color);
    font-weight: 500;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-nav-link:hover,
.service-nav-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Service Detail Sections */
.service-detail-section {
    padding: 80px 0;
}

.service-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: auto;
}

.section-header .section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    background: rgba(0, 86, 179, 0.1);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header .section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-features {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.feature-item i {
    margin-right: 10px;
    margin-top: 3px;
}

.feature-item span {
    flex: 1;
}

.service-benefits,
.service-testimonial,
.security-stats {
    margin-bottom: 20px;
}

.service-packages .package-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-packages .package-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.support-options .option-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.support-options .option-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.security-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.security-stats .stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.cloud-providers .provider-logo {
    background: white;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
}

.cloud-providers .provider-logo img {
    max-height: 100%;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.cloud-providers .provider-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Service CTA Section */
.service-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.service-cta-section h2{
   color: var(--light-color);
}

.service-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .services-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-header .section-title {
        font-size: 2rem;
    }
    
    .service-detail-section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .services-hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .services-hero-section h1 {
        font-size: 2.2rem;
    }
    
    .services-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .services-hero-section h1 {
        font-size: 2rem;
    }
    
    .section-header .section-title {
        font-size: 1.8rem;
    }
    
    .service-nav-link {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .security-stats .stat-number {
        font-size: 1.5rem;
    }
}

/* Service Comparison Table */
.comparison-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 15px;
}

.comparison-table td, .comparison-table th {
    text-align: center;
    vertical-align: middle;
    border: 1px solid #eee;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.comparison-table tr:hover {
    background-color: rgba(0, 86, 179, 0.05);
}

/* Service Wizard */
.wizard-step {
    display: none;
    padding: 20px;
}

.wizard-step.active {
    display: block;
}

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

.wizard-option {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wizard-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.wizard-option i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.wizard-option span {
    font-weight: 500;
    color: var(--secondary-color);
}

.wizard-results {
    text-align: left;
}

.result-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.result-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.result-content h5 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .wizard-options {
        grid-template-columns: 1fr;
    }
    
    .result-item {
        flex-direction: column;
        text-align: center;
    }
    
    .result-icon {
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .comparison-table th, 
    .comparison-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
}

/* ===== Custom Chatbot Styles ===== */
.chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 380px;
  max-height: 65vh;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  border: 1px solid rgba(0, 86, 179, 0.1);
}

.chatbot-widget.active {
  transform: translateY(0);
  opacity: 1;
}

.chatbot-widget.minimized {
  max-height: 50px;
  overflow: hidden;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.chatbot-title i {
  font-size: 1.2rem;
}

.chatbot-controls {
  display: flex;
  gap: 10px;
}

.chatbot-close, .chatbot-minimize {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chatbot-close:hover, .chatbot-minimize:hover {
  background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #f9fafc;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chatbot-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid #eaeef5;
  background: white;
}

.chatbot-input input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #eaeef5;
  border-radius: 8px;
  margin-right: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.chatbot-input input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.chatbot-send {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  width: 45px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.chatbot-send:hover {
  background: var(--secondary-color);
}

.chatbot-footer {
  padding: 10px 20px;
  font-size: 0.7rem;
  color: #7a8aa0;
  text-align: center;
  border-top: 1px solid #eaeef5;
  background: white;
}

.chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.3);
  transition: all 0.3s ease;
}

.chatbot-toggle:hover {
  transform: scale(1.05);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notification-badge.active {
  opacity: 1;
}

/* Message Styles */
.message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.5;
  position: relative;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bot-message {
  background: white;
  border: 1px solid #eaeef5;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-message {
  background: var(--primary-color);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.message-time {
  display: block;
  font-size: 0.7rem;
  margin-top: 5px;
  opacity: 0.7;
}

.bot-message .message-time {
  text-align: left;
  color: #7a8aa0;
}

.user-message .message-time {
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
}

/* Quick Replies */
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-reply {
  background: rgba(0, 86, 179, 0.1);
  border: none;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--primary-color);
  transition: all 0.2s ease;
}

.quick-reply:hover {
  background: rgba(0, 86, 179, 0.2);
}

/* Loading Indicator */
.chatbot-loading {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.loading-dots {
  display: flex;
  gap: 6px;
}

.loading-dots div {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.loading-dots div:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots div:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Service Cards in Chat */
.service-card-chat {
  background: white;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  border: 1px solid #eaeef5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card-chat h5 {
  margin: 0 0 8px 0;
  color: var(--secondary-color);
  font-size: 1rem;
}

.service-card-chat p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}

.service-card-chat a {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .chatbot-widget {
    width: 90vw;
    right: 5vw;
    max-height: 70vh;
  }
  
  .chatbot-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

