/* Global Styles */
:root {
    --primary-color: #9C528B;    /* Plum */
    --secondary-color: #610F7F;  /* Indigo */
    --accent-color: #B9929F;     /* Rosy Brown */
    --light-color: #E2C2C6;      /* Tea Rose (Light Pink) */
    --dark-color: #610F7F;       /* Indigo */
    --text-color: #333333;       /* Dark Gray */
    --border-color: #E2C2C6;     /* Tea Rose */
    --box-shadow: 0 5px 15px rgba(156, 82, 139, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #610F7F;  /* Indigo */
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: 
        typing 1.5s steps(30, end),
        blink .75s step-end infinite;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: #555;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    background-color: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(156, 82, 139, 0.1);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
#hero {
    padding-top: 150px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: fadeInUp 1s ease-out 0.9s;
    animation-fill-mode: both;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Services Section */
#services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    animation: float 2s ease-in-out infinite;
    box-shadow: 0 15px 30px rgba(156, 82, 139, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(156, 82, 139, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: #555;
}

/* Process Section */
#process {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.process-steps {
    position: relative;
    margin: 60px 0;
    padding: 20px 0;
}

.moving-dot {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50px;
    left: 0;
    z-index: 5;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.7);
    animation: moveDot 8s infinite;
}

@keyframes moveDot {
    0% {
        left: 0;
        transform: translateX(0);
    }
    100% {
        left: 100%;
        transform: translateX(-100%);
    }
}

/* Timeline design for process steps */
.steps-group-1, .steps-group-2 {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 80px;
}

.steps-group-2 {
    margin-bottom: 30px;
}

/* Main timeline line */
.steps-group-1::before, .steps-group-2::before {
    content: '';
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(97, 15, 127, 0.2);
    z-index: 1;
}

/* Progress line animation */
.steps-group-1::after, .steps-group-2::after {
    content: '';
    position: absolute;
    top: 120px;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 2;
}

.steps-group-1.animate-progress::after {
    animation: progressLine 3s ease-out forwards;
    animation-delay: 0.5s;
}

.steps-group-2.animate-progress::after {
    animation: progressLine 3s ease-out forwards;
    animation-delay: 3.5s;
}

@keyframes progressLine {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* Process step styling */
.process-step {
    text-align: center;
    position: relative;
    z-index: 3;
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    padding: 0 10px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInStep 0.6s ease-out forwards;
}

.steps-group-1 .process-step:nth-child(1) { animation-delay: 0.7s; }
.steps-group-1 .process-step:nth-child(2) { animation-delay: 1.4s; }
.steps-group-1 .process-step:nth-child(3) { animation-delay: 2.1s; }
.steps-group-1 .process-step:nth-child(4) { animation-delay: 2.8s; }

.steps-group-2 .process-step:nth-child(1) { animation-delay: 3.7s; }
.steps-group-2 .process-step:nth-child(2) { animation-delay: 4.4s; }
.steps-group-2 .process-step:nth-child(3) { animation-delay: 5.1s; }

@keyframes fadeInStep {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step number styling */
.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 600;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(97, 15, 127, 0.3);
    transform: scale(0);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.steps-group-1 .process-step:nth-child(1) .step-number { animation-delay: 0.8s; }
.steps-group-1 .process-step:nth-child(2) .step-number { animation-delay: 1.5s; }
.steps-group-1 .process-step:nth-child(3) .step-number { animation-delay: 2.2s; }
.steps-group-1 .process-step:nth-child(4) .step-number { animation-delay: 2.9s; }

.steps-group-2 .process-step:nth-child(1) .step-number { animation-delay: 3.8s; }
.steps-group-2 .process-step:nth-child(2) .step-number { animation-delay: 4.5s; }
.steps-group-2 .process-step:nth-child(3) .step-number { animation-delay: 5.2s; }

.steps-group-2 .step-number {
    background-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(156, 82, 139, 0.3);
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Connection nodes */
.process-step::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--light-color);
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    top: 120px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    box-shadow: 0 0 0 4px rgba(97, 15, 127, 0.1);
}

.steps-group-2 .process-step::before {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(156, 82, 139, 0.1);
}

/* Step content styling */
.process-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.process-step p {
    font-size: 14px;
    color: #555;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.steps-group-1 .process-step:nth-child(1) h3,
.steps-group-1 .process-step:nth-child(1) p { animation-delay: 1s; }
.steps-group-1 .process-step:nth-child(2) h3,
.steps-group-1 .process-step:nth-child(2) p { animation-delay: 1.7s; }
.steps-group-1 .process-step:nth-child(3) h3,
.steps-group-1 .process-step:nth-child(3) p { animation-delay: 2.4s; }
.steps-group-1 .process-step:nth-child(4) h3,
.steps-group-1 .process-step:nth-child(4) p { animation-delay: 3.1s; }

.steps-group-2 .process-step:nth-child(1) h3,
.steps-group-2 .process-step:nth-child(1) p { animation-delay: 4s; }
.steps-group-2 .process-step:nth-child(2) h3,
.steps-group-2 .process-step:nth-child(2) p { animation-delay: 4.7s; }
.steps-group-2 .process-step:nth-child(3) h3,
.steps-group-2 .process-step:nth-child(3) p { animation-delay: 5.4s; }

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step icon styling */
.step-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(97, 15, 127, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
    animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.steps-group-1 .process-step:nth-child(1) .step-icon { animation-delay: 0.9s; }
.steps-group-1 .process-step:nth-child(2) .step-icon { animation-delay: 1.6s; }
.steps-group-1 .process-step:nth-child(3) .step-icon { animation-delay: 2.3s; }
.steps-group-1 .process-step:nth-child(4) .step-icon { animation-delay: 3.0s; }

.steps-group-2 .process-step:nth-child(1) .step-icon { animation-delay: 3.9s; }
.steps-group-2 .process-step:nth-child(2) .step-icon { animation-delay: 4.6s; }
.steps-group-2 .process-step:nth-child(3) .step-icon { animation-delay: 5.3s; }

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.steps-group-2 .step-icon {
    background-color: rgba(156, 82, 139, 0.1);
}

.step-icon i {
    font-size: 24px;
    color: var(--secondary-color);
}

.steps-group-2 .step-icon i {
    color: var(--primary-color);
}

/* Hover effects */
.process-step:hover .step-number {
    transform: scale(1.1);
    background-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(185, 146, 159, 0.5);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1) rotate(10deg);
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.steps-group-2 .process-step:hover .step-icon {
    background-color: var(--primary-color);
}

.process-step:hover .step-icon i {
    color: white;
}

.process-step:hover::before {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.2);
    transition: all 0.3s ease;
}

/* Group connector */
.group-connector {
    position: absolute;
    left: 50%;
    bottom: -40px;
    width: 4px;
    height: 40px;
    background-color: var(--secondary-color);
    z-index: 2;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInConnector 0.5s ease-out forwards;
    animation-delay: 3.2s;
}

@keyframes fadeInConnector {
    0% {
        opacity: 0;
        height: 0;
    }
    100% {
        opacity: 1;
        height: 40px;
    }
}

/* Responsive styles for the process section */
@media (max-width: 992px) {
    .steps-group-1, .steps-group-2 {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }
    
    .steps-group-1::before, .steps-group-2::before,
    .steps-group-1::after, .steps-group-2::after {
        display: none;
    }
    
    .process-step {
        margin-bottom: 60px;
        max-width: 300px;
    }
    
    .process-step::before {
        top: auto;
        bottom: -30px;
        left: 50%;
    }
    
    .process-step::after {
        content: '';
        position: absolute;
        width: 4px;
        height: 30px;
        background-color: var(--secondary-color);
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
    }
    
    .steps-group-2 .process-step::after {
        background-color: var(--primary-color);
    }
    
    .process-step:last-child::after {
        display: none;
    }
    
    .group-connector {
        display: none;
    }
}

/* Portfolio Section */
#portfolio {
    background-color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    opacity: 0;
    animation: slideInRight 0.5s forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

/* Testimonials Section */
#testimonials {
    background-color: var(--light-color);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    min-width: 350px;
    flex: 1;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    color: var(--dark-color);
}

.author-info p {
    font-size: 14px;
    color: #555;
}

/* Contact Section */
#contact {
    background-color: white;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-info > p {
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(156, 82, 139, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #B9929F;  /* Rosy Brown */
    transform: translateY(-3px);
}

.social-links a i {
    transition: all 0.3s ease;
}

.social-links a:hover i {
    animation: rotate 0.5s ease;
}

.contact-form {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(156, 82, 139, 0.2);
    border: 2px solid var(--accent-color);
    position: relative;
}

.contact-form::before {
    content: "Start Your Journey";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #9C528B;  /* Plum */
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(156, 82, 139, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    background-color: #F8F0F2;  /* Very light pink */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select {
    color: #9e9e9e;
    font-weight: 400;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    background-color: #9C528B;  /* Plum */
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.contact-form .btn-primary:hover {
    background-color: #B9929F;  /* Rosy Brown */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(185, 146, 159, 0.3);
}

/* Footer */
footer {
    background-color: #610F7F;  /* Indigo from the color palette */
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    background-color: white;
    padding: 8px;
    border-radius: 8px;
}

.footer-logo p {
    color: white;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 0;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-services a {
    color: white;
}

.footer-links a:hover,
.footer-services a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter p {
    color: white;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: white;
}

.footer-tagline {
    margin-top: 15px;
}

.footer-tagline p {
    color: white;
    font-size: 16px;
}

.footer-seo-links {
    margin-top: 15px;
    font-size: 12px;
}

.footer-seo-links a {
    color: white;
    transition: var(--transition);
}

.footer-seo-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 30px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        flex-direction: column;
    }

    .testimonial {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }
}

/* Additional Styles */
.success-message {
    color: #9C528B;
    padding: 10px;
    margin-top: 15px;
    background-color: rgba(156, 82, 139, 0.1);
    border-radius: 5px;
    text-align: center;
}

.error {
    border-color: #dc3545 !important;
}

/* About Section */
#about {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    min-width: 180px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 16px;
    color: var(--text-color);
}

/* Add a pulsing effect to the submit button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(156, 82, 139, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(156, 82, 139, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(156, 82, 139, 0);
    }
}

/* Why Choose Us Section */
#why-choose-us {
    background-color: white;
    position: relative;
}

.why-choose-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-text {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 500;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.benefit-item {
    display: flex;
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 3px solid transparent;
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }
.benefit-item:nth-child(7) { animation-delay: 0.7s; }
.benefit-item:nth-child(8) { animation-delay: 0.8s; }
.benefit-item:nth-child(9) { animation-delay: 0.9s; }
.benefit-item:nth-child(10) { animation-delay: 1s; }
.benefit-item:nth-child(11) { animation-delay: 1.1s; }

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(156, 82, 139, 0.15);
    border-bottom: 3px solid var(--primary-color);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(156, 82, 139, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background-color: rgba(156, 82, 139, 0.2);
    transform: scale(1.1);
}

.benefit-item:hover .benefit-text h3 {
    color: var(--primary-color);
}

.benefit-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.benefit-text p {
    color: #555;
    line-height: 1.6;
}

.benefit-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

/* CTA Banner */
#cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

@keyframes reveal {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
    animation: reveal 1s ease-out;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0;
    animation: reveal 1s ease-out 0.3s forwards;
}

#cta-banner .btn-primary {
    background-color: white;
    color: var(--primary-color);
    font-size: 18px;
    padding: 15px 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: reveal 1s ease-out 0.6s forwards;
}

#cta-banner .btn-primary:hover {
    background-color: white;
    color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(156, 82, 139, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0.8;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    opacity: 1;
    box-shadow: 0 10px 20px rgba(97, 15, 127, 0.4);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(97, 15, 127, 0.5);
}

.process-step:hover .step-icon {
    transform: scale(1.2) rotate(10deg);
}

.process-step:hover::after {
    background-color: var(--accent-color);
    width: 15px;
    height: 15px;
}

@keyframes pulse-scale {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(156, 82, 139, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(156, 82, 139, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(156, 82, 139, 0);
    }
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 600;
    margin: 0 auto 20px;
    animation: pulse-scale 2s infinite;
}

.steps-group-2 .step-number {
    background-color: var(--primary-color);
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.process-step p {
    font-size: 14px;
    color: #555;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(97, 15, 127, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    transition: all 0.3s ease;
}

.steps-group-2 .step-icon {
    background-color: rgba(156, 82, 139, 0.1);
}

.step-icon i {
    font-size: 24px;
    color: var(--secondary-color);
}

.steps-group-2 .step-icon i {
    color: var(--primary-color);
}

.process-step:hover .step-icon {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.steps-group-2 .process-step:hover .step-icon {
    background-color: var(--primary-color);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(185, 146, 159, 0.5);
}

.steps-group-2 .process-step:hover .step-number {
    background-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(185, 146, 159, 0.5);
}

.process-step:hover .step-icon i {
    color: white;
}

/* Login button highlight */
.nav-links li:last-child a {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(123, 31, 162, 0.3);
}

.nav-links li:last-child a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(97, 15, 127, 0.4);
} 