/* ===========================
   Forward Trading - Main Styles
   =========================== */

:root {
    --green:       #27AE60;
    --green-dark:  #1E8449;
    --green-light: #D5F5E3;
    --blue:        #1565C0;
    --blue-dark:   #0D47A1;
    --blue-light:  #DDEEFF;
    --orange:      #E8590C;
    --orange-light:#FEE8DC;
    --dark:        #1C2833;
    --dark-2:      #2C3E50;
    --gray:        #7F8C8D;
    --gray-light:  #F4F6F7;
    --border:      #E8ECF0;
    --white:       #FFFFFF;
    --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
    --shadow-md:   0 6px 24px rgba(0,0,0,.12);
    --shadow-lg:   0 16px 48px rgba(0,0,0,.16);
    --radius:      12px;
    --radius-sm:   8px;
    --transition:  all .3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    color: var(--dark-2);
    background: var(--white);
    line-height: 1.8;
    font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
    background: var(--dark);
    color: #ccc;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.top-bar-left { display: flex; gap: 20px; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-left i { color: var(--green); }
.top-bar-right { display: flex; gap: 12px; }
.top-bar-right a { color: #aaa; font-size: 14px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: var(--transition); }
.top-bar-right a:hover { background: var(--green); color: var(--white); }

/* ===========================
   HEADER
   =========================== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }

/* Logo */
.logo a { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 60px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 18px; font-weight: 900; letter-spacing: 1px; line-height: 1.2; }
.logo-main .green { color: var(--green); }
.logo-main .blue  { color: var(--blue); }
.logo-sub { font-size: 9px; font-weight: 600; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; }

/* Navigation */
.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav ul li a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-2);
    position: relative;
    transition: var(--transition);
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active { color: var(--green); }
.main-nav ul li a:hover::after,
.main-nav ul li a.active::after { width: 60%; }

/* Mobile Toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--dark-2); border-radius: 2px; transition: var(--transition); }

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #1a3a5c 100%);
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39,174,96,.2);
    border: 1px solid rgba(39,174,96,.4);
    color: #6EE79B;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--green); }
.hero p {
    font-size: 17px;
    color: rgba(255,255,255,.75);
    margin-bottom: 36px;
    line-height: 1.9;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(39,174,96,.4); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(21,101,192,.4); }

/* Hero Decor */
.hero-decor {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    opacity: .06;
    pointer-events: none;
}

/* ===========================
   SECTION STYLES
   =========================== */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-label::before,
.section-label::after { content: ''; display: block; width: 30px; height: 2px; background: var(--green); border-radius: 2px; }
.section-header h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--dark); margin-bottom: 16px; }
.section-header p { color: var(--gray); max-width: 560px; margin: 0 auto; font-size: 16px; }

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
    background: var(--blue-dark);
    padding: 32px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; color: var(--white); }
.stat-number { font-size: 36px; font-weight: 900; display: block; line-height: 1; }
.stat-number span { color: var(--green); }
.stat-label { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ===========================
   FEATURED POST
   =========================== */
.featured-post-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.featured-post-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.featured-post-img img { width: 100%; height: 380px; object-fit: cover; transition: transform .5s ease; }
.featured-post-img:hover img { transform: scale(1.04); }
.featured-post-content .category-badge {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}
.featured-post-content h2 { font-size: 28px; font-weight: 900; color: var(--dark); margin-bottom: 16px; line-height: 1.4; }
.featured-post-content h2 a:hover { color: var(--green); }
.featured-post-content p { color: var(--gray); margin-bottom: 24px; line-height: 1.9; }
.post-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--gray); margin-bottom: 24px; }
.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-meta i { color: var(--green); }

/* ===========================
   POST CARDS GRID
   =========================== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.post-card-img { overflow: hidden; position: relative; aspect-ratio: 16/10; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.08); }
.post-card-img .cat-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--green);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta { display: flex; gap: 12px; font-size: 12px; color: var(--gray); margin-bottom: 12px; flex-wrap: wrap; }
.post-card-meta span { display: flex; align-items: center; gap: 5px; }
.post-card-meta i { color: var(--orange); }
.post-card-body h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 10px; line-height: 1.5; }
.post-card-body h3 a:hover { color: var(--green); }
.post-card-body p { color: var(--gray); font-size: 14px; line-height: 1.8; flex: 1; }
.post-card-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.read-more { color: var(--blue); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.read-more:hover { color: var(--green); }
.read-more i { transition: transform .3s; }
.read-more:hover i { transform: translateX(-4px); }
.read-time { font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 5px; }

/* ===========================
   CATEGORIES SECTION
   =========================== */
.categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}
.cat-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card:hover .cat-icon { background: var(--green); color: var(--white); }
.cat-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; transition: var(--transition); }
.cat-card h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.cat-card span { font-size: 12px; color: var(--gray); }

/* ===========================
   WHY US / FEATURES
   =========================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 20px; }
.feature-icon.green  { background: var(--green-light);  color: var(--green); }
.feature-icon.blue   { background: var(--blue-light);   color: var(--blue); }
.feature-icon.orange { background: var(--orange-light); color: var(--orange); }
.feature-card h3 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.feature-card p { color: var(--gray); font-size: 15px; line-height: 1.8; }

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
    background: linear-gradient(135deg, var(--blue-dark), var(--dark));
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(39,174,96,.08);
    top: -200px; left: -100px;
}
.cta-banner::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(232,89,12,.06);
    bottom: -150px; right: -50px;
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: 16px; max-width: 550px; margin: 0 auto 32px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue-dark) 100%);
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 560px; margin: 0 auto 20px; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: 14px; }
.breadcrumb a { color: var(--green); }
.breadcrumb i { font-size: 10px; }

/* ===========================
   BLOG PAGE
   =========================== */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.blog-posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.widget-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green);
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-title i { color: var(--green); }

.widget-search { display: flex; gap: 0; }
.widget-search input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-family: 'Cairo', sans-serif; font-size: 14px; outline: none; }
.widget-search input:focus { border-color: var(--green); }
.widget-search button { background: var(--green); color: var(--white); border: none; padding: 0 16px; cursor: pointer; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 16px; transition: var(--transition); }
.widget-search button:hover { background: var(--green-dark); }

.recent-posts-list { display: flex; flex-direction: column; gap: 16px; }
.recent-post-item { display: flex; gap: 12px; align-items: flex-start; }
.recent-post-item img { width: 72px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.recent-post-info h5 { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 4px; line-height: 1.4; }
.recent-post-info h5 a:hover { color: var(--green); }
.recent-post-info span { font-size: 11px; color: var(--gray); }

.categories-list { display: flex; flex-direction: column; gap: 8px; }
.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-2);
    transition: var(--transition);
}
.categories-list a:hover { background: var(--green-light); color: var(--green); }
.categories-list a span { background: var(--green); color: var(--white); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 5px 14px; background: var(--gray-light); border-radius: 50px; font-size: 12px; color: var(--dark-2); transition: var(--transition); cursor: pointer; }
.tag:hover { background: var(--green); color: var(--white); }

/* ===========================
   SINGLE POST
   =========================== */
.single-post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.single-post article { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.post-featured-img { width: 100%; height: 420px; object-fit: cover; }
.post-body { padding: 40px; }
.post-category { display: inline-block; background: var(--green-light); color: var(--green-dark); padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.post-body h1 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--dark); margin-bottom: 20px; line-height: 1.4; }
.post-meta-full { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--gray); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.post-meta-full span { display: flex; align-items: center; gap: 6px; }
.post-meta-full i { color: var(--green); }

.post-content { font-size: 16px; color: var(--dark-2); line-height: 1.95; }
.post-content h2 { font-size: 22px; font-weight: 800; color: var(--dark); margin: 36px 0 16px; padding-right: 14px; border-right: 4px solid var(--green); }
.post-content h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin: 28px 0 12px; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-right: 24px; margin-bottom: 18px; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; }
.post-content strong { color: var(--dark); font-weight: 700; }

.post-share { padding: 24px 40px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-share span { font-weight: 700; font-size: 14px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; transition: var(--transition); }
.share-twitter  { background: #1DA1F2; color: var(--white); }
.share-facebook { background: #1877F2; color: var(--white); }
.share-whatsapp { background: #25D366; color: var(--white); }
.share-btn:hover { opacity: .85; transform: translateY(-2px); }

.related-posts { padding: 40px; border-top: 1px solid var(--border); }
.related-posts h3 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.related-card { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.related-card img { width: 100%; height: 150px; object-fit: cover; }
.related-card-body { padding: 14px; }
.related-card-body h5 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.4; }
.related-card-body h5 a:hover { color: var(--green); }
.related-card-body span { font-size: 12px; color: var(--gray); }

/* ===========================
   ABOUT PAGE
   =========================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 440px; object-fit: cover; }
.about-img-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--green);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.about-img-badge .num { font-size: 36px; font-weight: 900; display: block; line-height: 1; }
.about-img-badge .txt { font-size: 12px; font-weight: 600; }
.about-content .section-label { justify-content: flex-start; }
.about-content h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--dark); margin-bottom: 20px; }
.about-content p { color: var(--gray); line-height: 1.9; margin-bottom: 16px; }
.about-values { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: var(--gray-light); border-radius: var(--radius-sm); border-right: 3px solid var(--green); }
.value-item i { color: var(--green); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.value-item h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.value-item p { font-size: 13px; color: var(--gray); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: var(--transition); border: 1px solid var(--border); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; height: 240px; object-fit: cover; }
.team-card-body { padding: 20px; }
.team-card-body h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.team-card-body span { font-size: 13px; color: var(--green); font-weight: 600; }
.team-card-body p { font-size: 13px; color: var(--gray); margin-top: 10px; }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 28px; font-weight: 900; color: var(--dark); margin-bottom: 16px; }
.contact-info p { color: var(--gray); line-height: 1.9; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item-icon.green  { background: var(--green-light);  color: var(--green); }
.contact-item-icon.blue   { background: var(--blue-light);   color: var(--blue); }
.contact-item-icon.orange { background: var(--orange-light); color: var(--orange); }
.contact-item h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--gray); margin: 0; }
.contact-social { display: flex; gap: 12px; margin-top: 32px; }
.contact-social a { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; background: var(--gray-light); color: var(--dark-2); transition: var(--transition); }
.contact-social a:hover { background: var(--green); color: var(--white); }

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.contact-form-wrap h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--dark-2); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: var(--dark-2);
    outline: none;
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(39,174,96,.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: var(--green-light); color: var(--green-dark); }
.alert-error   { background: #FDECEA; color: #C62828; }

/* ===========================
   PRIVACY PAGE
   =========================== */
.privacy-content { max-width: 860px; margin: 0 auto; }
.privacy-content h2 { font-size: 22px; font-weight: 800; color: var(--dark); margin: 36px 0 16px; padding-right: 14px; border-right: 4px solid var(--blue); }
.privacy-content p { color: var(--gray); line-height: 1.9; margin-bottom: 16px; }
.privacy-content ul { padding-right: 24px; list-style: disc; margin-bottom: 16px; }
.privacy-content li { color: var(--gray); margin-bottom: 8px; line-height: 1.8; }
.privacy-content strong { color: var(--dark); }
.privacy-date { background: var(--blue-light); padding: 12px 20px; border-radius: var(--radius-sm); font-size: 14px; color: var(--blue-dark); font-weight: 600; margin-bottom: 32px; }

/* ===========================
   FOOTER
   =========================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); }
.footer-top { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 40px; }
.footer-about .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-about .footer-logo img { height: 50px; }
.footer-about p { font-size: 14px; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: var(--radius-sm); background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--green); color: var(--white); }
.footer-title { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid rgba(255,255,255,.1); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.footer-links a i { color: var(--green); font-size: 10px; }
.footer-links a:hover { color: var(--green); padding-right: 6px; }
.footer-posts { display: flex; flex-direction: column; gap: 14px; }
.footer-posts li a { display: flex; gap: 12px; align-items: flex-start; }
.footer-posts li img { width: 60px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.footer-posts .post-title { font-size: 13px; color: rgba(255,255,255,.8); display: block; line-height: 1.4; margin-bottom: 4px; }
.footer-posts .post-title:hover { color: var(--green); }
.footer-posts .post-date { font-size: 11px; color: rgba(255,255,255,.45); display: flex; align-items: center; gap: 5px; }
.newsletter-form { margin-bottom: 20px; }
.newsletter-input { display: flex; }
.newsletter-input input { flex: 1; padding: 10px 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--white); border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-family: 'Cairo', sans-serif; font-size: 13px; outline: none; }
.newsletter-input input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input input:focus { border-color: var(--green); }
.newsletter-input button { background: var(--green); color: var(--white); border: none; padding: 0 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; font-size: 16px; transition: var(--transition); }
.newsletter-input button:hover { background: var(--green-dark); }
.footer-contact-info { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-info p { font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 8px; }
.footer-contact-info i { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.45); }
.footer-bottom strong { color: var(--green); }

/* ===========================
   PAGINATION
   =========================== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
    border: 1px solid var(--border);
    transition: var(--transition);
    color: var(--dark-2);
}
.pagination a:hover, .pagination .current { background: var(--green); color: var(--white); border-color: var(--green); }

/* ===========================
   BACK TO TOP
   =========================== */
#backToTop {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 46px; height: 46px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--green-dark); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-layout { grid-template-columns: 1fr; }
    .single-post-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0; left: 0;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: 16px 20px;
        z-index: 999;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav ul li a { display: block; padding: 12px 16px; }
    .site-header { position: relative; }

    .featured-post-wrap { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: 1fr; }
    .blog-posts-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .about-img-badge { bottom: -16px; left: -12px; }
}

@media (max-width: 480px) {
    .section { padding: 56px 0; }
    .hero { min-height: 480px; }
    .team-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-btns { flex-direction: column; }
}
