/*
Theme Name: Academys
Theme URI: https://www.anubis-web.com
Author: انوبيس ويب
Author URI: https://www.anubis-web.com
Description: Academys.
Tags: Academys
Version: 2
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: https://www.anubis-web.com
Text Domain: https://www.anubis-web.com
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*==== font =====*/
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(inc/Iurf6YBj_oCad4k1l8KiHrRpiYlJ.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(inc/Iurf6YBj_oCad4k1l8KiHrFpiQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(inc/Iurf6YBj_oCad4k1l4qkHrRpiYlJ.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(inc/Iurf6YBj_oCad4k1l4qkHrFpiQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(inc/Iurf6YBj_oCad4k1l5anHrRpiYlJ.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(inc/Iurf6YBj_oCad4k1l5anHrFpiQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*==== Reast =====*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

:focus {
    outline: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden] {
    display: none
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

a:focus {
    outline: thin dotted
}

a:active,
a:hover {
    outline: 0
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic
}

figure {
    margin: 0
}

form {
    margin: 0
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle
}

button,
input {
    line-height: normal
}

button,
select {
    text-transform: none
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible
}

button[disabled],
html input[disabled] {
    cursor: default
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;/ *height: 13px;/ *width: 13px
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

html,
button,
input,
select,
textarea {
    color: #222
}

::-moz-selection {
    background: #222;
    color: #fff;
    text-shadow: none
}


img {
    vertical-align: middle
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0
}

textarea {
    resize: vertical
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0
}

a {
    text-decoration: none;
    color: #0a0d37;
    margin: 0PX;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

/* Color Variables */
:root {
    --primary-green: #3b3535;
    --light-green: #90EE90;
    --dark-green: #6c6767;
    --accent-gold: #c4923d;
    --gold:#e19f30;
    
    --neutral-bg: #F5F5F5;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--neutral-bg);
}

/* Header and Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 70px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    flex-wrap: wrap;
    min-height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
}

.logo img {
    max-height: 50px;
    width: auto;
}

header .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

header .nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

header .nav-link:hover {
    color: var(--primary-green);
}

header .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

header .nav-link:hover::after {
    width: 100%;
}

/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cta-button {
    background: var(--primary-green);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
}

.cta-button:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: var(--neutral-bg);
}

/* Hamburger Menu Animation */
.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Sub-Menu Styles */
header .nav-menu {
    position: relative;
}

header .nav-menu .menu-item-has-children {
    position: relative;
}

header .nav-menu .menu-item-has-children>header .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.menu-item-has-children:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-green);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e0e0e0;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
}

.sub-menu header .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.sub-menu header .nav-link:hover {
    background: var(--neutral-bg);
    color: var(--primary-green);
    padding-left: 2rem;
}

.sub-menu header .nav-link::after {
    display: none;
}

.sub-menu header .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sub-menu header .nav-link:hover::before {
    transform: scaleY(1);
}

/* Multi-level Sub-menu */
.sub-menu .menu-item-has-children {
    position: relative;
}

.sub-menu .menu-item-has-children .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

.sub-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* RTL Support for Sub-menu */
[dir="rtl"] .sub-menu {
    left: auto;
    right: 0;
}

[dir="rtl"] .sub-menu .menu-item-has-children .sub-menu {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] .sub-menu header .nav-link:hover {
    padding-left: 1.5rem;
    padding-right: 2rem;
}

[dir="rtl"] .sub-menu header .nav-link::before {
    left: auto;
    right: 0;
}

/* Language Switcher Dropdown */


.custom-select {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.select-selected {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    user-select: none;
}

.select-selected:hover {
    border-color: var(--primary-green);
    background: var(--neutral-bg);
}

.select-selected.select-arrow-active {
    border-color: var(--primary-green);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
}

.lang-name {
    flex: 1;
}

.select-arrow {
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.select-selected.select-arrow-active .select-arrow {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    background: var(--white);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 2px solid var(--primary-green);
    border-top: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.select-hide {
    display: none;
}

.select-option {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.select-option:hover {
    background: var(--neutral-bg);
}

.select-option:last-child {
    border-radius: 0 0 13px 13px;
}

/* Language Switcher Animation */
.select-items {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL Support for Language Switcher */
[dir="rtl"] .select-selected {
    text-align: right;
}

[dir="rtl"] .flag-icon {
    margin-left: 8px;
    margin-right: 0;
}

/* Dark Mode Support */
body.Dark .select-selected {
    background: #2a2a2a;
    border-color: #444;
    color: #fff;
}

body.Dark .select-selected:hover {
    background: #333;
    border-color: var(--primary-green);
}

body.Dark .select-items {
    background: #2a2a2a;
    border-color: var(--primary-green);
}

body.Dark .select-option {
    color: #fff;
}

body.Dark .select-option:hover {
    background: #333;
}

/* Language Switcher Dropdown */

.custom-select {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.select-selected {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    user-select: none;
}

.select-selected:hover {
    border-color: var(--primary-green);
    background: var(--neutral-bg);
}

.select-selected.select-arrow-active {
    border-color: var(--primary-green);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
}

.lang-name {
    flex: 1;
}

.select-arrow {
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.select-selected.select-arrow-active .select-arrow {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    background: var(--white);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 2px solid var(--primary-green);
    border-top: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.select-hide {
    display: none;
}

.select-option {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.select-option:hover {
    background: var(--neutral-bg);
}

.select-option:last-child {
    border-radius: 0 0 13px 13px;
}

/* Language Switcher Animation */
.select-items {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL Support for Language Switcher */
[dir="rtl"] .select-selected {
    text-align: right;
}

[dir="rtl"] .flag-icon {
    margin-left: 8px;
    margin-right: 0;
}

/* Dark Mode Support */
body.Dark .select-selected {
    background: #2a2a2a;
    border-color: #444;
    color: #fff;
}

body.Dark .select-selected:hover {
    background: #333;
    border-color: var(--primary-green);
}

body.Dark .select-items {
    background: #2a2a2a;
    border-color: var(--primary-green);
}

body.Dark .select-option {
    color: #fff;
}

body.Dark .select-option:hover {
    background: #333;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #B8860B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 30px;
    border: 2px solid var(--white);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
}



/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

body.home .course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

body.home .course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    height: 200px;
    background: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-green);
}

.course-content {
    padding: 1.5rem;
}

body.home .course-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

body.home .course-features {
    list-style: none;
    margin: 1rem 0;
}

body.home .course-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
}



/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 3px solid var(--primary-green);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 1rem 0;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    background: var(--neutral-bg);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-green);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}


.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-green);
}

.author-info h4 {
    margin: 0;
    color: var(--primary-green);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER STYLES ===== */

/* Footer Wave Animation */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave .shape-fill {
    fill: var(--primary-green);
    animation: wave-flow 8s ease-in-out infinite;
}

@keyframes wave-flow {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-20px); }
}

/* Main Footer Container */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 6rem 0 0;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(184, 134, 45, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(46, 125, 50, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

footer.footer ul#nav-menu {
    display: block;
}


.footer .container {
    position: relative;
    z-index: 2;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Sections */
.footer-section {
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4 i {
    font-size: 1.1rem;
    color: var(--white);
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.5s both;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 60px; }
}

/* Footer About Section */
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, var(--primary-green), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo h3::after {
    display: none;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.social-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.social-link:hover .social-ripple {
    width: 100px;
    height: 100px;
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 15px 35px rgba(24, 119, 242, 0.4);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
    box-shadow: 0 15px 35px rgba(225, 48, 108, 0.4);
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.social-link i {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

/* Tooltip for social links */
.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-link:hover::before,
.social-link:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Footer Links Section */
.footer-links .footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links .footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-links .footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
}

.footer-links .footer-menu a::before {
    content: '→';
    color: var(--gold);
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links .footer-menu a:hover {
    color: var(--gold);
    padding-left: 1rem;
}

.footer-links .footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    opacity: 0;
    animation: slideInLeft 0.6s ease-out forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.2s; }
.contact-item:nth-child(2) { animation-delay: 0.4s; }
.contact-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    background: rgba(46, 125, 50, 0.2);
    border-color: var(--primary-green);
    transform: translateX(5px);
    color: var(--white);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link:hover .contact-icon {
    background: var(--accent-gold);
    transform: scale(1.1);
}

.contact-link span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Newsletter Section */
.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.newsletter-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1rem;
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background: var(--primary-green);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--dark-green);
    transform: scale(1.05);
}

.newsletter-btn i {
    font-size: 0.9rem;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--light-green);
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--primary-green);
}

.footer-links-bottom .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.developer-credit p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.85rem;
}

.developer-credit .anubis-web {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer-credit .anubis-web:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--accent-gold);
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
        text-align: center;
    }

    .footer-section h3::after,
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-about {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links .footer-menu {
        text-align: center;
    }

    .footer-links .footer-menu a:hover {
        padding-left: 0;
    }

    .contact-info {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-newsletter {
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links-bottom {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 0;
    }
    
    .footer-wave svg {
        height: 40px;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section {
        padding: 0 1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    

    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .contact-link {
        padding: 0.6rem;
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .newsletter-input {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
        border-radius: 15px;
    }

    .newsletter-btn {
        align-self: center;
        width: 45px;
        height: 45px;
    }

    .footer-links-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links-bottom .separator {
        display: none;
    }
}




.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gold);
    color: white;
}

.btn-primary:hover {
    background: #a0751f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-green);
}

/* Features Section */
.features {
    padding: 50px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--primary-green);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
}

/* FAQ Section */
.faq {
    padding: 50px 0;
    background: white;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 20px;
    display: none;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.faq-answer.active {
    display: block;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--accent-gold);
}

.faq-toggle.active {
    transform: rotate(45deg);
}

/* CTA Section */
.cta {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* Courses Section */
.courses {
    padding: 50px 0;
    background: #f8f9fa;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

body.home .course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

body.home .course-card:hover {
    transform: translateY(-10px);
}

.course-image {
    height: 200px;
    background:#ebebeb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    transition: transform 0.3s ease;
}

.course-image img:hover {
    transform: scale(1.05);
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

body.home .course-features {
    list-style: none;
    margin: 20px 0;
}

body.home .course-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

body.home .course-features li:before {
    content: "✓";
    color: var(--accent-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.course-price {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: bold;
    margin: 20px 0;
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    width: 100%;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: white;
}

/* How it Works Section */
.how-it-works {
    padding: 50px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-item h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-item p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 50px 0;
    background: var(--primary-green);
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--gold);
}

.testimonial-location {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stars {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 50px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
}

.hero-buttons {
    margin-top: 20px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    body.home .hero-content {
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    body.home .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-features {
        justify-content: center;
        margin-bottom: 25px;
    }
    
    .hero-stats {
        position: static;
        transform: none;
        margin-top: 20px;
        gap: 20px;
        padding: 15px 20px;
        display: flex;
        justify-content: center;
    }
    
    .hero-stat-number {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}



/* RTL Support for Footer */

[dir="rtl"] .footer-section h3::after,
[dir="rtl"] .footer-section h4::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-links .footer-menu a::before {
    content: '←';
    transform: translateX(10px);
}

[dir="rtl"] .footer-links .footer-menu a:hover {
    padding-left: 0;
    padding-right: 1rem;
}

[dir="rtl"] .footer-links .footer-menu a:hover::before {
    transform: translateX(0);
}

[dir="rtl"] .contact-item:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .footer-bottom-content {
    direction: rtl;
}

/* Print Styles for Footer */

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    header .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px var(--shadow);
    }

    header .nav-menu.active {
        display: flex;
    }

    body.home .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .features-grid,
    .courses-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        max-width: 250px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-green {
    color: var(--primary-green);
}

.bg-green {
    background-color: var(--primary-green);
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}



/* New Pricing Styles (Al Islam Academy inspired) */
.pricing-tabs {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-tab {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: #f8f9fa;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    border-right: 1px solid #ddd;
}

.pricing-tab:last-child {
    border-right: none;
}

.pricing-tab.active {
    background: var(--primary-green);
    color: white;
}

.pricing-tab:hover:not(.active) {
    background: #e9ecef;
}

.pricing-content {
    display: none;
    margin-top: 2rem;
}

.pricing-content.active {
    display: block;
}

.pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card-new {
    background: white;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card-new:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.1);
}

.pricing-card-new h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.price-new {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.period {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.register-btn {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.register-btn:hover {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 201, 151, 0.3);
    color: white;
}

/* Video Page Styles */
.video-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.video-container {
    position: relative;
}

.video-placeholder {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(46, 139, 87, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--primary-green);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
}

.video-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.video-overlay p {
    margin: 0;
    opacity: 0.9;
}

.video-description h3 {
    color: #333;
    margin-bottom: 1rem;
}

.video-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.video-stats span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-thumbnail .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
}

.video-info p {
    color: #666;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.video-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player {
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.video-placeholder-large {
    max-width: 600px;
}

.video-placeholder-large h3 {
    color: white;
    margin-bottom: 1rem;
}

/* Blog Styles */
.blog-list {
    max-width: 800px;
    margin: 0 auto;
}

.blog-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.blog-item:last-child {
    border-bottom: none;
}

.blog-date {
    text-align: center;
    background: var(--primary-green);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    min-width: 80px;
}

.blog-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.blog-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.blog-content {
    flex: 1;
}

.blog-content h3 {
    margin: 0 0 0.5rem 0;
}

.blog-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary-green);
}

.blog-content p {
    color: #666;
    margin: 0 0 1rem 0;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.blog-meta .category {
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    color: var(--primary-green);
    font-weight: 500;
}

/* Course Category Styling */
.course-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .pricing-tabs {
        flex-direction: column;
    }

    .pricing-tab {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .pricing-tab:last-child {
        border-bottom: none;
    }

    .pricing-grid-new {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-featured {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .blog-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .blog-date {
        align-self: center;
    }

    .video-modal-content {
        width: 95%;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .pricing-card-new {
        padding: 1.5rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .video-info {
        padding: 1rem;
    }

    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}



/* Enhanced Blog Styles */
.featured-main {
    margin-bottom: 3rem;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    line-height: 1.3;
}

.featured-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    font-size: 1.5rem;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.publish-date {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.article-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.featured-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(46, 125, 50, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.featured-card-content {
    padding: 1.5rem;
}

.featured-card-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.featured-card-content p {
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.read-more-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--secondary-green);
}

/* Recent Posts Grid */
.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.recent-post-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
}

.recent-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.recent-post-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary-green);
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    min-width: 60px;
    height: fit-content;
}

.recent-post-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.recent-post-date .month {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.recent-post-content {
    flex: 1;
}

.post-category {
    display: inline-block;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recent-post-content h3 {
    margin-bottom: 0.5rem;
}

.recent-post-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post-content h3 a:hover {
    color: var(--primary-green);
}

.recent-post-content p {
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.author-avatar {
    font-size: 1rem;
}

/* Simple Trial Form Styles */
.simple-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.simple-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.form-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}


.stat-label {
    color: var(--text-gray);
    font-weight: 500;
}

/* Simple Testimonials */
.testimonials-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Utility Classes */
.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    header .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid #eee;
    }

    header .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .custom-select {
        min-width: 100px;
    }

    .select-selected {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .flag-icon {
        width: 16px;
        height: 12px;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .recent-posts-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-simple {
        grid-template-columns: 1fr;
    }

    .simple-form-container {
        padding: 1.5rem;
    }

    .featured-content {
        padding: 1.5rem;
    }

    .featured-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .recent-post-card {
        flex-direction: column;
        text-align: center;
    }

    .recent-post-date {
        align-self: center;
    }
}


/* ===== Single Post Styles ===== */

/* Page Header for Single Post */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #3b3535ba 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Tajawal', sans-serif;
    line-height: 1.3;
}

.breadcrumb {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.article-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.article-meta .category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-meta i {
    font-size: 0.8rem;
}

/* Main Article Container */
.article-main {
    background: #f8f9fa;
}

.article-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Article Content */
.article-content {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-featured-image {
    margin-bottom: 0;
}

.article-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-body {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    max-width: 1100px;
    margin: 0 auto;
}

.article-body h1,
.article-body h2,.page-container h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: var(--primary-green);
    margin: 2rem 0 1rem;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
}

.article-body h2,.page-container h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
}

.article-body h4 {
    font-size: 1.3rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    background: #f8f9fa;
    border-right: 4px solid var(--primary-green);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 8px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.article-body pre {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-body code {
    background: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Page Links */
.page-links {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.page-links-title {
    font-weight: 600;
    color: var(--primary-green);
    margin-left: 1rem;
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: var(--primary-green);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.page-links a:hover {
    background: #4a7c59;
}

/* Article Tags */
.article-tags {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
}

.article-tags h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tags-list a {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tags-list a:hover {
    background: var(--primary-green);
    color: white;
}

/* Article Categories */
.article-categories {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
}

.article-categories h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.categories-list a {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.categories-list a:hover {
    background: #4a7c59;
}

/* Share Section */
.article-share {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.article-share h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Author Bio */
.author-bio {
    padding: 2rem;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.author-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-links a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.author-links a:hover {
    color: #4a7c59;
}

/* Article Navigation */
body.blog .article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem;
    border-top: 1px solid #e0e0e0;
}

header .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}


.nav-previous header .nav-link {
    text-align: right;
}

.nav-next header .nav-link {
    text-align: left;
    flex-direction: row-reverse;
}

.nav-content {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

header .nav-link i {
    font-size: 1.5rem;
    opacity: 0.7;
}

/* Comments Section */
.comments-section {
    padding: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.5rem;
}

/* Related Posts */
.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.related-post-item:hover {
    transform: translateY(-2px);
}

.related-post-image {
    flex-shrink: 0;
}

.related-post-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.related-post-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-post-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-content h4 a:hover {
    color: var(--primary-green);
}

.related-post-date {
    font-size: 0.8rem;
    color: #666;
}

/* Recent Posts */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.recent-post-item:hover {
    transform: translateY(-2px);
}

.recent-post-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recent-post-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-item h4 a:hover {
    color: var(--primary-green);
}

.recent-post-date {
    font-size: 0.8rem;
    color: #666;
}

/* Categories Widget */
.categories ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.categories li {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s;
}

.categories li:hover {
    background: var(--primary-green);
}

.categories li:hover a {
    color: white;
}

.categories a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

                .nav-menu-wrapper.active ul#nav-menu {
    display: block !important;
}
button#mobile-toggle i {font-size: 25px;}
@media (min-width: 768px) {
    .language-switcher-dropdown {margin: 0 0 0 60px;}

    body.rtl .language-switcher-dropdown {margin: 0 60px 0 0;}
}
        @media (max-width: 768px) {
            .nav-menu-wrapper {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #fff;
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
                z-index: 1000;
            }
            .nav-menu-wrapper.active {
                display: block;
                width: 100%;
            }
            .mobile-menu-toggle {
                display: block;
                background: none;
                border: none;
                font-size: 1.2rem;
                cursor: pointer;
            }
        }
        @media (min-width: 769px) {
            .mobile-menu-toggle {
                display: none;
            }
        }

/* Responsive Design */
@media (max-width: 1024px) {
    .article-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .article-body {
        padding: 1.5rem;
        font-size: 1rem;
    }

    body.blog .article-navigation {
        grid-template-columns: 1fr;
    }

    header .nav-link {
        flex-direction: column;
        text-align: center;
    }

    .nav-next header .nav-link {
        flex-direction: column;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .related-post-item {
        flex-direction: column;
    }

    .related-post-image {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .article-body {
        padding: 1rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .article-tags,
    .article-categories,
    .article-share {
        padding: 1rem 1.5rem;
    }

    .author-bio {
        padding: 1.5rem;
    }

    body.blog .article-navigation {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {

    .article-sidebar,
    .article-share,
    body.blog .article-navigation,
    .comments-section {
        display: none;
    }

    .article-wrapper {
        grid-template-columns: 1fr;
    }

    .page-header {
        background: none;
        color: #333;
        padding: 20px 0;
    }

    .article-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* RTL Support */
[dir="rtl"] .article-meta {
    direction: rtl;
}

[dir="rtl"] .breadcrumb {
    direction: rtl;
}

[dir="rtl"] .article-body {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .article-body ul,
[dir="rtl"] .article-body ol {
    padding-right: 0;
    padding-left: 2rem;
}

[dir="rtl"] .article-body blockquote {
    border-right: none;
    border-left: 4px solid var(--primary-green);
}

[dir="rtl"] .author-bio {
    direction: rtl;
}

[dir="rtl"] .nav-previous header .nav-link {
    text-align: left;
}

[dir="rtl"] .nav-next header .nav-link {
    text-align: right;
}

/* ===== S
hare Buttons Styles ===== */
.post-share {
    margin-top: 1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: white;
    min-width: 120px;
    justify-content: center;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn i {
    font-size: 1.1rem;
}

/* Individual Share Button Colors */
.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #166fe5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.whatsapp:hover {
    background: #22c55e;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #1a91da;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.linkedin:hover {
    background: #006ba1;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.telegram:hover {
    background: #007bb5;
}

.share-btn.email {
    background: #ea4335;
}

.share-btn.email:hover {
    background: #d93025;
}

.share-btn.copy-link {
    background: #6c757d;
}

.share-btn.copy-link:hover {
    background: #5a6268;
}

/* Responsive Share Buttons */
@media (max-width: 768px) {
    .share-buttons {
        justify-content: center;
        gap: 0.5rem;
    }

    .share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }

    .share-btn span {
        display: none;
    }

    .share-btn {
        min-width: 45px;
        border-radius: 50%;
        aspect-ratio: 1;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        gap: 0.4rem;
    }

    .share-btn {
        padding: 0.5rem;
        min-width: 40px;
    }

    .share-btn i {
        font-size: 1rem;
    }
}

/* ====
= COMPREHENSIVE HEADER RESPONSIVE STYLES ===== */

/* Navigation Menu Wrapper */
header .nav-menu-wrapper {
    display: flex;
    align-items: center;
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .nav {
        padding: 1.2rem 0;
    }

    .logo {
        font-size: 2rem;
    }

    header .nav-menu {
        gap: 2.5rem;
    }

    header .nav-link {
        font-size: 1rem;
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    header .nav-menu {
        gap: 1.5rem;
    }

    header .nav-link {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }

    .nav {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.6rem;
    }

    header .nav-menu {
        gap: 1.2rem;
    }

    header .nav-link {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 1rem;
    }

    .header-actions {
        gap: 0.8rem;
    }
}

/* Tablet Portrait and Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .header {
        min-height: 60px;
    }

    .nav {
        padding: 0.8rem 0;
        min-height: 60px;
        position: relative;
    }

    .logo {
        font-size: 1.4rem;
        z-index: 1001;
    }

    .logo::before {
        font-size: 1.6rem;
        margin-right: 8px;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
        z-index: 1001;
    }

    header .nav-menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 15px var(--shadow);
        border-radius: 0 0 15px 15px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    header .nav-menu-wrapper.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    header .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        width: 100%;
    }

    header .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    header .nav-menu li:last-child {
        border-bottom: none;
    }

    header .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
        width: 100%;
        text-align: left;
        border-radius: 0;
    }
body.rtl header .nav-link {text-align: right;}
    header .nav-link::after {
        display: none;
    }

    .header-actions {
        gap: 0.5rem;
        order: 2;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 1rem;
        white-space: nowrap;
    }


    .custom-select {
        min-width: 90px;
    }

    .select-selected {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .flag-icon {
        width: 16px;
        height: 12px;
    }


    .select-items {
        right: 0;
        left: auto;
        min-width: 120px;
    }

    .select-option .lang-name {
        display: inline;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }

  

    .nav {
        padding: 0.6rem 0;
        min-height: 55px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo::before {
        font-size: 1.4rem;
        margin-right: 6px;
    }

    .header-actions {
        gap: 1rem;
    }

    .cta-button {
        padding: 6px 12px;
        font-size: 1rem;
        border-radius: 20px;
    }


    .hamburger-line {
        width: 20px;
        height: 2px;
    }

    .custom-select {
        min-width: 80px;
    }

    .select-selected {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .flag-icon {
        width: 14px;
        height: 10px;
    }

    header .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo::before {
        font-size: 1.2rem;
        margin-right: 4px;
    }

    .cta-button {
        padding: 5px 10px;
        font-size: 1rem;
    }

    .header-actions {
        gap: 1rem;
    }

    .hamburger-line {
        width: 18px;
        height: 2px;
    }

    .custom-select {
        min-width: 70px;
    }

    .select-selected {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .flag-icon {
        width: 12px;
        height: 9px;
    }
}

