/* ============================= */
/*         General Styling       */
/* ============================= */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --secondary-rgb: 52, 152, 219;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 112px; /* Account for fixed navbar and top bar */
}

/* ============================= */
/*         Top Bar Styling       */
/* ============================= */
.top-bar {
    background: var(--primary);
    padding: 8px 0;
    font-size: 14px;
    z-index: 1031; /* Higher than navbar */
    position: fixed;
    top: 0;
    width: 100%;
    transition: var(--transition);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.top-bar .contact-info,
.top-bar .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 5px 0;
}

.top-bar a {
    color: var(--light);
    text-decoration: none;
    margin: 0 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar .contact-info i,
.top-bar .social-links i {
    margin-right: 5px;
}

/* ============================= */
/*            Navbar             */
/* ============================= */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
    position: fixed;
    top: 47px; /* Height of top bar */
    width: 100%;
    z-index: 1030;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.navbar-custom .navbar-brand i {
    color: var(--secondary);
}

.navbar-custom .nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 8px 16px !important;
    border-radius: 8px;
}

.navbar-custom .nav-link:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.navbar-custom .nav-link:hover:before {
    visibility: visible;
    width: 100%;
}

.navbar-custom .nav-link:hover {
    color: var(--secondary);
    background-color: rgba(var(--secondary-rgb), 0.1);
}

.navbar-custom .nav-link.active {
    color: var(--secondary);
    font-weight: 600;
    background-color: rgba(var(--secondary-rgb), 0.15);
}

.navbar-custom .nav-link i {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Navbar Scroll Effect */
.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
    .navbar-custom {
        top: 0;
        padding: 10px 0;
    }
    
    body {
        padding-top: 76px; /* Adjust for mobile */
    }
    
    .navbar-custom .nav-link {
        margin: 5px 0;
        padding: 10px 15px !important;
    }
    
    .navbar-custom .nav-link:before {
        display: none;
    }
    
    .navbar-custom .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .top-bar {
        display: none; /* Hide top bar on mobile for space */
    }
}

@media (max-width: 768px) {
    .navbar-custom .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-custom .nav-link {
        font-size: 0.95rem;
    }
}

/* ============================= */
/*          Hero Section         */
/* ============================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 60px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    z-index: -3;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(41, 128, 185, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.2) 0%, transparent 50%);
    z-index: -2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(52, 152, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-part {
    display: block;
}

.title-highlight {
    color: #3498db;
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    color: #3498db;
    margin-right: 0.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.hero-scroll-indicator i {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 300px;
    height: 400px;
    z-index: 5;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    animation: float 6s ease-in-out infinite;
    z-index: 6;
    width: 140px;
    text-align: center;
    transition: all 0.4s ease;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.floating-card i {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: #3498db;
    text-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.floating-card span {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 20px;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 160px;
    left: 80px;
    animation-delay: 2s;
}

.card-3 {
    top: 300px;
    left: 0;
    animation-delay: 4s;
}

@keyframes float {
    0% { 
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    }
    50% { 
        transform: translateY(-25px) rotate(3deg);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    }
    100% { 
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    }
}

/* Enhanced particle styles */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
    z-index: -1;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-120px) translateX(30px) rotate(180deg);
        opacity: 0;
    }
}

/* Responsive adjustments for hero section */
@media (min-width: 1400px) {
    .hero-visual {
        right: 8%;
        width: 350px;
    }
    
    .floating-card {
        width: 160px;
        padding: 1.5rem 2rem;
    }
    
    .card-2 {
        left: 100px;
    }
}

@media (max-width: 1199px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 30px;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-badge {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Ensure content doesn't get hidden behind fixed navbar */
html {
    scroll-padding-top: 100px;
}

/* Smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
}

/* Fix for iOS Safari viewport height issue */
.hero {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* ============================= */
/*       Responsive Design       */
/* ============================= */
@media (max-width: 992px) {
    .hero h1, .pricing-hero h1, .contact-hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p, .pricing-hero p, .contact-hero p {
        font-size: 1.2rem;
    }
    
    .services-slider {
        animation: scroll 40s linear infinite;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar .contact-info, 
    .top-bar .social-links {
        justify-content: center;
        margin: 5px 0;
    }
    
    .hero, .pricing-hero, .contact-hero {
        padding-top: 30px;
        min-height: 90vh;
    }
    
    .hero h1, .pricing-hero h1, .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .flip-card {
        width: 250px;
        height: 250px;
    }
    
    .stat-box h2 {
        font-size: 2.5rem;
    }
    
    .contact-info-box {
        margin-top: 30px;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero h1, .pricing-hero h1, .contact-hero h1 {
        font-size: 2rem;
    }
    
    .hero p, .pricing-hero p, .contact-hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .flip-card {
        width: 220px;
        height: 220px;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    
    .feature-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .top-bar a {
        font-size: 0.8rem;
        margin: 0 5px;
    }
}



/* ============================= */
/*        About Section          */
/* ============================= */
.about-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-image-container {
    position: relative;
    padding: 20px;
}

.about-image {
    position: relative;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.about-image:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.about-shape {
    position: absolute;
    border-radius: 20px;
    z-index: 1;
}

.about-shape-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    top: -20px;
    left: -20px;
    animation: float 6s ease-in-out infinite;
}

.about-shape-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    bottom: -15px;
    right: -15px;
    animation: float 8s ease-in-out infinite reverse;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 4;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-badge i {
    color: #e74c3c;
    font-size: 1.2rem;
}

.about-badge span {
    font-weight: 600;
    color: #2c3e50;
}

.about-content {
    color: white;
    padding-left: 30px;
}

.section-subtitle {
    display: inline-block;
    color: #3498db;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.about-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
}

.feature-item:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(41, 128, 185, 0.3));
}

.feature-item:nth-child(1) .feature-icon i {
    color: #3498db;
}

.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.3));
}

.feature-item:nth-child(2) .feature-icon i {
    color: #c9cc2eff;
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(142, 68, 173, 0.3));
}

.feature-item:nth-child(3) .feature-icon i {
    color: #9b59b6;
}

.feature-text h4 {
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.about-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-actions .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-actions .btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
}

.about-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.about-actions .btn-outline-primary {
    border: 2px solid #3498db;
    color: #3498db;
    background: transparent;
}

.about-actions .btn-outline-primary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        padding-left: 0;
        padding-top: 40px;
    }
    
    .about-image-container {
        padding: 15px;
    }
    
    .about-shape-1 {
        width: 120px;
        height: 120px;
    }
    
    .about-shape-2 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .about-actions .btn {
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    .about-badge {
        bottom: 15px;
        right: 15px;
        padding: 8px 15px;
    }
    
    .about-badge i {
        font-size: 1rem;
    }
    
    .about-badge span {
        font-size: 0.9rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
}

/* ============================= */
/*       Services Section        */
/* ============================= */
.services-section {
    background: #f8f9fa;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-wrapper {
    position: relative;
    padding: 20px 0;
}

.services-slider {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 14);
}

.flip-card {
    width: 280px;
    height: 280px;
    perspective: 1000px;
    margin: 0 15px;
    flex-shrink: 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.flip-card-back {
    background: white;
    color: var(--dark);
    transform: rotateY(180deg);
}

.flip-card-back p {
    font-size: 16px;
    line-height: 1.6;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 7))}
}

/* ============================= */
/*        Process Section        */
/* ============================= */
.process-section {
    padding: 100px 0;
    background: white;
}

.process-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

.process-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.process-icon {
    margin-bottom: 20px;
}

.animate-icon {
    transition: var(--transition);
}

.process-box:hover .animate-icon {
    transform: scale(1.1);
    color: var(--secondary) !important;
}

.step-number {
    background: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

/* ============================= */
/*        Stats Section          */
/* ============================= */
.stats-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.stats-section .section-title {
    color: white;
    margin-bottom: 15px;
}

.stats-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-box:hover .stat-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.stat-icon i {
    font-size: 28px;
    color: #3498db;
}

.stat-box:hover .stat-icon i {
    color: white;
}

.stat-value-container {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 5px;
}

.stat-box h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0;
    color: #3498db;
    line-height: 1;
}

.stat-plus {
    font-size: 2.2rem;
    font-weight: 700;
    color: #3498db;
    margin-left: 5px;
    line-height: 1;
    position: relative;
    top: -5px;
}

.stat-box p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.stat-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.stat-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

.stats-cta {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stats-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Animated background shapes */
.stats-shape-1 {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.stats-shape-2 {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .stat-box {
        padding: 25px 15px;
    }
    
    .stat-box h2 {
        font-size: 3rem;
    }
    
    .stat-plus {
        font-size: 1.8rem;
        top: -4px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 80px 0;
    }
    
    .stat-box {
        margin-bottom: 20px;
    }
    
    .stats-cta {
        padding: 20px;
    }
    
    .stats-cta p {
        font-size: 1.1rem;
    }
    
    .stat-box h2 {
        font-size: 2.8rem;
    }
    
    .stat-plus {
        font-size: 1.6rem;
        top: -3px;
    }
}

@media (max-width: 576px) {
    .stat-box h2 {
        font-size: 2.5rem;
    }
    
    .stat-plus {
        font-size: 1.4rem;
        top: -2px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .stat-icon i {
        font-size: 20px;
    }
    
    .stat-box p {
        font-size: 1rem;
    }
    
    .stats-subtitle {
        font-size: 1rem;
    }
    
    .stat-value-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-plus {
        margin-left: 0;
        margin-top: 5px;
    }
}
/* ============================= */
/*       Portfolio Section       */
/* ============================= */
.portfolio-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.portfolio-card {
    transition: var(--transition);
    overflow: hidden;
    border: none;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    overflow: hidden;
    position: relative;
}

.portfolio-img img {
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

/* ============================= */
/*       Contact Section         */
/* ============================= */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-info-card, .contact-form-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    background: var(--secondary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 15px;
    height: 100%;
    padding: 40px !important;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    font-size: 20px;
    width: 30px;
}

.social-icons a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: white;
    transition: var(--transition);
    margin-right: 10px;
}

.social-icons a:hover {
    background: white;
    color: var(--secondary);
    transform: translateY(-5px);
}


/* ============================= */
/*          Brand Section        */
/* ============================= */
.brand-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.brand-logo {
    max-width: 200px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================= */
/*          FAQ Section          */
/* ============================= */
.faq-section {
    padding: 80px 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--secondary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* ============================= */
/*          CTA Section          */
/* ============================= */
.cta-section {
    padding: 80px 0;
}

/* ============================= */
/*            Footer             */
/* ============================= */
.footer {
    background: var(--dark);
    color: white; /* Add this line to set default text color to white */
    padding: 80px 0 30px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: white; /* Ensure heading color is white */
}

.footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7); /* Set default list text color */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--dark); /* Changed to dark for better contrast on light background */
    transition: var(--transition);
    margin-right: 10px;
}

.social-icon:hover {
    background: var(--secondary);
    color: white; /* Ensure text stays visible on hover */
    transform: translateY(-3px);
}

/* Additional rule for any paragraph text in footer */
.footer p {
    color: rgba(255, 255, 255, 0.7);
}
/* ============================= */
/*       Back to Top Button      */
/* ============================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* ============================= */
/*       Responsive Design       */
/* ============================= */
@media (max-width: 992px) {
    .hero h1, .pricing-hero h1, .contact-hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p, .pricing-hero p, .contact-hero p {
        font-size: 1.2rem;
    }
    
    .services-slider {
        animation: scroll 40s linear infinite;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .top-bar .contact-info, 
    .top-bar .social-links {
        text-align: center;
        justify-content: center;
    }
    
    .hero, .pricing-hero, .contact-hero {
        padding-top: 130px;
        min-height: 90vh;
    }
    
    .hero h1, .pricing-hero h1, .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .flip-card {
        width: 250px;
        height: 250px;
    }
    
    .stat-box h2 {
        font-size: 2.5rem;
    }
    
    .contact-info-box {
        margin-top: 30px;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero h1, .pricing-hero h1, .contact-hero h1 {
        font-size: 2rem;
    }
    
    .hero p, .pricing-hero p, .contact-hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .flip-card {
        width: 220px;
        height: 220px;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    
    .feature-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 1200px) {
    .hero-visual {
        display: block;
    }
    
    .hero-content {
        text-align: left;
        margin: 0;
        padding-right: 400px;
    }
    
    .hero-features {
        justify-content: flex-start;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
}

/* ============================= */
/*        Animations             */
/* ============================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-content {
    animation: fadeIn 1.5s ease-in-out;
}

.animate-text {
    animation: slideIn 1.5s ease-in-out;
}

.animate-btn {
    animation: bounceIn 1.5s ease-in-out;
}

/* Alert Styles */
.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
    font-size: 14px;
    font-weight: 600;
    padding: 15px;
    border-radius: 5px;
}