:root {
    --primary-color: #1a3a6e;
    --secondary-color: #f7b924;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --text-light: #777;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    background-color: white;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(247, 185, 36, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(247, 185, 36, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-support {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 3px 10px rgba(26, 58, 110, 0.3);
}

.btn-support:hover {
    box-shadow: 0 5px 15px rgba(26, 58, 110, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    flex-direction: row;
    direction: ltr;
}

/* Styling for the logo image inside the .logo anchor */
.logo img {
    height: 30px;
    width: auto;
    vertical-align: middle;
    margin-right: 3px;
    transform: translateY(-1px);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-right: 25px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
    left: 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 58, 110, 0.9), rgba(26, 58, 110, 0.9)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Stats Section */
.stats {
    background-color: white;
    padding: 60px 0;
    box-shadow: var(--box-shadow);
    margin-top: -50px;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    padding: 0 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(247, 185, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--secondary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* NEW SECTION STYLES: How to Subscribe Promo */
.how-to-subscribe-promo {
    background: linear-gradient(rgba(26, 58, 110, 0.95), rgba(26, 58, 110, 0.95)), url('https://images.unsplash.com/photo-1509062325372-f155988e0b68?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-top: 80px; /* Added margin to separate from previous section */
    margin-bottom: 80px; /* Added margin to separate from next section */
}

.how-to-subscribe-promo .section-title {
    color: white;
}

.how-to-subscribe-promo .section-title::after {
    background-color: var(--secondary-color);
}

.how-to-subscribe-promo .promo-text {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.how-to-subscribe-promo .btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 15px 40px;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(247, 185, 36, 0.4);
}

.how-to-subscribe-promo .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(247, 185, 36, 0.6);
}

.how-to-subscribe-promo .btn i {
    margin-left: 10px;
}
/* END NEW SECTION STYLES */

/* Services Section (General for both index and services pages) */
.services {
    padding: 100px 0;
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: white;
    background-color: var(--primary-color);
    padding: 15px;
    text-align: center;
}

/* --- تعديل ارتفاع وحجم عرض الصورة لزيادة الحجم --- */
.service-image-old-design {
    width: 100%;
    height: 250px; /* تم زيادة الارتفاع لجعل الصور أكبر قليلاً */
    overflow: hidden;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image-old-design img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image-old-design img {
    transform: scale(1.05); /* تم زيادة تأثير التكبير عند التحويم */
}
/* --- نهاية تعديل صور الخدمات --- */

.service-details {
    padding: 25px;
}

.service-details h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
    padding-top: 10px;
    position: relative;
    padding-bottom: 10px;
}

.service-details h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.service-details p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
    text-align: center;
}

.service-btn {
    display: block;
    text-align: center;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 10px;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition);
}

.service-btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.express-delivery {
    color: var(--accent-color);
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.express-delivery i {
    margin-left: 5px;
}

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

/* Packages Section */
.packages-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.package-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.package-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.package-header {
    background-color: var(--primary-color);
    color: white;
    padding: 25px;
    text-align: center;
}

.package-name {
    font-size: 22px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.package-name-underline:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.package-price {
    font-size: 36px;
    font-weight: 700;
}

.package-price span {
    font-size: 18px;
}

.package-features {
    padding: 25px;
}

.package-features ul {
    list-style: none;
    margin-bottom: 25px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 25px;
}

.package-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-size: 16px;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
}

.popular-package {
    border: 2px solid var(--secondary-color);
}

/* Add Company Section */
.add-company {
    padding: 80px 0;
    background: linear-gradient(rgba(26, 58, 110, 0.9), rgba(26, 58, 110, 0.9)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.add-company h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.add-company p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Subscription Steps Section */
.subscription-steps-section {
    padding: 100px 0;
    background-color: white; /* تأكد أن الخلفية بيضاء أو فاتحة إذا لم تكن كذلك */
}

.subscription-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
}


.step-number {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(247, 185, 36, 0.3);
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step p {
    color: var(--text-light);
    font-size: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

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

.testimonial-card:before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: rgba(247, 185, 36, 0.2);
    z-index: 0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

.testimonial-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
}

.testimonial-position {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

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

.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details i {
    margin-left: 10px;
    color: var(--secondary-color);
    font-size: 20px;
}

/* --- تعديل لاتجاه رقم الهاتف --- */
.contact-details li span {
    direction: ltr;
    text-align: right;
    display: block;
}

/* إذا كان رقم الهاتف هو الوحيد الذي تريده بتنسيق LTR */
.contact-details li:nth-child(2) span {
    direction: ltr;
    text-align: right;
    display: block;
}
/* --- نهاية التعديل --- */

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(247, 185, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--secondary-color);
    font-size: 18px;
}

.working-hours {
    margin-top: 30px;
}

.working-hours h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.working-hours p {
    color: var(--text-light);
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(247, 185, 36, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
}

/* Services Page (specific category section styling) */
.services-category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 32px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Packages Page */
.packages-page {
    padding: 150px 0 80px;
}

/* Testimonials Page */
.testimonials-page {
    padding: 150px 0 80px;
}

.testimonials-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 18px;
}

.admin-section {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-top: 50px;
}

.admin-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.upload-form {
    max-width: 600px;
    margin: 0 auto;
}

.upload-btn,
.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

/* Contact Page */
.contact-page {
    padding: 150px 0 80px;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 18px;
}

.divider {
    height: 1px;
    background-color: #eee;
    margin: 40px 0;
}

/* Add Company Page */
.add-company-page {
    padding: 150px 0 80px;
}

.add-company-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 18px;
}

.add-company-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.benefits-section {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.benefits-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 35px;
}

.benefits-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-size: 20px;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.company-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
    display: inline-block;
}

/* تم إزالة اللوجو (الصورة) من هنا - لا يوجد وسم img هنا */
/* .footer-logo img {
    height: 30px;
    width: auto;
    vertical-align: middle;
    margin-right: 3px;
    transform: translateY(-1px);
} */

.footer-logo span {
    color: var(--secondary-color);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 10px;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    font-size: 30px;
}

/* --- NEW Service Detail Page Styles --- */
.service-detail-hero {
    background: linear-gradient(rgba(26, 58, 110, 0.9), rgba(26, 58, 110, 0.9)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    /* تم تقليل الـ padding لتقليل المساحة الفارغة */
    padding: 120px 0 80px; /* من 180px 0 100px */
    text-align: center;
}

.service-detail-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
}

.service-detail-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* New main content grid for service pages */
.service-content-main {
    padding: 100px 0;
    background-color: white;
}

.service-content-main .container {
    display: flex;
    flex-direction: column; /* Default to column for mobile-first */
    gap: 40px;
}

.main-content-grid {
    display: flex;
    flex-direction: column; /* Default to column for mobile-first */
    gap: 40px;
}

.order-form-section {
    flex: 1; /* For desktop, will take available space */
    min-width: 300px; /* Ensure it doesn't get too small */
}

.description-content {
    flex: 2; /* For desktop, will take more space */
    min-width: 300px; /* Ensure it doesn't get too small */
}

.description-content h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 20px;
}

.description-content h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.description-content p {
    color: var(--text-color);
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.6;
}

.features-list li i {
    color: var(--secondary-color);
    margin-left: 10px;
    font-size: 20px;
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-top: 5px; /* Align icon better with text */
}

.features-list li strong {
    color: var(--primary-color);
}

/* Removed .description-image styles as per request */
/*
.description-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.description-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}
*/

.testimonials-specific {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonials-specific .section-title {
    margin-bottom: 50px;
}

/* Order form section (now part of service-content-main) */
.order-form-section .section-title {
    margin-bottom: 30px; /* Adjust margin for internal title */
    font-size: 28px; /* Adjust font size for internal title */
}
.order-form-section .section-title:after {
    width: 60px; /* Adjust underline width */
}


.payment-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

.payment-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.payment-form-container input[type="text"],
.payment-form-container input[type="email"],
.payment-form-container input[type="tel"],
.payment-form-container select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
    font-family: 'Tajawal', sans-serif; /* Ensure font is applied */
}

.payment-form-container input:focus,
.payment-form-container select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(247, 185, 36, 0.2);
}

.btn-submit-payment {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    background-color: var(--secondary-color); /* Match primary button style */
    color: var(--dark-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(247, 185, 36, 0.3);
}

.btn-submit-payment:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(247, 185, 36, 0.4);
}

/* New styles for short features section */
.features-short-section {
    padding: 60px 0; /* Add some padding */
    background-color: var(--light-color); /* Light background */
    margin-top: 40px; /* Space from above content */
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.features-list-short {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    max-width: 900px; /* Limit width */
    margin: 30px auto 0; /* Center and space from title */
    text-align: center; /* Center text within list items */
}

.features-list-short li {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Subtle shadow */
    font-weight: 500;
    color: var(--primary-color);
}

.features-list-short li i {
    color: var(--secondary-color);
    font-size: 18px;
    flex-shrink: 0;
}


/* Styles for how_to_subscribe.html */
.page-hero {
    background: linear-gradient(rgba(26, 58, 110, 0.85), rgba(26, 58, 110, 0.85));
    background-size: cover;
    background-position: center;
    padding: 160px 0 80px;
    text-align: center;
    color: white;
}
.page-hero h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
}
.page-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
}
.steps-page-content {
    padding: 80px 0;
    background-color: var(--light-color);
}
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
/* Remove vertical line and circles specifically for .timeline */
.timeline::before,
.timeline::after {
    content: none !important; /* Force removal */
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
    /* Removed padding-right that was for the line/circle */
    margin-bottom: 50px;
}
/* Remove any pseudo-elements creating lines/shapes specifically for .timeline-item */
.timeline-item::after {
    content: none !important; /* Force removal */
}
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center; /* Center align content for better mobile display */
}
.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.timeline-content p {
    color: var(--text-light);
}
/* Ensure links within timeline content are styled */
.timeline-content p a {
    color: var(--primary-color) !important; /* Override inline style if necessary */
    font-weight: bold;
    transition: var(--transition);
}

.timeline-content p a:hover {
    color: var(--secondary-color) !important;
}

/* Docs Section Styling (from how_to_subscribe.html) */
.docs-section {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin: 50px auto 0;
    border-top: 5px solid var(--primary-color);
}
.docs-section h3 {
    text-align: center;
    color: var(--primary-color);
}
.docs-section p {
    text-align: center;
    color: var(--text-light);
}
.docs-section ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    text-align: center;
}
.docs-section li {
    background-color: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.docs-section i {
    color: var(--secondary-color);
}
.cta-section {
    padding: 80px 0;
    text-align: center;
}
.cta-section p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}
.cta-buttons .btn {
    margin: 0 10px;
}

/* Styles for return_page.html */
.policy-hero {
    background: linear-gradient(rgba(26, 58, 110, 0.85), rgba(26, 58, 110, 0.85)), url('https://images.unsplash.com/photo-1556742044-597b16a3f65e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    padding: 160px 0 80px;
    text-align: center;
    color: white;
}
.policy-hero h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
}
.policy-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}
.policy-page-content {
    padding: 80px 0;
    background-color: #fff;
}
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}
.policy-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.policy-section h3 {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}
/* إزالة الأشكال الدائرية والأيقونات من رؤوس الأقسام في صفحة الاسترجاع */
.policy-section h3 i {
    /* content: none !important; */ /* لا يمكن استخدام content: none على وسم i */
    display: none !important; /* إخفاء الأيقونة تماماً */
    /*
    color: var(--secondary-color);
    font-size: 22px;
    margin-left: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(247, 185, 36, 0.1);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    */
}
.policy-section p, .policy-section ul, .policy-section ol {
    padding-right: 20px;
    color: var(--text-light);
    line-height: 1.9;
}
.policy-section ul li, .policy-section ol li {
    margin-bottom: 10px;
}
/* إزالة أي أيقونات أو زخارف من عناصر القائمة في صفحة الاسترجاع */
.policy-section ul li::before,
.policy-section ol li::before {
    content: none !important; /* إزالة أي أيقونات قائمة افتراضية */
}

.important-note {
    background-color: rgba(231, 76, 60, 0.05);
    border-right: 4px solid #e74c3c;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}
.important-note p {
    color: #333;
    font-weight: 500;
}
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--light-color);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    background-color: #fff;
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-light);
    background-color: var(--light-color);
    line-height: 1.8;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    padding: 20px;
}
.contact-cta {
    text-align: center;
    padding: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    margin-top: 50px;
}
.contact-cta h4 {
    font-size: 22px;
    margin-bottom: 15px;
}
.contact-cta p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}
.contact-cta .btn {
    margin: 0 10px;
}

/* Styles for payment-success.html */
.payment-success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(247, 185, 36, 0.1) 100%);
    padding: 20px;
}

.success-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: scale(0.9); /* Initial state for animation */
    opacity: 0; /* Initial state for animation */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out; /* Add transition */
}

.success-card.loaded { /* Class to be added by JS after load */
    transform: scale(1);
    opacity: 1;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: successPulse 2s infinite;
}

.success-icon i {
    font-size: 50px;
    color: white;
}

@keyframes successPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.success-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 900;
}

.success-message {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.invoice-info {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border-right: 4px solid var(--secondary-color);
}

.invoice-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.invoice-details {
    color: var(--text-light);
    font-size: 16px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.whatsapp-section {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    color: white;
}

.whatsapp-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.whatsapp-section p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.next-steps {
    background-color: rgba(26, 58, 110, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    text-align: right;
}

.next-steps h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 8px 0;
    position: relative;
    padding-right: 25px;
}

.next-steps li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-size: 14px;
}

/* Styles for payment-pending.html */
.payment-pending-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(247, 185, 36, 0.1) 100%);
    padding: 20px;
}

.pending-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: scale(0.9); /* Initial state for animation */
    opacity: 0; /* Initial state for animation */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out; /* Add transition */
}

.pending-card.loaded { /* Class to be added by JS after load */
    transform: scale(1);
    opacity: 1;
}

.pending-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), #FFA500);
}

.pending-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pendingPulse 2s infinite;
}

.pending-icon i {
    font-size: 50px;
    color: white;
}

@keyframes pendingPulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.pending-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 900;
}

.pending-message {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.status-info {
    background-color: rgba(247, 185, 36, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border-right: 4px solid var(--secondary-color);
}

.status-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-details {
    color: var(--text-light);
    font-size: 16px;
}

.processing-steps {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    text-align: right;
}

.processing-steps h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-left: 15px;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    color: var(--text-color);
}

.estimated-time {
    background: linear-gradient(135deg, var(--primary-color), #2c5aa0);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    color: white;
    text-align: center;
}

.estimated-time h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.estimated-time p {
    opacity: 0.9;
    font-size: 16px;
}

.refresh-btn {
    background-color: var(--primary-color);
    color: white;
    animation: refreshPulse 3s infinite;
}

@keyframes refreshPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.contact-section {
    background-color: rgba(26, 58, 110, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.contact-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.contact-section p {
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: center;
}

/* Styles for payment-failed.html */
.payment-failed-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(231, 76, 60, 0.1) 100%);
    padding: 20px;
}

.failed-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: scale(0.9); /* Initial state for animation */
    opacity: 0; /* Initial state for animation */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out; /* Add transition */
}

.failed-card.loaded { /* Class to be added by JS after load */
    transform: scale(1);
    opacity: 1;
}

.failed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), #c0392b);
}

.failed-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: failedShake 1s ease-in-out;
}

.failed-icon i {
    font-size: 50px;
    color: white;
}

@keyframes failedShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.failed-title {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 900;
}

.failed-message {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-info {
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border-right: 4px solid var(--accent-color);
}

.error-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.error-details {
    color: var(--text-light);
    font-size: 16px;
}

.possible-reasons {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    text-align: right;
}

.possible-reasons h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.reason-item:last-child {
    border-bottom: none;
}

.reason-icon {
    color: var(--accent-color);
    margin-left: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.reason-text {
    flex: 1;
    color: var(--text-color);
    font-size: 15px;
}

.solutions-section {
    background: linear-gradient(135deg, var(--primary-color), #2c5aa0);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    color: white;
}

.solutions-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.solution-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-item:last-child {
    border-bottom: none;
}

.solution-number {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    margin-left: 15px;
    flex-shrink: 0;
}

.solution-text {
    flex: 1;
    opacity: 0.9;
    font-size: 15px;
}

.retry-btn {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    animation: retryPulse 2s infinite;
}

@keyframes retryPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 3px 10px rgba(247, 185, 36, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 5px 15px rgba(247, 185, 36, 0.5); }
}

.contact-help {
    background-color: rgba(26, 58, 110, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.contact-help h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.contact-help p {
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: center;
}

.help-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments for all pages */
@media (max-width: 992px) {
    /* Mobile menu button visibility */
    .mobile-menu-btn {
        display: block; /* Show mobile menu button */
    }
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%; /* Hidden by default */
        width: 80%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active {
        right: 0; /* Slide in when active */
    }
    .nav-links li {
        margin: 0 0 25px 0; /* Stack menu items vertically */
    }

    .hero h1 {
        font-size: 40px;
    }
    
    /* Fix for hero buttons to stack on tablets/mobiles */
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    .hero-btns .btn {
        width: 100%;
        max-width: 300px; /* Limit button width */
        margin-bottom: 15px; /* Add space between stacked buttons */
    }
    .hero-btns .btn:last-child {
        margin-bottom: 0;
    }

    /* Fix for stats section to stack on tablets/mobiles */
    .stats-container {
        flex-wrap: wrap;
        justify-content: center; /* Center items when wrapped */
        gap: 30px;
    }
    .stat-item {
        flex: 0 0 100%; /* Make each item take full width to stack */
        margin-bottom: 30px;
    }
    .stat-item:last-child {
        margin-bottom: 0;
    }

    .service-detail-hero h1 {
        font-size: 40px;
    }

    /* Responsive for service content main grid - MOBILE FIRST */
    .service-content-main .container {
        flex-direction: column; /* Stack sections */
    }
    .main-content-grid {
        flex-direction: column; /* Stack form and description */
    }
    .order-form-section {
        order: 1; /* Form first on mobile */
    }
    .description-content {
        order: 2; /* Description second on mobile */
    }
    .features-short-section {
        order: 3; /* Features after description on mobile */
    }
    .testimonials-specific {
        order: 4; /* Testimonials last on mobile */
    }
}

/* Desktop-specific adjustments for service detail pages */
@media (min-width: 993px) {
    .service-content-main .container {
        display: block; /* Revert to block to control internal sections */
    }

    .main-content-grid {
        display: flex;
        flex-direction: row; /* Side-by-side for desktop */
        align-items: flex-start; /* Align to top */
        gap: 40px;
        margin-bottom: 60px; /* Space before features-short-section */
    }

    .description-content {
        flex: 2; /* Takes 2/3 of space */
        order: 1; /* Left side */
        padding-right: 20px; /* Space between content and form */
    }

    .order-form-section {
        flex: 1; /* Takes 1/3 of space */
        order: 2; /* Right side */
        padding-left: 20px; /* Space between form and content */
    }

    .features-short-section {
        margin-top: 0; /* Remove top margin if it's already spaced by main-content-grid */
        padding-top: 0; /* Adjust padding if needed */
        background-color: transparent; /* Remove background on desktop */
        box-shadow: none; /* Remove shadow on desktop */
    }

    .features-list-short {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust grid for desktop */
        max-width: none; /* Remove max-width constraint */
        margin-right: 0; /* Ensure no extra margin */
        margin-left: 0; /* Ensure no extra margin */
        justify-content: flex-start; /* Align items to start */
        text-align: right; /* Align text to right */
    }
    .features-list-short li {
        justify-content: flex-end; /* Align icon to the right of text */
        text-align: right;
    }
}


@media (max-width: 768px) {
    .page-hero h1, .policy-hero h1, .service-detail-hero h1 {
        font-size: 32px;
    }
    .page-hero p, .policy-hero p, .service-detail-hero p {
        font-size: 16px;
    }
    .timeline::after {
        right: 50%;
        transform: translateX(50%);
        height: calc(100% - 50px);
    }
    .timeline-item {
        padding-right: 40px;
        text-align: right;
    }
    .timeline-item::after {
        left: 50%;
        transform: translateX(50%);
        right: auto;
    }
    .policy-section h3 {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .policy-section h3 i {
        margin-left: 0;
    }
    .policy-section p, .policy-section ul, .policy-section ol {
        padding-right: 0;
    }
    .success-card, .pending-card, .failed-card {
        padding: 30px 20px;
    }
    .success-title, .pending-title, .failed-title {
        font-size: 24px;
    }
    .action-buttons, .help-options {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .step-number {
        margin: 0;
    }
    .reason-item, .solution-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .reason-icon, .solution-number {
        margin: 0;
    }
    .payment-form-container {
        padding: 20px; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .package-price {
        font-size: 30px;
    }
    .service-detail-hero h1 {
        font-size: 28px;
    }
    .service-detail-hero p {
        font-size: 16px;
    }
}

/* Styles for Payment Methods Container */
.payment-methods-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--light-color); /* Light border around the container */
    border-radius: 8px;
    background-color: var(--light-color);
}

.payment-method-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #eee; /* Default border color */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px; /* Minimum width for each option */
    text-align: center;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.payment-method-option:hover {
    border-color: var(--secondary-color); /* Highlight on hover */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.payment-method-option.selected { /* Class for selected method */
    border-color: var(--primary-color); /* Stronger highlight for selected */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: rgba(26, 58, 110, 0.05); /* Light primary background for selected */
}

.payment-method-option img {
    max-width: 60px; /* Max width for logos */
    height: auto;
    margin-bottom: 5px;
}

.payment-method-option span {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments for payment methods */
@media (max-width: 576px) {
    .payment-methods-container {
        gap: 10px;
        padding: 5px;
    }
    .payment-method-option {
        min-width: 80px;
        padding: 8px;
    }
    .payment-method-option img {
        max-width: 50px;
    }
    .payment-method-option span {
        font-size: 12px;
    }
}

/* Styles for Payment Methods Container */
.payment-methods-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--light-color); /* Light border around the container */
    border-radius: 8px;
    background-color: var(--light-color);
}

/* Base style for payment method options */
.payment-method-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #eee; /* Default border color */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px; /* Minimum width for each option */
    text-align: center;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.payment-method-option:hover {
    border-color: var(--secondary-color); /* Highlight on hover */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.payment-method-option.selected { /* Class for selected method */
    border-color: var(--primary-color); /* Stronger border for selected */
    background-color: rgba(26, 58, 110, 0.1); /* Light primary background for selected */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* More prominent shadow */
    transform: translateY(-3px); /* Subtle lift effect */
}

.payment-method-option img {
    max-width: 60px; /* Max width for logos */
    height: auto;
    margin-bottom: 5px;
}

.payment-method-option span {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments for payment methods */
@media (max-width: 576px) {
    .payment-methods-container {
        gap: 10px;
        padding: 5px;
    }
    .payment-method-option {
        min-width: 80px;
        padding: 8px;
    }
    .payment-method-option img {
        max-width: 50px;
    }
    .payment-method-option span {
        font-size: 12px;
    }
}
