/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

/* Typography */
.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    padding-top: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}



/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: clip;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 1rem;
}

.hero-title {
    /* margin: 1rem 0 1rem; */
    font-size: 70px;
    /* line-height: 4rem; */
    font-weight: 800;
    letter-spacing: -.03em;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.hero-title span {
    display: inline;
    /* margin: 1rem 0; */
}

.highlight-wrap {
    display: inline-block;
    margin: 1rem .2em;
    position: relative
}

.highlight {
    display: inline-block;
    padding: .1em .25em;
    border-radius: 12px;
    background: linear-gradient(90deg, #ff5177 0%, #ff4ad1 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 77, 128, .35);
    margin-top: 1rem;
}

.hero-title .hero-title-first-line {
    display: block;
    margin-bottom: 1rem;
}

.hero-subtitle {
    max-width: 600px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.5;
    margin: 3rem auto 2rem;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    margin-top: 10rem;
}

.btn-lg {
    padding: 16px 26px;
    font-size: 16px
}

.btn-primary {
    background: linear-gradient(90deg, #ff3b6a, #ff2fa6);
    color: #fff;
    border: none;
    box-shadow: 0 12px 24px rgba(255, 59, 108, .35);
}

.btn-primary:hover {
    filter: brightness(1.03)
}

.btn-outline {
    background: #fff;
    color: #e11d48;
    border: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06) inset, 0 2px 10px rgba(0, 0, 0, .04);
}

.btn-outline:hover {
    background: #fff6f8
}

.example-btn {
    position: relative;
    padding-right: 46px
}

.example-btn {
    margin-right: 6px
}

.example-btn {
    margin-left: 8px
}

.example-btn .badge {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #ff2fa6;
    color: #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    letter-spacing: .08em;
    box-shadow: 0 6px 12px rgba(255, 47, 166, .35);
}




/* Section 3: The Journey - A Visual Story */
.journey-section {
    /* padding: 100px 0; */
    background: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: clip;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid white;
    box-shadow: 0 0 0 3px #667eea;
    z-index: 2;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-date {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: #e11d48;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.timeline-content p {
    color: #666;
    margin-bottom: 15px;
}

/* Section 4: The Memory Gallery */
.gallery-section {
    padding: 0 0;
    background: #f8f9fa;
    margin-bottom: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: clip;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    /* transition: transform 0.3s ease; */
}

.gallery-image {
    height: 250px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.gallery-caption {
    padding: 20px;
    text-align: center;
    color: #2c3e50;
    font-weight: 500;
}


/* Quote Module */
.quote-module {
    padding: 40px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: 0rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote {
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote::before {
    left: -40px;
}

.quote::after {
    right: -40px;
}

.quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.8;
}



/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.pricing-section .section-title {
    margin-bottom: 60px;
    font-size: 2.8em;
    color: #333;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-plan {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-plan.featured {
    background: linear-gradient(to bottom right, rgba(106, 17, 203, 0.8) 0%, rgba(37, 117, 252, 0.8) 100%);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.pricing-plan.featured .plan-title,
.pricing-plan.featured .plan-price,
.pricing-plan.featured .plan-price span,
.pricing-plan.featured .plan-features li {
    color: #fff;
}

.plan-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #333;
}

.plan-price {
    font-size: 3.5em;
    font-weight: bold;
    color: #2575fc;
    margin-bottom: 15px;
}

.plan-price span {
    font-size: 0.4em;
    font-weight: normal;
    color: #888;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
    position: relative;
    padding-left: 30px;
}

.plan-features li::before {
    content: '✔';
    color: #28a745;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-plan.featured {
        transform: scale(1);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .highlight {
        font-size: 3rem;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .message-card {
        padding: 2rem;
        margin: 0 20px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }

    .quote {
        font-size: 1.2rem;
    }

    .highlight {
        font-size: 3rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .message-card {
        padding: 1.5rem;
    }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* New Footer Styles */
.home-footer {
    background-color: #f8f8f8;
    /* Almost white background */
    color: #333;
    /* Dark text color */
    padding-top: 60px;
    font-size: 1rem;
}

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

.footer-main {
    display: flex;
    gap: 40px;
}

.footer-brand {
    flex: 0 0 33.33%;
    /* One-third width */
}

.footer-brand h3 {
    font-size: 2.2rem;
    color: #2c3e50;
    /* Dark color for heading */
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    /* Keep consistent with section titles */
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    /* Slightly lighter dark color */
    margin-bottom: 20px;
}

.social-links a {
    color: #333;
    /* Dark color for social links */
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
    /* A subtle hover effect */
}

.footer-nav {
    flex: 0 0 66.66%;
    /* Two-thirds width */
    display: flex;
    gap: 80px;
    justify-content: center;
}

.footer-block h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    /* Dark color for heading */
    margin-bottom: 20px;
    position: relative;
}

.footer-block h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #3498db;
    /* Accent color */
}

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

.footer-block ul li {
    margin-bottom: 4px;
}

.footer-block ul li a {
    color: #606060;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-block ul li a:hover {
    color: #3498db;
}

@media (max-width: 768px) {
    .home-footer {
        padding-top: 30px;
        /* Reduced padding for smaller screens */
        padding-bottom: 30px;
        /* Reduced padding for smaller screens */
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand,
    .footer-nav {
        min-width: unset;
        width: 100%;
    }

    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-block {
        flex: 1 1 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
        text-align: center;
    }

    .footer-block h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        margin-top: 20px;
    }
}

.social-links a i.fab {
    font-family: "Font Awesome 5 Brands" !important;
}

.reviews-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    overflow: clip;
}

.review-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.review-author {
    font-weight: 600;
    color: #333;
    text-align: right;
    margin-top: auto;
}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.faq-item[open] {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    padding: 20px;
    cursor: pointer;
    position: relative;
    list-style: none;
    /* Remove default marker */
}

.faq-question::-webkit-details-marker {
    display: none;
    /* For Chrome/Safari */
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

#consent-popup {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: 25rem;
    max-width: calc(100% - 2rem);
    background: #222;
    color: #fff;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
    display: none;
    border-radius: 1rem;
}

#consent-popup p {
    margin: 0 0 0.5rem;
}

.consent-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* Space between buttons */
    margin-top: 1rem;
}

#accept-consent,
#decline-consent {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    /* Adjusted padding for better touch targets */
    cursor: pointer;
    border-radius: 0.5rem;
    /* Rounded corners for buttons */
    font-size: 1rem;
}

#consent-popup button:hover {
    background: #45a049;
}

button#decline-consent {
    background: #808080;
}


#close-consent {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #808080;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 768px) {
    #consent-popup {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        /* More flexible width */
        bottom: 1rem;
        /* Keep it at the bottom */
        padding: 1rem;
    }

    #consent-popup p {
        font-size: 0.9rem;
    }

    .consent-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }

    #accept-consent,
    #decline-consent {
        padding: 0.3rem 2rem;
        font-size: 0.9rem;
    }

    #close-consent {
        top: -0.75rem;
        right: -0.75rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #consent-popup {
        width: calc(100% - 1rem);
        /* Even smaller width for very small screens */
        left: 0.5rem;
        transform: translateX(0);
        bottom: 0.5rem;
        padding: 0.75rem;
    }

    #consent-popup p {
        font-size: 0.85rem;
    }

    #accept-consent,
    #decline-consent {
        padding: 0.3rem 2rem;
        font-size: 0.9rem;
    }

    #close-consent {
        top: -0.5rem;
        right: -0.5rem;
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}