/* Hero Section */

.hero-section {
    padding: 120px 0;
    position: relative;
    /* overflow: hidden; */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero-content {
    color: white;
    position: relative;
    z-index: 1;
    text-align: center;
    align-content: center;
    cursor: default;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
}

.hero-title .hero-line {
  display: block;
  white-space: nowrap;
  font-size: inherit;
  font-weight: inherit;
  margin-bottom: 6px;
}

.hero-title .letter {
  opacity: 0;
  transform: translateY(30px);
  display: inline-block;
  transition: opacity 0.4s, transform 0.4s;
  white-space: pre;
}

.hero-title .letter.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    text-align: center;
}

.hero-buttons {
    justify-self: center;
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
}

.hero-buttons .btn-light {
    color: var(--primary-color);
    font-weight: 600;

}

.hero-container {
    display: flex;
    flex-direction: row;
    gap: 100px;
}

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

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 650px;
    margin: 0 auto;
}

.phone-outline {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    padding: 15px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: var(--light-gray);
    position: relative;
}

.mockup-content {
    padding: 20px;
}

.mockup-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.mockup-logo {
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mockup-profile {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.mockup-card {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.mockup-card-header {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 72px;
    position: relative;
}

.mockup-card-header:before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -50px;
    right: -50px;
}

.mockup-card-header:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -30px;
    left: 30px;
}

.mockup-card-content {
    padding: 20px;
}

.mockup-card-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.mockup-card-subtitle {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.mockup-card-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.mockup-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(59, 13, 139, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

.mockup-actions {
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
}

.mockup-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mockup-btn:hover {
    transform: translateY(-3px);
}

.mockup-btn-dislike {
    background: white;
    color: #F44336;
    border: 2px solid #F44336;
}

.mockup-btn-like {
    background: white;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
    background: white;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -50px;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 20%;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.section-title h2 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
}

.section-title p {
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

.feature-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    align-items: center;
}

.feature-card::before,
.feature-card::after {
    position: absolute;
    content: "";
    width: 22%;
    height: 22%;
    background-color: #ece6fa;
    transition: all 0.5s;
    z-index: 1;
}

.feature-card::before {
    top: 0;
    right: 0;
    border-radius: 0 15px 0 100%;
}

.feature-card::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100% 0 15px;
}

.feature-card:hover {
    box-shadow: 0 8px 32px 0 rgba(127, 0, 255, 0.16);
}

.feature-card:hover::before,
.feature-card:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: #ece6fa;
    /* Or use a theme color like var(--secondary-light) */
    opacity: 1;
    transition: all 0.5s;
}

.feature-card>* {
    position: relative;
    z-index: 2;
}

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

.feature-card:before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(59, 13, 139, 0.05);
    z-index: -1;
}

.feature-icon {
    justify-self: center;
    align-self: center;
}

.feature-icon:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
}

.feature-icon:hover {
    transform: scale(1.1);
    transition: 0.5s;

}

.feature-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-text {
    color: #353333;
    margin-bottom: 0;
}


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

.step-card-container {
    display: flex;
    flex-direction: row;
    align-items: center;
   justify-content: space-between;
    /* 300px gap between card and image */
    margin-bottom: 20%;
    height: 300px;
    /* Set container height */
}

.step-card-container-2 {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    /* 300px gap between card and image */
    margin-bottom: 20%;
    height: 300px;
    /* Set container height */
}

.step-card {
    padding: 30px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.steps {
    margin-top: 100px;
}

.step-card-img {
    height: 140%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card-img img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-left: 30px;
}

.step-text {
    color: #353333;
}

/* Testimonials Section */
.testimonials {
    padding-bottom: 200px;
    background: white;
    position: relative;
    justify-items: center;
}

.testimonial-row {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 70px;
}

.testimonial-row::-webkit-scrollbar {
    width: 0;
}

.testimonial-card {
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 20px;
    background: white;
    position: relative;
}

.testimonial-card:before {
    content: '\201C';
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 60px;
    color: #fff;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 15px;
}

.testimonial-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-info p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Professional Testimonial Card */
/* --- Testimonial Pro Card Styles for Home Page --- */
.testimonial-pro-card {
    background-color: #fdf6f3;
    border-radius: 16px;
    padding: 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    width: 400px;
}

/* Header with image and info */
.testimonial-pro-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    text-align: center;
}

.testimonial-pro-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 4px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-pro-avatar.initials {
    background-color: #d3a079;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;

}

.testimonial-pro-header h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.testimonial-pro-header small {
    font-size: 0.875rem;
    color: #888;
}

.testimonial-pro-body {
    font-size: 0.95rem;
    color: #4d4d4d;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #d3a079;

}

.testimonial-pro-text {
    font-style: italic;
    position: relative;
    background-color: rgb(181, 167, 147);
    border-radius: 15px;
    padding: 15px;
    color: #fff;
}

.testimonial-pro-text::before {
    font-size: 40px;
    position: absolute;
    left: -25px;
    top: -10px;
    color: #d3a079;
}

.badge.bg-primary {
    background-color: #d3a079 !important;
    color: #fff;
}

.badge.bg-success {
    background-color: #8bc49c !important;
    color: #fff;
}

.badge.bg-light.text-dark {
    background-color: #fff3e9;
    color: #555;
    border: 1px solid #ffe5d0;
}

.section-title h2 {
    font-family: 'Georgia', serif;
    font-weight: 600;
    color: #3e3e3e;
}

.section-title p {
    color: #777;
    font-size: 1rem;
}

.nav-pills .nav-link {
    background-color: #fff3e9;
    color: #d3a079;
    border: 1px solid #ffe5d0;
    margin: 0 5px;
    border-radius: 30px;
    padding: 8px 20px;
}

.nav-pills .nav-link.active {
    background-color: #d3a079;
    color: #fff;
}

.nav-pills .nav-link.active {
    color: #fff !important;
}

.nav-pills .nav-link:hover {
    color: #674a34 !important;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    opacity: 0.1;
    background: white;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons .btn {
    margin: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

/* Responsive */
@media (width>=320px) and (width<=720px) {
    .hero-section {
        padding: 80px 0;
        display: flex;
        flex-direction: column;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-mockup {
        margin-top: 50px;
    }

    .steps {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-items: center;
    }

    .step-card-container,
    .step-card-container-2 {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
        flex-wrap: wrap;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        align-content: center;
        justify-content: center;

    }

    .step-card-img {
        width: 70%;
        height: 70%;
        object-fit: cover;
    }

    .step-card {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .step-card-text {
        width: 70%;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (width>=720) and (width<=1024) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .feature-card {
        display: grid;
        gap: 20px;
    }

    .hero-mockup {
        margin-top: 50px;
    }


    .steps {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-items: center;
        width: 90%;
    }

    .step-card-container,
    .step-card-container-2 {
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        align-content: center;
        justify-content: center;
        gap: 10%;
    }

    .step-card-img {
        width: 70%;
        height: 70%;
        object-fit: cover;
    }

    .step-card {
      
    }

    .step-card-text {
        width: 70%;
    }

    .cta-title {
        font-size: 2rem;
    }
}