:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #dcfce7;
    --secondary: #f97316;
    --secondary-dark: #ea580c;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    direction: rtl;
    line-height: 1.7; /* Increased for Tajawal for better readability */
    font-size: 1.05rem; /* Slight bump for Tajawal */
    overflow-x: hidden;
}

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

/* Typography & Global Styles */
h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.5px; /* Makes Tajawal headings look much more unified and modern */
}

span {
    color: var(--primary);
}

.w-full { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    gap: 10px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.2rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Moved to left to avoid text overlap in RTL */
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    font-size: 1.8rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px; /* Lift above the sticky CTA on mobile */
        left: 20px;
        padding: 8px 15px;
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Trust Features Fix */
.trust-features {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.t-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.t-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.t-item:hover {
    transform: translateY(-5px);
}

.t-item i {
    font-size: 2.2rem;
    color: var(--primary);
    background: var(--primary-light);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 5px;
}

.t-item span {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .t-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .t-item {
        padding: 10px;
    }
    .t-item i {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    .t-item span {
        font-size: 0.95rem;
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo i { font-size: 1.8rem; }

/* Hero Section */
.hero {
    padding: 60px 0;
    background: radial-gradient(circle at top right, #dcfce7 0%, transparent 40%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -15px;
}

.trust-badge p {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.card-morph {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 20px;
}

.promo-box {
    position: absolute;
    bottom: 20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--white);
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.benefit-card {
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.benefit-card:hover, .benefit-card.active {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-10px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
}

.benefit-card.active .icon-circle {
    background: var(--primary);
    color: var(--white);
}

/* Integrated System */
.system-details {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--white), var(--bg-light));
}

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

.label {
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.system-info h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.check-list {
    list-style: none;
    margin-bottom: 35px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.check-list i {
    color: var(--primary);
    font-size: 1.4rem;
}

.system-visual img {
    width: 100%;
    border-radius: 30px;
    transform: rotate(2deg);
}

/* Pricing / Offers */
.offers {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.ribbon {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.target {
    color: var(--primary);
    font-weight: 700;
    background: var(--primary-light);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-price {
    margin-bottom: 30px;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.current-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.current-price span {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.card-features {
    list-style: none;
    text-align: right;
    margin-bottom: 35px;
}

.card-features li {
    margin-bottom: 15px;
    font-weight: 600;
}

.card-features i {
    color: var(--primary);
    margin-left: 10px;
}

/* Maintenance Grid */
.maintenance-section {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 40px;
    text-align: center;
}

.maintenance-section h3 {
    margin-bottom: 30px;
}

.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.m-card {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
}

.m-card.highlight {
    border: 2px solid var(--secondary);
}

.m-card h4 { margin-bottom: 10px; }

.m-card .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.stars {
    color: #fbbf24;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.user-info {
    border-top: 1px solid var(--gray-100);
    padding-top: 15px;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--white);
}

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

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--bg-light);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
    border-top: 1px solid var(--gray-200);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    max-width: 500px;
    width: 100%;
    padding: 30px;
    border-radius: 30px;
    position: relative;
    animation: slideUp 0.4s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea { height: 100px; }

.form-note {
    background: var(--primary-light);
    padding: 10px;
    border-radius: 10px;
    color: var(--primary-dark);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer .logo {
    color: var(--white);
    justify-content: center;
    margin-bottom: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: var(--white);
    font-size: 1.5rem;
}

/* Animations */
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive */
@media (max-width: 991px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-image { order: -1; }
    .system-wrapper { grid-template-columns: 1fr; }
    .system-visual { order: -1; }
}

@media (max-width: 768px) {
    .pricing-card.popular {
        transform: scale(1);
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* Creative Integrated System */
.integrated-system-pro {
    padding: 100px 0;
    background: radial-gradient(circle at bottom left, #f0fdf4 0%, var(--white) 50%);
    position: relative;
    overflow: hidden;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.system-journey {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.journey-tile {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 30px;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-100);
}

.journey-tile:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.journey-tile.highlight {
    background: linear-gradient(135deg, var(--white) 0%, #f0fdf4 100%);
    border: 2px solid var(--primary-light);
}

.tile-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
    z-index: 1;
}

.tile-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.journey-tile h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.journey-tile p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.tile-benefit {
    display: inline-block;
    background: var(--gray-100);
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Trust Bar */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 30px;
    margin: 60px 0;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-light);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.cta-mini {
    margin-top: 40px;
}

.cta-mini p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.text-warning { color: #fbbf24; }
.fa-shield-check { color: var(--primary); }

@media (max-width: 768px) {
    .trust-bar {
        flex-direction: column;
        gap: 20px;
    }
    .trust-divider {
        width: 80%;
        height: 1px;
    }
}

/* Improved Hero Image for Real Photos */
.hero-image {
    position: relative;
    padding: 20px;
}

.hero-image img {
    border-radius: 40px;
    box-shadow: 0 30px 60px -12px rgba(50,50,93,0.25), 0 18px 36px -18px rgba(0,0,0,0.3);
    border: 8px solid var(--white);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
}

/* --- TRENDY CONVERSION FEATURES --- */

/* Sticky Mobile CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gray-200);
    padding: 15px 20px;
    z-index: 999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    display: none; /* Mobile Only */
}

@media (max-width: 768px) {
    .sticky-cta {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.sticky-info {
    display: flex;
    flex-direction: column;
}

.s-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.s-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Social Proof Notification */
.social-proof {
    position: fixed;
    bottom: 40px;
    right: 20px;
    background: var(--white);
    padding: 10px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateY(150px);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.social-proof.show {
    transform: translateY(0);
}

.sp-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.sp-text {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.sp-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-dark);
}

.sp-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Countdown Timer */
.countdown-timer {
    margin: 25px 0;
    text-align: center;
    background: rgba(34, 197, 94, 0.05);
    padding: 15px;
    border-radius: 20px;
    border: 1px dashed var(--primary);
}

.timer-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.timer-item {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.timer-item span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

/* WhatsApp Pulse Animation */
.whatsapp-float {
    animation: whatsapp-pulse 2s infinite ease-in-out;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Modern Gradient Text for Egypt */
.section-title h2 span {
    background: linear-gradient(135deg,var(--primary) 0%, #166534 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Scroll Animation Classes */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* High Converting Egyptian Trust Stamp */
.hero::after {
    content: "منتج مصري أصيل 🇪🇬";
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    border: 1px solid var(--gray-200);
    z-index: 2;
}

/* Fix for Hero on very small screens */
@media (max-width: 400px) {
    .timer-grid { gap: 10px; }
    .timer-item span { font-size: 1.2rem; }
}

/* --- SUCCESS GALLERY STYLES --- */
.success-gallery {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #fcfcfc 0%, #f0fdf4 100%);
}

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

.story-card {
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-100);
}

.story-card:hover {
    transform: translateY(-20px) rotate(-1deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.story-image {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.story-image img {
    width: 500px;
    height: 500px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0; /* Adjusted border radius to flow with the card */
}

.transformation-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.4);
    z-index: 2;
    animation: bounce 2s infinite;
}

.story-info {
    padding: 30px;
    text-align: right;
}

.story-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.story-meta {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.story-quote {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    background: var(--gray-100);
    padding: 20px;
    border-radius: 20px;
}

.cta-center {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 480px) {
    .stories-grid { gap: 25px; }
    .story-card { border-radius: 30px; }
    .story-info { padding: 20px; }
}

/* --- CAROUSEL STYLES --- */
.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    overflow: hidden;
    padding: 20px 0;
}

.stories-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    gap: 30px;
    padding: 10px;
}

.stories-carousel .story-card {
    flex: 0 0 100%; /* Single card on mobile */
    min-width: 0;
}

@media (min-width: 769px) {
    .stories-carousel .story-card {
        flex: 0 0 calc(50% - 15px); /* Two cards on desktop */
    }
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.carousel-btn.prev { right: 0; }
.carousel-btn.next { left: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--gray-200);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .carousel-btn { width: 45px; height: 45px; font-size: 1.2rem; }
}
