/* --- Global Settings & Design System --- */
:root {
    --primary-color: #6A5ACD;
    --primary-color-light: #8A7BE3;
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --gray-color: #f0f0f8;
    --text-color: #333;
    --heading-font: 'Cairo', sans-serif;
    --body-font: 'Cairo', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--light-color);
    margin: 0;
    padding-top: 80px;
    line-height: 1.7;
    text-align: right;
}

/* --- General Components --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--dark-color);
    color: var(--light-color);
}
.btn-secondary:hover {
    background-color: #333;
}
.btn-secondary i {
    margin-left: 8px;
}

.btn-light {
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 18px;
    padding: 15px 40px;
}

.btn-light:hover {
    background-color: #f0f0f8;
    color: var(--primary-color);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(106, 90, 205, 0.5);
}

.page-header-section {
    padding: 80px 0;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-header-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(26, 26, 46, 0.7);
}
.page-header-section .container { position: relative; z-index: 2; }
.page-header-section h1 { font-size: 48px; margin-bottom: 10px; }

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--light-color);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}
.logo span {
    color: var(--primary-color);
}

.main-nav { display: flex; align-items: center; }
.nav-link {
    color: var(--text-color);
    margin: 0 15px;
    font-weight: 600;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 20px;
    flex-direction: column;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-color);
    color: #a0a0c0;
    padding: 80px 0 30px 0;
    margin-top: 80px;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget .widget-title {
    color: var(--light-color);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}

.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget .about-text {
    font-size: 15px;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0c0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #3a3a5e;
    padding-top: 30px;
    font-size: 14px;
}
.footer-bottom a {
    color: #a0a0c0;
}
/* --- Hero Slider Section --- */
.hero-slider {
    width: 100%;
    height: calc(100vh - 80px); /* Full viewport height minus header height */
    position: relative;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--light-color);
}

.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 46, 0.6); /* Dark overlay for text readability */
}

.slide-content {
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

.slide-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Swiper Navigation & Pagination */
.swiper-button-next, .swiper-button-prev {
    color: var(--light-color) !important;
}
.swiper-pagination-bullet-active {
    background-color: var(--light-color) !important;
}

/* --- Platforms Info Section --- */
.platforms-info-section {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.platforms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.platforms-text .section-title {
    text-align: right;
    display: block;
    font-size: 38px;
}
.platforms-text .section-title::after {
    left: auto;
    right: 0;
    transform: none;
    margin-top: 15px;
}

.platforms-text p {
    font-size: 17px;
    color: #555;
    margin: 30px 0;
    line-height: 1.9;
}

.platforms-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.logo-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #777;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.logo-item i {
    display: block;
    font-size: 40px;
    margin-bottom: 15px;
}

/* Responsive for this new section */
@media (max-width: 992px) {
    .platforms-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .platforms-text .section-title {
        text-align: center;
    }
    .platforms-text .section-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .platforms-logos {
         grid-template-columns: repeat(3, 1fr);
         margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .platforms-logos {
         grid-template-columns: repeat(2, 1fr);
    }
}
/* --- Services Section --- */
.services-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--gray-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-title {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.card-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.card-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}
/* --- About Us Snippet Section --- */
.about-snippet-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-snippet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-snippet-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.eyebrow-heading {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 16px;
}

.about-snippet-content .section-title {
    text-align: right;
    display: block;
    font-size: 38px;
}
.about-snippet-content .section-title::after {
    left: auto;
    right: 0;
    transform: none;
    margin-top:15px;
}

.about-snippet-content p {
    font-size: 17px;
    color: #555;
    margin-bottom: 30px;
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-color-light));
    color: var(--light-color);
    text-align: center;
}

.cta-title {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}
/* --- Contact Page --- */
.contact-page-section { 
    padding: 80px 0; 
}
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}
.contact-form-wrapper h3, .contact-info-wrapper h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark-color);
}
.form-row { 
    display: flex; 
    gap: 20px; 
}
.form-group { 
    width: 100%; 
    margin-bottom: 20px; 
}
.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ddd;
    border-radius: 5px; 
    box-sizing: border-box; 
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; 
    border-color: var(--primary-color);
}
.alert { 
    padding: 15px; 
    margin-bottom: 20px; 
    border-radius: 5px; 
}
.alert-success { 
    color: #155724; 
    background-color: #d4edda; 
    border: 1px solid #c3e6cb; 
}
.alert-danger { 
    color: #721c24; 
    background-color: #f8d7da; 
    border: 1px solid #f5c6cb; 
}

.contact-info-list { 
    list-style: none; 
    padding: 0; 
    margin: 0 0 30px 0; 
}
.contact-info-list li { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 25px; 
}
.contact-info-list i {
    font-size: 24px; 
    color: var(--primary-color);
    margin-left: 20px; 
    margin-top: 5px;
}
.contact-info-list h4 { 
    margin: 0 0 5px 0; 
    font-size: 18px; 
    color: var(--dark-color); 
}
.contact-info-list p { 
    margin: 0; 
    color: #666; 
}
.contact-map iframe { 
    border-radius: 5px; 
}

/* --- WhatsApp Buttons --- */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 100;
    transition: transform 0.3s ease;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 10px;
    transition: opacity 0.3s;
}
.btn-whatsapp:hover {
    opacity: 0.9;
}

/* --- Works Page --- */
.works-gallery-section {
    padding: 80px 0;
}

.page-intro-link {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    padding: 20px;
    background-color: var(--gray-color);
    border-radius: 8px;
}

.page-intro-link p {
    margin: 0 0 15px 0;
    color: #555;
}

.filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-menu a {
    padding: 8px 20px;
    border-radius: 50px;
    background-color: var(--gray-color);
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-menu a:hover,
.filter-menu a.active {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    aspect-ratio: 4 / 3;
}

.work-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.work-card:hover .work-card-image {
    transform: scale(1.1);
}

.work-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-card:hover .work-card-overlay {
    opacity: 1;
}

.work-card-overlay .overlay-content {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.work-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 22px;
    margin: 0 0 5px 0;
}

.overlay-content p {
    margin: 0;
    font-size: 15px;
    opacity: 0.8;
}

.work-card-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255,255,255,0.8);
    pointer-events: none;
}

/* --- Single Work Page --- */
.single-work-section {
    padding: 60px 0;
}

.work-header {
    text-align: center;
    margin-bottom: 40px;
}
.work-header h1 {
    font-size: 48px;
    color: var(--dark-color);
    margin-bottom: 5px;
}
.work-header .work-client {
    font-size: 18px;
    color: #666;
}
.work-header .work-client a {
    font-weight: bold;
}

.work-media {
    margin-bottom: 40px;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.work-media img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.work-download-link {
    padding: 80px 40px;
    text-align: center;
    background-color: var(--gray-color);
}
.work-download-link i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.work-description {
    max-width: 800px;
    margin: 0 auto 50px auto;
}
.work-description h3 {
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}
.work-description p {
    font-size: 17px;
    line-height: 1.8;
}

.interaction-section {
    max-width: 800px;
    margin: 0 auto;
}

.likes-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.like-btn {
    background: var(--gray-color);
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.like-btn:hover {
    background-color: #e0e0e0;
}
.like-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.interaction-divider {
    border: 0;
    height: 1px;
    background-color: #eee;
    margin: 50px 0;
}

.comments-container h3, .comment-form-wrapper h4 {
    margin-bottom: 20px;
    font-size: 24px;
}
.comment-form-wrapper {
    margin-bottom: 40px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.comment-item {
    background: var(--gray-color);
    padding: 20px;
    border-radius: 8px;
    border-right: 4px solid var(--primary-color);
}
.comment-author {
    font-weight: bold;
    font-size: 18px;
    color: var(--dark-color);
}
.comment-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}
.comment-text {
    line-height: 1.8;
}
/* --- Blog Listing Page --- */
.blog-listing-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.post-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.post-card-image-link {
    display: block;
}

.post-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.post-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}
.post-meta i {
    margin-left: 5px;
    color: var(--primary-color);
}

.post-card-title {
    font-size: 22px;
    margin: 0 0 15px 0;
}
.post-card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.post-card-title a:hover {
    color: var(--primary-color);
}

.post-card-excerpt {
    color: #555;
    flex-grow: 1;
    margin-bottom: 20px;
}

.read-more-link {
    font-weight: bold;
    color: var(--primary-color);
}


/* --- Single Post Page --- */
.single-post-container {
    max-width: 800px;
    padding: 60px 0;
}

.post-full-header {
    text-align: center;
    margin-bottom: 40px;
}


.post-full-meta {
    font-size: 16px;
    color: #666;
}
.post-full-meta i {
    margin-left: 5px;
}

.post-full-image {
    margin: 0 0 40px 0;
}
.post-full-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-full-content {
    font-size: 18px;
    line-height: 2;
    color: #333;
}

.post-full-content p {
    margin-bottom: 1.5em;
}

.post-full-content h2,
.post-full-content h3,
.post-full-content h4 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin: 2em 0 1em 0;
}

.post-full-content ul,
.post-full-content ol {
    padding-right: 20px;
    margin-bottom: 1.5em;
}

.post-full-content li {
    margin-bottom: 0.5em;
}

.post-full-content a {
    text-decoration: underline;
}

.post-full-content blockquote {
    border-right: 4px solid var(--primary-color);
    padding-right: 20px;
    margin: 2em 0;
    font-style: italic;
    color: #555;
}


/* --- About Us Page --- */
.about-page-section {
    padding: 80px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-intro-image img {
    width: 100%;
    border-radius: 10px;
}

.about-intro-content .section-title {
    text-align: right;
    display: block;
}
.about-intro-content .section-title::after {
    left: auto;
    right: 0;
    transform: none;
    margin-top: 15px;
}
.about-intro-content p {
    font-size: 17px;
    line-height: 2;
}

.core-values {
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--gray-color);
}


/* --- Clients Page --- */
.clients-section {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.client-card a {
    display: block;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-top: 40px;
    position: relative;
    text-align: center;
}

.client-card a:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.client-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: -100px auto 20px auto;
    position: relative;
    border: 5px solid #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info {
    padding: 0 25px 25px 25px;
}

.client-name {
    font-size: 22px;
    color: var(--dark-color);
    margin: 0 0 10px 0;
}

.client-bio {
    font-size: 15px;
    color: #555;
    margin: 0 0 20px 0;
    line-height: 1.7;
    height: 85px;
    overflow: hidden;
}

.view-works-link {
    font-weight: bold;
    color: var(--primary-color);
}


/* --- Service Detail Page --- */
.service-detail-section {
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 50px;
}

.service-main-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark-color);
}
.service-main-content h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark-color);
}
.service-main-content p {
    line-height: 2;
    font-size: 17px;
}

.features-list, .process-list {
    list-style: none;
    padding: 0;
}
.features-list li {
    font-size: 17px;
    margin-bottom: 12px;
}
.features-list i {
    color: var(--primary-color);
    margin-left: 10px;
}

.process-list {
    counter-reset: process-counter;
}
.process-list li {
    font-size: 17px;
    margin-bottom: 15px;
    position: relative;
    padding-right: 45px;
}
.process-list li::before {
    counter-increment: process-counter;
    content: counter(process-counter);
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.service-sidebar .widget {
    background-color: var(--gray-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.service-sidebar .widget-title {
    font-size: 20px;
    margin: 0 0 20px 0;
    color: var(--dark-color);
}
.service-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-links li a {
    display: block;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}
.service-links li a:hover {
    background-color: #ddd;
}
.service-links li.active a {
    background-color: var(--primary-color);
    color: #fff;
}

.service-sidebar .widget .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* --- FINAL FIX: Force Remove Space Below Slider --- */
.hero-slider {
    margin-bottom: 0 !important;
}
.platforms-marquee {
    margin-top: 0 !important;
}


/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .main-nav { display: none; }
    .hamburger-menu { display: block; }
    .mobile-nav.active { display: flex; }
    .about-snippet-grid, .contact-grid, .service-grid, .about-intro { 
        grid-template-columns: 1fr; 
    }
}

/* --- Single Post Page Adjustments --- */
.post-full-meta .meta-divider {
    margin: 0 10px;
    color: #ccc;
}
.likes-container p {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
}
.likes-container {
    flex-wrap: wrap;
}
/* --- FINAL FIX for Single Post Title on ALL DEVICES --- */

.post-full-title {
    font-size: 36px !important; /* هذا هو الحجم الجديد المناسب لشاشة الكمبيوتر */
    color: var(--dark-color);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .post-full-title {
        font-size: 20px !important; /* وهذا الحجم المناسب لشاشة الجوال */
    }
}
/* --- Homepage Dynamic Sections --- */
.featured-works-section {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.latest-posts-section {
    padding: 80px 0;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* Make blog cards on homepage simpler */
.latest-posts-section .post-card-excerpt,
.latest-posts-section .post-meta {
    display: none;
}
.latest-posts-section .blog-grid {
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.latest-posts-section .post-card-content {
    min-height: 120px;
}
/* --- Fix for About Us Section on Mobile --- */
@media (max-width: 992px) {
    .about-snippet-grid {
        grid-template-columns: 1fr;
    }
    .about-snippet-image {
       order: 1; /* Make image appear first */
    }
    .about-snippet-content {
       order: 2; /* Make text appear second */
    }
}
/* --- Share Buttons --- */
.share-buttons {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.share-buttons h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--dark-color);
}
.share-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 8px;
    color: #fff;
    font-size: 20px;
    transition: transform 0.3s ease;
}
.share-btn:hover {
    transform: translateY(-5px);
}
.share-btn.facebook { background-color: #1877F2; }
.share-btn.twitter { background-color: #1DA1F2; }
.share-btn.whatsapp { background-color: #25D366; }
.share-btn.linkedin { background-color: #0A66C2; }
/* --- FINAL FIX: Remove Space Below Swiper Slider --- */
.hero-slider {
    display: flex; /* Use flexbox to control content */
}

.swiper.mainSwiper {
    height: 100%; /* Make swiper fill its container */
}
/* --- Legal Pages (Privacy Policy etc.) --- */
.legal-page-section {
    padding: 80px 0;
}
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}
.legal-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--dark-color);
}
.legal-content h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--dark-color);
}
.legal-content p, .legal-content li {
    font-size: 17px;
    line-height: 2;
    color: #555;
}
.legal-content ul {
    list-style: none;
    padding-right: 0;
}
.legal-content ul li {
    padding-right: 25px;
    position: relative;
    margin-bottom: 15px;
}
.legal-content ul li::before {
    content: '\f058'; /* Font Awesome check-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    right: 0;
    top: 5px;
}
.legal-content a {
    font-weight: bold;
    text-decoration: underline;
}
/* --- FAQ Page --- */
.faq-page-section {
    padding: 80px 0;
    background-color: #fff;
}
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
}
.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.category-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-color);
    background-color: var(--gray-color);
    transition: all 0.3s ease;
}
.category-link:hover {
    background-color: #e0e0e0;
}
.category-link.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 5px 15px rgba(106, 90, 205, 0.4);
}
.category-link i {
    font-size: 20px;
}

.faq-category-content {
    display: none;
}
.faq-category-content.active {
    display: block;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    cursor: pointer;
}
.faq-question i {
    font-size: 16px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    padding: 0 25px 20px 25px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-cta {
    margin-top: 60px;
    text-align: center;
    background-color: var(--gray-color);
    padding: 40px;
    border-radius: 8px;
}
.faq-cta h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin: 0 0 10px 0;
}
.faq-cta p {
    color: #555;
    margin: 0 0 20px 0;
}

/* Responsive for FAQ Page */
@media (max-width: 992px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-categories {
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
}
/* --- Final Footer Styles --- */
.site-footer {
    background-color: var(--dark-color);
    color: #a0a0c0;
    padding: 80px 0 0 0;
    margin-top: 80px;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4-column layout */
    gap: 40px;
    padding-bottom: 50px;
}

.footer-widget .widget-title {
    color: var(--light-color);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}
.footer-widget .widget-title span {
    color: var(--primary-color);
}

.footer-widget .about-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #a0a0c0;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.footer-contact-info li i {
    font-size: 18px;
    color: var(--primary-color);
}
.footer-contact-info li a, .footer-contact-info li span {
    color: #a0a0c0;
}

.footer-contact-info .footer-whatsapp-btn {
    display: inline-block;
    background-color: #25D366; /* WhatsApp Green */
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact-info .footer-whatsapp-btn:hover {
    color: #fff;
    opacity: 0.9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background-color: rgba(0,0,0,0.2);
    padding: 20px 5%;
}
.footer-bottom .copyright {
    margin: 0;
    font-size: 14px;
}
.footer-bottom .legal-links {
    display: flex;
    gap: 20px;
}
.footer-bottom .legal-links a {
    font-size: 14px;
    color: #a0a0c0;
}
.footer-bottom .legal-links a:hover {
    color: #fff;
}

/* Responsive for footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}