:root {
    --primary-color: #FF4B91;
    --secondary-color: #FF8DC7;
    --accent-color: #FFACC7;
    --text-color: #333333;
    --light-bg: #FFF5F7;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 4px 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: var(--text-color);
    overflow-x: hidden;
}

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

/* Navigation */
.main-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.sign-up-btn {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 30px;
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
    transform: scale(1.1);
    animation: zoomBackground 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    padding-top: 80px;
    width: 100%;
    max-width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 0.6s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px auto 0;
    max-width: 500px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.cta-button {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    min-width: 200px;
}

.cta-button.primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 75, 145, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 145, 0.6);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* CTA Button Styles */
.cta-button.primary a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-tap-highlight-color: transparent; /* Removes tap highlight on mobile */
}

.cta-button.primary a:active,
.cta-button.primary a:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Optional: If you want to keep focus outline for accessibility but hide it visually */
.cta-button.primary a:focus:not(:focus-visible) {
    outline: none;
}

/* Animations */
@keyframes zoomBackground {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1.2);
    }
}

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
        min-height: 600px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0;
        margin-top: 30px;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        min-width: unset;
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 75vh;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .cta-button {
        max-width: 240px;
        padding: 12px 24px;
    }
}

/* Additional Styles */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
    text-align: center;
}

.couple-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.app-download {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.app-download::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

.app-container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.app-content {
    flex: 1;
}

.app-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.app-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.app-image {
    flex: 1;
    position: relative;
    text-align: right;
}

.app-image img {
    max-width: 300px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.app-buttons {
    display: flex;
    gap: 20px;
}

.app-store-btn,
.play-store-btn {
    background: var(--white);
    padding: 12px 25px;
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-store-btn:hover,
.play-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-store-btn img,
.play-store-btn img {
    height: 35px;
}

/* Mobile Responsiveness for App Section */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .app-content h2 {
        font-size: 2rem;
    }

    .app-image {
        text-align: center;
    }

    .app-image img {
        max-width: 250px;
    }

    .app-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .app-content h2 {
        font-size: 1.8rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-store-btn,
    .play-store-btn {
        width: 100%;
        justify-content: center;
    }
}

footer {
    background: var(--text-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Why Choose Us Section - New Design */
.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.why-choose-us .section-title {
    margin-bottom: 80px;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    position: relative;
}

.benefit-card {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.benefit-content h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.benefit-content p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
}

.stats-overlay {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient);
    padding: 40px;
    border-radius: 20px;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-highlight {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .stats-overlay {
        position: static;
        transform: none;
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .benefit-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Welcome Section */
.welcome-section {
    padding: 100px 0;
    background: var(--white);
}

.welcome-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

.welcome-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
}

.welcome-quote {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    color: var(--white);
    text-align: center;
}

.welcome-quote i {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.welcome-quote p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.welcome-content {
    padding-right: 40px;
}

.welcome-badge {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.welcome-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.welcome-feature {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition);
}

.welcome-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.welcome-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.welcome-stats {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.welcome-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.welcome-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Animation for hero pattern */
@keyframes moveBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

/* Mobile Responsiveness Updates */
@media (max-width: 1024px) {
    .welcome-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome-content {
        padding-right: 0;
        text-align: center;
    }

    .welcome-image {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .welcome-image {
        max-width: 100%;
        height: 400px;
    }

    .welcome-image img {
        height: 400px;
    }

    .welcome-quote {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .welcome-quote p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .welcome-image {
        height: 300px;
    }

    .welcome-image img {
        height: 300px;
    }
}

/* FAQ Section Improvements */
.faq-section {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 75, 145, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 30px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 30px 30px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-container {
        padding: 0 20px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px 25px;
    }
}

/* Update existing mobile styles and add new ones */

/* Base mobile improvements */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    /* Navigation improvements */
    .nav-container {
        padding: 0 15px;
        position: relative;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 15px; /* Align with container padding */
        width: 220px;
        background: var(--white);
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links ul {
        flex-direction: column;
        gap: 5px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 15px;
        font-size: 0.95rem;
        color: var(--text-color);
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .nav-links a:not(.sign-up-btn):hover {
        background: var(--light-bg);
    }

    .sign-up-btn {
        background: var(--gradient);
        color: var(--white);
        text-align: center;
        margin-top: 5px;
    }

    /* Menu overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Add arrow to dropdown */
    .nav-links::before {
        content: '';
        position: absolute;
        top: -6px;
        right: 15px;
        width: 12px;
        height: 12px;
        background: var(--white);
        transform: rotate(45deg);
        box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.04);
    }

    /* Hero section improvements */
    .hero-content {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 25px;
    }

    /* Welcome section adjustments */
    .welcome-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .welcome-image {
        height: 300px;
    }

    .welcome-content {
        padding: 0;
    }

    .welcome-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Features section adjustments */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    /* How it works adjustments */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* FAQ adjustments */
    .faq-container {
        padding: 0 10px;
    }

    /* App download adjustments */
    .app-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .app-buttons {
        justify-content: center;
        gap: 15px;
    }

    .app-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        font-size: 1rem;
        padding: 12px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .welcome-title {
        font-size: 1.6rem;
    }

    .welcome-text {
        font-size: 0.95rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-buttons img {
        height: 45px;
    }

    .nav-links {
        width: 200px;
        right: 10px;
    }

    .nav-links a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Landscape mode */
@media (max-height: 600px) and (orientation: landscape) {
    .nav-links.active {
        height: 100vh;
        overflow-y: auto;
    }

    .hero {
        height: 100vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 80px 15px 40px;
    }
}

/* Mobile Navigation Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.mobile-menu-btn i {
    font-size: 24px;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-left: 15px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }

    .mobile-menu-btn:hover {
        background-color: var(--light-bg);
    }

    .mobile-menu-btn i {
        font-size: 20px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: 0;
        width: 250px;
        background: var(--white);
        padding: 15px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        height: auto;
        border-radius: 0 0 0 12px;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links ul {
        flex-direction: column;
        gap: 8px;
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        font-size: 0.95rem;
        color: var(--text-color);
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .nav-links a:not(.sign-up-btn):hover {
        background: var(--light-bg);
    }

    .sign-up-btn {
        margin: 8px 0;
        text-align: center;
        padding: 12px !important;
    }

    /* Menu overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Smaller screens */
@media (max-width: 480px) {
    .nav-links {
        width: 200px;
    }

    .nav-links a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Why Choose HeartSync Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

/* Mobile Responsiveness for Features Section */
@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .feature-card {
        padding: 25px 20px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        margin: 0;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.95rem;
        margin: 0;
    }

    /* Remove hover effects on mobile */
    .feature-card:hover {
        transform: none;
    }

    .feature-card::before {
        display: none;
    }

    .feature-card:hover .feature-icon {
        transform: none;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 40px 0;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .feature-icon i {
        font-size: 1.2rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }
}

/* Common section title styling */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Common section title styling - Mobile improvements */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
        padding-bottom: 15px;
        line-height: 1.2;
    }
}

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

.steps-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.step-item {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
    transition: var(--transition);
}

.step-item:nth-child(even) {
    grid-template-columns: 400px 1fr;
}

.step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.step-number span {
    width: 35px;
    height: 35px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.step-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

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

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

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .step-item,
    .step-item:nth-child(even) {
        grid-template-columns: 1fr 300px;
        gap: 30px;
        padding: 30px;
    }

    .step-content h3 {
        font-size: 1.6rem;
    }
}

/* How It Works Section - Mobile improvements */
@media (max-width: 768px) {
    .how-it-works {
        padding: 50px 0;
    }

    .steps-container {
        padding: 0 15px;
    }

    .step-item,
    .step-item:nth-child(even) {
        grid-template-columns: 1fr;
        padding: 20px;
        margin-bottom: 30px;
        background: var(--white);
    }

    .step-content {
        order: 2;
        text-align: left;
        padding: 0;
    }

    .step-image {
        order: 1;
        height: 200px;
        margin: -20px -20px 20px -20px;
        border-radius: 20px 20px 0 0;
    }

    /* Improved step number styling for mobile */
    .step-number {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
        padding: 8px 16px;
        background: var(--light-bg);
        border-radius: 30px;
        width: fit-content;
    }

    .step-number span {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        background: var(--gradient);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Step text styling */
    .step-number-text {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--primary-color);
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .step-content h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .step-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .step-item,
    .step-item:nth-child(even) {
        padding: 15px;
        margin-bottom: 20px;
    }

    .step-image {
        height: 180px;
        margin: -15px -15px 15px -15px;
    }

    /* Further adjustments for smaller screens */
    .step-number {
        padding: 6px 12px;
        gap: 8px;
    }

    .step-number span {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }

    .step-number-text {
        font-size: 0.8rem;
    }

    .step-content h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .step-content p {
        font-size: 0.9rem;
    }
}