/* Base Styles and Variables */
:root {
    --primary-color: #2A8D6A;
    --secondary-color: #1E6F53;
    --accent-color: #F5A623;
    --text-color: #333333;
    --light-text-color: #fff;
    --bg-color: #FFFFFF;
    --light-gray: #F5F5F5;
    --border-color: #DDDDDD;
    --font-family-ar: 'Cairo', sans-serif;
    --font-family-en: 'Poppins', sans-serif;
    --font-size-base: 16px;
    --font-size-base-en: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    --line-height: 1.6;
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 30px;
    --spacing-xl: 60px;
    --border-radius: 5px;
    --border-width: 1px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    --container-width: 1200px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap');

/* Font Definitions */
@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap');
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-ar);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    direction: rtl;
    font-size: var(--font-size-base);
    overflow-x: hidden !important;
}

body.ltr {
    direction: ltr;
    font-family: var(--font-family-en);
    font-size: var(--font-size-base-en);
}

img {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 38px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: var(--spacing-md);
    font-weight: 700;
}

@media (max-width: 992px) {
    .section-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 42px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
}

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

/* Buttons */
button,
.btn,
input[type="submit"] {
    font-family: var(--font-family-ar);
}

body.ltr button,
body.ltr .btn,
body.ltr input[type="submit"] {
    font-family: var(--font-family-en);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.ltr .btn {
    font-size: 1rem;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.btn.primary:hover {
    background-color: #2a9d8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-md);
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
    }
}

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

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    margin-left: 10px;
}

body.ltr .logo-text {
    margin-left: 10px;
    margin-right: 0;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: var(--font-size-lg);
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a.active {
    color: var(--primary-color);
}

body.ltr .main-nav ul li a {
    font-size: var(--font-size-lg);
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-visible {
    display: none;
}

/* Language Switcher */
.language-switch a {
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.language-switch a:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    text-align: center;
    font-weight: 700;
}

body.ltr .hero h1 {
    font-size: 36px;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
    }

    body.ltr .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 44px;
    }

    body.ltr .hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }

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

.hero p {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
}

body.ltr .hero p {
    font-size: var(--font-size-base-en);
}

.hero p.tagline {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

body.ltr .hero p.tagline {
    font-size: 1.3rem;
}

.hero .sub-text {
    margin-bottom: var(--spacing-lg);
    color: #666;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: var(--light-gray);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.service-card.highlight {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.service-icon {
    margin-bottom: var(--spacing-md);
}

.service-icon img {
    width: 60px;
    height: 60px;
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

body.ltr .service-card h3 {
    font-size: var(--font-size-lg);
}

/* Bilingual text styles */
.en-text {
    font-family: var(--font-family-en);
    font-size: 0.9em;
    color: #666;
    margin-top: 8px;
}

.ar-text {
    font-family: var(--font-family-ar);
    font-size: 0.9em;
    color: #666;
    margin-top: 8px;
    direction: rtl;
}

body.ltr .ar-text {
    text-align: right;
}

body:not(.ltr) .en-text {
    text-align: left;
}

/* What We Offer Section */
.what-we-offer {
    padding: 100px 0;
    background-color: #fff;
}

.what-we-offer-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.what-we-offer-image {
    flex: 0 0 35%;
    text-align: center;
}

.what-we-offer-image img {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.what-we-offer-content {
    flex: 0 0 65%;
}

.what-we-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.what-we-offer-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.check-icon {
    margin-left: 10px;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.item-text {
    font-size: 15px;
    color: #444;
    line-height: 1.4;
}

body.ltr .check-icon {
    margin-left: 0;
    margin-right: 10px;
}

.what-we-offer-button-container {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .what-we-offer-container {
        flex-direction: column;
        align-items: center;
    }

    .what-we-offer-image,
    .what-we-offer-content {
        flex: 0 0 100%;
        width: 100%;
    }

    .what-we-offer-image {
        margin-bottom: 30px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .what-we-offer-grid {
        grid-template-columns: 1fr;
    }
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    z-index: 1;
}

.why-us .container {
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.feature-center-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.feature-center-wrapper {
    display: flex;
    gap: 30px;
    max-width: 800px;
    width: 100%;
}

.feature-center-wrapper .feature {
    flex: 1;
    width: 100%;
}

@media (max-width: 768px) {
    .feature-center-wrapper {
        flex-direction: column;
    }
}

.feature {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.feature p {
    color: #666;
    line-height: 1.6;
}

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

.contact-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    margin-top: 30px;
}

body.ltr .contact-container {
    flex-direction: row;
}

.contact-form {
    flex: 0 0 60%;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-header {
    margin-bottom: 25px;
    text-align: right;
}

.form-header h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 22px;
}

.form-header p {
    color: #666;
    font-size: 15px;
}

.contact-info {
    flex: 0 0 40%;
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    color: white;
}

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

.contact-info-header h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: white;
}

.contact-info-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.5;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.icon-wrapper {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: white;
}

.info-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.5;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-family-ar);
    font-size: 15px;
    transition: all 0.3s ease;
}

body.ltr .form-group input,
body.ltr .form-group select,
body.ltr .form-group textarea {
    font-family: var(--font-family-en);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 141, 106, 0.1);
    outline: none;
}

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

.contact-form .btn {
    padding: 12px 25px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin-top: 10px;
}

.contact-form .btn i {
    font-size: 16px;
}

body.ltr .form-header {
    text-align: left;
}

body.ltr .icon-wrapper {
    margin-left: 0;
    margin-right: 15px;
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        flex: 0 0 100%;
    }

    .contact-info {
        order: -1;
    }
}

@media (max-width: 768px) {

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }

    .contact-form,
    .contact-info {
        padding: 20px;
    }
}

/* Our Coverage Section */
.our-coverage {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

.our-coverage .section-title {
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.our-coverage .section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.our-coverage-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 0 1px var(--primary-color);
    text-align: center;
}

.coverage-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    text-align: right;
}

body.ltr .coverage-list {
    text-align: left;
}

.coverage-list li {
    position: relative;
    padding-right: 30px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

body.ltr .coverage-list li {
    padding-right: 0;
    padding-left: 30px;
}

.coverage-list li i {
    color: var(--primary-color);
    font-size: 16px;
    position: absolute;
    right: 0;
    top: 4px;
}

body.ltr .coverage-list li i {
    right: auto;
    left: 0;
}

.coverage-button-container {
    margin-top: 30px;
}

.coverage-button-container .btn {
    padding: 10px 25px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .coverage-list {
        grid-template-columns: 1fr;
    }

    .our-coverage-content {
        padding: 20px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    margin-top: 40px;
    overflow: visible;
    transition: transform 0.5s ease;
    width: 100%;
    padding: 20px 0;
}

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    flex: 0 0 calc(33.333% - 20px);
    margin-right: 20px;
    margin-left: 0;
    display: flex;
    flex-direction: column;
}

body.ltr .testimonial-card {
    margin-right: 0;
    margin-left: 20px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.testimonial-content p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 15px;
}

.rating {
    color: #FFD700;
    font-size: 18px;
    margin-top: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 15px;
    border: 3px solid var(--primary-color);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(42, 141, 106, 0.1) !important;

}



.author-image i {
    font-size: 32px !important;
    color: var(--primary-color) !important;
    display: block;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    color: #777;
    font-size: 14px;
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        margin-right: 0;
        margin-left: 0;
    }

    body.ltr .testimonial-card {
        margin-left: 0;
    }
}

/* Footer */
footer {
    background-color: #2a8d6a;
    color: var(--light-text-color);
    padding: 40px 0 20px;
    position: relative;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #1e6b4f, #3dba8c);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

/* RTL specific footer layout */
body:not(.ltr) .footer-content {
    grid-template-areas: "contact links logo";
}

body:not(.ltr) .footer-logo {
    grid-area: logo;
}

body:not(.ltr) .footer-links {
    grid-area: links;
}

body:not(.ltr) .footer-contact {
    grid-area: contact;
}

/* LTR specific footer layout */
body.ltr .footer-content {
    grid-template-areas: "logo links contact";
}

body.ltr .footer-logo {
    grid-area: logo;
}

body.ltr .footer-links {
    grid-area: links;
}

body.ltr .footer-contact {
    grid-area: contact;
}

/* Mobile layout for both RTL and LTR */
@media (max-width: 768px) {

    body:not(.ltr) .footer-content,
    body.ltr .footer-content {
        grid-template-areas:
            "logo"
            "links"
            "contact";
    }
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-right: 20px;
}

body.ltr .footer-logo {
    padding-right: 0;
    padding-left: 20px;
}

.footer-logo::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

body.ltr .footer-logo::after {
    right: auto;
    left: 0;
}

.footer-logo img {
    /* height: 55px; */
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    width: 120px;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-logo p {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.9;
    line-height: 1.5;
    text-align: justify;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

body.ltr .footer-links h3,
body.ltr .footer-contact h3 {
    font-size: 18px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: #3dba8c;
    border-radius: 3px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li {
    margin-bottom: 0;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 20px;
}

body.ltr .footer-links ul li {
    padding-right: 0;
    padding-left: 20px;
}

.footer-links ul li:hover {
    transform: translateX(-8px);
}

body.ltr .footer-links ul li:hover {
    transform: translateX(8px);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links ul li a::before {
    content: '\f105';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    color: #3dba8c;
    font-size: 16px;
    transition: all 0.3s ease;
}

body.ltr .footer-links ul li a::before {
    content: '\f104';
    right: auto;
    left: 0;
}

.footer-links ul li a:hover {
    color: #ffffff;
}

.footer-links ul li:hover a::before {
    color: #ffffff;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
}

.footer-contact p i {
    color: #3dba8c;
    font-size: 18px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-contact p:hover {
    transform: translateX(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

body.ltr .footer-contact p:hover {
    transform: translateX(5px);
}

.footer-contact p:hover i {
    transform: scale(1.2);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--light-text-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3dba8c;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.footer-social a:hover {
    color: #ffffff;
    transform: translateY(-5px);
}

.footer-social a:hover::before {
    transform: translateY(0);
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    opacity: 0.8;
    margin-top: 15px;
}

.footer-bottom a.highlight {
    color: #3dba8c;
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    padding: 0 2px;
}

.footer-bottom a.highlight:hover {
    color: #ffffff;
}

.footer-bottom a.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #3dba8c;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-bottom a.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #3D9D78;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.whatsapp-button a:hover {
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: auto;
    left: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-top a:hover {
    background-color: #1e7154;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 20px;
}

body.ltr .back-to-top {
    left: auto;
    right: 30px;
}

/* RTL Specific Styles */
body:not(.ltr) .footer-links h3::after,
body:not(.ltr) .footer-contact h3::after {
    right: 0;
    left: auto;
}

body.ltr .footer-links h3::after,
body.ltr .footer-contact h3::after {
    left: 0;
    right: auto;
}

/* Fix horizontal scrolling issues */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Fix for mobile devices */
@media (max-width: 768px) {

    .hero-content h1,
    .section-title,
    .hero-content .tagline,
    .hero-content .sub-text {
        max-width: 100%;
        word-wrap: break-word;
    }

    .hero-image img,
    .what-we-offer-image img {
        max-width: 100%;
        height: auto;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

/* Custom Select Styling */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232A8D6A' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 35px !important;
}

body.ltr select {
    background-position: right 15px center;
    padding-left: 15px !important;
    padding-right: 35px !important;
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    right: 0;
    bottom: 10%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.ltr .floating-contact {
    right: auto;
    left: 0;
}

.floating-contact a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    border-radius: 30px 0 0 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    justify-content: space-between;
    transform: translateX(calc(100% - 60px));
}

.floating-contact a:hover {
    transform: translateX(0);
}

body.ltr .floating-contact a {
    border-radius: 0 30px 30px 0;
    flex-direction: row-reverse;
}

.floating-contact .whatsapp-btn {
    background-color: var(--primary-color);
}

.floating-contact .phone-btn {
    background-color: var(--primary-color);
}

.floating-contact .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

.floating-contact .text {
    padding: 0 20px;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

body.ltr .floating-contact a {
    border-radius: 0 30px 30px 0;
    flex-direction: row;
}

body.ltr .floating-contact a:hover {
    transform: translateX(0);
}

body.ltr .floating-contact .whatsapp-btn,
body.ltr .floating-contact .phone-btn {
    transform: translateX(calc(-100% + 60px));
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 10px;
        right: -8px;
    }

    .floating-contact .icon {
        width: 50px;
        height: 50px;
    }

    body.ltr .floating-contact .whatsapp-btn,
    body.ltr .floating-contact .phone-btn {
        transform: translateX(calc(-100% + 50px));
    }
}

/* Section Spacing */
section {
    padding: 80px 0;
}

section+section {
    margin-top: 40px;
}

.hero {
    padding: 100px 0;
}

.services {
    padding: 100px 0;
}

.what-we-offer {
    padding: 100px 0;
}

.why-us {
    padding: 100px 0;
}

.our-coverage {
    padding: 100px 0;
}

.contact {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    section+section {
        margin-top: 30px;
    }

    .hero,
    .services,
    .what-we-offer,
    .why-us,
    .our-coverage,
    .contact {
        padding: 70px 0;
    }
}

/* Scroll Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-down {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeDown 0.8s ease forwards;
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 0.8s ease forwards;
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeRight 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

/* Apply initial state to elements that will be animated */
.section-title,
.hero-content,
.hero-image,
.what-we-offer-image,
.what-we-offer-content,
.service-card,
.feature,
.what-we-offer-item,
.contact-form,
.contact-info,
.info-item,
.coverage-list li {
    opacity: 0;
}

/* Special Animations for Contact Section */
.contact.animated .form-group,
.contact.animated .info-item {
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

.animate-slide-in {
    animation: slideIn 0.6s ease forwards;
}

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

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(42, 141, 106, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(42, 141, 106, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(42, 141, 106, 0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(42, 141, 106, 0.2), 0 0 10px rgba(42, 141, 106, 0.2);
    }

    to {
        text-shadow: 0 0 10px rgba(42, 141, 106, 0.5), 0 0 20px rgba(42, 141, 106, 0.3);
    }
}

/* Override initial opacity for contact section elements */
.contact .form-group,
.contact .info-item,
.contact .form-header,
.contact .contact-info-header,
.contact .btn {
    opacity: 1;
}

body.ltr .contact.animated .info-item {
    animation: slideInRtl 0.6s ease forwards;
}

@keyframes slideInRtl {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

/* Right-align placeholder text for Arabic inputs */
body:not(.ltr) input::placeholder,
body:not(.ltr) textarea::placeholder,
body:not(.ltr) select {
    text-align: right;
}

/* Ensure LTR inputs maintain left alignment */
body.ltr input::placeholder,
body.ltr textarea::placeholder,
body.ltr select {
    text-align: left;
}

body.ltr {
    overflow-x: hidden !important;
}

/* FAQ Page Styles */
.faq-hero {
    background-color: var(--primary-color);
    padding: 100px 0 50px;
    text-align: center;
    color: var(--light-text-color);
}

.faq-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.faq-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.faq-content {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(42, 141, 106, 0.1);
    border-right: 3px solid var(--primary-color);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.faq-item.active .faq-question {
    background-color: rgba(42, 141, 106, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: var(--secondary-color);
}

.toggle-icon {
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(42, 141, 106, 0.1);
}

.faq-item.active .toggle-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 5px 25px 25px;
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    position: relative;
    padding-right: 15px;
}

.faq-answer p::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    height: calc(100% - 16px);
    width: 3px;
    background-color: var(--primary-color);
    opacity: 0.3;
    border-radius: 3px;
}

.faq-answer a {
    color: var(--primary-color);
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

body.ltr .faq-answer p {
    padding-right: 0;
    padding-left: 15px;
}

body.ltr .faq-answer p::before {
    right: auto;
    left: 0;
}

body.ltr .faq-item.active {
    border-right: none;
    border-left: 3px solid var(--primary-color);
}

.faq-item.animating .faq-question {
    background-color: rgba(42, 141, 106, 0.02);
}

@media (max-width: 768px) {
    .faq-hero h1 {
        font-size: 32px;
    }

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

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

/* Blog Article Styles */
.blog-article {
    padding: 80px 0;
}

.article-breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: #777;
}

.article-breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumbs a:hover {
    color: var(--secondary-color);
}

.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    color: #666;
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta span i {
    margin-left: 8px;
    color: var(--primary-color);
}

body.ltr .article-meta span i {
    margin-left: 0;
    margin-right: 8px;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.article-content h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    position: relative;
    padding-right: 15px;
}

body.ltr .article-content h2 {
    padding-right: 0;
    padding-left: 15px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    height: calc(100% - 16px);
    width: 5px;
    background-color: var(--primary-color);
    opacity: 0.3;
    border-radius: 3px;
}

body.ltr .article-content h2::before {
    right: auto;
    left: 0;
}

.article-content h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.article-cta {
    background-color: #f5f9f7;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    border-right: 4px solid var(--primary-color);
    text-align: center;
}

body.ltr .article-cta {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

.article-cta h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.article-cta .cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.article-cta .cta-button:hover {
    background-color: var(--secondary-color);
}

.article-tags {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.article-tags span {
    color: #666;
    font-weight: 600;
    margin-left: 5px;
}

body.ltr .article-tags span {
    margin-left: 0;
    margin-right: 5px;
}

.article-tags a {
    display: inline-block;
    background-color: #f0f0f0;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.article-share {
    margin: 30px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-share span {
    color: #666;
    font-weight: 600;
}

.article-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-share a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-articles h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-article {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.related-article:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-article img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.related-article h4 {
    padding: 15px;
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.related-article a {
    text-decoration: none;
}

.related-article:hover h4 {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .article-header h1 {
        font-size: 26px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .blog-article {
        padding: 60px 0;
    }
}

/* Blog Hero Section */
.blog-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

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

.blog-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-content {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.blog-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #777;
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta span i {
    margin-left: 5px;
    color: var(--primary-color);
}

body.ltr .blog-meta span i {
    margin-left: 0;
    margin-right: 5px;
}

.blog-details h2 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-details h2 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-details h2 a:hover {
    color: var(--primary-color);
}

.blog-details p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.3s ease;
}

.read-more i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

body.ltr .read-more i {
    margin-right: 0;
    margin-left: 10px;
    transform: rotate(180deg);
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover i {
    transform: translateX(-5px);
}

body.ltr .read-more:hover i {
    transform: translateX(5px) rotate(180deg);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.blog-pagination a,
.blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-pagination a {
    background-color: #f5f5f5;
    color: #444;
}

.blog-pagination span.current-page {
    background-color: var(--primary-color);
    color: white;
}

.blog-pagination a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.blog-pagination .next-page,
.blog-pagination .prev-page {
    width: auto;
    padding: 0 15px;
}

.blog-pagination .next-page i {
    margin-right: 8px;
}

.blog-pagination .prev-page i {
    margin-left: 8px;
}

body.ltr .blog-pagination .next-page i {
    margin-right: 0;
    margin-left: 8px;
    transform: rotate(180deg);
}

body.ltr .blog-pagination .prev-page i {
    margin-left: 0;
    margin-right: 8px;
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0;
    }

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

    .blog-content {
        padding: 50px 0;
    }

    .blog-details h2 {
        font-size: 18px;
    }
}

.ac-units-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ac-units-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/pattern.png");
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.ac-units-hero .container {
    position: relative;
    z-index: 2;
}

.ac-units-hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 36px;
}

.ac-units-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.ac-units-content {
    padding: 80px 0;
}

.ac-units-content .section-title {
    margin-bottom: 50px;
}

.ac-units-content .section-title h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.ac-units-content .section-title p {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
}

.ac-units-categories {
    margin-top: 50px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-tab {
    background-color: #f0f0f0;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background-color: #e0e0e0;
}

.category-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.category-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.category-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.category-info {
    margin-bottom: 40px;
}

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

.category-info p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.category-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.feature span {
    color: #333;
    font-weight: 600;
}

.category-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.unit-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.unit-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.unit-info {
    padding: 15px;
    background-color: white;
}

.unit-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.unit-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.brands-section {
    margin-top: 80px;
    text-align: center;
}

.brands-section h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.brand-logo {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.brand-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

.cta-section {
    margin-top: 80px;
    background-color: #f5f9f7;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
}

.cta-section h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.cta-section p {
    color: #555;
    max-width: 700px;
    margin: 0 auto 30px;
}

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

.cta-buttons .btn {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
}

.cta-buttons .primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.cta-buttons .secondary-btn {
    background-color: white;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.cta-buttons .primary-btn:hover {
    background-color: var(--secondary-color);
}

.cta-buttons .secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 992px) {
    .category-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ac-units-hero {
        padding: 60px 0;
    }

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

    .ac-units-content {
        padding: 50px 0;
    }

    .category-features {
        grid-template-columns: 1fr;
    }

    .category-images {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-section {
        padding: 30px;
    }
}

/* Brands Section Styles */
.brands-section {
    margin-top: 40px;
    text-align: center;
}

.brands-section h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.brand-logo {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.brand-logo img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.brand-logo p {
    margin-top: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .brand-logo img {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .brand-logo {
        padding: 12px;
    }

    .brand-logo img {
        height: 40px;
    }

    .brand-logo p {
        font-size: 13px;
        margin-top: 5px;
    }
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.blog-pagination a,
.blog-pagination span.current-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-pagination a {
    background-color: #f5f5f5;
    color: #444;
}

.blog-pagination span.current-page {
    background-color: var(--primary-color);
    color: white;
}

.blog-pagination a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.blog-pagination .next-page,
.blog-pagination .prev-page {
    width: auto;
    padding: 0 15px;
}

.blog-pagination .next-page i {
    margin-right: 8px;
}

.blog-pagination .prev-page i {
    margin-left: 8px;
}

body.ltr .blog-pagination .next-page i {
    margin-right: 0;
    margin-left: 8px;
    transform: rotate(180deg);
}

body.ltr .blog-pagination .prev-page i {
    margin-left: 0;
    margin-right: 8px;
    transform: rotate(180deg);
}

/* Pagination Styles - Enhanced */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.blog-pagination a,
.blog-pagination span.current-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 18px;
}

.blog-pagination a {
    background-color: #f5f5f5;
    color: #444;
}

.blog-pagination span.current-page {
    background-color: var(--primary-color);
    color: white;
}

.blog-pagination a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.blog-pagination .next-page,
.blog-pagination .prev-page {
    width: auto;
    padding: 0 20px;
    background-color: #f5f5f5;
}

.blog-pagination .next-page i {
    margin-right: 8px;
}

.blog-pagination .prev-page i {
    margin-left: 8px;
}

body.ltr .blog-pagination .next-page i {
    margin-right: 0;
    margin-left: 8px;
}

body.ltr .blog-pagination .prev-page i {
    margin-left: 0;
    margin-right: 8px;
}

@media (max-width: 576px) {

    .blog-pagination a,
    .blog-pagination span.current-page {
        min-width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .blog-pagination .next-page,
    .blog-pagination .prev-page {
        padding: 0 15px;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: -100vh;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: 90vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: top 0.3s ease;
        z-index: 100;
        overflow-y: auto;
        border-bottom-left-radius: var(--border-radius);
        border-bottom-right-radius: var(--border-radius);
    }

    body.ltr .main-nav {
        top: -100vh;
        transition: top 0.3s ease;
    }

    .main-nav.active {
        top: 0;
    }

    body.ltr .main-nav.active {
        top: 0;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        margin-bottom: 10px;
        align-items: center;
        padding: 0;
    }

    .main-nav ul li {
        margin: 3px 0;
        width: 100%;
        text-align: center;
    }

    body.ltr .main-nav ul li {
        text-align: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 8px 0;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .main-nav ul li a::after {
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
    }

    .main-nav ul li a:hover::after,
    .main-nav ul li a.active::after {
        width: 50%;
    }

    .main-nav ul li a.active {
        color: var(--primary-color);
    }

    .mobile-visible {
        display: block;
        margin-top: 20px;
        text-align: center;
    }

    .mobile-hidden {
        display: none;
    }

    /* Mobile Navigation Overlay */
    body.nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
    }

    /* Hero Section Responsive Fixes */
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-image {
        margin-top: 30px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content .tagline {
        font-size: 1.2rem;
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        margin: 20px auto 0;
    }
}

/* Blog Article Page Styles */
.blog-article-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.blog-article-hero .container {
    position: relative;
    z-index: 2;
}

.blog-article-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: white;
}

.blog-article-content {
    padding: 60px 0;
}

.blog-article-content .container {
    max-width: 900px;
}

.article-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-text {
    line-height: 1.8;
    color: #333;
}

.article-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.article-text h2 {
    font-size: 28px;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    position: relative;
    padding-right: 15px;
}

body.ltr .article-text h2 {
    padding-right: 0;
    padding-left: 15px;
}

.article-text h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    height: calc(100% - 16px);
    width: 5px;
    background-color: var(--primary-color);
    opacity: 0.3;
    border-radius: 3px;
}

body.ltr .article-text h2::before {
    right: auto;
    left: 0;
}

.article-text h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.article-text ul {
    margin-bottom: 20px;
    padding-right: 20px;
}

body.ltr .article-text ul {
    padding-right: 0;
    padding-left: 20px;
}

.article-text ul li {
    margin-bottom: 10px;
    position: relative;
}

.article-text ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5em;
}

body.ltr .article-text ul li::before {
    margin-right: 0;
    margin-left: 0.5em;
}

.article-cta {
    background-color: #f5f9f7;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    border-right: 4px solid var(--primary-color);
    text-align: center;
}

body.ltr .article-cta {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

.article-cta h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.article-cta .btn {
    display: inline-block;
    margin-top: 15px;
}

.article-share {
    margin: 30px 0;
}

.article-share h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--secondary-color);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.share-btn.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.share-btn.whatsapp:hover {
    background-color: #25d366;
    color: white;
}

.related-articles {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-articles h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--secondary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card h4 {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.related-card a {
    text-decoration: none;
}

.related-card:hover h4 {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .blog-article-hero h1 {
        font-size: 26px;
    }

    .article-text h2 {
        font-size: 22px;
    }

    .article-text h3 {
        font-size: 18px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .blog-article-content {
        padding: 40px 0;
    }

    .article-cta {
        padding: 20px;
    }
}

/* AC Capacity Table Styles */
.ac-capacity-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.ac-capacity-table th,
.ac-capacity-table td {
    padding: 12px 15px;
    text-align: center;
}

.ac-capacity-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.ac-capacity-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.ac-capacity-table tr:hover {
    background-color: #f0f0f0;
}

/* Blog Article Page Styles - Updated for consistency */
.blog-article-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.blog-article-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.blog-article-hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta span i {
    margin-left: 8px;
}

body.ltr .article-meta span i {
    margin-left: 0;
    margin-right: 8px;
}

.blog-article-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.blog-article-content .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.article-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-text {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
    color: #333;
}

.article-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.article-text h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    position: relative;
    padding-right: 15px;
    font-weight: 600;
}

body.ltr .article-text h2 {
    padding-right: 0;
    padding-left: 15px;
}

.article-text h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    height: calc(100% - 16px);
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

body.ltr .article-text h2::before {
    right: auto;
    left: 0;
}

.article-text h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-text ul {
    margin-bottom: 20px;
    padding-right: 20px;
    list-style-position: inside;
}

body.ltr .article-text ul {
    padding-right: 0;
    padding-left: 20px;
}

.article-text ul li {
    margin-bottom: 10px;
    position: relative;
}

.article-cta {
    background-color: #f5f9f7;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    border-right: 4px solid var(--primary-color);
    text-align: center;
}

body.ltr .article-cta {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

.article-cta h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.article-cta p {
    margin-bottom: 20px;
}

.article-cta .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.article-cta .btn:hover {
    background-color: var(--secondary-color);
}

.article-share {
    margin: 30px 0;
}

.article-share h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.share-btn.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.share-btn.whatsapp:hover {
    background-color: #25d366;
    color: white;
}

.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-articles h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--secondary-color);
    font-weight: 600;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: white;
}

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

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card h4 {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.related-card a {
    text-decoration: none;
}

.related-card:hover h4 {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .blog-article-hero {
        padding: 60px 0 40px;
    }

    .blog-article-hero h1 {
        font-size: 24px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .article-text {
        padding: 20px;
    }

    .article-text h2 {
        font-size: 20px;
    }

    .article-text h3 {
        font-size: 18px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .blog-article-content {
        padding: 30px 0;
    }

    .article-cta {
        padding: 20px;
    }
}

/* Read More Button Styles */
.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-size: 16px;
}

.read-more i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

body.ltr .read-more i {
    margin-right: 0;
    margin-left: 10px;
    transform: rotate(180deg);
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover i {
    transform: translateX(-5px);
}

body.ltr .read-more:hover i {
    transform: translateX(5px) rotate(180deg);
}

/* Add styles for read more links in blog article pages */
.article-text .read-more {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.article-text .read-more i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

body.ltr .article-text .read-more i {
    margin-right: 0;
    margin-left: 10px;
}

.article-text .read-more:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature:hover .feature-icon i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}