/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-900: #4C1D95;
    --purple-700: #6D28D9;
    --purple-500: #8B5CF6;
    --purple-300: #C4B5FD;
    --pink-500: #EC4899;
    --blue-500: #3B82F6;
    --gray-900: #0F172A;
    --gray-800: #1E293B;
    --gray-100: #F1F5F9;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gray-900);
    color: var(--gray-100);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--gray-100);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--purple-300);
    background: rgba(139, 92, 246, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--purple-500);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-top: 80px;
    padding-bottom: 6rem;
    /* Slightly reduced for mobile but still enough for scroll indicator */
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        /* More space for fixed navbar */
        padding-bottom: 4rem;
        min-height: auto;
        /* Allow content to dictate height if needed */
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, #1E293B 0%, #0F172A 100%);
}

#particles {
    position: absolute;
    inset: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--purple-700);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--pink-500);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--blue-500);
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }

    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--purple-500);
    border-radius: 50px;
    color: var(--purple-300);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 50%, var(--blue-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--purple-300);
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

/* --- SLOGAN LIFECYCLE DESIGN --- */
.slogan-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 1.5rem 2.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.3s ease;
}

.slogan-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-100);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.slogan-item:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.slogan-item i {
    font-size: 1.2rem;
    color: var(--purple-500);
    transition: all 0.3s ease;
}

.slogan-item:hover i {
    color: var(--pink-500);
    transform: scale(1.2) rotate(10deg);
}

.slogan-arrow {
    color: var(--purple-500);
    font-size: 0.9rem;
    opacity: 0.5;
    animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(0);
    }

    50% {
        opacity: 0.8;
        transform: translateX(3px);
    }
}

/* Stagger animations for arrows */
.slogan-arrow:nth-child(2) {
    animation-delay: 0s;
}

.slogan-arrow:nth-child(4) {
    animation-delay: 0.5s;
}

.slogan-arrow:nth-child(6) {
    animation-delay: 1s;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .slogan-container {
        gap: 1rem;
        padding: 1rem;
    }

    .slogan-item {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .slogan-arrow {
        display: none;
        /* Hide arrows on very small screens if needed, or keep them */
    }
}


.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1.4s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple-300);
    border: 2px solid var(--purple-500);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--pink-500);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    animation: fadeInUp 1.6s ease;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--purple-500);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    border-radius: 12px;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-300), var(--pink-500));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--purple-300);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 1rem;
    }

    .mouse {
        width: 20px;
        height: 32px;
    }
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--purple-500);
    border-radius: 15px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--purple-500);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Histoire Section */
.histoire-section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--purple-500);
    border-radius: 50px;
    color: var(--purple-300);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--purple-300), var(--pink-500));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--purple-300);
}

.histoire-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.image-glow {
    position: absolute;
    inset: -50%;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    filter: blur(40px);
    opacity: 0.3;
    z-index: -1;
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--purple-500);
}

.histoire-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--purple-300);
}

.quote {
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--purple-500);
    border-radius: 12px;
    position: relative;
    font-style: italic;
}

.quote-icon {
    color: var(--purple-500);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.highlight-text {
    font-size: 1.1rem;
    color: var(--purple-300);
}

.story-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-100);
}

.sub-heading {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--purple-300);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.expertise-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--purple-500);
    border-radius: 50px;
    font-weight: 600;
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    background: rgba(30, 41, 59, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple-500);
    z-index: 2;
    /* Bring hovered card to front */
}

.service-card:hover .card-glow {
    opacity: 0.15;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--purple-500), transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

.card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    border-radius: 16px;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--purple-300);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--purple-300);
}

.card-features i {
    color: var(--purple-500);
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--purple-500);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-btn:hover {
    gap: 1rem;
    color: var(--pink-500);
}

.service-card-highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
    border: 2px solid var(--purple-500);
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    border-radius: 12px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--purple-300);
    font-size: 0.95rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: var(--purple-300);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple-500);
}

.contact-form-wrapper {
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--purple-300);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: var(--gray-100);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple-500);
    background: rgba(139, 92, 246, 0.15);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--purple-300);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--purple-300);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--gray-100);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--purple-500);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    color: var(--purple-300);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--purple-500);
    color: white;
}

/* Animations */
@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);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        /* Adjusted to match navbar height */
        left: -100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: left 0.3s ease;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .histoire-content,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .histoire-content {
        display: flex;
        /* Changed to flex column to reverse order if needed */
        flex-direction: column-reverse;
    }

    .image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Keep services grid auto-fit but with smaller min width */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    translate: 0 30px;
    transition: opacity 0.6s ease, translate 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    translate: 0 0;
}

/* Ensure service cards transition works properly */
.service-card {
    transition: all 0.3s ease, opacity 0.6s ease, translate 0.6s ease;
}


/* Fix select option visibility */
select option {
    background: var(--gray-800);
    color: var(--gray-100);
}

select {
    color: var(--gray-100) !important;
}

/* Reviews Section */
.reviews-section {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, transparent 100%);
}

.reviews-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.reviews-summary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    position: sticky;
    top: 100px;
}

.rating-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--gray-100);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars {
    color: #FBBF24;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-count {
    color: var(--purple-300);
    margin-bottom: 2rem;
    font-weight: 500;
}

.review-cta-box {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 1.5rem;
}

.review-cta-box p {
    color: var(--gray-100);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-500);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: var(--purple-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.review-meta h4 {
    color: var(--gray-100);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--purple-300);
}

.review-stars {
    color: #FBBF24;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.review-text {
    color: var(--gray-100);
    /* Lighter text for better readability */
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    opacity: 0.9;
}

.loading-reviews {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--purple-300);
    font-size: 1.2rem;
}

@media (max-width: 968px) {
    .reviews-content-wrapper {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}