:root {
    --primary-color: #4a6cf7;
    --primary-light: #e6ebff;
    --secondary-color: #6e8efb;
    --dark-color: #1d2238;
    --gray-color: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

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

/* CSS Background Image replacements for better performance */
.css-bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
}

p {
    margin: 15px 0;
    color: var(--gray-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn i {
    margin-right: 8px;
}

/* Section styles */
section {
    padding: 80px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-header h2 {
    margin-bottom: 15px;
}

/* Highlighted steps in the section header */
.steps-highlight {
    position: relative;
    color: var(--primary-color);
    font-weight: 700;
}

.steps-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(74, 108, 247, 0.2), rgba(110, 142, 251, 0.2));
    border-radius: 4px;
    z-index: -1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    transition: all 0.3s ease;
    height: 90px;
    display: flex;
    align-items: center;
}

.navbar.sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    height: 70px;
    animation: slideDown 0.35s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.navbar-brand .logo i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.8rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-links {
    display: flex;
    margin-right: 20px;
}

.navbar-links li {
    margin: 0 15px;
}

.navbar-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.navbar-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-login:hover {
    background-color: var(--primary-light);
}

.btn-login::before {
    content: '\f2f6';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.9rem;
}

.navbar-links a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    transform-origin: left;
}

.navbar-links a:hover {
    color: var(--primary-color);
}

.navbar-links a:hover:after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 190px 0 100px;
    background-color: var(--primary-light);
    background-image: radial-gradient(rgba(255, 255, 255, 0.7) 8%, transparent 8%);
    background-position: 0 0;
    background-size: 20px 20px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    transition: all 0.5s ease;
}

.hero h1 {
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero h1 .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: 5px;
    left: 0;
    background-color: rgba(74, 108, 247, 0.2);
    z-index: -1;
    transform-origin: bottom;
    animation: highlight-pulse 3s ease-in-out infinite;
}

@keyframes highlight-pulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.2;
    }
    50% {
        transform: scaleY(1.5);
        opacity: 0.4;
    }
}

.hero h1 .highlight.text-animate {
    position: relative;
    display: inline-block;
}

.hero h1 .highlight.text-animate::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-light);
    animation: text-reveal 2s cubic-bezier(0.85, 0, 0.15, 1) forwards;
    z-index: 1;
}

@keyframes text-reveal {
    0% {
        width: 100%;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0%;
        left: 100%;
    }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray-color);
    max-width: 90%;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.hero-buttons .btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transition: width 0.4s ease;
}

.hero-buttons .btn-primary:hover::after {
    width: 100%;
}

.hero-note {
    display: flex;
    align-items: center;
    color: var(--gray-color);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.hero-note span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

/* Hero animated background */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(2px);
    animation: float-around 20s linear infinite;
    z-index: 1;
}

.shape-square {
    border-radius: 4px;
}

.shape-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-plus {
    clip-path: polygon(
        40% 0%, 60% 0%, 60% 40%, 100% 40%, 
        100% 60%, 60% 60%, 60% 100%, 40% 100%, 
        40% 60%, 0% 60%, 0% 40%, 40% 40%
    );
}

.shape-wave {
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}

.shape-dot {
    border-radius: 50%;
}

@keyframes float-around {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(100px, -50px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(50px, 100px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(-50px, 30px) rotate(270deg) scale(1.2);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

/* Enhanced Video Container */
.hero-image {
    flex: 1;
    position: relative;
    z-index: 2;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.video-container {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    /* transform: rotateY(-5deg) rotateX(5deg); */
    --x: 50%;
    --y: 50%;
}

.video-container:hover {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: 0 25px 60px rgba(74, 108, 247, 0.3);
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--x) var(--y),
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 50%
    );
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.video-container:hover::after {
    opacity: 1;
}

.video-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 22px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), #e91e63, #4caf50, var(--primary-color));
    background-size: 300% 300%;
    animation: border-shift 8s ease infinite;
}

@keyframes border-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Enhanced Overlay Items */
.hero-overlay {
    position: absolute;
    bottom: -25px;
    /* right: -25px; */
    display: flex;
    gap: 15px;
    z-index: 3;
}

.overlay-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: overlay-item-appear 0.5s forwards;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.overlay-item:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes overlay-item-appear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.overlay-item i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.overlay-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Responsive styles for hero section */
@media screen and (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-note {
        justify-content: center;
    }
    
    .hero-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .video-container {
        transform: rotateY(0) rotateX(0);
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-overlay {
        bottom: -15px;
        right: 0;
    }
    
    .overlay-item {
        padding: 8px 15px;
    }
}

@media screen and (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-overlay {
        flex-direction: column;
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }
}

/* Clients Section */
.clients {
    padding: 40px 0;
    background-color: var(--light-gray);
}

.clients p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--gray-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clients {
    padding: 40px 0;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.clients .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clients p {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    position: relative;
    padding-bottom: 15px;
}

.clients p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.client-logos .logo-item {
    flex: 0 0 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
}

.client-logos img {
    max-height: 45px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    transform: translateY(0);
}

.client-logos .logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
}

.logo-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.logo-item:hover::after {
    width: 50px;
}

/* Enhanced client logos section */
.clients {
    position: relative;
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.1) 50%, rgba(0,0,0,0));
}

.clients::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.1) 50%, rgba(0,0,0,0));
}

/* Responsive styles for client logos */
@media (max-width: 992px) {
    .client-logos {
        gap: 30px;
    }
    
    .client-logos .logo-item {
        flex: 0 0 140px;
        height: 50px;
    }
    
    .client-logos img {
        max-height: 40px;
    }
}

@media (max-width: 768px) {
    .clients {
        padding: 30px 0;
    }
    
    .clients p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .client-logos {
        gap: 20px;
    }
    
    .client-logos .logo-item {
        flex: 0 0 120px;
        height: 45px;
    }
    
    .client-logos img {
        max-height: 35px;
    }
}

@media (max-width: 576px) {
    .client-logos {
        gap: 15px;
        justify-content: center;
    }
    
    .client-logos .logo-item {
        flex: 0 0 110px;
        height: 40px;
    }
    
    .client-logos img {
        max-height: 30px;
    }
    
    .client-logos {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        scrollbar-width: none;
        padding-bottom: 10px;
    }
    
    .client-logos::-webkit-scrollbar {
        display: none;
    }
    
    .client-logos .logo-item {
        flex: 0 0 auto;
        margin: 0 15px;
    }
}

/* Benefits Section */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.benefit-card.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a6cf7' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

/* Steps Progress Indicators */
.steps-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.progress-indicator {
    height: 4px;
    background-color: var(--primary-light);
    width: 80%;
    max-width: 600px;
    border-radius: 2px;
    position: relative;
    margin-bottom: 15px;
}

.progress-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 1.5s ease-in-out;
}

.progress-indicator.active::after {
    width: 100%;
}

.progress-markers {
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 600px;
}

.progress-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary-light);
    color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.progress-marker.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.2);
}

/* Steps Row Layout */
.steps-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    margin-top: 50px;
    flex-wrap: nowrap;
}

/* 3D Card Effects */
.steps-row {
    perspective: 1000px;
}

.step-card {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.6s ease, 
                opacity 0.6s ease;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 60%);
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(5deg);
}

.step-card.active {
    transform: translateY(-10px) scale(1.05) rotateX(5deg);
}

/* Step Card Styles */
.step-card {
    flex: 1;
    min-width: 200px;
    aspect-ratio: 1/1;
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    animation: step-fade-in 0.8s forwards;
    animation-delay: calc(var(--step-index, 0) * 0.2s);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.05;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-card:hover::before {
    opacity: 0.1;
}

.step-card[data-step="1"] {
    --step-index: 0;
}

.step-card[data-step="2"] {
    --step-index: 1;
}

.step-card[data-step="3"] {
    --step-index: 2;
}

.step-card[data-step="4"] {
    --step-index: 3;
}

.step-card[data-step="5"] {
    --step-index: 4;
}

/* Set different colors for each step card */
.step-card[data-color="#4a6cf7"]::before {
    background-color: #4a6cf7;
}

.step-card[data-color="#6e8efb"]::before {
    background-color: #6e8efb;
}

.step-card[data-color="#4CAF50"]::before {
    background-color: #4CAF50;
}

.step-card[data-color="#FF9800"]::before {
    background-color: #FF9800;
}

.step-card[data-color="#E91E63"]::before {
    background-color: #E91E63;
}

.step-number {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.step-content {
    flex: 1;
    margin-top: 20px;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0;
}

.step-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.2);
    opacity: 1;
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
    animation: connector-appear 0.5s forwards;
    animation-delay: calc((var(--step-index, 0) + 0.5) * 0.3s);
}

/* Enhanced Step Icon and Animation Styles */
.step-card {
    overflow: visible !important;
}

.step-card .step-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    color: rgba(0, 0, 0, 0.5);
    opacity: 0.2;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 0;
    pointer-events: none;
}

.step-card[data-color="#4a6cf7"] .step-icon {
    color: #4a6cf7;
    background-color: rgba(74, 108, 247, 0.1);
    box-shadow: 0 0 15px rgba(74, 108, 247, 0.2);
}

.step-card[data-color="#6e8efb"] .step-icon {
    color: #6e8efb;
    background-color: rgba(110, 142, 251, 0.1);
    box-shadow: 0 0 15px rgba(110, 142, 251, 0.2);
}

.step-card[data-color="#4CAF50"] .step-icon {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
}

.step-card[data-color="#FF9800"] .step-icon {
    color: #FF9800;
    background-color: rgba(255, 152, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.2);
}

.step-card[data-color="#E91E63"] .step-icon {
    color: #E91E63;
    background-color: rgba(233, 30, 99, 0.1);
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.2);
}

/* Active state enhanced colors and effects */
.step-card.active[data-color="#4a6cf7"] .step-icon {
    color: #4a6cf7;
    background-color: rgba(74, 108, 247, 0.15);
    box-shadow: 0 0 25px rgba(74, 108, 247, 0.3);
}

.step-card.active[data-color="#6e8efb"] .step-icon {
    color: #6e8efb;
    background-color: rgba(110, 142, 251, 0.15);
    box-shadow: 0 0 25px rgba(110, 142, 251, 0.3);
}

.step-card.active[data-color="#4CAF50"] .step-icon {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.15);
    box-shadow: 0 0 25px rgba(76, 175, 80, 0.3);
}

.step-card.active[data-color="#FF9800"] .step-icon {
    color: #FF9800;
    background-color: rgba(255, 152, 0, 0.15);
    box-shadow: 0 0 25px rgba(255, 152, 0, 0.3);
}

.step-card.active[data-color="#E91E63"] .step-icon {
    color: #E91E63;
    background-color: rgba(233, 30, 99, 0.15);
    box-shadow: 0 0 25px rgba(233, 30, 99, 0.3);
}

/* Better icon visibility and contrast */
.step-card .step-icon {
    opacity: 0.8;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced number indicator */
.step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: all 0.4s ease;
}

.step-card[data-color="#4a6cf7"] .step-number {
    background-color: #4a6cf7;
}

.step-card[data-color="#6e8efb"] .step-number {
    background-color: #6e8efb;
}

.step-card[data-color="#4CAF50"] .step-number {
    background-color: #4CAF50;
}

.step-card[data-color="#FF9800"] .step-number {
    background-color: #FF9800;
}

.step-card[data-color="#E91E63"] .step-number {
    background-color: #E91E63;
}

.step-card:hover .step-number {
    transform: scale(1.15);
}

/* Enhanced Step Connector Styles */
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0;
    transition: all 0.5s ease;
    overflow: hidden;
}

.step-connector i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Gradient border effect for connectors */
.step-connector::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.step-card.active .step-connector {
    opacity: 1;
    animation: pulse-connector 2s infinite;
}

.step-card.active .step-connector::before {
    opacity: 1;
    animation: rotate-gradient 3s linear infinite;
}

@keyframes pulse-connector {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(74, 108, 247, 0);
    }
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Pricing Plans Row Layout */
.pricing-plans {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: nowrap;
    width: 100%;
}

.pricing-plan {
    flex: 1;
    max-width: 350px;
    min-width: 280px;
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1;
    text-align: center;
}

/* Make sure cards stay in one row on medium screens but stack on mobile */
@media screen and (min-width: 1200px) {
    .pricing-plans {
        flex-wrap: nowrap;
        align-items: stretch;
    }
    
    .pricing-plan {
        flex: 1;
        max-width: 350px;
    }
}

@media screen and (max-width: 1199px) {
    .pricing-plans {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pricing-plan {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-plan {
        flex: 0 0 100%;
        max-width: 400px;
        width: 100%;
    }
}

/* Templates Section Styles */
.templates {
    background-color: var(--white);
    padding: 100px 0;
    position: relative;
}

.template-filters {
    display: flex;
    justify-content: center;
    margin: 30px 0 50px;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.template-filters::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-light);
    border-radius: 2px;
}

.template-filter {
    padding: 10px 18px;
    background: none;
    border: 2px solid transparent;
    border-radius: 50px;
    color: var(--gray-color);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.template-filter::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.template-filter.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(74, 108, 247, 0.25);
    transform: translateY(-2px);
}

.template-filter:hover:not(.active) {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

.template-filter:hover::before {
    width: 200px;
    height: 200px;
    opacity: 0.8;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.template-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: translateY(0);
    opacity: 0;
    animation: fade-in-up 0.5s forwards;
}

.template-card:nth-child(1) {
    animation-delay: 0.1s;
}

.template-card:nth-child(2) {
    animation-delay: 0.2s;
}

.template-card:nth-child(3) {
    animation-delay: 0.3s;
}

.template-card:nth-child(4) {
    animation-delay: 0.4s;
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.template-preview {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.template-card:hover .template-preview img {
    transform: scale(1.1);
}

.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.template-card:hover .template-overlay {
    opacity: 1;
}

.template-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: 0.1s;
}

.template-card:hover .template-actions {
    transform: translateY(0);
    opacity: 1;
}

.template-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.template-card:hover .template-badge {
    transform: translateY(0);
    opacity: 1;
}

.template-card h4 {
    font-size: 1.1rem;
    padding: 15px 20px 5px;
    transition: color 0.3s ease;
}

.template-card:hover h4 {
    color: var(--primary-color);
}

.template-card p {
    font-size: 0.9rem;
    padding: 0 20px 15px;
    color: var(--gray-color);
    margin: 0;
}

.templates-more {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--white);
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-white:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.templates .section-header {
    position: relative;
    z-index: 2;
}

.templates .section-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.templates .section-header h2 {
    position: relative;
    display: inline-block;
}

.templates .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.templates .section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
}

/* Testimonials Section Styles */
.testimonials {
    padding: 120px 0;
    background-color: #f8f9ff;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(74, 108, 247, 0.03) 0%, rgba(74, 108, 247, 0.08) 100%);
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234a6cf7' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

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

.testimonials .section-header {
    /* margin-bottom: 70px; */
    position: relative;
    text-align: center;
}

.testimonials .section-header h2 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

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

.testimonials .section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.testimonials .section-header::after {
    content: '"';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 150px;
    font-family: Georgia, serif;
    color: var(--primary-light);
    opacity: 0.4;
    z-index: -1;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 50px;
    perspective: 1000px;
}

.testimonial {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(74, 108, 247, 0.1);
    padding: 50px;
    position: relative;
    display: none;
    transform: translateY(30px) rotateX(10deg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 5px solid var(--primary-color);
    overflow: hidden;
}

.testimonial.active {
    display: block;
    transform: translateY(0) rotateX(0);
    opacity: 1;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: var(--primary-light);
    opacity: 0.15;
    line-height: 0.8;
    z-index: 0;
}

.testimonial::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(30%, 30%);
}

.testimonial-content {
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-color);
    font-style: italic;
    margin-bottom: 30px;
    font-weight: 400;
    position: relative;
    padding-left: 25px;
}

.testimonial-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    height: calc(100% - 20px);
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 30px;
    position: relative;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial.active .testimonial-author img {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 108, 247, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0);
    }
}

.testimonial-author div {
    margin-left: 20px;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
    font-weight: 600;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0;
    opacity: 0.8;
}

.testimonial-rating {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #FFD700;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.testimonial-rating i {
    margin-right: 3px;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s ease;
}

.testimonial.active .testimonial-rating i {
    transform: scale(1);
    opacity: 1;
}

.testimonial.active .testimonial-rating i:nth-child(1) {
    transition-delay: 0.2s;
}

.testimonial.active .testimonial-rating i:nth-child(2) {
    transition-delay: 0.4s;
}

.testimonial.active .testimonial-rating i:nth-child(3) {
    transition-delay: 0.6s;
}

.testimonial.active .testimonial-rating i:nth-child(4) {
    transition-delay: 0.8s;
}

.testimonial.active .testimonial-rating i:nth-child(5) {
    transition-delay: 1s;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    position: relative;
    z-index: 5;
}

.testimonial-prev,
.testimonial-next {
    background-color: var(--white);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 0 20px;
    font-size: 1.1rem;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.testimonial-prev:focus,
.testimonial-next:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--light-gray);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    opacity: 0.5;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(74, 108, 247, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dot:hover {
    opacity: 0.8;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1);
    opacity: 1;
}

.dot.active::before {
    transform: translate(-50%, -50%) scale(1);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Add responsive styles for testimonials */
@media (max-width: 767px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonial {
        padding: 40px 30px;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
        padding-left: 15px;
    }
    
    .testimonial-author img {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-rating {
        top: 20px;
        right: 20px;
        font-size: 1rem;
    }
    
    .testimonial-prev,
    .testimonial-next {
        width: 45px;
        height: 45px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonial {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .testimonial::before {
        font-size: 80px;
        top: 10px;
        left: 10px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        padding-left: 10px;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-author h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-rating {
        top: 15px;
        right: 15px;
        font-size: 0.9rem;
        padding: 3px 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }
}
    
    .testimonial-author img {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-author h4 {
        font-size: 1rem;
    }

.testimonials .section-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonials .section-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50px;
    z-index: -1;
    opacity: 0.1;
    animation: pulse 2s infinite;
}

.testimonials .section-header h2 {
    margin-bottom: 15px;
    position: relative;
}

.testimonials .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.testimonials .section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
}

/* FAQ Section styles */
.faq {
    padding: 100px 0;
    position: relative;
    background-color: var(--light-bg);
    overflow: hidden;
}

.faq-shape-1,
.faq-shape-2 {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.faq-shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.03) 100%);
    top: -200px;
    right: -200px;
}

.faq-shape-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.04) 0%, rgba(var(--primary-rgb), 0.02) 100%);
    bottom: -300px;
    left: -300px;
}

.faq .section-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* FAQ Content */
.faq-content {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-icon {
    margin-right: 15px;
    min-width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-icon line {
    stroke: var(--primary-color);
    stroke-width: 2;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    flex: 1;
    line-height: 1.5;
}

.faq-answer {
    padding: 0 25px 0 65px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    visibility: hidden; /* Add visibility property for better transitions */
}

.faq-answer p {
    margin-bottom: 15px;
    color: var(--gray-color);
    line-height: 1.7;
    font-size: 16px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-item.active .faq-question {
    background-color: rgba(var(--primary-rgb), 0.03);
}

.faq-item.active .faq-icon .vertical {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* A large enough value to fit all content */
    opacity: 1;
    padding-bottom: 25px;
    visibility: visible; /* Make content visible when active */
}

/* Add more spacing when FAQ is active */
.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

/* Contact Prompt in FAQ */
.contact-prompt {
    text-align: center;
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.contact-prompt i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.contact-prompt h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-prompt p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--gray-color);
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6352f5 100%);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
}

/* Newsletter Section styles */
.newsletter {
    padding: 100px 0;
    position: relative;
    background-color: var(--dark-color);
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 32, 80, 0.95) 0%, rgba(22, 22, 60, 0.95) 100%);
    z-index: 0;
}

.newsletter-particles span {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-particles span:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation: floatParticle 8s infinite alternate;
}

.newsletter-particles span:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 15%;
    animation: floatParticle 12s infinite alternate-reverse;
}

.newsletter-particles span:nth-child(3) {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 10%;
    animation: floatParticle 15s infinite alternate;
}

.newsletter-particles span:nth-child(4) {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: 20%;
    animation: floatParticle 10s infinite alternate-reverse;
}

.newsletter-particles span:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 30%;
    left: 50%;
    animation: floatParticle 13s infinite alternate;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(20px, 20px);
    }
}

.newsletter .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.newsletter-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 60px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-icon {
    margin-bottom: 25px;
}

.newsletter-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #6352f5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.newsletter-icon i::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.newsletter h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    width: 100%; /* Ensure full width within the container */
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.input-wrapper {
    flex: 1;
    position: relative;
    min-width: 0; /* Allow flex item to shrink below content size */
}

.input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.newsletter-form input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px 0 0 50px; /* Only round left corners */
    background-color: var(--white);
    color: var(--dark-color);
    font-weight: 500;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: #ffffff; /* Slightly brighter white when focused */
}

.newsletter-form .btn {
    padding: 18px 35px;
    height: 100%;
    min-width: fit-content; /* Ensure button doesn't shrink too much */
    border-radius: 0 50px 50px 0;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content horizontally */
    gap: 10px;
    white-space: nowrap; /* Prevent text wrapping in the button */
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3); /* Add a shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.newsletter-form .btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
}

.newsletter-form .btn:hover i {
    transform: translateX(5px);
}

/* Mobile responsiveness for newsletter form */
@media (max-width: 768px) {
    .newsletter-content {
        padding: 40px 20px; /* Reduce padding on mobile */
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input {
        border-radius: 50px; /* Round all corners on mobile */
        text-align: center;
        padding: 15px 20px; /* Consistent padding */
        font-size: 16px; /* Better readability on mobile */
    }
    
    .input-wrapper i {
        display: none; /* Hide the icon on mobile for better layout */
    }
    
    .newsletter-form .btn {
        border-radius: 50px; /* Round all corners on mobile */
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 16px; /* Consistent font size */
        height: auto; /* Let it size naturally */
    }
}

.newsletter-success {
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.newsletter-success i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.newsletter-success h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.newsletter-success p {
    color: var(--gray-color);
    max-width: 500px;
    margin: 0 auto;
}

/* Form error styling */
.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 8px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

input.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

input.invalid {
    border-color: #e74c3c !important;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

input.shake, button.shake {
    animation: shake 0.5s ease;
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.benefit-item i {
    color: #4CAF50;
    font-size: 1rem;
}

.newsletter-disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Get in Touch / Contact Section styles */
.contact {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    top: -300px;
    right: -300px;
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.02) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    bottom: -250px;
    left: -250px;
    z-index: 0;
}

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

.contact .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
}

/* Contact Image Column */
.contact-image-column {
    flex: 1;
}

.contact-image {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.contact-info {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.contact-info-item:hover i {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(var(--primary-rgb), 0.2);
}

.contact-info-item div {
    flex: 1;
}

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

.contact-info-item p {
    color: var(--gray-color);
    font-size: 1rem;
}

/* Contact Form Column */
.contact-form-column {
    flex: 1;
}

.contact-form {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6352f5 100%);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    margin-top: 10px;
}

.contact-form .btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.contact-form .btn:hover i {
    transform: translateX(5px);
}

/* Contact Form Success Message */
.contact-success-message {
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.5s ease;
}

.contact-success-message i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.contact-success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-success-message p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Form Error Styling */
.contact-form input.error,
.contact-form textarea.error {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.form-group.focused label {
    color: var(--primary-color);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Modal Contact Form */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex !important;
    opacity: 1;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: 20px;
    width: 100%;
    max-width: 550px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10000;
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: var(--light-gray);
}

.modal-close:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal h2 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 28px;
    position: relative;
    display: inline-block;
}

.modal h2:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.modal p {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 16px;
}

.success-message {
    text-align: center;
    padding: 20px;
}

.success-message i {
    font-size: 64px;
    color: #4CAF50;
    margin-bottom: 20px;
    display: inline-block;
    animation: scaleIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.success-message p {
    color: var(--text-muted);
    max-width: 300px;
    margin: 0 auto;
}

/* Footer styles */
.footer {
    background-color: #f8fafc;
    padding: 80px 0 40px;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4a6cf7, #6e8efb, #4a6cf7);
    opacity: 0.8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
    display: inline-block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--text-muted);
    font-size: 16px;
    transition: all 0.3s ease;
}

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

.footer-links h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

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

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links ul li a:hover::before {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* CTA Banner Styles - Enhanced version */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #4a6cf7 0%, #6352f5 100%);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 1;
    margin: 80px 0;
    border-radius: 20px;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

.cta-banner::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    top: -150px;
    right: -100px;
    z-index: -1;
}

.cta-banner h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.cta-banner h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn {
    padding: 18px 40px;
    font-size: 18px;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
    min-width: 220px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.cta-banner .btn-white {
    background-color: #fff;
    color: #4a6cf7;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.cta-banner .btn i {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.cta-banner .btn:hover i {
    transform: translateX(5px);
}

.cta-banner .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.5s ease;
    z-index: -1;
}

.cta-banner .btn:hover::after {
    width: 100%;
}

.cta-banner .floating-shape {
    position: absolute;
    z-index: -1;
    opacity: 0.3;
}

.cta-shape-1 {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: #fff;
    top: 20%;
    left: 10%;
    animation: float-shape 8s ease-in-out infinite;
}

.cta-shape-2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    bottom: 20%;
    right: 10%;
    animation: float-shape 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

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

.back-to-top:hover i {
    transform: translateY(-3px);
}

.back-to-top.clicked {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.6s ease;
}

.page-loader.active {
    opacity: 1;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(74, 108, 247, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}