/*
Theme Name: Creative Code KSA
Theme URI: https://orangered-mandrill-669354.hostingersite.com
Author: Creative Code KSA
Author URI: https://orangered-mandrill-669354.hostingersite.com
Description: Official website theme for Creative Code KSA - Full-service digital marketing agency
Version: 1.0.0
License: Proprietary
Text Domain: creative-code-ksa
*/


  :root {
    --blue: #1155CC;
    --blue-dark: #0a3d99;
    --blue-light: #e8f0fe;
    --green: #2e9e4f;
    --green-accent: #3fbe68;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --gray-light: #eef1f8;
    --gray-mid: #9aa3b5;
    --gray-text: #4a5568;
    --dark: #0d1b2e;
    --dark-card: #111e30;
    --border: rgba(255,255,255,0.12);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', 'Cairo Play', sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
  }
  .ar { font-family: 'Cairo Play', sans-serif; }
  h1, h2.section-title, .talent-headline, .stat-num { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.03em; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.7rem 4rem;
    background: rgba(13,27,46,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo { display: flex; align-items: center; gap: 0.8rem; }
  .nav-logo img { height: 72px; width: auto; }
  .nav-logo-text { display: flex; flex-direction: column; }
  .nav-logo-text span:first-child { font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; color: var(--white); }
  .nav-logo-text span:last-child { font-size: 0.7rem; color: var(--gray-mid); font-family: 'Cairo Play', sans-serif; }
  .nav-links { display: flex; gap: 2rem; align-items: center; }
  .nav-links a { font-size: 0.85rem; color: var(--gray-mid); text-decoration: none; transition: color 0.2s; font-weight: 600; letter-spacing: 0.04em; }
  .nav-links a:hover { color: var(--white); }
  .nav-cta {
    background: var(--blue); color: var(--white); padding: 0.55rem 1.3rem;
    border-radius: 6px; font-size: 0.82rem; font-weight: 700;
    text-decoration: none; letter-spacing: 0.04em; transition: background 0.2s;
    display: flex; align-items: center; gap: 0.4rem;
  }
  .nav-cta:hover { background: var(--blue-dark); }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 8rem 4rem 5rem;
    background: linear-gradient(160deg, #0a1628 0%, #0d1e35 50%, #071524 100%);
    position: relative; overflow: hidden; text-align: center;
  }
  .hero::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(17,85,204,0.18) 0%, transparent 70%);
  }
  .hero::after {
    content: '';
    position: absolute; bottom: -80px; left: -60px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(46,158,79,0.12) 0%, transparent 70%);
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(17,85,204,0.15); border: 1px solid rgba(17,85,204,0.4);
    padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.78rem;
    color: #7fb3ff; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 2rem;
  }
  .hero-badge .dot { width: 6px; height: 6px; background: #7fb3ff; border-radius: 50%; animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
  .hero h1 {
    font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 400;
    line-height: 1.05; letter-spacing: -0.02em;
    margin-bottom: 1rem; position: relative; z-index: 1;
  }
  .hero h1 span { color: var(--blue); display: inline; background: linear-gradient(90deg,#4d9fff,#1155cc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .hero-ar {
    font-family: 'Cairo Play', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 700;
    color:rgba(255,255,255,0.9); margin-bottom: 1.5rem; direction: rtl;
    position: relative; z-index: 1;
  }
  .hero-sub {
    font-size: 1.1rem; color: var(--gray-mid); max-width: 680px;
    line-height: 1.7; margin-bottom: 2.5rem; position: relative; z-index: 1;
  }
  .hero-sub-ar {
    font-family: 'Cairo Play', sans-serif; direction: rtl;
    font-size: 1.05rem; color: #c0cad8; margin-bottom: 2.5rem;
    max-width: 600px; line-height: 1.8; position: relative; z-index: 1;
  }
  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }
  .btn-primary {
    background: var(--blue); color: var(--white); padding: 0.9rem 2rem;
    border-radius: 8px; font-size: 0.92rem; font-weight: 700;
    text-decoration: none; letter-spacing: 0.04em; transition: all 0.2s;
    display: flex; align-items: center; gap: 0.5rem;
  }
  .btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
  .btn-wa {
    background: #25D366; color: var(--white); padding: 0.9rem 2rem;
    border-radius: 8px; font-size: 0.92rem; font-weight: 700;
    text-decoration: none; letter-spacing: 0.04em; transition: all 0.2s;
    display: flex; align-items: center; gap: 0.5rem;
  }
  .btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); }
  .btn-outline {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25); padding: 0.9rem 2rem;
    border-radius: 8px; font-size: 0.92rem; font-weight: 700;
    text-decoration: none; letter-spacing: 0.04em; transition: all 0.2s;
  }
  .btn-outline:hover { border-color: var(--white); }

  /* STATS BAR */
  .stats-bar {
    background: var(--dark-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 2.5rem 4rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
    text-align: center;
  }
  .stat-item {}
  .stat-num { font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1; }
  .stat-num span { color: var(--blue); }
  .stat-label { font-size: 0.78rem; color: var(--gray-mid); letter-spacing: 0.06em; margin-top: 0.4rem; }
  .stat-label-ar { font-family: 'Cairo Play', sans-serif; font-size: 0.8rem; color: rgba(154,163,181,0.6); direction: rtl; }

  /* SECTIONS */
  section { padding: 6rem 4rem; }
  .section-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; color: #7fb3ff; text-transform: uppercase;
    margin-bottom: 1rem;
  }
  h2.section-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 400;
    line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 0.5rem;
  }
  h2.section-title span { color: var(--blue); }
  .section-title-ar {
    font-family: 'Cairo Play', sans-serif; font-size: 1.3rem;
    color:rgba(255,255,255,0.85); direction: rtl; margin-bottom: 1.2rem;
  }
  .section-sub {
    font-size: 1rem; color: var(--gray-mid); max-width: 600px; line-height: 1.7;
    margin-bottom: 3rem;
  }

  /* SERVICES */
  .services-bg { background: #07101c; }
  .services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
  }
  .service-card {
    background: var(--dark-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem;
    transition: all 0.3s; position: relative; overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--green-accent));
    opacity: 0; transition: opacity 0.3s;
  }
  .service-card:hover { border-color: rgba(17,85,204,0.4); transform: translateY(-4px); }
  .service-card:hover::before { opacity: 1; }
  .service-icon {
    width: 50px; height: 50px; border-radius: 12px;
    background: rgba(17,85,204,0.15); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.2rem;
  }
  .service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
  .service-card h3-ar { display: block; font-family: 'Cairo Play', sans-serif; font-size: 0.95rem; color: rgba(255,255,255,0.45); direction: rtl; margin-bottom: 0.8rem; }
  .service-card p { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.6; }
  .service-platforms { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
  .platform-tag {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
    padding: 0.25rem 0.6rem; border-radius: 4px;
    background: rgba(17,85,204,0.2); color: #7fb3ff; border: 1px solid rgba(17,85,204,0.3);
  }
  .platform-tag.green { background: rgba(46,158,79,0.15); color: #6fe893; border-color: rgba(46,158,79,0.3); }

  /* TALENT HUNT */
  .talent-section { background: linear-gradient(135deg, #0a1628, #071a10); }
  .talent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
  .talent-roles { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
  .talent-role {
    display: flex; align-items: center; gap: 1rem;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.2rem 1.5rem;
    transition: all 0.2s;
  }
  .talent-role:hover { background: rgba(17,85,204,0.1); border-color: rgba(17,85,204,0.3); }
  .role-icon { font-size: 1.5rem; width: 40px; text-align: center; flex-shrink: 0; }
  .role-text h4 { font-size: 0.95rem; font-weight: 700; }
  .role-text span { font-size: 0.8rem; color: var(--gray-mid); }
  .role-text .role-ar { font-family: 'Cairo Play', sans-serif; font-size: 0.8rem; color:rgba(255,255,255,0.75); direction: rtl; display: block; }
  .talent-visual {
    background: var(--dark-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 2.5rem; text-align: center;
  }
  .talent-headline { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; font-weight: 400; line-height: 1.15; margin-bottom: 1rem; letter-spacing: 0.03em; }
  .talent-headline-ar { font-family: 'Cairo Play', sans-serif; font-size: 1.5rem; font-weight: 700; color: #e2e8f0; direction: rtl; margin-bottom: 1.5rem; }
  .talent-desc { font-size: 0.9rem; color: var(--gray-mid); line-height: 1.7; margin-bottom: 2rem; }

  /* PLATFORMS */
  .platforms-section { background: var(--dark); }
  .platforms-row {
    display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; justify-content: center;
  }
  .platform-pill {
    display: flex; align-items: center; gap: 0.6rem;
    background: var(--dark-card); border: 1px solid var(--border);
    border-radius: 100px; padding: 0.7rem 1.4rem;
    font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
  }
  .platform-pill:hover { border-color: rgba(17,85,204,0.5); background: rgba(17,85,204,0.08); }
  .p-dot { width: 8px; height: 8px; border-radius: 50%; }
  .p-dot.fb { background: #1877f2; }
  .p-dot.ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
  .p-dot.tk { background: #ff0050; }
  .p-dot.amz { background: #ff9900; }
  .p-dot.ghl { background: #3b82f6; }
  .p-dot.yt { background: #ff0000; }
  .p-dot.snap { background: #fffc00; }
  .p-dot.tw { background: #000; }

  /* WHY */
  .why-section { background: #07101c; }
  .why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
  .why-card {
    border: 1px solid var(--border); border-radius: 16px; padding: 2rem;
    background: rgba(255,255,255,0.02);
  }
  .why-num { font-size: 3rem; font-weight: 800; color: rgba(17,85,204,0.25); line-height: 1; margin-bottom: 1rem; }
  .why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
  .why-card .why-ar { font-family: 'Cairo Play', sans-serif; font-size: 0.9rem; color:rgba(255,255,255,0.85); direction: rtl; margin-bottom: 0.6rem; display: block; }
  .why-card p { font-size: 0.86rem; color: var(--gray-mid); line-height: 1.65; }

  /* PROCESS */
  .process-section { background: var(--dark); }
  .process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 3rem; position: relative; }
  .process-steps::before {
    content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(17,85,204,0.5), transparent);
  }
  .step {
    text-align: center; padding: 1.5rem 1rem;
  }
  .step-circle {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--dark-card); border: 2px solid var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; color: var(--blue);
    margin: 0 auto 1.2rem; position: relative; z-index: 1;
    background: var(--dark);
  }
  .step h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.3rem; }
  .step .step-ar { font-family: 'Cairo Play', sans-serif; font-size: 0.8rem; color:rgba(255,255,255,0.75); direction: rtl; display: block; margin-bottom: 0.5rem; }
  .step p { font-size: 0.8rem; color: var(--gray-mid); line-height: 1.5; }

  /* CONTACT / CTA */
  .cta-section {
    background: linear-gradient(135deg, #0a1e38, #071a0f);
    text-align: center; padding: 7rem 4rem;
    border-top: 1px solid var(--border);
  }
  .cta-section h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; margin-bottom: 0.5rem; letter-spacing: 0.03em; }
  .cta-section h2 span { color: var(--green-accent); }
  .cta-section .cta-ar { font-family: 'Cairo Play', sans-serif; font-size: 1.5rem; color:rgba(255,255,255,0.85); direction: rtl; margin-bottom: 1.5rem; }
  .cta-section p { color: var(--gray-mid); font-size: 1rem; max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.7; }
  .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

  /* FOOTER */
  footer {
    background: #06111d; border-top: 1px solid var(--border);
    padding: 3rem 4rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
  .footer-brand p { font-size: 0.85rem; color: var(--gray-mid); line-height: 1.7; margin-top: 1rem; max-width: 300px; }
  .footer-brand img { height: 36px; }
  .footer-col h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1.2rem; }
  .footer-col a, .footer-col span { display: block; font-size: 0.84rem; color: var(--gray-mid); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; }
  .footer-col a:hover { color: var(--white); }
  .footer-bottom {
    background: #06111d; border-top: 1px solid var(--border);
    padding: 1.2rem 4rem; display: flex; justify-content: space-between; align-items: center;
    font-size: 0.78rem; color: var(--gray-mid);
  }
  .footer-bottom .ksa-badge {
    background: rgba(0,128,0,0.15); border: 1px solid rgba(0,128,0,0.3);
    padding: 0.3rem 0.8rem; border-radius: 100px; color: #6fe893; font-weight: 600;
    font-size: 0.75rem;
  }

  /* FORM */
  .contact-form { background: var(--dark-card); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; max-width: 700px; margin: 3rem auto 0; text-align: left; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-group label { font-size: 0.78rem; font-weight: 700; color: var(--gray-mid); letter-spacing: 0.06em; }
  .form-group input, .form-group select, .form-group textarea {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    border-radius: 8px; padding: 0.7rem 1rem; color: var(--white);
    font-size: 0.88rem; font-family: 'Inter', sans-serif;
    transition: border 0.2s; outline: none;
  }
  .form-group input:focus, .form-group select, .form-group textarea:focus { border-color: rgba(17,85,204,0.6); }
  .form-group select option { background: var(--dark); }
  .form-group textarea { resize: none; height: 100px; }

  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    section { padding: 4rem 1.5rem; }
    .hero { padding: 6rem 1.5rem 4rem; }
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 2rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .talent-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
    footer { grid-template-columns: 1fr 1fr; padding: 2.5rem 1.5rem; }
    .footer-bottom { padding: 1rem 1.5rem; flex-direction: column; gap: 0.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .cta-section { padding: 5rem 1.5rem; }
  }
