/*
Theme Name: StylingCV
Template: softing
Author: StylingCV
Author URI: StylingCV
Version: 1.0
*/

/* 1. Maximum Page Container Width */
@media (min-width: 1500px) {
    .container {
        max-width: 1480px !important;
    }
}

/* 2. Custom Font for English Posts */
@font-face {
    font-family: 'TT Tricks';
    src: url('fonts/tt_tricks/TT Tricks Trial Regular.otf') format('opentype');
    font-weight: 400;
    /* Normal */
    font-style: normal;
}

@font-face {
    font-family: 'TT Tricks';
    src: url('fonts/tt_tricks/TT Tricks Trial Bold.otf') format('opentype');
    font-weight: 700;
    /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'TT Tricks';
    src: url('fonts/tt_tricks/TT Tricks Trial Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'TT Tricks';
    src: url('fonts/tt_tricks/TT Tricks Trial Bold Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'TT Tricks';
    src: url('fonts/tt_tricks/TT Tricks Trial Light.otf') format('opentype');
    font-weight: 300;
    /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'TT Tricks';
    src: url('fonts/tt_tricks/TT Tricks Trial Light Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

/* Apply only to English site (defaultSite id) and single posts */
#defaultSite.single-post .content-container,
#defaultSite.single-post .content-container p,
#defaultSite.single-post .content-container span,
#defaultSite.single-post .content-container a,
#defaultSite.single-post .content-container li {
    font-family: 'TT Tricks', sans-serif !important;
    font-display: swap;
    font-size: 19px !important;
    line-height: 32px !important;
    font-weight: 300 !important;
    /* Use Light font */
}

#defaultSite.single-post .content-container a {
    color: #1170cd;
    background-image: linear-gradient(rgba(17, 112, 205, 0.2), rgba(17, 112, 205, 0.2));
    background-position: left 0 bottom 1px;
    background-size: 100% 1px;
    background-color: transparent;
    background-repeat: no-repeat;
    box-sizing: inherit;
}
body .main-menu-container ul li a
{
    padding:  4px 20px;
    line-height: 1.5;
}

body .small-menu-container .menu-container ul li.menu-item-has-children a:after
{
        margin-left: auto;
        margin-right: 5px;
}

body .small-menu-container .menu-container ul li.menu-item-has-children:hover .sub-menu
{
    margin-right: -149px;
    margin-left: auto;
}

body.home-container .home-undp-logo-container
{
    left: auto;
    right: 0;
}

body.home-container a.home-undp-logo
{
        right: auto;
        left: 15px;
}

body main .chapter-list .chapter-item
{
        margin-right: auto;
        margin-left: 40px;
}

body main .chapter-list .chapter-item:nth-child(2n)
{
    margin-right: auto;
    margin-left: 0;
}

body main .chapter-list .chapter-item .chapter-content h2
{
    font-weight: 700;
}

body main .content-block aside
{
    padding-left: 0;
    padding-right: 35px;
}

body main .content-block article h3 span
{
    left: auto;
    right: 0;
    padding: 0 0 0 8px;
}

body main .content-block article h3 span.svg-container
{
    right: auto;
    left: 0;
    top: 0px;
}

body main .content-block article h3:after
{
    top: 23px;
}

body main .projects-list .project-item
{
    margin-right: auto;
    margin-left: 5%;
}

body main .projects-list .project-item:nth-child(3n) 
{
    margin-right: auto;
    margin-left: 0;
}

body .form-container .wpcf7 .wpcf7-form div.submit-form
{
        margin: 0 5% 0 0;
}

body main .content-block aside .sections-nav ul li:after {
    border-left-color: #534da0;
    border-right-color: transparent;
}

body main .content-block aside .sections-nav ul li:after {
    left: calc(100% - 15px);
    right: auto;
}

body main .content-block aside .sections-nav ul li.selected:after {
        left: 100%;
        right: auto;
}

body footer .chapter-links
{
    margin-left: auto;
    margin-right: 25px;
}

body.home-container .home-compendium-logo
{
    background: url(../../leadership/images/compendium-logo-ar.png) no-repeat center center;
}


/* SEO Image Watermark */
.seo-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 20px 0;
}

.seo-image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.seo-image-container::after {
    content: "StylingCV";
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(27, 157, 184, 0.85);
    color: white;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* RTL adjustment for Arabic pages */
html[dir="rtl"] .seo-image-container::after,
body.rtl .seo-image-container::after {
    left: auto;
    right: 15px;
}

/* Mobile CSS */

@media screen and (max-width: 1160px) {


}

/* ========================================================
   ARABIC HOMEPAGE REDESIGN - StylingCV 2025
   Modern, Bold, Distinctive Design
   ======================================================== */

/* Import Arabic-optimized font */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* RTL Body & Typography */
html[lang="ar"] body,
body.rtl,
body[dir="rtl"] {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6 {
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 800 !important;
}

/* ========== HERO SECTION - Target Banner Container ========== */

/* Hero Container - Dramatic Gradient */
.banner-container,
.nt-theme-content .banner-container,
.wp-block-group.banner-container,
.wp-block-cover {
  background: linear-gradient(135deg, #0a192f 0%, #112240 40%, #1a365d 70%, #0a192f 100%) !important;
  position: relative;
  overflow: hidden;
  min-height: 85vh !important;
  padding: 80px 0 100px !important;
}

/* Animated Background Pattern */
.banner-container::before,
.nt-theme-content .banner-container::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 184, 169, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(254, 181, 22, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 60% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  animation: heroGlow 8s ease-in-out infinite alternate !important;
}

@keyframes heroGlow {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Floating Geometric Shape */
.banner-container::after,
.nt-theme-content .banner-container::after {
  content: '' !important;
  position: absolute !important;
  top: 10% !important;
  left: 5% !important;
  width: 500px !important;
  height: 500px !important;
  background: linear-gradient(45deg, rgba(0, 184, 169, 0.12), rgba(254, 181, 22, 0.06)) !important;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% !important;
  filter: blur(80px) !important;
  animation: floatShape 12s ease-in-out infinite !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(40px, -40px) rotate(10deg); }
  66% { transform: translate(-30px, 30px) rotate(-5deg); }
}

/* Hero Content */
.banner-container .wp-block-group__inner-container,
.nt-theme-content .banner-container .wp-block-group__inner-container {
  position: relative !important;
  z-index: 2 !important;
  max-width: 1300px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

/* Main Headline Enhancement */
.banner-container h1,
.banner-container h2,
.nt-theme-content .banner-container h1,
.nt-theme-content .banner-container h2 {
  font-size: clamp(2.8rem, 6vw, 4.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  margin-bottom: 25px !important;
  text-shadow: none !important;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Gradient Text for Highlights */
.banner-container h1 span,
.banner-container h2 span,
.banner-container .b-g-text,
.nt-theme-content .b-g-text {
  background: linear-gradient(135deg, #00d4aa 0%, #00b8a9 50%, #FEB516 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Hero Description Text */
.banner-container p,
.nt-theme-content .banner-container p {
  font-size: 1.25rem !important;
  line-height: 1.85 !important;
  color: #b8c5d6 !important;
  max-width: 750px !important;
  margin-bottom: 35px !important;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.banner-container p strong {
  color: #e2e8f0 !important;
  font-weight: 700 !important;
}

/* ========== STATS STYLING ========== */

/* Stats Number - Big Bold Gradient */
.banner-container h3,
.nt-theme-content .banner-container h3,
.stats-number {
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #00d4aa, #FEB516) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* Star Rating Enhancement */
.banner-container [class*="star"],
.rating-stars {
  color: #FEB516 !important;
  font-size: 1.8rem !important;
  letter-spacing: 5px;
  display: block;
  margin: 15px 0;
}

/* ========== CTA BUTTON - BOLD REDESIGN ========== */

.banner-container .btn,
.banner-container a.btn,
.nt-theme-content .banner-container .btn,
.wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  background: linear-gradient(135deg, #00b8a9 0%, #00d4aa 100%) !important;
  color: #0a192f !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  padding: 22px 50px !important;
  border-radius: 16px !important;
  border: none !important;
  box-shadow: 
    0 10px 40px rgba(0, 184, 169, 0.4),
    0 4px 15px rgba(0, 184, 169, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.banner-container .btn::before,
.wp-block-button__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.banner-container .btn:hover,
.wp-block-button__link:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 
    0 20px 60px rgba(0, 184, 169, 0.5),
    0 8px 25px rgba(0, 184, 169, 0.3) !important;
  color: #0a192f !important;
}

.banner-container .btn:hover::before,
.wp-block-button__link:hover::before {
  left: 100%;
}

/* Helper Text Below CTA */
.banner-container small,
.cta-helper {
  display: block;
  font-size: 0.95rem !important;
  color: #64748b !important;
  margin-top: 18px;
}

/* ========== ANIMATIONS ========== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-35px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== CV PREVIEW CARD ========== */

.cv-preview,
[class*="resume-preview"],
.wp-block-cover .wp-block-image {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 25px;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.cv-preview:hover,
[class*="resume-preview"]:hover,
.wp-block-cover .wp-block-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.03);
  box-shadow: 0 40px 120px rgba(0, 184, 169, 0.25);
}

/* ========== FEATURES SECTION ========== */

.features-list,
[class*="feature-section"],
.wp-block-columns.features {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  padding: 100px 0 !important;
  position: relative;
}

.features-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.06), transparent);
  pointer-events: none;
}

/* Feature Cards */
.features-list .wp-block-column,
.feature-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 45px 35px !important;
  text-align: center;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.features-list .wp-block-column::before,
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00b8a9, #FEB516);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.features-list .wp-block-column:hover,
.feature-card:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12) !important;
}

.features-list .wp-block-column:hover::before,
.feature-card:hover::before {
  transform: scaleX(1);
}

/* Feature Icon */
.features-list .wp-block-image img,
.feature-card img {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 30px !important;
  padding: 18px !important;
  background: linear-gradient(135deg, rgba(0, 184, 169, 0.12), rgba(0, 184, 169, 0.06)) !important;
  border-radius: 20px !important;
}

/* Feature Title */
.features-list h3,
.features-list h4,
.feature-card h3 {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #1a365d !important;
  margin-bottom: 18px !important;
}

/* Feature Description */
.features-list p,
.feature-card p {
  font-size: 1.05rem !important;
  color: #64748b !important;
  line-height: 1.75 !important;
}

/* ========== TEMPLATES SECTION ========== */

.temmpContainer,
[class*="template-section"] {
  padding: 100px 0 !important;
  background: #f8fafc;
}

.temmpContainer .tmmpImage,
.template-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 25px !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.temmpContainer .tmmpImage::before,
.template-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 184, 169, 0.06), rgba(254, 181, 22, 0.06));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}

.temmpContainer .tmmpImage:hover,
.template-card:hover {
  transform: translateY(-15px) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.14) !important;
}

.temmpContainer .tmmpImage:hover::before,
.template-card:hover::before {
  opacity: 1;
}

.temmpContainer .tmmpImage img,
.template-card img {
  border-radius: 12px !important;
  transition: transform 0.4s ease !important;
}

.temmpContainer .tmmpImage:hover img,
.template-card:hover img {
  transform: scale(1.04);
}

/* Template CTA Button */
.temmpContainer .btn-sm,
.template-card .btn-sm {
  background: linear-gradient(135deg, #00b8a9, #00d4aa) !important;
  color: #ffffff !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  display: inline-block;
  margin-top: 18px;
}

.temmpContainer .btn-sm:hover,
.template-card .btn-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 184, 169, 0.4);
}

/* ========== SECTION HEADINGS ========== */

.nt-theme-content h2,
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 900 !important;
  color: #1a365d !important;
  text-align: center;
  margin-bottom: 60px !important;
  position: relative;
}

.nt-theme-content h2::after,
.section-heading::after {
  content: '';
  display: block;
  width: 90px;
  height: 6px;
  background: linear-gradient(90deg, #00b8a9, #FEB516);
  border-radius: 10px;
  margin: 25px auto 0;
}

/* ========== TESTIMONIALS SECTION ========== */

.testimonials-container,
[class*="testimonial-section"] {
  background: linear-gradient(135deg, #0a192f 0%, #112240 100%) !important;
  padding: 100px 0 !important;
  position: relative;
  overflow: hidden;
}

.testimonials-container::before {
  content: '"';
  position: absolute;
  top: 30px;
  right: 60px;
  font-size: 350px;
  font-family: Georgia, serif;
  color: rgba(0, 184, 169, 0.06);
  pointer-events: none;
}

.testimonials-container .carousel-item,
.testimonial-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  padding: 55px 45px !important;
  backdrop-filter: blur(12px);
}

.testimonials-container blockquote,
.testimonials-container p,
.testimonial-card p {
  font-size: 1.35rem !important;
  color: #e2e8f0 !important;
  line-height: 1.95 !important;
  font-style: italic;
}

/* ========== FOOTER ENHANCEMENT ========== */

footer,
.site-footer {
  background: linear-gradient(135deg, #16344c 0%, #19384f 100%) !important;
}

footer h4,
footer h5,
.site-footer h4,
.site-footer h5 {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-family: 'Playfair Display', Georgia, serif !important;
}

footer a,
.site-footer a {
  color: #cbd5e1 !important;
  transition: color 0.3s ease !important;
}

footer a:hover,
.site-footer a:hover {
  color: #e8885e !important;
}

/* Footer accent elements */
footer .widget-title,
.site-footer .widget-title {
  color: #268599 !important;
}

footer hr,
.site-footer hr {
  border-color: rgba(38, 133, 153, 0.3) !important;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

@media (max-width: 991px) {
  .wp-block-cover {
    min-height: auto !important;
    padding: 80px 0 70px !important;
  }
  
  .wp-block-cover h1,
  .wp-block-cover h2 {
    font-size: 2.6rem !important;
  }
  
  .wp-block-cover p {
    font-size: 1.15rem !important;
  }
  
  .wp-block-cover .btn,
  .wp-block-button__link {
    padding: 18px 38px !important;
    font-size: 1.1rem !important;
  }
  
  .wp-block-cover h3 {
    font-size: 2.8rem !important;
  }
}

@media (max-width: 576px) {
  .wp-block-cover h1,
  .wp-block-cover h2 {
    font-size: 2.1rem !important;
  }
  
  .wp-block-cover .wp-block-cover__inner-container {
    padding: 0 20px;
  }
  
  .wp-block-cover h3 {
    font-size: 2.2rem !important;
  }
  
  .wp-block-cover .btn,
  .wp-block-button__link {
    padding: 16px 30px !important;
    font-size: 1rem !important;
    width: 100%;
  }
}

/* ========== UTILITY CLASSES ========== */

.gradient-text {
  background: linear-gradient(135deg, #00d4aa, #FEB516) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}
/* Resume Examples Page - Cards Grid (English) */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.template-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.template-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.template-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a91a1;
    margin-bottom: 20px;
    text-align: center;
}

.template-description {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
    text-align: center;
}

.use-template-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: #1a91a1;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.use-template-btn:hover {
    background: #15818f;
    color: #ffffff !important;
}

/* Hero Section */
.cv-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 40px;
    gap: 30px;
    margin-bottom: 40px;
    background: #f3f4f6;
    border-radius: 16px;
}
.cv-hero-content {
    flex: 1;
    max-width: 500px;
}
.cv-hero h1 {
    font-size: 2.5em;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    margin: 0 0 20px 0;
}
.cv-hero-desc {
    font-size: 1.05em;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 25px;
}
.cv-hero-btn {
    display: inline-block;
    background: #1a91a1;
    color: white !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}
.cv-hero-btn:hover {
    background: #15818f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 145, 161, 0.3);
    color: white !important;
}
.cv-hero-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cv-stars {
    display: flex;
    gap: 3px;
}
.cv-star {
    color: #fbbf24;
    font-size: 1.3em;
}
.cv-rating-text {
    font-size: 0.9em;
    color: #6b7280;
    line-height: 1.5;
}
.cv-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cv-hero-resume {
    width: 280px;
    height: auto;
}

/* Category Section */
.category-section {
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #1a91a1;
}

.category-icon {
    font-size: 1.8rem;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.category-count {
    background: #1a91a1;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: auto;
}

.category-desc {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 12px;
    margin-bottom: 28px;
    text-align: left;
    max-width: 100%;
}

.category-desc strong {
    color: #1a91a1;
    font-weight: 700;
    display: block;
    margin-top: 16px;
    margin-bottom: 12px;
}

.category-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.skill-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #e5e7eb;
    color: #374151;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.skill-badge:hover {
    background: #d1d5db;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1200px) {
    .templates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 768px) {
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .cv-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .cv-hero-content {
        max-width: 100%;
    }
    .cv-hero h1 {
        font-size: 1.8em;
    }
    .cv-hero-rating {
        justify-content: center;
    }
    .cv-hero-resume {
        width: 220px;
    }
}

@media (max-width: 480px) {
    .templates-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ============================================
   StylingCV Arabic Homepage - Redesign 2026
   ============================================ */

/* CSS Variables */
:root {
  --scv-primary: #059669;
  --scv-primary-dark: #047857;
  --scv-secondary: #0ea5e9;
  --scv-accent: #f59e0b;
  --scv-dark: #0f172a;
  --scv-dark-light: #1e293b;
  --scv-gray: #64748b;
  --scv-light: #f1f5f9;
  --scv-white: #ffffff;
}

/* Homepage Container */
.scv-homepage {
  font-family: 'Tajawal', 'Segoe UI', sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--scv-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

.scv-homepage * {
  box-sizing: border-box;
}

.scv-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO SECTION ===== */
.scv-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.scv-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.scv-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.scv-hero-text {
  color: var(--scv-white);
}

.scv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  color: #4ade80;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.scv-hero h1 {
  font-size: 56px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 0 24px 0 !important;
  color: var(--scv-white) !important;
}

.scv-hero h1 span {
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scv-hero-desc {
  font-size: 20px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 40px;
  color: white;
}

.scv-hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.scv-stat {
  text-align: center;
}

.scv-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: #4ade80;
}

.scv-stat-label {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 4px;
  color: white;
}

.scv-hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.scv-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: var(--scv-white) !important;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.4);
}

.scv-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px -5px rgba(16, 185, 129, 0.5);
  color: white !important;
}

.scv-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--scv-white) !important;
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.scv-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: white !important;
}

.scv-hero-visual {
  position: relative;
}

.scv-cv-preview {
  background: var(--scv-white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.scv-cv-preview:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.scv-cv-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--scv-light);
}

.scv-cv-avatar {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--scv-secondary), var(--scv-primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: 700;
}

.scv-cv-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--scv-dark);
}

.scv-cv-title {
  font-size: 14px;
  color: var(--scv-gray);
}

.scv-cv-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scv-cv-line {
  height: 10px;
  background: var(--scv-light);
  border-radius: 5px;
}

.scv-cv-line:nth-child(1) { width: 100%; }
.scv-cv-line:nth-child(2) { width: 85%; }
.scv-cv-line:nth-child(3) { width: 92%; }
.scv-cv-line:nth-child(4) { width: 78%; }

.scv-floating-badge {
  position: absolute;
  background: var(--scv-white);
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: scv-float 3s ease-in-out infinite;
}

.scv-floating-badge.badge-1 {
  top: 10%;
  right: -30px;
  color: var(--scv-primary);
  animation-delay: 0s;
}

.scv-floating-badge.badge-2 {
  top: 50%;
  left: -40px;
  color: var(--scv-secondary);
  animation-delay: 0.5s;
}

.scv-floating-badge.badge-3 {
  bottom: 15%;
  right: -20px;
  color: #8b5cf6;
  animation-delay: 1s;
}

@keyframes scv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== FEATURES SECTION ===== */
.scv-features {
  padding: 100px 0;
  background: var(--scv-white);
}

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

.scv-section-badge {
  display: inline-block;
  background: rgba(5, 150, 105, 0.1);
  color: var(--scv-primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.scv-section-title {
  font-size: 42px !important;
  font-weight: 800 !important;
  color: var(--scv-dark) !important;
  margin: 0 0 16px 0 !important;
}

.scv-section-title span {
  color: var(--scv-primary);
}

.scv-section-desc {
  font-size: 18px;
  color: var(--scv-gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.scv-feature-card {
  background: var(--scv-white);
  border: 2px solid var(--scv-light);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.scv-feature-card:hover {
  border-color: var(--scv-primary);
  transform: translateY(-8px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

.scv-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.scv-feature-icon.icon-ai { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.scv-feature-icon.icon-ats { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.scv-feature-icon.icon-templates { background: linear-gradient(135deg, #fef3c7, #fde68a); }

.scv-feature-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--scv-dark) !important;
  margin: 0 0 12px 0 !important;
}

.scv-feature-desc {
  font-size: 15px;
  color: var(--scv-gray);
  line-height: 1.7;
  margin: 0;
}

/* ===== STEPS SECTION ===== */
.scv-steps {
  padding: 100px 0;
  background: var(--scv-light);
}

.scv-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.scv-steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 20%;
  right: 20%;
  height: 4px;
  background: linear-gradient(90deg, var(--scv-primary), var(--scv-secondary));
  border-radius: 2px;
  z-index: 0;
}

.scv-step {
  background: var(--scv-white);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

.scv-step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: var(--scv-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 24px;
}

.scv-step-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--scv-dark) !important;
  margin: 0 0 12px 0 !important;
}

.scv-step-desc {
  font-size: 15px;
  color: var(--scv-gray);
  margin: 0;
}

/* ===== AI AGENTS SECTION ===== */
.scv-agents {
  padding: 100px 0;
  background: var(--scv-dark);
  color: var(--scv-white);
}

.scv-agents .scv-section-title {
  color: var(--scv-white) !important;
}

.scv-agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.scv-problem-solution {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.scv-problem, .scv-solution {
  padding: 30px;
  border-radius: 20px;
}

.scv-problem {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.scv-solution {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.scv-ps-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.scv-problem .scv-ps-label { color: #ef4444; }
.scv-solution .scv-ps-label { color: #10b981; }

.scv-ps-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 0 16px 0 !important;
  color: white !important;
}

.scv-ps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scv-ps-list li {
  padding: 8px 0;
  font-size: 15px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.scv-agents-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scv-agent-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.scv-agent-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(-10px);
}

.scv-agent-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.scv-agent-card:nth-child(1) .scv-agent-icon { background: linear-gradient(135deg, #10b981, #059669); }
.scv-agent-card:nth-child(2) .scv-agent-icon { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.scv-agent-card:nth-child(3) .scv-agent-icon { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.scv-agent-name {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 4px 0 !important;
  color: white !important;
}

.scv-agent-desc {
  font-size: 14px;
  opacity: 0.7;
  margin: 0;
  color: white;
}

/* ===== RESOURCES SECTION ===== */
.scv-resources {
  padding: 100px 0;
  background: var(--scv-white);
}

.scv-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scv-resource-card {
  background: var(--scv-light);
  border-radius: 16px;
  padding: 30px;
  text-decoration: none !important;
  color: var(--scv-dark) !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 16px;
}

.scv-resource-card:hover {
  background: var(--scv-white);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.scv-resource-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.scv-resource-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  margin: 0 0 4px 0 !important;
  color: var(--scv-dark) !important;
}

.scv-resource-desc {
  font-size: 13px;
  color: var(--scv-gray);
  margin: 0;
}

/* ===== FAQ SECTION ===== */
.scv-faq {
  padding: 100px 0;
  background: var(--scv-light);
}

.scv-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scv-faq-item {
  background: var(--scv-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.scv-faq-question {
  padding: 24px 30px;
  font-size: 17px;
  font-weight: 700;
  color: var(--scv-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.scv-faq-question:hover {
  color: var(--scv-primary);
}

.scv-faq-answer {
  padding: 0 30px 24px;
  font-size: 15px;
  color: var(--scv-gray);
  line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.scv-final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scv-final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  animation: scv-pulse 10s ease-in-out infinite;
}

@keyframes scv-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.3; }
}

.scv-final-cta-content {
  position: relative;
  z-index: 1;
}

.scv-final-cta h2 {
  font-size: 44px !important;
  font-weight: 800 !important;
  color: var(--scv-white) !important;
  margin: 0 0 20px 0 !important;
}

.scv-final-cta p {
  font-size: 20px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 40px 0;
}

/* ===== SEO CONTENT SECTION ===== */
.scv-seo-content {
  padding: 80px 0;
  background: var(--scv-white);
}

.scv-seo-content h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--scv-dark) !important;
  margin: 0 0 20px 0 !important;
}

.scv-seo-content h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--scv-dark) !important;
  margin: 40px 0 16px 0 !important;
}

.scv-seo-content p {
  font-size: 16px;
  color: var(--scv-gray);
  line-height: 1.8;
  margin: 0 0 16px 0;
}

.scv-seo-content ul, .scv-seo-content ol {
  padding-right: 24px;
  margin: 0 0 20px 0;
}

.scv-seo-content li {
  font-size: 16px;
  color: var(--scv-gray);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .scv-hero-content { grid-template-columns: 1fr; text-align: center; }
  .scv-hero-text { order: 1; }
  .scv-hero-visual { order: 2; }
  .scv-hero h1 { font-size: 42px !important; }
  .scv-hero-stats { justify-content: center; }
  .scv-hero-cta { justify-content: center; flex-wrap: wrap; }
  .scv-features-grid { grid-template-columns: repeat(2, 1fr); }
  .scv-steps-grid { grid-template-columns: 1fr; }
  .scv-steps-grid::before { display: none; }
  .scv-agents-grid { grid-template-columns: 1fr; }
  .scv-resources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .scv-hero { padding: 60px 0 80px; }
  .scv-hero h1 { font-size: 32px !important; }
  .scv-section-title { font-size: 32px !important; }
  .scv-features-grid { grid-template-columns: 1fr; }
  .scv-resources-grid { grid-template-columns: 1fr; }
  .scv-final-cta h2 { font-size: 32px !important; }
  .scv-floating-badge { display: none; }
}

/* Hide page wrapper padding for homepage */
.page-id-867 .nt-theme-inner-container {
  padding: 0 !important;
}

.page-id-867 .container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Additional homepage styles */
.scv-hero-subtitle {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.6;
  color: white;
}

.scv-badge-dark {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #4ade80 !important;
}

.scv-green {
  color: #4ade80 !important;
}

.scv-desc-light {
  color: rgba(255,255,255,0.7) !important;
}

.scv-btn-large {
  font-size: 20px !important;
  padding: 20px 50px !important;
}

/* ================================================
   STICKY HEADER - Transparent at top, White on scroll
   Like enhancv.com - Added 2026-02-19
   ================================================ */

/* Base: Header fixed at top */
.nt-site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transition: all 0.3s ease !important;
}

/* DEFAULT STATE: Transparent background with white text (at top of page) */
.nt-site-header nav.navbar.bootsnav,
.nt-site-header nav.navbar.bootsnav.navbar-default,
.nt-site-header nav.navbar.bootsnav.fixed-style {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

/* White text for nav links when transparent */
.nt-site-header nav.navbar.bootsnav ul.nav > li > a,
.nt-site-header nav.navbar.bootsnav.navbar-default ul.nav > li > a,
.nt-site-header .mega-menu > li > a.mega-menu-link {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

/* White logo text when transparent */
.nt-site-header .navbar-brand,
.nt-site-header .logo-text {
    color: #ffffff !important;
}

/* SCROLLED STATE: White background with dark text */
.nt-site-header.header-scrolled nav.navbar.bootsnav,
.nt-site-header.header-scrolled nav.navbar.bootsnav.navbar-default,
.nt-site-header.header-scrolled nav.navbar.bootsnav.fixed-style {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Dark text when scrolled */
.nt-site-header.header-scrolled nav.navbar.bootsnav ul.nav > li > a,
.nt-site-header.header-scrolled nav.navbar.bootsnav.navbar-default ul.nav > li > a,
.nt-site-header.header-scrolled .mega-menu > li > a.mega-menu-link {
    color: #1e293b !important;
}

/* Hover color */
.nt-site-header nav.navbar.bootsnav ul.nav > li > a:hover,
.nt-site-header .mega-menu > li > a.mega-menu-link:hover {
    color: #268599 !important;
}

/* Keep dropdown menus with proper background */
.nt-site-header nav.navbar.bootsnav li.dropdown ul.dropdown-menu,
.nt-site-header .mega-menu-popup,
.nt-site-header .mega-sub-menu {
    background-color: #ffffff !important;
}

.nt-site-header .mega-menu-popup a,
.nt-site-header .mega-sub-menu a,
.nt-site-header nav.navbar.bootsnav li.dropdown ul.dropdown-menu a {
    color: #1e293b !important;
}

/* Body padding for non-homepage pages */
body:not(.home):not(.page-id-867) {
    padding-top: 80px !important;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    body:not(.home):not(.page-id-867) {
        padding-top: 70px !important;
    }
    
    /* Mobile menu always has background for readability */
    .nt-site-header .mega-menu-toggle,
    .nt-site-header .navbar-toggle {
        color: #ffffff !important;
    }
    
    .nt-site-header.header-scrolled .mega-menu-toggle,
    .nt-site-header.header-scrolled .navbar-toggle {
        color: #1e293b !important;
    }
}

/* ================================================
   LOGO SWITCHING - Light at top, Dark on scroll
   ================================================ */


/* ================================================
   LOGO SWITCHING - Light at top, Dark on scroll
   ================================================ */

/* Default: Show light logo, hide dark logo */
.nt-site-header .logo.logo-display {
    display: none !important;
}

.nt-site-header .logo.logo-scrolled {
    display: block !important;
}

/* Scrolled: Hide light logo, show dark logo */
.nt-site-header.header-scrolled .logo.logo-display {
    display: block !important;
}

.nt-site-header.header-scrolled .logo.logo-scrolled {
    display: none !important;
}
/**
 * StylingCV Navigation Fix - 2026-03-03
 * 
 * FIXES:
 * 1. White-on-white text bug
 * 2. Inconsistent scroll behavior
 * 3. Poor contrast/visibility
 * 
 * Append this to: wp-content/themes/softing-child/style.css
 * Or load as separate CSS file in functions.php
 */

/* ========================================
   1. FIX WHITE-ON-WHITE BUG
   ======================================== */

/* Force navigation links to be dark (readable) */
nav.navbar.bootsnav .navbar-nav > li > a,
nav.navbar.bootsnav .navbar-nav > li > button {
  color: #16344C !important; /* Navy Dark - always readable */
  transition: color 300ms ease;
}

/* Hover state - Teal brand color */
nav.navbar.bootsnav .navbar-nav > li > a:hover,
nav.navbar.bootsnav .navbar-nav > li > button:hover,
nav.navbar.bootsnav .navbar-nav > li.active > a {
  color: #268599 !important; /* Teal Primary */
}

/* ========================================
   2. IMPROVED SCROLL BEHAVIOR
   ======================================== */

/* Initial state - semi-transparent with blur */
nav.navbar.bootsnav.navbar-transparent.white {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state - more opaque with border & shadow */
nav.navbar.bootsnav:not(.navbar-transparent),
nav.navbar.bootsnav.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 229, 229, 0.9);
  box-shadow: 0 2px 8px rgba(22, 52, 76, 0.08);
}

/* ========================================
   3. LOGO & ATTR-NAV VISIBILITY
   ======================================== */

/* Ensure logo is always visible */
nav.navbar .navbar-brand img {
  opacity: 1 !important;
  transition: opacity 300ms ease;
}

/* CTA buttons in attr-nav */
nav.navbar .attr-nav > ul > li > a {
  color: #16344C !important;
  border-color: #268599 !important;
  transition: all 200ms ease;
}

nav.navbar .attr-nav > ul > li > a:hover {
  background-color: #268599 !important;
  color: #ffffff !important;
  border-color: #268599 !important;
}

/* Last CTA button (usually "Free Resume") - gradient style */
nav.navbar .attr-nav li:last-child a {
  background: linear-gradient(135deg, #268599 0%, #E8885E 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(38, 133, 153, 0.25);
}

nav.navbar .attr-nav li:last-child a:hover {
  background: linear-gradient(135deg, #2E8C9C 0%, #CD7858 100%) !important;
  box-shadow: 0 4px 12px rgba(38, 133, 153, 0.35);
  transform: translateY(-1px);
}

/* ========================================
   4. DROPDOWN MENUS - Keep existing design
   ======================================== */

/* Don't touch dropdown classes - Yasser said they're good */
/* These rules only apply to the main nav bar, not submenus */

/* ========================================
   5. MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
  /* Mobile menu overlay */
  nav.navbar.bootsnav .navbar-collapse {
    background: #ffffff !important;
  }
  
  /* Mobile menu items */
  nav.navbar.bootsnav .navbar-nav > li > a {
    color: #16344C !important;
    padding: 15px 20px;
  }
  
  nav.navbar.bootsnav .navbar-nav > li > a:hover {
    background: rgba(38, 133, 153, 0.08);
    color: #268599 !important;
  }
}

/* ========================================
   6. ACCESSIBILITY
   ======================================== */

/* Focus states for keyboard navigation */
nav.navbar.bootsnav .navbar-nav > li > a:focus,
nav.navbar.bootsnav .navbar-nav > li > button:focus {
  outline: 2px solid #268599;
  outline-offset: 2px;
}

/* ========================================
   7. LANGUAGE SWITCHER
   ======================================== */

/* Ensure language switcher is visible */
nav.navbar .wpml-ls-legacy-dropdown a,
nav.navbar .wpml-ls-legacy-dropdown button {
  color: #16344C !important;
}

nav.navbar .wpml-ls-legacy-dropdown a:hover {
  color: #268599 !important;
}

/* ========================================
   END OF NAVIGATION FIX
   ======================================== */
/**
 * StylingCV Navigation Enhancements - 2026-03-04
 * 
 * 1. Flag Dropdown Language Switcher
 * 2. Pulsing Glow Free Resume Button
 * 
 * Append this to: wp-content/themes/softing-child/style.css
 */

/* ========================================
   1. FLAG DROPDOWN LANGUAGE SWITCHER
   ======================================== */

/* Weglot/WPML Language Switcher - Flag Dropdown Style */
.wpml-ls-legacy-dropdown,
.weglot-container,
nav.navbar .language-switcher {
  position: relative;
  display: inline-block;
}

/* Current language display */
.wpml-ls-legacy-dropdown a,
.weglot-container .country-selector,
nav.navbar .language-switcher .current-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(38, 133, 153, 0.2);
  border-radius: 8px;
  color: #16344C;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease;
}

.wpml-ls-legacy-dropdown a:hover,
.weglot-container .country-selector:hover,
nav.navbar .language-switcher .current-lang:hover {
  background: rgba(38, 133, 153, 0.08);
  border-color: #268599;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(38, 133, 153, 0.15);
}

/* Flag icon in switcher */
.wpml-ls-legacy-dropdown .wpml-ls-flag,
.weglot-container .wgcurrent img,
nav.navbar .language-switcher .flag-icon {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

/* Dropdown arrow */
.wpml-ls-legacy-dropdown::after,
.weglot-container::after,
nav.navbar .language-switcher::after {
  content: '▾';
  margin-left: 4px;
  font-size: 10px;
  color: #268599;
  transition: transform 200ms ease;
}

.wpml-ls-legacy-dropdown.active::after,
.weglot-container.active::after,
nav.navbar .language-switcher.active::after {
  transform: rotate(180deg);
}

/* Dropdown menu */
.wpml-ls-legacy-dropdown-click ul,
.weglot-container ul,
nav.navbar .language-switcher .lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid rgba(229, 229, 229, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(22, 52, 76, 0.12);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.wpml-ls-legacy-dropdown.active ul,
.weglot-container.active ul,
nav.navbar .language-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items */
.wpml-ls-legacy-dropdown-click ul li,
.weglot-container ul li,
nav.navbar .language-switcher .lang-dropdown li {
  list-style: none;
}

.wpml-ls-legacy-dropdown-click ul li a,
.weglot-container ul li a,
nav.navbar .language-switcher .lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #16344C;
  text-decoration: none;
  font-size: 14px;
  transition: all 150ms ease;
}

.wpml-ls-legacy-dropdown-click ul li a:hover,
.weglot-container ul li a:hover,
nav.navbar .language-switcher .lang-dropdown a:hover {
  background: rgba(38, 133, 153, 0.08);
  color: #268599;
  transform: translateX(4px);
}

.wpml-ls-legacy-dropdown-click ul li a .wpml-ls-flag,
.weglot-container ul li a img,
nav.navbar .language-switcher .lang-dropdown a .flag-icon {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

/* ========================================
   2. PULSING GLOW FREE RESUME BUTTON
   ======================================== */

/* Target the "Free Resume" button in attr-nav */
nav.navbar .attr-nav li:last-child a,
nav.navbar .attr-nav .cta-button,
nav.navbar .free-resume-btn {
  position: relative;
  background: linear-gradient(135deg, #268599 0%, #E8885E 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Pulsing glow animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 
      0 4px 12px rgba(38, 133, 153, 0.3),
      0 0 20px rgba(38, 133, 153, 0.2);
  }
  50% {
    box-shadow: 
      0 6px 20px rgba(38, 133, 153, 0.45),
      0 0 35px rgba(38, 133, 153, 0.35),
      0 0 50px rgba(232, 136, 94, 0.2);
  }
}

/* Hover state - enhanced glow + lift */
nav.navbar .attr-nav li:last-child a:hover,
nav.navbar .attr-nav .cta-button:hover,
nav.navbar .free-resume-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 
    0 8px 24px rgba(38, 133, 153, 0.4),
    0 0 40px rgba(38, 133, 153, 0.3),
    0 0 60px rgba(232, 136, 94, 0.25) !important;
  animation: none; /* Stop pulsing on hover */
}

/* Active/click state */
nav.navbar .attr-nav li:last-child a:active,
nav.navbar .attr-nav .cta-button:active,
nav.navbar .free-resume-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

/* Optional: Add icon before text */
nav.navbar .attr-nav li:last-child a::before,
nav.navbar .free-resume-btn::before {
  content: '✨ ';
  margin-right: 4px;
  font-size: 14px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Mobile responsive */
@media (max-width: 991px) {
  nav.navbar .attr-nav li:last-child a,
  nav.navbar .free-resume-btn {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  
  .wpml-ls-legacy-dropdown,
  .weglot-container,
  nav.navbar .language-switcher {
    margin: 10px 0;
  }
}

/* ========================================
   END OF NAVIGATION ENHANCEMENTS
   ======================================== */
/**
 * FIX: Apply pulsing glow to CORRECT button (Free Resume, not Log In)
 * 
 * The Free Resume button is FIRST (left), Log In is LAST (right)
 * Previous CSS targeted :last-child which was wrong
 */

/* REMOVE the pulsing glow from Log In (last button) */
nav.navbar .attr-nav li:last-child a {
  background: linear-gradient(135deg, #268599 0%, #E8885E 100%) !important;
  color: white !important;
  border: none !important;
  animation: none !important; /* Remove pulsing */
  box-shadow: 0 2px 8px rgba(38, 133, 153, 0.25) !important;
}

nav.navbar .attr-nav li:last-child a:hover {
  background: linear-gradient(135deg, #2E8C9C 0%, #CD7858 100%) !important;
  box-shadow: 0 4px 12px rgba(38, 133, 153, 0.35) !important;
  transform: translateY(-1px) !important;
  animation: none !important;
}

nav.navbar .attr-nav li:last-child a::before {
  content: none !important; /* Remove sparkle */
}

/* APPLY pulsing glow to Free Resume (first button in attr-nav) */
nav.navbar .attr-nav li:first-child a,
nav.navbar .attr-nav li:nth-child(1) a {
  position: relative;
  background: linear-gradient(135deg, #268599 0%, #E8885E 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseGlowFreeResume 3s ease-in-out infinite !important;
}

/* Pulsing glow animation for Free Resume */
@keyframes pulseGlowFreeResume {
  0%, 100% {
    box-shadow: 
      0 4px 12px rgba(38, 133, 153, 0.3),
      0 0 20px rgba(38, 133, 153, 0.2);
  }
  50% {
    box-shadow: 
      0 6px 20px rgba(38, 133, 153, 0.45),
      0 0 35px rgba(38, 133, 153, 0.35),
      0 0 50px rgba(232, 136, 94, 0.2);
  }
}

/* Hover state for Free Resume - enhanced glow + lift */
nav.navbar .attr-nav li:first-child a:hover,
nav.navbar .attr-nav li:nth-child(1) a:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 
    0 8px 24px rgba(38, 133, 153, 0.4),
    0 0 40px rgba(38, 133, 153, 0.3),
    0 0 60px rgba(232, 136, 94, 0.25) !important;
  animation: none !important; /* Stop pulsing on hover */
}

/* Active/click state */
nav.navbar .attr-nav li:first-child a:active,
nav.navbar .attr-nav li:nth-child(1) a:active {
  transform: translateY(0) scale(0.98) !important;
}

/* Add sparkle icon to Free Resume */
nav.navbar .attr-nav li:first-child a::before,
nav.navbar .attr-nav li:nth-child(1) a::before {
  content: '✨ ' !important;
  margin-right: 4px;
  font-size: 14px;
  animation: sparkleFreeResume 2s ease-in-out infinite;
}

@keyframes sparkleFreeResume {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
/**
 * Final Navigation Tweaks - 2026-03-04
 * 
 * 1. Enhanced hover on Free Resume
 * 2. SVG arrow icon instead of sparkle
 * 3. Log In as simple text link
 */

/* ========================================
   1. FREE RESUME - ENHANCED HOVER
   ======================================== */

/* Even MORE dramatic hover effect */
nav.navbar .attr-nav li:first-child a:hover,
nav.navbar .attr-nav li:nth-child(1) a:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 
    0 12px 32px rgba(38, 133, 153, 0.5),
    0 0 50px rgba(38, 133, 153, 0.4),
    0 0 80px rgba(232, 136, 94, 0.3) !important;
  background: linear-gradient(135deg, #2E8C9C 0%, #CD7858 100%) !important;
  animation: none !important;
}

/* ========================================
   2. REPLACE SPARKLE WITH SVG ARROW
   ======================================== */

/* Remove sparkle emoji */
nav.navbar .attr-nav li:first-child a::before,
nav.navbar .attr-nav li:nth-child(1) a::before {
  content: '' !important;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7l5 5m0 0l-5 5m5-5H6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 200ms ease;
  animation: none !important; /* Remove sparkle animation */
}

/* Arrow moves on hover */
nav.navbar .attr-nav li:first-child a:hover::before,
nav.navbar .attr-nav li:nth-child(1) a:hover::before {
  transform: translateX(4px);
}

/* ========================================
   3. LOG IN AS SIMPLE TEXT LINK
   ======================================== */

/* Remove all button styling from Log In */
nav.navbar .attr-nav li:last-child a {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #16344C !important;
  padding: 8px 12px !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  animation: none !important;
  transition: color 200ms ease, opacity 200ms ease;
}

/* Simple underline on hover */
nav.navbar .attr-nav li:last-child a:hover {
  background: transparent !important;
  color: #268599 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow: none !important;
  transform: none !important;
}

nav.navbar .attr-nav li:last-child a:active {
  transform: none !important;
  opacity: 0.7;
}

/* Remove any icons/before content from Log In */
nav.navbar .attr-nav li:last-child a::before,
nav.navbar .attr-nav li:last-child a::after {
  content: none !important;
  display: none !important;
}
/**
 * FORCE OVERRIDE - Navigation Button Styles
 * Using very specific selectors to override style_header.css
 */

/* ========================================
   REMOVE ALL EXISTING STYLES FIRST
   ======================================== */

/* Force remove ALL button styling from both */
nav.navbar .attr-nav > ul > li > a,
nav.navbar.bootsnav .attr-nav > ul > li > a,
.navbar .attr-nav > ul > li > a {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  animation: none !important;
  padding: 8px 16px !important;
  color: #16344C !important;
}

/* ========================================
   FIRST BUTTON = "FREE RESUME" (Yellow with Glow)
   ======================================== */

nav.navbar .attr-nav > ul > li:first-child > a,
nav.navbar.bootsnav .attr-nav > ul > li:first-child > a,
.navbar .attr-nav > ul > li:first-child > a,
nav.navbar .attr-nav li:nth-child(1) a {
  background: linear-gradient(135deg, #FEB516 0%, #FFC442 100%) !important;
  background-color: #FEB516 !important;
  color: #3b3b3b !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  animation: pulseGlowYellow 3s ease-in-out infinite !important;
  transition: all 300ms ease !important;
}

/* Pulsing glow animation for Free Resume (Yellow) */
@keyframes pulseGlowYellow {
  0%, 100% {
    box-shadow: 
      0 4px 12px rgba(254, 181, 22, 0.4),
      0 0 20px rgba(254, 181, 22, 0.3);
  }
  50% {
    box-shadow: 
      0 6px 20px rgba(254, 181, 22, 0.6),
      0 0 35px rgba(254, 181, 22, 0.5),
      0 0 50px rgba(255, 196, 66, 0.3);
  }
}

/* Enhanced hover for Free Resume */
nav.navbar .attr-nav > ul > li:first-child > a:hover,
nav.navbar .attr-nav li:nth-child(1) a:hover {
  background: linear-gradient(135deg, #FFC442 0%, #FFD570 100%) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 
    0 12px 32px rgba(254, 181, 22, 0.5),
    0 0 50px rgba(254, 181, 22, 0.4),
    0 0 80px rgba(255, 196, 66, 0.3) !important;
  animation: none !important;
}

/* Arrow icon for Free Resume */
nav.navbar .attr-nav > ul > li:first-child > a::before,
nav.navbar .attr-nav li:nth-child(1) a::before {
  content: '' !important;
  display: inline-block !important;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b3b3b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7l5 5m0 0l-5 5m5-5H6'/%3E%3C/svg%3E") !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 200ms ease;
}

nav.navbar .attr-nav > ul > li:first-child > a:hover::before,
nav.navbar .attr-nav li:nth-child(1) a:hover::before {
  transform: translateX(4px) !important;
}

/* ========================================
   LAST BUTTON = "LOG IN" (Simple Text Link)
   ======================================== */

nav.navbar .attr-nav > ul > li:last-child > a,
nav.navbar.bootsnav .attr-nav > ul > li:last-child > a,
.navbar .attr-nav > ul > li:last-child > a,
nav.navbar .attr-nav li:nth-last-child(1) a {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #16344C !important;
  padding: 8px 12px !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  animation: none !important;
  transition: color 200ms ease !important;
}

/* Simple hover for Log In */
nav.navbar .attr-nav > ul > li:last-child > a:hover,
nav.navbar .attr-nav li:nth-last-child(1) a:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: #268599 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  box-shadow: none !important;
  transform: none !important;
  border: none !important;
}

/* Remove all icons from Log In */
nav.navbar .attr-nav > ul > li:last-child > a::before,
nav.navbar .attr-nav > ul > li:last-child > a::after,
nav.navbar .attr-nav li:nth-last-child(1) a::before,
nav.navbar .attr-nav li:nth-last-child(1) a::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
/**
 * Apply Pulsing Glow Design (Teal) to Free Resume Button
 * Matches mockup #2 from nav-enhancements-mockup.html
 */

/* ========================================
   FREE RESUME = TEAL PULSING GLOW
   ======================================== */

nav.navbar .attr-nav > ul > li:first-child > a,
nav.navbar.bootsnav .attr-nav > ul > li:first-child > a,
.navbar .attr-nav > ul > li:first-child > a,
nav.navbar .attr-nav li:nth-child(1) a {
  background: linear-gradient(135deg, #268599 0%, #2E8C9C 100%) !important;
  background-color: #268599 !important;
  color: #FFFFFF !important; /* White text */
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  animation: pulseGlowTeal 3s ease-in-out infinite !important;
  transition: all 300ms ease !important;
}

/* Pulsing glow animation (Teal) */
@keyframes pulseGlowTeal {
  0%, 100% {
    box-shadow: 
      0 4px 12px rgba(38, 133, 153, 0.4),
      0 0 20px rgba(38, 133, 153, 0.3);
  }
  50% {
    box-shadow: 
      0 6px 20px rgba(38, 133, 153, 0.6),
      0 0 35px rgba(38, 133, 153, 0.5),
      0 0 50px rgba(46, 140, 156, 0.3);
  }
}

/* Enhanced hover */
nav.navbar .attr-nav > ul > li:first-child > a:hover,
nav.navbar .attr-nav li:nth-child(1) a:hover {
  background: linear-gradient(135deg, #2E8C9C 0%, #155469 100%) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 
    0 12px 32px rgba(38, 133, 153, 0.5),
    0 0 50px rgba(38, 133, 153, 0.4),
    0 0 80px rgba(46, 140, 156, 0.3) !important;
  animation: none !important;
}

/* Rocket icon 🚀 for Free Resume */
nav.navbar .attr-nav > ul > li:first-child > a::before,
nav.navbar .attr-nav li:nth-child(1) a::before {
  content: '🚀' !important;
  display: inline-block !important;
  margin-right: 6px !important;
  font-size: 16px !important;
  background: none !important;
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  transition: transform 200ms ease;
}

nav.navbar .attr-nav > ul > li:first-child > a:hover::before,
nav.navbar .attr-nav li:nth-child(1) a:hover::before {
  transform: translateX(2px) !important;
}
/**
 * NUCLEAR OVERRIDE - Make Log In a Simple Text Link
 * Using the most specific selectors possible
 */

/* ========================================
   LOG IN = SIMPLE TEXT LINK (LAST BUTTON)
   ======================================== */

/* Target last button with every possible selector */
nav.navbar .attr-nav > ul > li:last-child > a,
nav.navbar.bootsnav .attr-nav > ul > li:last-child > a,
nav.navbar.bootsnav.navbar-transparent .attr-nav > ul > li:last-child > a,
nav.navbar.bootsnav.navbar-transparent.white .attr-nav > ul > li:last-child > a,
.navbar .attr-nav > ul > li:last-child > a,
.navbar .attr-nav li:last-child a,
nav.navbar .attr-nav li:nth-last-child(1) a,
body nav.navbar .attr-nav > ul > li:last-child > a {
  /* Remove ALL backgrounds */
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  
  /* Remove ALL borders */
  border: none !important;
  border-color: transparent !important;
  border-width: 0 !important;
  
  /* Remove ALL shadows/effects */
  box-shadow: none !important;
  text-shadow: none !important;
  
  /* Simple text styling */
  color: #16344C !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  border-radius: 0 !important;
  
  /* No animations */
  animation: none !important;
  
  /* Simple transition for color only */
  transition: color 200ms ease !important;
}

/* Hover state - just change color and add underline */
nav.navbar .attr-nav > ul > li:last-child > a:hover,
nav.navbar.bootsnav .attr-nav > ul > li:last-child > a:hover,
nav.navbar.bootsnav.navbar-transparent .attr-nav > ul > li:last-child > a:hover,
.navbar .attr-nav > ul > li:last-child > a:hover,
nav.navbar .attr-nav li:nth-last-child(1) a:hover,
body nav.navbar .attr-nav > ul > li:last-child > a:hover {
  /* Keep transparent */
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  
  /* No borders */
  border: none !important;
  border-color: transparent !important;
  
  /* No shadows */
  box-shadow: none !important;
  
  /* Just change color */
  color: #268599 !important;
  
  /* Add underline */
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  text-decoration-color: #268599 !important;
  
  /* No transform/scale */
  transform: none !important;
  
  /* No animations */
  animation: none !important;
}

/* Active/click state */
nav.navbar .attr-nav > ul > li:last-child > a:active,
nav.navbar .attr-nav li:nth-last-child(1) a:active {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 0.7;
}

/* Remove ALL pseudo-elements (icons, etc.) */
nav.navbar .attr-nav > ul > li:last-child > a::before,
nav.navbar .attr-nav > ul > li:last-child > a::after,
nav.navbar .attr-nav li:nth-last-child(1) a::before,
nav.navbar .attr-nav li:nth-last-child(1) a::after,
.navbar .attr-nav > ul > li:last-child > a::before,
.navbar .attr-nav > ul > li:last-child > a::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Extra specificity - target by position if needed */
nav.navbar .attr-nav > ul > li + li > a,
nav.navbar .attr-nav > ul > li:nth-child(2) > a {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #16344C !important;
}

nav.navbar .attr-nav > ul > li + li > a:hover,
nav.navbar .attr-nav > ul > li:nth-child(2) > a:hover {
  background: transparent !important;
  color: #268599 !important;
  text-decoration: underline !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}
/**
 * Blog Post Typography - Brand Compliance
 * 
 * Apply correct brand fonts to all blog posts:
 * - Headings: Playfair Display
 * - Body: Poppins
 * - Arabic: Tajawal
 * 
 * Reference: https://stylingcv.com/branding/
 */

/* ========================================
   HEADINGS - Playfair Display
   ======================================== */

/* Blog post headings */
.single-post h1,
.single-post h2,
.single-post h3,
.single-post h4,
.single-post h5,
.single-post h6,
article.post h1,
article.post h2,
article.post h3,
article.post h4,
article.post h5,
article.post h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #16344C;
}

/* Specific heading sizes */
.single-post h1,
.entry-content h1 {
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  margin-bottom: 24px;
}

.single-post h2,
.entry-content h2 {
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
}

.single-post h3,
.entry-content h3 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.single-post h4,
.entry-content h4 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

/* ========================================
   BODY TEXT - Poppins
   ======================================== */

/* All blog post body text */
.single-post,
.single-post p,
.single-post li,
.single-post td,
article.post,
article.post p,
article.post li,
.entry-content,
.entry-content p,
.entry-content li,
.entry-content td,
.post-content,
.post-content p {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif ;
  font-size: 17px;
  line-height: 1.75;
  color: #404040;
  font-weight: 400;
}

/* Lead paragraph (first paragraph) */
.single-post .entry-content > p:first-of-type,
.post-content > p:first-of-type {
  font-size: 19px;
  line-height: 1.7;
  color: #404040;
}

/* Lists */
.single-post ul,
.single-post ol,
.entry-content ul,
.entry-content ol {
  font-family: 'Poppins', sans-serif ;
  line-height: 1.75;
  margin: 24px 0;
  padding-left: 24px;
}

/* Blockquotes */
.single-post blockquote,
.entry-content blockquote {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
  color: #404040;
  border-left: 4px solid #268599;
  padding-left: 24px;
  margin: 32px 0;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .single-post h1,
  .entry-content h1 {
    font-size: 32px;
    line-height: 40px;
  }
  
  .single-post h2,
  .entry-content h2 {
    font-size: 28px;
    line-height: 36px;
  }
  
  .single-post h3,
  .entry-content h3 {
    font-size: 24px;
    line-height: 32px;
  }
  
  .single-post p,
  .entry-content p {
    font-size: 16px;
  }
}

/* ========================================
   ARABIC POSTS - Tajawal (already correct)
   ======================================== */

/* Arabic blog posts */
#arabicSite .single-post,
#arabicSite .entry-content,
body.rtl .single-post,
body.rtl .entry-content {
  font-family: 'Tajawal', -apple-system, sans-serif !important;
  direction: rtl;
}

#arabicSite .single-post h1,
#arabicSite .single-post h2,
#arabicSite .single-post h3,
body.rtl h1,
body.rtl h2,
body.rtl h3 {
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 700;
}

/* ========================================
   REMOVE TT Tricks font
   ======================================== */

/* Override any TT Tricks usage */
body, p, div, span, a, li, td, th {
  /*font-family: 'Poppins', -apple-system, sans-serif;*/
}

/* Only headings use Playfair Display */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ========================================
   STYLINGCV DESIGN SYSTEM - Applied 2026-03-04
   Navigation Fix + Blog Template + Sidebar + CTAs
   ======================================== */

/* NAVIGATION FIX - White text bug resolved */
.main-header .main-menu-container ul li a {
    color: #16344C !important;
}

.main-header.sticky-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(22, 52, 76, 0.08) !important;
}

/* FREE RESUME BUTTON - Pulsing glow animation */
.main-header .btn-gradient,
.main-header a[href*="/signup"],
.main-header a[href*="free-resume"] {
    background: linear-gradient(135deg, #268599 0%, #E8885E 100%) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(38, 133, 153, 0.3) !important;
    animation: pulseGlow 3s ease-in-out infinite !important;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(38, 133, 153, 0.3);
    }
    50% {
        box-shadow: 0 4px 24px rgba(38, 133, 153, 0.6), 0 0 40px rgba(232, 136, 94, 0.4);
    }
}

.main-header .btn-gradient:hover,
.main-header a[href*="/signup"]:hover,
.main-header a[href*="free-resume"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(38, 133, 153, 0.5), 0 0 60px rgba(232, 136, 94, 0.5) !important;
}

/* LOG IN BUTTON - Simple text link */
.main-header a[href*="/login"],
.main-header a[href*="log-in"] {
    background: transparent !important;
    color: #16344C !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    border-bottom: 2px solid transparent !important;
    transition: border-color 0.3s ease !important;
}

.main-header a[href*="/login"]:hover,
.main-header a[href*="log-in"]:hover {
    border-bottom-color: #268599 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* BLOG TEMPLATE V2 - Conversion-focused */
.single-post .sidebar {
    position: sticky !important;
    top: 100px !important;
    height: fit-content !important;
}

.single-post .sidebar .ai-promo-block {
    background: linear-gradient(135deg, rgba(38, 133, 153, 0.1) 0%, rgba(232, 136, 94, 0.1) 100%) !important;
    border: 2px solid #268599 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    text-align: center !important;
}

.single-post .sidebar .ai-promo-block h3 {
    color: #16344C !important;
    font-size: 24px !important;
    margin-bottom: 12px !important;
}

.single-post .sidebar .ai-promo-block p {
    color: #5A6C7D !important;
    margin-bottom: 16px !important;
}

.single-post .sidebar .ai-promo-block .cta-btn {
    display: inline-block !important;
    background: linear-gradient(135deg, #268599 0%, #E8885E 100%) !important;
    color: #ffffff !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.single-post .sidebar .ai-promo-block .cta-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(38, 133, 153, 0.4) !important;
}

/* INLINE CTAs - Throughout blog content */
.single-post .content-area .inline-cta {
    background: linear-gradient(135deg, #FFF5F0 0%, #F0F9FB 100%) !important;
    border-left: 4px solid #E8885E !important;
    padding: 20px 24px !important;
    margin: 32px 0 !important;
    border-radius: 12px !important;
}

.single-post .content-area .inline-cta a {
    color: #268599 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.single-post .content-area .inline-cta a:hover {
    color: #E8885E !important;
}

/* SIDEBAR BLOCKS - 3 conversion-focused blocks */
.sidebar-block {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.sidebar-block:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.sidebar-block h4 {
    color: #16344C !important;
    font-size: 18px !important;
    margin-bottom: 12px !important;
}

.sidebar-block p {
    color: #5A6C7D !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* LANGUAGE SWITCHER - Flag dropdown style */
.language-switcher {
    position: relative !important;
}

.language-switcher .current-lang {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    background: #ffffff !important;
    border: 1px solid #E0E7ED !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

.language-switcher .lang-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    margin-top: 8px !important;
    background: #ffffff !important;
    border: 1px solid #E0E7ED !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    min-width: 120px !important;
    display: none !important;
}

.language-switcher:hover .lang-dropdown {
    display: block !important;
}

/* BRAND COLORS - System-wide */
:root {
    --color-teal: #268599;
    --color-coral: #E8885E;
    --color-navy: #16344C;
    --color-gold: #C4A574;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .single-post .sidebar {
        position: static !important;
        margin-top: 32px !important;
    }
    
    .main-header .btn-gradient,
    .main-header a[href*="/signup"] {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}


/* ========================================
   STYLINGCV DESIGN FIX - Correct Selectors
   Applied: 2026-03-04 02:00 UTC
   ======================================== */

/* FREE RESUME BUTTON - Target actual HTML structure */
.attr-nav .actions_btn li:first-child a,
.attr-nav .actions_btn a[href*="ai-generator"],
.attr-nav .actions_btn a[href*="free-resume"] {
    background: linear-gradient(135deg, #268599 0%, #E8885E 100%) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(38, 133, 153, 0.3) !important;
    animation: pulseGlow 3s ease-in-out infinite !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(38, 133, 153, 0.3);
    }
    50% {
        box-shadow: 0 4px 24px rgba(38, 133, 153, 0.6), 0 0 40px rgba(232, 136, 94, 0.4);
    }
}

.attr-nav .actions_btn li:first-child a:hover,
.attr-nav .actions_btn a[href*="ai-generator"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(38, 133, 153, 0.5), 0 0 60px rgba(232, 136, 94, 0.5) !important;
}

/* LOG IN BUTTON - Simple text link */
.attr-nav .actions_btn li:last-child a,
.attr-nav .actions_btn a[href*="/login"],
.attr-nav .actions_btn a[href*="log-in"] {
    background: transparent !important;
    color: #16344C !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    border-bottom: 2px solid transparent !important;
    transition: border-color 0.3s ease !important;
    display: inline-block !important;
}

.attr-nav .actions_btn li:last-child a:hover,
.attr-nav .actions_btn a[href*="/login"]:hover {
    border-bottom-color: #268599 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* NAVIGATION TEXT FIX - White on white bug */
.main-header .main-menu-container ul li a,
.main-header .mega-menu-link,
body .main-menu-container ul li a {
    color: #16344C !important;
}

/* STICKY HEADER - Blur effect */
.main-header.sticky-header,
.main-header.sticky {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(22, 52, 76, 0.08) !important;
}

/* MEGA MENU - Ensure text is readable */
.mega-menu .mega-menu-link {
    color: #16344C !important;
}

.mega-menu .mega-menu-link:hover {
    color: #268599 !important;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .attr-nav .actions_btn a {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}


/* Blog Landing Page Styles */
@import url('../softing-child/blog-landing-styles.css');