/*
Theme Name: Mksab Theme
Theme URI: 
Author: 
Author URI: 
Description: Custom theme built from scratch
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mksab-theme
Tags: custom
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark:       #020d1f;
    --color-navy:       #041530;
    --color-navy-mid:   #071e3d;
    --color-blue:       #0a2a5e;
    --color-cyan:       #00d4c8;
    --color-cyan-dim:   rgba(0, 212, 200, 0.15);
    --color-gold:       #f0c040;
    --color-white:      #ffffff;
    --color-text-sub:   rgba(255,255,255,0.75);
    --font-main:        'Cairo', sans-serif;
    --nav-height:       95px;
    --transition:       0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-dark);
    color: var(--color-white);
    direction: rtl;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(2, 13, 31, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    width: 100%;
    height: var(--nav-height);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: opacity var(--transition), height var(--transition);
    filter: brightness(0) invert(1); /* Turns the logo white for header contrast */
}

.logo-img:hover {
    opacity: 0.85;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 14px;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #e6a800;
}

.nav-link.active {
    font-weight: 700;
}

/* CTA Button */
.nav-cta {
    flex-shrink: 0;
    padding: 10px 22px;
    background: #004670;
    border: 2px solid #004670;
    border-radius: 50px;
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
    font-family: var(--font-main);
}

.nav-cta:hover {
    background: #00598f;
    border-color: #00598f;
    box-shadow: 0 0 15px rgba(0, 70, 112, 0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hamburger Active State (X Animation) */
.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-dark);
    /* background-image set inline via WordPress in index.php */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Overlay — أغمق لتقليل وضوح المدينة في الخلفية */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 13, 31, 0.75) 0%,
        rgba(2, 13, 31, 0.55) 60%,
        rgba(2, 13, 31, 0.85) 100%
    );
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        transparent 30%,
        rgba(2, 13, 31, 0.75) 100%
    );
    z-index: 1;
}

/* Hero container */
.hero-container {
    position: relative;
    z-index: 5; /* Sit on top of background & rocks */
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    padding-top: var(--nav-height);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Right Content Column — إزاحة لأعلى قليلاً */
.hero-content-col {
    flex: 1.2;
    max-width: 620px;
    margin-top: -95px;
    padding-top: 40px;
    text-align: right;
}

/* Left Planet Column — إزاحة لأعلى ليناسب الكلام */
.hero-planet-col {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: -95px;
}

.hero-planet-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 212, 200, 0.25));
    animation: floatPlanet 6s ease-in-out infinite;
}

@keyframes floatPlanet {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1.5deg);
    }
}

/* Title */
.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start; /* Right aligned in RTL flow */
}

.title-white {
    color: var(--color-white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.title-gold {
    color: var(--color-gold);
    text-shadow: 0 0 30px rgba(240, 192, 64, 0.4);
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--color-text-sub);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: right;
}

/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start; /* Right aligned in RTL flow */
}

/* Rocks at the bottom — صغرنا حجمها والارتفاع */
.hero-rocks-container {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    width: 100%;
    height: 18vh;
    min-height: 155px;
    max-height: 205px;
    z-index: 3; /* Sit between background and content */
    pointer-events: none;
    overflow: hidden;
}

.hero-rocks-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* يحافظ على قمم الصخور الحادة */
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: #004670;
    color: var(--color-white);
    border-color: #004670;
    box-shadow: 0 4px 15px rgba(0, 70, 112, 0.35);
}

.btn-primary:hover {
    background: #00598f;
    border-color: #00598f;
    box-shadow: 0 6px 25px rgba(0, 70, 112, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* Bottom fade */
.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 180px;
    background: linear-gradient(to top, var(--color-dark) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
    padding: 120px 0;
    background-color: var(--color-dark);
    position: relative;
    overflow: hidden;
}

/* Subtle grid overlay in background top right */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background-image: 
        linear-gradient(rgba(0, 212, 200, 0.03) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 212, 200, 0.03) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
    mask-image: radial-gradient(circle at top right, black, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at top right, black, transparent 75%);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    position: relative;
    z-index: 2;
}

.about-content {
    flex: 1.2;
    max-width: 650px;
}

.about-tag {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e6a800;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.about-tag span {
    font-size: 1.1rem;
    animation: twinkle 3s infinite alternate ease-in-out;
}

.about-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.4;
    color: var(--color-white);
    margin-bottom: 24px;
    text-align: right;
}

.highlight-gold {
    color: #e6a800;
    text-shadow: 0 0 20px rgba(230, 168, 0, 0.25);
}

.about-desc {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text-sub);
    margin-bottom: 35px;
    text-align: right;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start; /* Right aligned in RTL flow */
    flex-direction: row-reverse;
}


.feature-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    text-align: right;
}

.feature-icon {
    flex-shrink: 0;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(230, 168, 0, 0.12);
    border: 1px solid rgba(230, 168, 0, 0.25);
    border-radius: 50%;
    font-size: 1.25rem;
    color: #e6a800;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover .icon-wrapper {
    transform: scale(1.1);
    background-color: rgba(230, 168, 0, 0.2);
}

.about-cta-container {
    display: flex;
    justify-content: flex-start;
}

.btn-about {
    padding: 12px 55px;
    font-size: 0.95rem;
}




.about-image-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

/* Dashed border effect behind image */
.about-image-container::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 2px dashed rgba(0, 212, 200, 0.15);
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    border: 1.5px solid rgba(255,255,255,0.1);
}


/* =============================================
   SUCCESS SECTION (سر نجاحنا)
   ============================================= */
.success-section {
    padding: 100px 0;
    background-color: var(--color-dark);
    /* تموجات ضوئية بنفس الشدة متمركزة في الزوايا العلوية اليمين واليسار (Double Corner Glows) */
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(0, 112, 192, 0.60) 0%, rgba(2, 13, 31, 0) 25%),
        radial-gradient(circle at 0% 0%, rgba(0, 112, 192, 0.60) 0%, rgba(2, 13, 31, 0) 25%);
    position: relative;
}

.success-header {
    text-align: center;
    margin-bottom: 60px;
}

.success-section-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--color-white);
    position: relative;
    display: inline-block;
}


.success-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.success-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* طبقة الحبيبات/التحجيرة (Grain/Noise Texture) */
.success-card::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.13; /* زيادة الوضوح لتظهر التحجيرة بشكل بارز وأوضح */
    pointer-events: none;
    z-index: 2; /* فوق الخلفية وتحت النصوص */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.success-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-blue {
    background-color: #0b669b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.card-blue:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.card-bg-img {
    position: absolute;
    bottom: -55px;
    left: -55px;
    width: 350px;
    height: auto;
    z-index: 1;
    pointer-events: none;
    filter: grayscale(1) brightness(0.95) contrast(1.1);
    mix-blend-mode: multiply;
    opacity: 0.30;
    transition: transform 0.3s ease;
}

/* التدوير والأنيمشن الخاص باللمبة والهدف */
.card-goal .card-bg-img {
    transform: rotate(25deg);
}

.card-goal:hover .card-bg-img {
    transform: rotate(25deg) scale(1.05);
}

.card-values .card-bg-img {
    left: -20px;
    bottom: -20px;
    filter: none; /* يظهر لون الهدف الأزرق الأصلي المتناسق مع الكارت */
    opacity: 0.50;
    transform: rotate(0deg);
}

.card-values:hover .card-bg-img {
    transform: scale(1.05);
}

.card-light {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #04142e;
}

.card-light:hover {
    border-color: rgba(11, 102, 155, 0.25);
}


.card-body {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: right;
}

.card-blue .card-title {
    color: var(--color-white);
}

.card-light .card-title {
    color: #04142e;
}

.card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: justify;
}

.card-blue .card-desc {
    color: var(--color-text-sub);
}

.card-light .card-desc {
    color: #4b5563;
}

.card-list {
    margin-right: 20px;
    padding-right: 0;
    list-style-type: disc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: right;
    font-weight: 500;
}

.card-blue .card-list li {
    color: rgba(255, 255, 255, 0.9);
}

.card-light .card-list li {
    color: #1f2937;
}


/* =============================================
   SERVICES SECTION (خدماتنا)
   ============================================= */
.services-section {
    padding: 100px 0;
    background-color: var(--color-dark);
    /* تموج ضوئي مركز بالمنتصف فقط يتلاشى للأطراف الداكنة (Spotlight Radial Glow) - جعلنا اللون أقوى بنفس المقاسات */
    background-image: radial-gradient(ellipse at 50% 50%, rgba(0, 112, 192, 0.60) 0%, rgba(2, 13, 31, 0) 65%);
    position: relative;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 32px;
}

.services-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
}

.services-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-sub);
    line-height: 1.8;
}

.services-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #04142e;
    border: none !important;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 212, 200, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(106, 186, 233, 0.6) 0%, rgba(110, 191, 244, 0.35) 50%, rgba(70, 144, 212, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
    transition: background 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 212, 200, 0.22);
}

.service-card:hover::before {
    background: linear-gradient(135deg, rgba(106, 186, 233, 0.9) 0%, rgba(110, 191, 244, 0.6) 50%, rgba(70, 144, 212, 0.2) 100%);
}

.service-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 16 / 10;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: right;
}

.service-card-desc {
    font-size: 0.92rem;
    color: var(--color-text-sub);
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: justify;
    flex-grow: 1; /* يضمن توازي أزرار التفاصيل تماماً بالأسفل */
}

.service-cta-wrapper {
    margin-top: auto;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background-color: #004670;
    color: var(--color-white);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-service:hover {
    background-color: #003657;
    color: var(--color-white);
}

.btn-service .arrow {
    font-size: 1.1rem;
    line-height: 0;
    transition: transform 0.3s ease;
}

.btn-service:hover .arrow {
    transform: translateX(-5px); /* يتحرك لليسار مع السهم في الـ RTL */
}


/* =============================================
   STATS SECTION (ارسم طريقك نحو القمة)
   ============================================= */
.stats-section {
    padding: 100px 0;
    background-color: var(--color-dark);
    /* تموجات ضوئية بنفس الشدة متمركزة في الزوايا العلوية اليمين واليسار (Double Corner Glows) */
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(0, 112, 192, 0.60) 0%, rgba(2, 13, 31, 0) 25%),
        radial-gradient(circle at 0% 0%, rgba(0, 112, 192, 0.60) 0%, rgba(2, 13, 31, 0) 25%);
    position: relative;
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.stats-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.stats-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
}

.stats-title .highlight-gold {
    color: var(--color-gold);
}

.stats-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-sub);
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(240, 192, 64, 0.08);
    border: 1px solid rgba(240, 192, 64, 0.2);
    border-radius: 50%;
    color: var(--color-gold);
    margin-bottom: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover .stat-icon-wrapper {
    transform: translateY(-5px);
    background-color: rgba(240, 192, 64, 0.15);
    border-color: rgba(240, 192, 64, 0.4);
}

.stat-number {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-sub);
    font-weight: 600;
}


/* =============================================
   TESTIMONIALS SECTION (آراء عملائنا)
   ============================================= */
.testimonials-section {
    padding: 100px 0 20px 0;
    background-color: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.testimonials-header-row {
    max-width: 1280px;
    margin: 0 auto 20px auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.testimonials-header {
    text-align: right;
}

.testimonials-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 10px;
}

.testimonials-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-sub);
}

.testimonials-nav {
    display: flex;
    gap: 12px;
}

.testimonials-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 420px;
    position: relative;
}

.avatars-map {
    width: 100%;
    height: 100%;
    position: relative;
}

.client-avatar {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-avatar.active,
.client-avatar:hover {
    transform: scale(1.15);
    border-color: #00d4c8;
    box-shadow: 0 0 30px rgba(0, 112, 192, 0.7), 0 0 15px rgba(0, 212, 200, 0.5);
    z-index: 12;
}

/* Tooltip speech bubble */
.testimonial-bubble {
    position: absolute;
    background-color: #ffffff;
    color: #020d1f;
    border-radius: 24px;
    padding: 28px;
    width: 400px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, left 0.3s ease, top 0.3s ease;
    transform: translateY(10px);
    pointer-events: none;
}

.testimonial-bubble.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bubble-content {
    display: flex;
    flex-direction: column;
}

.bubble-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: right;
    font-weight: 500;
    color: #1f2937;
}

.bubble-arrow {
    position: absolute;
    width: 0;
    height: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.testimonial-bubble.bubble-above .bubble-arrow {
    bottom: -10px;
    top: auto;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
    border-bottom: none;
}

.testimonial-bubble.bubble-below .bubble-arrow {
    top: -10px;
    bottom: auto;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
    border-top: none;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .nav-links {
        gap: 0;
    }
    .nav-link {
        padding: 8px 10px;
        font-size: 0.88rem;
    }
}

@media (max-width: 991px) {
    :root {
        --nav-height: 80px;
    }

    .nav-container {
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .logo-img {
        height: 50px;
        width: auto;
        min-width: 100px;
        max-width: 140px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        left: 0;
        background: rgba(2, 13, 31, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px;
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        border-bottom: 1px solid rgba(0, 212, 200, 0.15);
        z-index: 999;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .nav-cta {
        display: none !important;
    }

    .hamburger {
        display: flex;
        align-self: center;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
        padding-top: calc(var(--nav-height) + 10px);
        margin-top: -85px;
    }


    .hero-content-col {
        text-align: center;
        max-width: 100%;
        margin-top: 0;
    }

    .hero-planet-col {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
        margin-top: 0;
    }


    .hero-title {
        justify-content: center;
        gap: 8px;
    }

    .hero-subtitle {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
        gap: 50px;
        padding: 0 24px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-image-container {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }

    .about-cta-container {
        justify-content: center;
    }

    /* Success Section Responsive */
    .success-section {
        padding: 70px 0;
    }

    .success-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 24px;
    }

    .success-card {
        padding: 40px 30px;
    }

    /* Stats Section Responsive */
    .stats-section {
        padding: 70px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 24px;
    }

    /* Services Section Responsive */
    .services-section {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 24px;
    }

    /* Testimonials Section Responsive */
    .testimonials-section {
        padding: 70px 0;
    }

    .testimonials-header-row {
        padding: 0 24px;
        margin-bottom: 15px;
    }

    .testimonials-container {
        padding: 0 24px;
        height: 380px;
    }
}


@media (max-width: 576px) {
    .hero-container {
        gap: 30px;
    }

    .hero-planet-col {
        max-width: 240px;
    }

    .hero-title {
        justify-content: center;
        font-size: 2.2rem;
    }

    .hero-subtitle {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .about-section {
        padding: 70px 0;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Success Section Mobile Adjustments */
    .success-section {
        padding: 60px 0;
    }

    .success-card {
        padding: 30px 20px;
    }

    .card-bg-img {
        width: 250px;
        bottom: -35px;
        left: -35px;
    }

    .card-values .card-bg-img {
        bottom: -15px;
        left: -15px;
    }

    /* Stats Section Mobile Adjustments */
    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }

    /* Services Section Mobile Adjustments */
    .services-section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .service-card {
        padding: 20px;
    }

    /* Testimonials Section Mobile Adjustments */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-container {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
    }

    .avatars-map {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        position: static;
        height: auto;
        width: 100%;
    }

    .client-avatar {
        position: static;
        width: 60px;
        height: 60px;
    }

    .testimonial-bubble {
        position: relative;
        width: 100%;
        max-width: 500px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        pointer-events: auto;
        left: auto !important;
        top: auto !important;
    }

    .bubble-arrow {
        display: none;
    }
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 20px 0 80px 0;
    background-color: #020d1f;
    position: relative;
    overflow: hidden;
}

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

.partners-header {
    text-align: center;
    margin-bottom: 50px;
}

.partners-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.partners-subtitle {
    font-size: 1.1rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    direction: ltr; /* Keeps track behavior identical regardless of document direction */
}

/* Edge Fades */
.partners-slider::before,
.partners-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, #020d1f, transparent);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, #020d1f, transparent);
}

.partners-track {
    display: flex;
    width: calc(200px * 16 + 24px * 16); /* width + gap for 16 cards */
    gap: 24px;
    animation: scrollLogos 25s linear infinite;
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

.partner-card {
    width: 200px;
    height: 110px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-card:hover img {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8 - 24px * 8)); /* width + gap of 8 cards */
    }
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .partners-section {
        padding: 20px 0 60px 0;
    }
    .partners-title {
        font-size: 2rem;
    }
    .partners-subtitle {
        font-size: 1rem;
    }
    .partner-card {
        width: 170px;
        height: 95px;
        border-radius: 12px;
        padding: 15px;
    }
    .partners-track {
        width: calc(170px * 16 + 16px * 16);
        gap: 16px;
    }
    @keyframes scrollLogos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-170px * 8 - 16px * 8));
        }
    }
    .partners-slider::before,
    .partners-slider::after {
        width: 80px;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 0;
    background-color: #020d1f;
    position: relative;
    overflow: hidden;
}

/* Glow in the top quarter (as requested: هيكون فيه تمويجه في الربع العلوي) */
.faq-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    background: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(0, 112, 192, 0.22) 0%, rgba(2, 13, 31, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.faq-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Accordion left, Intro right (RTL layout) */
    gap: 80px;
    position: relative;
    z-index: 2;
}

.faq-header {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.faq-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.faq-subtitle {
    font-size: 1.05rem;
    color: #9ca3af;
    line-height: 1.7;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
    transition: all 0.3s ease;
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: right;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.accordion-trigger:hover {
    color: #e6a800;
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #ffffff;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    color: #e6a800;
}

.accordion-question {
    flex-grow: 1;
    font-weight: 700;
}

/* Beautiful Animated Toggle Icon (+ to - transition) */
.faq-icon-svg {
    transition: transform 0.3s ease;
}

.faq-icon-svg .vert-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.accordion-item.active .faq-icon-svg .vert-line {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin 0.4s ease;
}

.accordion-body {
    padding: 24px;
    background: rgba(0, 112, 192, 0.05);
    border: 1px solid rgba(0, 112, 192, 0.15);
    border-radius: 16px;
    color: #d1d5db;
    font-size: 0.98rem;
    line-height: 1.75;
    text-align: right;
}

.accordion-item.active .accordion-content {
    margin-top: 10px;
}

/* Responsive adjustment for Mobile */
@media (max-width: 991px) {
    .faq-glow {
        width: 100%;
        height: 300px;
    }
    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    .faq-header {
        text-align: center;
        order: -1; /* Puts the header on top of the accordion on mobile */
    }
    .accordion-trigger {
        font-size: 1.05rem;
    }
    .accordion-body {
        padding: 16px;
        font-size: 0.92rem;
    }
}

/* FAQ Lists in Accordion Body */
.faq-list {
    margin-top: 16px;
    padding-right: 20px;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-list li {
    position: relative;
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: right;
}

.faq-list li::before {
    content: "•";
    color: #e6a800; /* Brand gold color */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: -1em;
    position: absolute;
    right: -15px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 0;
    background-color: #020d1f;
    position: relative;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 700px;
    background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(0, 112, 192, 0.22) 0%, rgba(2, 13, 31, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.35;
}

.contact-subtitle {
    font-size: 1.05rem;
    color: #9ca3af;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e5e7eb;
}

.form-group label .required {
    color: #ef4444;
    margin-right: 4px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 16px 24px;
    background: rgba(2, 13, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    direction: rtl;
}

.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: rgba(2, 13, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    resize: none;
    direction: rtl;
}

.form-group input[type="text"]:hover,
.form-group input[type="email"]:hover,
.form-group input[type="tel"]:hover,
.form-group textarea:hover {
    border-color: rgba(0, 212, 200, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4c8; /* Turquoise highlight matching services */
    box-shadow: 0 0 12px rgba(0, 212, 200, 0.35);
    background: rgba(2, 13, 31, 0.8);
}

/* Service Options Grid */
.services-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.service-option {
    cursor: pointer;
    position: relative;
}

.service-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-option-card {
    background: none;
    border: none;
    border-radius: 0;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0.55; /* Dimmed by default */
}

.option-icon {
    color: #e6a800; /* Gold */
    transition: transform 0.3s ease;
}

.option-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
    transition: color 0.3s ease;
}

/* Hover and Checked states */
.service-option:hover .service-option-card {
    opacity: 0.85;
}

.service-option:hover .option-icon {
    transform: translateY(-4px);
}

.service-option input[type="radio"]:checked + .service-option-card {
    opacity: 1; /* Fully bright when selected */
}

.service-option input[type="radio"]:checked + .service-option-card .option-text {
    color: #ffffff;
    font-weight: 700;
}

.service-option input[type="radio"]:checked + .service-option-card .option-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(230, 168, 0, 0.5)); /* Subtle glow on active icon */
}

/* Submit Button */
.form-submit-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 411px;
    max-width: 100%;
    height: 56px;
    background: #004670;
    border: none;
    border-radius: 20px; /* Figma specification */
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 70, 112, 0.3);
}

.btn-submit-icon {
    transition: transform 0.3s ease;
}

.btn-submit:hover {
    background: #003657;
    box-shadow: 0 6px 20px rgba(0, 70, 112, 0.5);
    transform: translateY(-2px);
}

.btn-submit:hover .btn-submit-icon {
    transform: translate(-4px, -4px);
}

.btn-submit:active {
    transform: translateY(1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-select-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .services-select-grid {
        grid-template-columns: 1fr;
    }
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ===== SITE FOOTER ===== */
.site-footer {
    background-color: #010816;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Bottom Right Glow */
.site-footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at 100% 100%, rgba(0, 112, 192, 0.18) 0%, rgba(1, 8, 22, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Bottom Left Glow */
.site-footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at 0% 100%, rgba(0, 112, 192, 0.18) 0%, rgba(1, 8, 22, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 32px 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* RTL flow: Brand (Right), Links (Middle), Contact (Left) */
    gap: 60px;
    position: relative;
    z-index: 2;
}

.footer-col {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.footer-col-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
}

/* Brand Column (Right) */
.footer-logo-wrapper {
    margin-bottom: 20px;
}

.footer-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.95rem;
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 380px;
}

.footer-social-links {
    display: flex;
    gap: 20px;
    justify-content: flex-start; /* Aligns right in RTL */
}

.footer-social-links .social-icon {
    color: #ffffff;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.footer-social-links .social-icon:hover {
    color: #e6a800; /* Gold brand hover */
    opacity: 1;
    transform: translateY(-2px);
}

/* Links Column (Middle) */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav-list a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav-list a:hover {
    color: #e6a800;
}

/* Contact Column (Left) */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start; /* Align right in RTL container */
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link .contact-icon {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #e6a800;
}

.contact-link:hover .contact-icon {
    color: #e6a800;
}

/* Copyright Bar */
.footer-copyright {
    background-color: #01050e;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 24px 32px;
    text-align: center;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col.footer-brand {
        grid-column: span 2;
        order: -1; /* Place logo description on top for tablets */
        align-items: center;
        text-align: center;
    }
    .footer-desc {
        max-width: 500px;
    }
    .footer-social-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding-top: 60px;
        gap: 36px;
    }
    .footer-col.footer-brand {
        grid-column: span 1;
    }
    .footer-col {
        align-items: center;
        text-align: center;
    }
    .contact-link {
        justify-content: center;
    }
    .footer-social-links {
        justify-content: center;
    }
}

/* ===== ABOUT PAGE - HERO SECTION ===== */
.about-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 80px;
    background-color: #0a1628;
    text-align: center;
}

.about-hero-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 5;
}

.about-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.35;
}

.about-hero-title .text-gold {
    color: #e6a800; /* Brand gold */
}

.about-hero-divider {
    width: 100%;
    max-width: 1124px;
    height: 12px;
    background: linear-gradient(90deg, rgba(230, 168, 0, 0) 0%, rgba(230, 168, 0, 1) 50%, rgba(230, 168, 0, 0) 100%);
    border-radius: 50%;
    margin: 35px auto;
}

.about-hero-subtitle {
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero-desc {
    font-size: 1.05rem;
    color: #9ca3af;
    line-height: 1.85;
    max-width: 760px;
    margin: 0 auto 40px;
}

.about-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-consultation {
    background-color: #004670;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 16px 38px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 70, 112, 0.3);
}

.btn-consultation:hover {
    background-color: #003657;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 70, 112, 0.5);
}

.btn-explore-services {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 15px 38px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-explore-services:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Background elements styling */
.about-hero-glow {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0, 112, 192, 0.60) 0%, rgba(0, 70, 112, 0.15) 50%, rgba(10, 22, 40, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.about-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 212, 200, 0.08) 2.5px, transparent 2.5px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 2;
}

.about-hero-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.hero-arrow {
    position: absolute;
    bottom: 5%;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0.12;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0) 100%);
}

/* Center thick arrow */
.arrow-c {
    left: 50%;
    width: 260px;
    height: 500px;
    opacity: 0.22;
}

/* Thin arrows - graduated sizes: closest to center = tallest */
/* Left side */
.arrow-l1 { left: 40%; width: 70px; height: 360px; opacity: 0.14; }
.arrow-l2 { left: 34%; width: 60px; height: 300px; opacity: 0.12; }
.arrow-l3 { left: 28%; width: 50px; height: 240px; opacity: 0.10; }
.arrow-l4 { left: 22%; width: 45px; height: 190px; opacity: 0.08; }
.arrow-l5 { left: 16%; width: 40px; height: 150px; opacity: 0.06; }

/* Right side */
.arrow-r1 { left: 60%; width: 70px; height: 360px; opacity: 0.14; }
.arrow-r2 { left: 66%; width: 60px; height: 300px; opacity: 0.12; }
.arrow-r3 { left: 72%; width: 50px; height: 240px; opacity: 0.10; }
.arrow-r4 { left: 78%; width: 45px; height: 190px; opacity: 0.08; }
.arrow-r5 { left: 84%; width: 40px; height: 150px; opacity: 0.06; }

@media (max-width: 768px) {
    .about-hero {
        padding: 140px 0 70px;
    }
    .arrow-c { width: 180px; height: 300px; }
    .arrow-l1, .arrow-r1 { width: 50px; height: 250px; }
    .arrow-l2, .arrow-r2 { width: 45px; height: 200px; }
    .arrow-l3, .arrow-r3 { width: 40px; height: 160px; }
    .arrow-l4, .arrow-r4, .arrow-l5, .arrow-r5 { display: none; }
}

/* ===== VISION & METHODOLOGY SECTION ===== */
.vision-section {
    position: relative;
    padding: 120px 0 30px;
    background-color: #020d1f;
    overflow: hidden;
}

.vision-section-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 380px;
    background: radial-gradient(ellipse 65% 50% at 50% 0%, rgba(0, 112, 192, 0.60) 0%, rgba(10, 22, 40, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.vision-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.vision-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 850;
    color: #ffffff;
    text-align: center;
    margin-bottom: 70px;
    letter-spacing: -0.5px;
}

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

.vision-card {
    background: rgba(10, 22, 40, 0.45);
    border: 1px solid rgba(0, 212, 200, 0.12);
    border-radius: 20px;
    padding: 50px 32px;
    text-align: right;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vision-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 200, 0.35);
    background: rgba(10, 22, 40, 0.7);
    box-shadow: 0 15px 35px rgba(0, 212, 200, 0.06);
}

.vision-card-icon {
    width: 68px;
    height: 68px;
    background-color: #e6a800; /* Gold */
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: #ffffff;
    font-size: 1.65rem;
    box-shadow: 0 5px 15px rgba(230, 168, 0, 0.2);
    transition: transform 0.3s ease;
}

.vision-card:hover .vision-card-icon {
    transform: scale(1.05) rotate(5deg);
}

.vision-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
}

.vision-card-desc {
    font-size: 0.95rem;
    color: #9ca3af;
    line-height: 1.85;
    margin: 0;
}

@media (max-width: 991px) {
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .vision-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 650px) {
    .vision-grid {
        grid-template-columns: 1fr;
    }
    .vision-card:last-child {
        grid-column: span 1;
    }
    .vision-card {
        padding: 40px 24px;
    }
}

.success-section.no-glow {
    background-image: none;
    padding-top: 30px;
}

/* ===== ACHIEVEMENTS SECTION (ماذا تحقق مع مكسب) ===== */
.achieve-section {
    padding: 100px 0;
    background-color: #020d1f;
    position: relative;
    overflow: hidden;
}

.achieve-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.achieve-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 850;
    color: #ffffff;
    text-align: center;
    margin-bottom: 16px;
}

.achieve-title .text-gold {
    color: #e6a800;
}

.achieve-subtitle {
    font-size: 1rem;
    color: #9ca3af;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.achieve-wave-area {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.achieve-wave-img-figma {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

/* Floating badges */
.achieve-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 275px;
    height: 76px;
    padding: 0 20px;
    background: rgba(13, 27, 49, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 200, 0.15);
    border-radius: 16px;
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.achieve-badge:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 200, 0.35);
    box-shadow: 0 10px 25px rgba(0, 212, 200, 0.08);
    background: rgba(13, 27, 49, 0.85);
}

.badge-text {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.45;
}

.badge-sparkle {
    color: #00d4c8;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badge Positions */
.badge-top-center {
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
}
.badge-top-center:hover {
    transform: translateX(-50%) translateY(-4px);
}

.badge-right {
    top: 25%;
    right: -2%;
}

.badge-left {
    top: 30%;
    left: -2%;
}

.badge-bottom-right {
    bottom: 12%;
    right: 4%;
}

.badge-bottom-left {
    bottom: 5%;
    left: 8%;
}

@media (max-width: 768px) {
    .achieve-wave-area {
        padding: 10px 0;
    }
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
    padding: 100px 0;
    background-color: #020d1f;
    position: relative;
    overflow: hidden;
}

.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.why-choose-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 850;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-title .text-gold {
    color: #e6a800;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.why-choose-card {
    background: rgba(10, 22, 40, 0.45);
    border-radius: 36px;
    padding: 32px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-choose-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 36px;
    padding: 1px;
    background: linear-gradient(to left, rgba(0, 212, 200, 0.35) 0%, rgba(0, 212, 200, 0.15) 20%, rgba(0, 0, 0, 0) 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
    transition: background 0.4s ease;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    background: rgba(10, 22, 40, 0.7);
    box-shadow: 0 15px 35px rgba(0, 212, 200, 0.06);
}

.why-choose-card:hover::before {
    background: linear-gradient(to left, rgba(0, 212, 200, 0.7) 0%, rgba(0, 212, 200, 0.3) 25%, rgba(0, 0, 0, 0) 50%);
}

.why-choose-icon {
    color: #e6a800;
    font-size: 2.2rem;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.why-choose-card:hover .why-choose-icon {
    transform: scale(1.15) rotate(5deg);
}

.why-choose-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.why-choose-card-desc {
    font-size: 0.95rem;
    color: #9ca3af;
    line-height: 1.8;
    margin: 0;
}

.r1-card {
    grid-column: span 2;
}

.r2-card {
    grid-column: span 3;
}

@media (max-width: 991px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .r1-card, .r2-card {
        grid-column: span 1;
    }
    .why-choose-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 650px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .r1-card, .r2-card, .why-choose-card:last-child {
        grid-column: span 1;
    }
    .why-choose-card {
        padding: 35px 20px;
    }
}

/* ===== SERVICES HERO SECTION ===== */
.services-hero {
    position: relative;
    width: 100%;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #020d1f;
    padding: 140px 0 100px;
    text-align: center;
    box-sizing: border-box;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 70%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.42; /* reduced opacity for subtlety */
}

.services-hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(2, 13, 31, 0.25) 0%, rgba(2, 13, 31, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.services-hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to top, #020d1f 0%, rgba(2, 13, 31, 0.3) 60%, rgba(2, 13, 31, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

.services-hero-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-hero-title {
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

.services-hero-title .highlight-gold {
    color: #e6a800;
}

.services-hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.45;
    max-width: 800px;
}

.services-hero-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: #9ca3af;
    margin-bottom: 44px;
    line-height: 1.85;
    max-width: 760px;
}

.services-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.services-hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.services-hero .btn-consultation {
    background-color: #004670;
    color: #ffffff;
    border: 1px solid #004670;
}

.services-hero .btn-consultation:hover {
    background-color: #00598f;
    border-color: #00598f;
    box-shadow: 0 5px 25px rgba(0, 70, 112, 0.4);
    transform: translateY(-2px);
}

.services-hero .btn-explore-services {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.services-hero .btn-explore-services:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .services-hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    .services-hero-bg {
        background-position: center center;
    }
    .services-hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 14px;
    }
    .services-hero .btn {
        width: 100%;
        padding: 14px 24px;
    }
}

/* ===== AI SOLUTIONS HERO SECTION ===== */
.ai-hero {
    position: relative;
    width: 100%;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #020d1f;
    padding: 140px 0 100px;
    text-align: center;
    box-sizing: border-box;
}

.ai-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35; /* reduced opacity for elegant readability */
}

.ai-hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(2, 13, 31, 0.2) 0%, rgba(2, 13, 31, 0.75) 100%);
    z-index: 2;
}

.ai-hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #020d1f 0%, rgba(2, 13, 31, 0) 100%);
    z-index: 2;
}

.ai-hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
}

.ai-hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.25;
}

.ai-hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.45;
    max-width: 800px;
}

.ai-hero-desc-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 45px;
    max-width: 820px;
}

.ai-hero-desc,
.ai-hero-desc-highlight {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: #9ca3af;
    line-height: 1.85;
    margin: 0;
}

.ai-hero-desc-highlight {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.ai-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.ai-btn-primary {
    background-color: #004670;
    color: #ffffff;
    border: 1.8px solid #004670;
    box-shadow: 0 4px 15px rgba(0, 70, 112, 0.4);
}

.ai-btn-primary:hover {
    background-color: #00598f;
    border-color: #00598f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 89, 143, 0.5);
}

.ai-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1.8px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ai-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .ai-hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    .ai-hero-actions {
        flex-direction: column;
        align-items: center;
        max-width: 320px;
        margin: 0 auto;
        gap: 14px;
    }
    .ai-btn {
        width: 100%;
        padding: 14px 24px;
    }
}

/* ===== SERVICES LIST SECTION ===== */
.services-list-section {
    position: relative;
    padding: 100px 0;
    background-color: #020d1f;
    overflow: hidden;
}

.services-list-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 380px;
    background: radial-gradient(ellipse 350px 220px at 50% 0%, rgba(0, 112, 192, 0.5) 0%, rgba(10, 22, 40, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.services-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.services-list-header {
    text-align: center;
    margin-bottom: 70px;
}

.services-list-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 850;
    color: #ffffff;
    margin-bottom: 16px;
}

.services-list-subtitle {
    font-size: 1rem;
    color: #9ca3af;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.75;
}

.services-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.services-list-section .service-card {
    background: radial-gradient(circle at 85% 50%, rgba(106, 186, 233, 0.52) 0%, rgba(110, 191, 244, 0.35) 45%, rgba(3, 10, 23, 0.9) 100%);
    border: none;
    border-radius: 36px;
    padding: 0;
    display: flex;
    align-items: stretch;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 450px;
}

.services-list-section .service-card.card-balanced {
    background: radial-gradient(circle at 85% 50%, rgba(106, 186, 233, 0.38) 0%, rgba(110, 191, 244, 0.18) 25%, rgba(70, 144, 212, 0) 80%), rgba(3, 10, 23, 0.85);
}

.services-list-section .service-card.alt-card.card-balanced {
    background: radial-gradient(circle at 15% 50%, rgba(106, 186, 233, 0.38) 0%, rgba(110, 191, 244, 0.18) 25%, rgba(70, 144, 212, 0) 80%), rgba(3, 10, 23, 0.85);
}

.services-list-section .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 36px;
    padding: 1.8px; /* slightly thicker for visibility */
    background: linear-gradient(to right, #6abae9 0%, rgba(110, 191, 244, 0.45) 22.4%, rgba(70, 144, 212, 0.08) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10; /* on top of image */
    transition: background 0.4s ease;
}

.services-list-section .service-card:hover {
    box-shadow: 0 20px 45px rgba(0, 212, 200, 0.05);
    transform: translateY(-4px);
}

.services-list-section .service-card:hover::before {
    background: linear-gradient(to right, #6abae9 0%, rgba(110, 191, 244, 0.75) 22.4%, rgba(70, 144, 212, 0.15) 100%);
}

.services-list-section .service-card-content {
    width: 55%;
    margin-right: 45%;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}

.services-list-section .service-card-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 850;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.35;
}

.services-list-section .service-card-desc {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.85;
    margin-bottom: 28px;
}

.services-list-section .service-card-highlight-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #e6a800;
    margin-bottom: 16px;
}

.services-list-section .service-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.services-list-section .service-card-list li {
    font-size: 0.95rem;
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.bullet-gold {
    color: #e6a800;
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 1px;
}

.bullet-white {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1;
    margin-top: -1px;
}

.services-list-section .service-card-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.services-list-section .service-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 0;
}

/* Alternating Card Layout (Image on Left, Content on Right) */
.services-list-section .service-card.alt-card {
    background: radial-gradient(circle at 15% 50%, rgba(106, 186, 233, 0.52) 0%, rgba(110, 191, 244, 0.35) 45%, rgba(3, 10, 23, 0.9) 100%);
}

.services-list-section .service-card.alt-card .service-card-image {
    left: 0;
    right: auto;
}

.services-list-section .service-card.alt-card .service-card-content {
    margin-left: 45%;
    margin-right: 0;
}

.services-list-section .service-card.alt-card::before {
    background: linear-gradient(to left, #6abae9 0%, rgba(110, 191, 244, 0.45) 22.4%, rgba(70, 144, 212, 0.08) 100%);
}

.services-list-section .service-card.alt-card:hover::before {
    background: linear-gradient(to left, #6abae9 0%, rgba(110, 191, 244, 0.75) 22.4%, rgba(70, 144, 212, 0.15) 100%);
}

@media (max-width: 991px) {
    .services-list-header {
        margin-bottom: 50px;
    }
    .services-list-section .service-card {
        flex-direction: column;
        padding: 0;
        gap: 0;
        border-radius: 28px;
        min-height: auto;
        background: radial-gradient(circle at 50% 140px, rgba(106, 186, 233, 0.52) 0%, rgba(110, 191, 244, 0.35) 45%, rgba(3, 10, 23, 0.9) 100%);
    }
    .services-list-section .service-card::before {
        border-radius: 28px;
        background: linear-gradient(to top, #6abae9 0%, rgba(110, 191, 244, 0.45) 22.4%, rgba(70, 144, 212, 0.08) 100%);
    }
    .services-list-section .service-card:hover::before {
        background: linear-gradient(to top, #6abae9 0%, rgba(110, 191, 244, 0.75) 22.4%, rgba(70, 144, 212, 0.15) 100%);
    }
    .services-list-section .service-card-image {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 280px;
        z-index: 2;
    }
    .services-list-section .service-card-image img {
        border-radius: 28px 28px 0 0;
    }
    .services-list-section .service-card-content {
        width: 100%;
        margin-right: 0;
        padding: 40px 24px;
        flex: none;
    }
    
    /* Alt card mobile resets */
    .services-list-section .service-card.alt-card {
        background: radial-gradient(circle at 50% 140px, rgba(106, 186, 233, 0.52) 0%, rgba(110, 191, 244, 0.35) 45%, rgba(3, 10, 23, 0.9) 100%);
    }
    .services-list-section .service-card.alt-card .service-card-image {
        left: auto;
        right: auto;
    }
    .services-list-section .service-card.alt-card .service-card-content {
        margin-left: 0;
    }
    .services-list-section .service-card.alt-card::before {
        border-radius: 28px;
        background: linear-gradient(to top, #6abae9 0%, rgba(110, 191, 244, 0.45) 22.4%, rgba(70, 144, 212, 0.08) 100%);
    }
    .services-list-section .service-card.alt-card:hover::before {
        background: linear-gradient(to top, #6abae9 0%, rgba(110, 191, 244, 0.75) 22.4%, rgba(70, 144, 212, 0.15) 100%);
    }
    .services-list-section .service-card.alt-card .service-card-image img {
        border-radius: 28px 28px 0 0;
    }
    
    /* Balanced card mobile resets */
    .services-list-section .service-card.card-balanced {
        background: radial-gradient(circle at 50% 140px, rgba(106, 186, 233, 0.38) 0%, rgba(110, 191, 244, 0.18) 25%, rgba(70, 144, 212, 0) 80%), rgba(3, 10, 23, 0.85);
    }
}

/* ===== AI SEO SECTION ===== */
.ai-seo-section {
    position: relative;
    padding: 100px 0;
    background-color: #020d1f;
    overflow: hidden;
}

.ai-seo-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.ai-seo-header {
    text-align: center;
    margin-bottom: 60px;
}

.ai-seo-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.35;
}

.ai-seo-title .highlight-gold {
    color: #e6a800;
}

.ai-seo-subtitle-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: #9ca3af;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto;
}

.ai-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ai-seo-card {
    background-color: #020d1f;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
}

/* Column dividers and rounded corner positioning for Desktop */
.ai-seo-card:first-child {
    border-radius: 0 24px 24px 0;
}
.ai-seo-card:first-child .ai-seo-card-image {
    border-radius: 0 0 24px 0;
}

.ai-seo-card:nth-child(2) {
    border-radius: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.25);
    border-right: 2px solid rgba(255, 255, 255, 0.25);
}
.ai-seo-card:nth-child(2) .ai-seo-card-image {
    border-radius: 0;
}

.ai-seo-card:last-child {
    border-radius: 24px 0 0 24px;
}
.ai-seo-card:last-child .ai-seo-card-image {
    border-radius: 0 0 0 24px;
}

.ai-seo-card-content {
    padding: 35px 28px 25px;
    flex: 1;
}

.ai-seo-card-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: #e6a800;
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.ai-seo-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.45;
}

.ai-seo-card-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0;
}

.ai-seo-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    border-top: none;
}

.ai-seo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-seo-card:hover {
    box-shadow: 0 12px 30px rgba(0, 112, 192, 0.08);
    transform: translateY(-5px);
}

.ai-seo-card:hover .ai-seo-card-image img {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .ai-seo-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
        margin: 0 auto;
    }
    .ai-seo-section {
        padding: 80px 0;
    }
    .ai-seo-header {
        margin-bottom: 45px;
    }
    
    /* Mobile resets for SEO cards */
    .ai-seo-card {
        border-radius: 24px !important;
        border: none !important;
    }
    .ai-seo-card-image {
        border-radius: 0 0 24px 24px !important;
    }
}

/* ===== AI SOCIAL MEDIA SECTION ===== */
.ai-sm-section {
    position: relative;
    padding: 100px 0;
    background-color: #020d1f;
    overflow: hidden;
}

.ai-sm-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%; /* covers the full height of the section */
    background: radial-gradient(ellipse 780px 650px at 50% 30%, rgba(0, 112, 192, 0.48) 0%, rgba(10, 22, 40, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.ai-sm-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.ai-sm-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.ai-sm-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.35;
}

.ai-sm-title .highlight-gold {
    color: #e6a800;
}

.ai-sm-subtitle-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: #9ca3af;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto;
}

.ai-sm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.ai-sm-card {
    background-color: #020d1f;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
}

.ai-sm-card-image {
    width: 100%;
    height: 220px; /* increased height for a taller display */
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
}

.ai-sm-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-sm-card-content {
    padding: 30px 28px 35px;
    flex: 1;
}

.ai-sm-card-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: #e6a800;
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.ai-sm-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.45;
}

.ai-sm-card-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0;
}

.ai-sm-card:hover {
    box-shadow: 0 12px 30px rgba(0, 112, 192, 0.08);
    transform: translateY(-5px);
}

.ai-sm-card:hover .ai-sm-card-image img {
    transform: scale(1.04);
}

/* Column dividers and rounded corner positioning for Desktop */
.ai-sm-card:first-child {
    border-radius: 0 24px 24px 0;
}
.ai-sm-card:first-child .ai-sm-card-image {
    border-radius: 0 24px 0 0;
}

.ai-sm-card:nth-child(2) {
    border-radius: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.25);
    border-right: 2px solid rgba(255, 255, 255, 0.25);
}
.ai-sm-card:nth-child(2) .ai-sm-card-image {
    border-radius: 0;
}

.ai-sm-card:last-child {
    border-radius: 24px 0 0 24px;
}
.ai-sm-card:last-child .ai-sm-card-image {
    border-radius: 24px 0 0 0;
}

@media (max-width: 991px) {
    .ai-sm-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
        margin: 0 auto;
    }
    .ai-sm-section {
        padding: 80px 0;
    }
    .ai-sm-header {
        margin-bottom: 45px;
    }
    
    /* Mobile resets for SM cards */
    .ai-sm-card {
        border-radius: 24px !important;
        border: none !important;
    }
    .ai-sm-card-image {
        border-radius: 24px 24px 0 0 !important;
    }
}

/* ===== AI MEDIA PRODUCTION SECTION ===== */
.ai-media-section {
    position: relative;
    padding: 100px 0;
    background-color: #020d1f;
    overflow: hidden;
}

.ai-media-glow {
    display: none; /* removed background glow for the section */
}

.ai-media-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.ai-media-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.ai-media-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.35;
}

.ai-media-title .highlight-gold {
    color: #e6a800;
}

.ai-media-subtitle-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: #9ca3af;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto;
}

.ai-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.ai-media-card {
    background-color: #020d1f;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ai-media-card.card-glow-right {
    background: radial-gradient(circle at 85% 50%, rgba(106, 186, 233, 0.26) 0%, rgba(110, 191, 244, 0.15) 45%, rgba(2, 13, 31, 0.95) 100%);
}

.ai-media-card.card-glow-left {
    background: radial-gradient(circle at 15% 50%, rgba(106, 186, 233, 0.26) 0%, rgba(110, 191, 244, 0.15) 45%, rgba(2, 13, 31, 0.95) 100%);
}

.ai-media-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(106, 186, 233, 0.45) 0%, rgba(110, 191, 244, 0.2) 50%, rgba(70, 144, 212, 0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
    transition: background 0.4s ease;
}

.ai-media-card:hover::before {
    background: linear-gradient(135deg, rgba(106, 186, 233, 0.75) 0%, rgba(110, 191, 244, 0.45) 50%, rgba(70, 144, 212, 0.15) 100%);
}

.ai-media-card.text-card {
    padding: 40px 35px;
    min-height: 400px;
}

.ai-media-card.image-card {
    padding: 0;
    min-height: 400px;
}

.ai-media-radar-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
}

.ai-media-radar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-media-card.image-card:hover img {
    transform: scale(1.04);
}

.ai-media-card-badge {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: right; /* aligns with RTL flow */
}

.ai-media-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #e6a800;
    margin-bottom: 18px;
    line-height: 1.45;
}

.ai-media-card-title span {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.ai-media-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

.ai-media-value-box {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.ai-media-value-box .value-highlight-gold {
    color: #e6a800;
    font-weight: 800;
}

.ai-media-card:hover {
    box-shadow: 0 12px 30px rgba(0, 112, 192, 0.08);
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .ai-media-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
        margin: 0 auto;
    }
    .ai-media-section {
        padding: 80px 0;
    }
    .ai-media-header {
        margin-bottom: 45px;
    }
    .ai-media-card.text-card {
        min-height: auto;
    }
    .ai-media-card.image-card {
        min-height: 300px;
        height: 300px;
    }
}

/* ===== AI WORKFLOW/TIMELINE SECTION ===== */
.ai-workflow-section {
    position: relative;
    padding: 120px 0;
    background-color: #020d1f !important;
    overflow: hidden;
}

.ai-workflow-glow {
    display: none; /* removed background glow for the section */
}

.ai-workflow-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.ai-workflow-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.ai-workflow-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.35;
}

.ai-workflow-title .highlight-gold {
    color: #e6a800;
}

.ai-workflow-subtitle-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: #9ca3af;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto;
}

.ai-workflow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.ai-workflow-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.ai-workflow-step.step-right {
    text-align: right;
    padding: 20px 0;
}

.ai-workflow-step.step-bottom-center {
    grid-column: 1;
    text-align: right;
}

.ai-workflow-badge {
    font-size: 2.2rem;
    font-weight: 850;
    color: #ffffff; /* solid white */
    margin-bottom: 16px;
    line-height: 1;
}

.ai-workflow-step-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #e6a800;
    margin-bottom: 18px;
    line-height: 1.45;
}

.ai-workflow-step-title .title-english {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.ai-workflow-desc {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

.ai-workflow-card {
    background: radial-gradient(circle at 15% 50%, rgba(106, 186, 233, 0.26) 0%, rgba(110, 191, 244, 0.15) 45%, rgba(2, 13, 31, 0.95) 100%);
    border-radius: 24px;
    padding: 45px 40px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ai-workflow-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(106, 186, 233, 0.45) 0%, rgba(110, 191, 244, 0.2) 50%, rgba(70, 144, 212, 0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
    transition: background 0.4s ease;
}

.ai-workflow-card:hover::before {
    background: linear-gradient(135deg, rgba(106, 186, 233, 0.75) 0%, rgba(110, 191, 244, 0.45) 50%, rgba(70, 144, 212, 0.15) 100%);
}

.ai-workflow-card:hover {
    box-shadow: 0 12px 30px rgba(0, 112, 192, 0.08);
    transform: translateY(-5px);
}

/* Concentric Radar Rings Decoration */
.ai-workflow-radar-decor {
    position: absolute;
    bottom: -45px;
    left: -45px;
    width: 140px;
    height: 140px;
    pointer-events: none;
    z-index: 1;
}

.ai-workflow-radar-decor span {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 112, 192, 0.15);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.6s ease;
}

.ai-workflow-radar-decor .ring-2 {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-color: rgba(0, 112, 192, 0.25);
}

.ai-workflow-radar-decor .ring-3 {
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border-color: rgba(0, 112, 192, 0.35);
}

.ai-workflow-card:hover .ai-workflow-radar-decor span {
    transform: scale(1.08);
    border-color: rgba(0, 112, 192, 0.5);
}

@media (max-width: 991px) {
    .ai-workflow-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 500px;
        margin: 0 auto;
    }
    .ai-workflow-spacer {
        display: none;
    }
    .ai-workflow-step.step-right {
        text-align: right;
        padding: 0;
    }
    .ai-workflow-section {
        padding: 80px 0;
    }
    .ai-workflow-header {
        margin-bottom: 50px;
    }
    .ai-workflow-card {
        padding: 35px 25px;
    }
    .ai-workflow-step.step-bottom-center {
        grid-column: auto;
        text-align: right;
        margin: 0;
    }
}

/* ===== AI GOLDEN TIPS SECTION ===== */
.ai-tips-section {
    position: relative;
    padding: 100px 0 120px;
    background-color: #020d1f !important;
    overflow: hidden;
}

.ai-tips-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.ai-tips-header {
    text-align: center;
    margin-bottom: 70px;
}

.ai-tips-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
}

.ai-tips-title .highlight-gold {
    color: #e6a800;
}

.ai-tips-grid-wrapper {
    position: relative;
}

.ai-tips-line {
    position: absolute;
    top: 16px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.ai-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.ai-tips-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ai-tips-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: #e6a800;
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.ai-tips-col-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.45;
}

.ai-tips-col-title .title-english {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.ai-tips-col-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin: 0;
    max-width: 360px;
}

@media (max-width: 991px) {
    .ai-tips-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        max-width: 500px;
        margin: 0 auto;
    }
    .ai-tips-line {
        display: none;
    }
    .ai-tips-section {
        padding: 80px 0;
    }
}

/* ===== AI CTA SECTION ===== */
.ai-cta-section {
    position: relative;
    padding: 100px 0 120px;
    background-color: #020d1f !important;
}

.ai-cta-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.ai-cta-card {
    position: relative;
    background-color: #010816; /* deeper navy base for better glow contrast */
    background-image: 
        radial-gradient(circle at 5% 50%, rgba(0, 112, 192, 0.45) 0%, rgba(1, 8, 22, 0) 45%),
        radial-gradient(circle at 95% 50%, rgba(0, 112, 192, 0.45) 0%, rgba(1, 8, 22, 0) 45%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 80 0 L 0 0 0 80' fill='none' stroke='%23ffffff' stroke-opacity='0.11' stroke-width='1' stroke-dasharray='4,4'/%3E%3C/svg%3E");
    background-size: 100% 100%, 100% 100%, 80px 80px;
    border-radius: 24px;
    padding: 90px 60px;
    overflow: hidden;
    z-index: 1;
}

.ai-cta-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(106, 186, 233, 0.42) 0%, rgba(110, 191, 244, 0.18) 50%, rgba(70, 144, 212, 0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.ai-cta-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-cta-title {
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.45;
    margin-bottom: 24px;
}

.ai-cta-title .highlight-gold {
    color: #e6a800;
}

.ai-cta-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.85;
    max-width: 820px;
    margin-bottom: 45px;
}

.ai-cta-button-wrapper {
    position: relative;
}

.ai-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #005a9c;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 90, 156, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-cta-btn:hover {
    background-color: #0066b2;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 102, 178, 0.4);
}

.ai-cta-btn .arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.ai-cta-btn:hover .arrow {
    transform: translate(-3px, -3px);
}

@media (max-width: 991px) {
    .ai-cta-section {
        padding: 50px 0;
    }
    .ai-cta-card {
        padding: 50px 20px;
        background-size: 100% 100%, 100% 100%, 50px 50px; /* fixed 3-layer mapping */
    }
    .ai-cta-title {
        font-size: 1.45rem;
        line-height: 1.5;
    }
    .ai-cta-desc {
        font-size: 0.88rem;
        line-height: 1.8;
        margin-bottom: 30px;
    }
    .ai-cta-btn {
        padding: 14px 22px;
        font-size: 0.9rem;
        line-height: 1.45;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        gap: 8px;
    }
}

/* ===== BLOG TEMPLATE STYLING ===== */
.blog-hero {
    position: relative;
    padding: 150px 0 120px;
    text-align: center;
    background-color: #020d1f !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    box-sizing: border-box;
}

.blog-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45; /* elegant wave opacity matching mockup */
}

.blog-hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 13, 31, 0.8) 0%, rgba(2, 13, 31, 0.4) 50%, rgba(2, 13, 31, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
}

.blog-hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #020d1f 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

.blog-hero-container {
    position: relative;
    z-index: 4;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

.blog-hero-content {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.blog-hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 850;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.35;
}

.blog-hero-title .highlight-gold {
    color: #e6a800;
}

.blog-hero-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.45;
}

.blog-hero-desc,
.blog-hero-desc-secondary {
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.85;
    margin: 0 0 35px;
    max-width: 820px;
}

.blog-hero-divider {
    width: 80px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 10px 0 35px;
}

.blog-hero-subheading {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.45;
}

.blog-hero-subheading .highlight-gold {
    color: #e6a800;
}

.blog-hero-desc-secondary {
    margin-bottom: 0;
}

/* Blog page wrapper to push footer down */
.blog-page-wrapper {
    min-height: 20vh;
    background-color: #020d1f !important;
}

@media (max-width: 991px) {
    .blog-hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    .blog-hero-divider {
        margin: 5px 0 25px;
    }
    .blog-hero-desc {
        margin-bottom: 25px;
    }
}



/* ===== BLOG POSTS GRID SECTION ===== */
.blog-posts-section {
    padding: 80px 0 120px;
    background-color: #020d1f;
}

.blog-posts-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.blog-posts-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 56px;
}

/* --- Cards Grid --- */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.bcard {
    background-color: #060f20;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.bcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 120, 200, 0.18);
    border-color: rgba(0, 150, 220, 0.35);
}

/* --- Image Area --- */
.bcard-image-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.bcard-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #0a1628;
}

.bcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bcard:hover .bcard-img {
    transform: scale(1.06);
}

.bcard-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 112, 192, 0.65) 0%, rgba(2, 13, 31, 0.95) 100%);
    transition: transform 0.5s ease;
}

.bcard:hover .bcard-img-placeholder {
    transform: scale(1.06);
}

/* Subtle dark bottom fade on image */
.bcard-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to top, rgba(6, 15, 32, 0.95) 0%, transparent 100%);
    pointer-events: none;
}

/* --- Card Body --- */
.bcard-body {
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 18px;
}

.bcard-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

.bcard-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bcard-title a:hover {
    color: #00588C;
}

/* --- Read Button --- */
.bcard-btn {
    display: block;
    text-align: center;
    background-color: #00588C;
    color: #ffffff;
    border: 1.5px solid #00588C;
    border-radius: 10px;
    padding: 11px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-top: auto;
}

.bcard-btn:hover {
    background-color: #0070b0;
    border-color: #0070b0;
    color: #ffffff;
}

.no-posts-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background-color: rgba(6, 15, 32, 0.4);
    backdrop-filter: blur(10px);
}

/* --- Pagination --- */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 64px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    background-color: #060f20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background-color: #00588C;
    border-color: #00588C;
    color: #ffffff;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .blog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .blog-posts-section {
        padding: 60px 0 90px;
    }
    .blog-posts-section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        max-width: 440px;
        margin: 0 auto;
    }
    .blog-posts-container {
        padding: 0 20px;
    }
    .bcard-img-wrapper {
        height: 195px;
    }
}



/* =========================================
   SINGLE POST PAGE — NEW LAYOUT
   ========================================= */

.single-page-wrap {
    background-color: #020d1f;
    min-height: 100vh;
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

/* Wave SVG decoration at the very top */
.single-wave-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    height: 160px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.single-wave-top svg {
    width: 100%;
    height: 100%;
}

/* Inner container */
.single-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

/* 1. Title */
.single-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.5;
    text-align: right;
    margin: 0 0 36px;
}

/* 2. Featured Image */
.single-thumb {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 44px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.single-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 520px;
    object-fit: cover;
}

/* 3. Body content — right aligned */
.single-body {
    text-align: right;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.06rem;
    line-height: 2;
    direction: rtl;
}

.single-body p {
    margin-bottom: 24px;
}

.single-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 40px 0 16px;
    line-height: 1.45;
}

.single-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 32px 0 14px;
}

.single-body h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #e6a800;
    margin: 24px 0 10px;
}

.single-body strong {
    color: #ffffff;
    font-weight: 700;
}

.single-body a {
    color: #00588C;
    text-decoration: underline;
}

.single-body a:hover {
    color: #e6a800;
}

.single-body ul,
.single-body ol {
    padding-right: 24px;
    margin-bottom: 24px;
}

.single-body li {
    margin-bottom: 10px;
}

.single-body blockquote {
    border-right: 4px solid #00588C;
    margin: 32px 0;
    padding: 18px 24px;
    background-color: rgba(0, 88, 140, 0.08);
    border-radius: 0 12px 12px 0;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.single-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.single-body code {
    background: rgba(255, 255, 255, 0.07);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.9em;
}

/* Back link */
.single-back-wrap {
    margin-top: 56px;
    text-align: center;
}

.single-back-link {
    display: inline-block;
    background-color: #00588C;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 40px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.single-back-link:hover {
    background-color: #0070b0;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .single-page-wrap {
        padding: 60px 0 90px;
    }
    .single-inner {
        padding: 0 20px;
    }
    .single-title {
        font-size: 1.4rem;
        margin-bottom: 28px;
    }
    .single-thumb {
        margin-bottom: 32px;
        border-radius: 14px;
    }
    .single-thumb-img {
        max-height: 280px;
    }
    .single-body {
        font-size: 1rem;
    }
}


/* --- Hero --- */
.single-post-hero {
    position: relative;
    height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #020d1f;
}

.single-post-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.single-post-hero-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.single-post-hero-img--default {
    background: linear-gradient(135deg, rgba(0, 88, 140, 0.8) 0%, rgba(2, 13, 31, 0.98) 100%);
}

.single-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,13,31,0.97) 0%, rgba(2,13,31,0.55) 50%, rgba(2,13,31,0.25) 100%);
}

.single-post-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px 52px;
    width: 100%;
    box-sizing: border-box;
}

/* Back link */
.single-post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.single-post-back svg {
    transform: rotate(180deg);
}

.single-post-back:hover {
    color: #e6a800;
}

.single-post-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    margin: 0 0 16px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    flex-wrap: wrap;
}

.single-post-meta a {
    color: #e6a800;
    text-decoration: none;
}

.single-post-meta-sep {
    opacity: 0.4;
}

/* --- Content Area --- */
.single-post-wrapper {
    background-color: #020d1f;
    padding: 60px 0 100px;
}

.single-post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.single-post-article {
    background-color: #060f20;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 50px 56px;
    margin-bottom: 40px;
}

/* Article typography */
.single-post-content {
    color: rgba(255,255,255,0.82);
    font-size: 1.06rem;
    line-height: 1.95;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: #ffffff;
    font-weight: 800;
    margin: 36px 0 16px;
    line-height: 1.4;
}

.single-post-content h2 { font-size: 1.6rem; }
.single-post-content h3 { font-size: 1.3rem; }
.single-post-content h4 { font-size: 1.1rem; }

.single-post-content p {
    margin-bottom: 22px;
}

.single-post-content a {
    color: #00588C;
    text-decoration: underline;
    transition: color 0.3s;
}

.single-post-content a:hover {
    color: #e6a800;
}

.single-post-content ul,
.single-post-content ol {
    padding-right: 24px;
    margin-bottom: 22px;
}

.single-post-content li {
    margin-bottom: 8px;
}

.single-post-content blockquote {
    border-right: 4px solid #00588C;
    margin: 30px 0;
    padding: 16px 24px;
    background-color: rgba(0,88,140,0.08);
    border-radius: 0 10px 10px 0;
    color: rgba(255,255,255,0.75);
    font-style: italic;
}

.single-post-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.single-post-content strong {
    color: #ffffff;
    font-weight: 700;
}

.single-post-content code {
    background: rgba(255,255,255,0.07);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.9em;
}

/* --- Tags --- */
.single-post-tags {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.single-post-tags-label {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
}

.tag-item {
    background-color: rgba(0,88,140,0.15);
    border: 1px solid rgba(0,88,140,0.4);
    color: #6ab8e0;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* --- Post Navigation --- */
.single-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: #060f20;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 20px 24px;
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.post-nav-item:hover {
    border-color: rgba(0,88,140,0.5);
    transform: translateY(-3px);
}

.post-nav-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-nav-title {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.45;
}

.post-nav-next { text-align: right; }
.post-nav-prev { text-align: left; }

/* Back to blog button */
.single-post-back-bottom {
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .single-post-hero {
        height: 360px;
    }
    .single-post-article {
        padding: 32px 24px;
    }
    .single-post-nav {
        grid-template-columns: 1fr;
    }
    .post-nav-next,
    .post-nav-prev {
        text-align: right;
    }
    .single-post-container {
        padding: 0 20px;
    }
    .single-post-hero-content {
        padding: 0 20px 40px;
    }
}


/* =========================================
   SINGLE POST — GUTENBERG CONTROLLED
   ========================================= */

.single-gutenberg-wrap {
    background-color: #020d1f;
    background-image: radial-gradient(ellipse 650px 450px at 50% 125px, rgba(0, 112, 192, 0.48) 0%, rgba(2, 13, 31, 0) 100%);
    background-size: 100% 650px;
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 80vh;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.single-gutenberg-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.9;
    direction: rtl;
    text-align: right;
    position: relative;
    z-index: 1;
}

/* Allow wide/full Gutenberg blocks to break out of max-width */
.single-gutenberg-article .alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.single-gutenberg-article .alignfull {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

/* Base Gutenberg typography inside dark theme */
.single-gutenberg-article h1,
.single-gutenberg-article h2,
.single-gutenberg-article h3,
.single-gutenberg-article h4,
.single-gutenberg-article h5,
.single-gutenberg-article h6 {
    color: #ffffff;
    line-height: 1.45;
}

.single-gutenberg-article p {
    color: rgba(255, 255, 255, 0.82);
}

.single-gutenberg-article a {
    color: #00588C;
}

.single-gutenberg-article a:hover {
    color: #e6a800;
}

.single-gutenberg-article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.single-gutenberg-article figure {
    margin: 0 0 24px;
}

.single-gutenberg-article figcaption {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 8px;
}

/* Gutenberg buttons */
.single-gutenberg-article .wp-block-button__link {
    background-color: #00588C;
    color: #ffffff;
    border-radius: 10px;
    padding: 12px 32px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.single-gutenberg-article .wp-block-button__link:hover {
    background-color: #0070b0;
}

/* Gutenberg quote */
.single-gutenberg-article blockquote,
.single-gutenberg-article .wp-block-quote {
    border-right: 4px solid #00588C;
    border-left: none;
    padding: 16px 24px 16px 0;
    background: rgba(0,88,140,0.07);
    border-radius: 0 12px 12px 0;
    margin: 28px 0;
}

.single-gutenberg-article .wp-block-quote p {
    font-style: italic;
}

/* Gutenberg separator */
.single-gutenberg-article hr,
.single-gutenberg-article .wp-block-separator {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 36px 0;
}

/* Gutenberg table */
.single-gutenberg-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.single-gutenberg-article td,
.single-gutenberg-article th {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

.single-gutenberg-article th {
    background: rgba(0,88,140,0.15);
    color: #ffffff;
    font-weight: 700;
}

/* Gutenberg code */
.single-gutenberg-article code,
.single-gutenberg-article .wp-block-code {
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.9em;
    color: #6ad8f0;
}

@media (max-width: 768px) {
    .single-gutenberg-article {
        padding: 0 20px;
        font-size: 1rem;
    }
    .single-gutenberg-wrap {
        padding-top: calc(var(--nav-height) + 20px);
        padding-bottom: 70px;
    }
}

/* =========================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================= */

.contact-page-hero {
    padding: 140px 0 60px;
    background-color: var(--color-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 400px;
    background: none;
    pointer-events: none;
    z-index: 1;
}

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

.contact-page-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.contact-page-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.contact-page-content {
    background-color: var(--color-dark);
    padding: calc(var(--nav-height) + 60px) 0 120px;
    position: relative;
}

.contact-form-header {
    margin-bottom: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-form-header h2 {
    font-size: 1.60rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.contact-form-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.contact-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 448px 1fr;
    gap: 60px;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.info-card {
    background-color: #060f20;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    width: 100%;
    max-width: 448px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    text-align: right;
    box-sizing: border-box;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 150, 220, 0.35);
    box-shadow: 0 12px 30px rgba(0, 120, 200, 0.12);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 187, 0, 0.1);
    border: 1px solid rgba(255, 187, 0, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFBB00;
    font-size: 1.4rem;
}

.info-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.info-card-body p, 
.info-card-body a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.6;
    display: inline-block;
    transition: color 0.3s ease;
}

.info-card-body a:hover {
    color: #0070b0;
}

.contact-form-col {
    background: rgba(6, 15, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 28px;
    border-radius: 32px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 872px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.contact-form-col::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 480px;
    background: radial-gradient(ellipse 70% 65% at 50% 30px, rgba(0, 112, 192, 0.25) 0%, rgba(2, 13, 31, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.contact-form-col::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at 100% 100%, rgba(0, 112, 192, 0.25) 0%, rgba(2, 13, 31, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-form-col .contact-form {
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* Responsiveness for contact page */
@media (max-width: 991px) {
    .contact-page-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .info-card-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-col {
        padding: 24px;
    }
    
    .contact-page-title {
        font-size: 2.2rem;
    }
}
