/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    background-color: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.8;
    font-weight: 400;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

h2 {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

h3 {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 600;
    color: #1a1a1a;
}

h4 {
    font-weight: 600;
    color: #714b67;
}

p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
}

/* ===== CONTAINER ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: "Cairo", sans-serif;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn.primary {
    background: linear-gradient(135deg, #714b67, #875a7b);
    color: white;
}

.btn.primary:hover {
    background: linear-gradient(135deg, #5a3d54, #714b67);
}

.btn.outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn.outline:hover {
    background: white;
    color: #714b67;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(113, 75, 103, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(113, 75, 103, 0);
    }
}

.fade-up {
    animation: fadeUp 0.8s ease forwards;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #714b67 0%, #875a7b 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

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

.hero-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse-glow 2s infinite;
    color: white;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

.about h2 {
    color: #714b67;
    margin-bottom: 30px;
}

.about p {
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
    color: #555555;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.features h2 {
    color: #714b67;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 230px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #714b67, #875a7b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    transform: scaleX(1);
}

.card i {
    font-size: 48px;
    color: #714b67;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    color: #1a1a1a;
    margin-bottom: 12px;
    font-size: 20px;
}

.card p {
    color: #888888;
    font-size: 15px;
}

/* Card Static Styles */
.card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 320px;
    /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card i {
    font-size: 48px;
    color: #714b67;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card:hover i {
    transform: scale(1.1);
}

.card h3 {
    color: #1a1a1a;
    margin-bottom: 12px;
    font-size: 20px;
}

.card p {
    color: #888888;
    font-size: 15px;
    line-height: 1.6;
}


/* ===== VALUES SECTION ===== */
.values {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

.values h2 {
    color: #714b67;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    background: #f8f9fa;
    padding: 45px 35px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.value-card i {
    font-size: 48px;
    color: #714b67;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.value-card:hover i {
    transform: scale(1.15);
}

.value-card h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 22px;
}

.value-card p {
    color: #555555;
    font-size: 16px;
}

/* ===== HOW WE HELP SECTION ===== */
.how-we-help {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.how-we-help h2 {
    color: #714b67;
    margin-bottom: 15px;
}

.how-we-help .subtitle {
    color: #555555;
    margin-bottom: 60px;
    font-size: 18px;
    font-weight: 500;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.help-card {
    background: white;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: right;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 4px solid transparent;
}

.help-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-right-color: #714b67;
}

.help-card i {
    font-size: 48px;
    color: #714b67;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

.help-card:hover i {
    transform: scale(1.1);
}

.help-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #714b67;
}

.help-card ul {
    list-style: none;
    margin-bottom: 25px;
    text-align: right;
}

.help-card ul li {
    margin-bottom: 12px;
    color: #555555;
    font-size: 15px;
    position: relative;
    padding-right: 20px;
}

.help-card ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #714b67;
    font-weight: bold;
}

.help-card .highlight {
    color: #714b67;
    font-weight: 700;
    text-align: center;
    font-size: 16px;
    padding: 15px;
    background: rgba(113, 75, 103, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.help-card:hover .highlight {
    background: rgba(113, 75, 103, 0.1);
}

/* ===== CLIENTS CAROUSEL ===== */
.clients {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

.clients h2 {
    color: #714b67;
    margin-bottom: 15px;
}

.clients .subtitle {
    color: #555555;
    margin-bottom: 50px;
    font-size: 18px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    flex: 1;
    max-width: 900px;
}

.carousel::-webkit-scrollbar {
    height: 6px;
}

.carousel::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

.carousel::-webkit-scrollbar-thumb {
    background: #714b67;
    border-radius: 10px;
}

.client {
    min-width: 240px;
    background: #f8f9fa;
    padding: 35px 25px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.client:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: white;
}

.client i {
    font-size: 40px;
    color: #714b67;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.client:hover i {
    transform: scale(1.15);
}

.carousel-btn {
    background: #714b67;
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 18px;
}

.carousel-btn:hover {
    background: #875a7b;
    transform: scale(1.1);
}

.carousel-btn.prev {
    order: -1;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.testimonials h2 {
    color: #714b67;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    text-align: right;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 48px;
    color: #714b67;
    opacity: 0.2;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 25px;
    color: #555555;
    font-size: 16px;
    line-height: 1.8;
}

.testimonial h4 {
    color: #714b67;
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial span {
    color: #888888;
    font-size: 14px;
    font-weight: 500;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

.faq h2 {
    color: #714b67;
    margin-bottom: 60px;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: right;
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: white;
}

.faq-item h3 {
    color: #714b67;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.faq-item h3::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #714b67;
    color: white;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.faq-item.active h3::before {
    content: '−';
    transform: rotate(180deg);
}

.faq-item p {
    color: #555555;
    font-size: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active p {
    max-height: 500px;
    margin-top: 15px;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
    background: linear-gradient(135deg, #714b67 0%, #875a7b 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 20px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {

    .features-grid,
    .values-grid,
    .help-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .value-card,
    .help-card,
    .testimonial {
        padding: 30px 20px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .final-cta {
        padding: 60px 20px;
    }

    .final-cta h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .carousel-wrapper {
        gap: 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 1rem;
    }

    .hero,
    .about,
    .features,
    .values,
    .how-we-help,
    .clients,
    .testimonials,
    .faq,
    .final-cta {
        padding: 50px 15px;
    }

    .card,
    .value-card,
    .help-card,
    .testimonial {
        padding: 25px 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}