/* 
 * Ramadan Offer Landing Page - Styles
 * Branding: eh-its.com
 */

:root {
    /* Branding Colors */
    --primary-color: #0C99D5;
    /* Ocean Blue */
    --secondary-color: #FDBE15;
    /* Gold/Yellow */
    --accent-color: #6DB1D6;
    /* Sky Blue */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --off-white: #F9F9F9;
    --border-color: #E0E0E0;

    /* Typography */
    --font-main: 'Tajawal', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(12, 153, 213, 0.15);
    --radius-main: 8px;
    --radius-round: 30px;
    --transition: all 0.3s ease;
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    position: relative;
    overflow-x: hidden;
    /* Double assurance */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-text);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(12, 153, 213, 0.3);
}

.btn-primary:hover {
    background-color: #0a87bd;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(253, 190, 21, 0.4);
}

.btn-secondary:hover {
    background-color: #e5ac12;
    transform: translateY(-2px);
}

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

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

.btn-success {
    background-color: #25D366;
    /* WhatsApp Green */
    color: var(--white);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 190, 21, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(253, 190, 21, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(253, 190, 21, 0);
    }
}

.btn-pulse-success {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Header */
.main-header {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
    /* Reduced specific size request */
    width: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 40px 0 60px;
    background: linear-gradient(to top right, #ffffff 70%, #F9C23C 80%, #6FB6D9 90%, #4A7EBB 100%);
    overflow: hidden;
    text-align: center;
    color: var(--text-dark);
    /* Revert to dark text */
}

/* Abstract Background Shapes (Adapted for Light Theme) */
.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(12, 153, 213, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: none;
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

/* Floating Elements Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

/* Geometric Pattern Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}


.hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: right;
}



.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: none;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    /* Deprecated wrapper style, but keeping purely structural if needed */
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.badge {
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
    border: none;
    backdrop-filter: none;
    animation: badge-blink 2.5s ease-in-out infinite;
}

@keyframes badge-blink {

    0%,
    100% {
        color: var(--primary-color);
        background-color: rgba(12, 153, 213, 0.1);
    }

    50% {
        color: rgba(220, 53, 69, 1);
        background-color: rgba(220, 53, 69, 0.1);
    }
}

.highlight-red {
    color: #dc3545;
    /* Bootstrap Red or similar */
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: none;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    /* Darker grey */
    margin-bottom: 25px;
    font-weight: 600;
}

.price-box {
    margin: 0px auto 20px auto;
    padding: 15px 20px 15px 20px;
    display: inline-flex;
    align-items: center;
    gap: 30px;
    background: var(--white);
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Soft shadow instead of glass border */
    backdrop-filter: none;
}

.old-price {
    font-size: 1.8rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.new-price {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    text-shadow: none;
}

/* Features Section */
/* Features Section */
.features-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

/* ... existing styles ... */

/* Workflow Section */
.workflow-section {
    padding: var(--section-padding);
    background-color: var(--off-white);
}

/* ... existing styles ... */

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-main);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eeeeee;
    /* Lighter border */
}

.feature-card .icon {
    width: 80px;
    height: 80px;
    background: rgba(12, 153, 213, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: var(--transition);
    border: 4px solid rgba(12, 153, 213, 1);
}

.feature-card:hover .icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

/* History Section */
.history-section {
    padding: 60px 0;
    background: #2c3e50;
    /* Dark background */
    color: var(--white);
    text-align: center;
}

.history-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.history-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

/* Workflow Section - Creative Timeline */
.steps-grid {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
    margin-top: 30px;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    transform: translateY(-50%);
    z-index: 0;
}

.step-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 30%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    z-index: -1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--secondary-color);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(253, 190, 21, 0.2);
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p,
.step-card ul {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: right;
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.step-card li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 10px;
}

.step-card li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 2rem;
    position: absolute;
    right: 0;
    top: -1px;
    line-height: 1;
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        gap: 40px;
    }

    .steps-grid::before {
        width: 4px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .step-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Trust Section */
.trust-section {
    padding: var(--section-padding);
    background-color: #2c3e50;
    color: var(--white);
}

.trust-section .section-title::after {
    background: linear-gradient(to right, var(--white), var(--secondary-color));
}

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

.trust-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-main);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: var(--transition);
    color: var(--text-dark);
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.trust-item i {
    width: 80px;
    height: 80px;
    background: rgba(12, 153, 213, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: var(--transition);
    border: 4px solid rgba(12, 153, 213, 1);
}

.trust-item:hover i {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
    border-color: transparent;
}

.trust-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.trust-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ... styles ... */

/* Workflow Section */
.workflow-section {
    background: linear-gradient(to top right, #ffffff 70%, #F9C23C 80%, #6FB6D9 90%, #4A7EBB 100%);
    padding: var(--section-padding);

}

/* ... styles ... */

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background: linear-gradient(120deg, #FFE36A, #F9C23C, #6FB6D9, #4A7EBB);
    background-size: 300% 300%;
    animation: brandShift 5s ease-in-out infinite;
    position: relative;
}

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

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-main);
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    text-align: right;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.accordion-header i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #fbfbfb;
}

.accordion-header.active+.accordion-body {
    padding: 20px;
    max-height: 2000px;
    /* Increased height for longer content */
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    /* Hidden on desktop by default */
}

/* Footer */
.main-footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 60px 0 30px;
    text-align: center;
}

.main-footer h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Responsive */
/* Hero Logo */
.hero-logo {
    text-align: left;
    /* Aligned left for desktop */
    width: 100%;
}

.landing-logo {
    height: 100px;
    /* Reduced from 150px to fit better with top centering */
    width: auto;
    margin-bottom: 30px;
    display: inline-block;
}

/* Dynamic Background & Social Icons */
@keyframes brandShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.features-section {
    background: linear-gradient(120deg, #FFE36A, #F9C23C, #6FB6D9, #4A7EBB);
    background-size: 300% 300%;
    animation: brandShift 5s ease-in-out infinite;
    position: relative;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-icons a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        text-align: center;
        /* Center on mobile */
    }

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

    .hero-section {
        padding: 40px 0 60px;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    /* Order: Logo/Text first, Image second */
    .hero-image {
        order: 2;
        margin-top: 20px;
    }

    .hero-image img {
        max-width: 80%;
        /* Smaller on mobile */
    }

    .hero-logo img {
        height: 140px;
        margin-bottom: 15px;
    }

    .badge {
        margin-bottom: 5px;
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .price-box {
        flex-direction: column;
        gap: 5px;
        padding: 5px 25px 5px 25px;
        margin: 0px auto 0 auto;
        /* Reduced margin */
    }

    .new-price {
        font-size: 2.5rem;
        line-height: 1;
    }

    .mobile-hidden {
        display: none !important;
    }

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

    .timeline-item {
        padding-right: 60px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        right: 0;
        border-width: 2px;
    }

    .sticky-cta {
        display: block;
    }

    .main-footer {
        padding-bottom: 90px;
        /* Space for sticky CTA */
    }
}