/*
Theme Name: Rahee Theme
Theme URI: https://raheemarketing.com
Author: Rahee Marketing
Author URI: https://raheemarketing.com
Description: Official theme for Rahee Marketing — London's performance marketing agency.
Version: 1.0
License: Proprietary
Text Domain: rahee-theme
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #FF3B3B;
  --orange-dark: #cc2a2a;
  --orange-light: #fff0f0;
  --black: #0d0d0d;
  --grey: #555;
  --light-grey: #f6f6f6;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--black); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--black);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid #1a1a1a;
}

.logo img { display: block; height: 44px; }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links > a, .nav-dropdown > .nav-link-btn {
  color: #aaa; font-size: 0.88rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  background: none; border: none; cursor: pointer; font-family: inherit;
  white-space: nowrap;
}
.nav-links > a:hover, .nav-dropdown > .nav-link-btn:hover,
.nav-links > a.active, .nav-dropdown > .nav-link-btn.active { color: var(--white); background: #1a1a1a; }

.nav-cta {
  background: var(--orange) !important; color: var(--white) !important;
  padding: 9px 20px !important; border-radius: 6px; font-weight: 700 !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--orange-dark) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #111; border: 1px solid #222; border-radius: 10px;
  min-width: 220px; padding: 8px; z-index: 300;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  color: #aaa; font-size: 0.88rem; font-weight: 500;
  padding: 10px 14px; border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: #1a1a1a; color: var(--white); }
.dropdown-menu a span { font-size: 1.1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ── BUTTONS ── */
.btn-primary { display: inline-block; background: var(--orange); color: var(--white); padding: 14px 34px; border-radius: 8px; font-size: 0.95rem; font-weight: 800; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-secondary { display: inline-block; border: 1px solid #333; color: #ccc; padding: 14px 34px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; transition: border-color 0.2s, color 0.2s; }
.btn-secondary:hover { border-color: #666; color: var(--white); }
.btn-outline { display: inline-block; border: 2px solid var(--orange); color: var(--orange); padding: 13px 34px; border-radius: 8px; font-size: 0.95rem; font-weight: 700; transition: all 0.2s; }
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* ── TICKER ── */
.ticker { background: var(--orange); padding: 12px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: ticker 30s linear infinite; }
.ticker-inner span { font-size: 0.8rem; font-weight: 700; color: var(--white); letter-spacing: 1px; text-transform: uppercase; margin: 0 28px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── LAYOUT ── */
section { padding: 90px 48px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 900; letter-spacing: -1px; line-height: 1.15; margin-bottom: 18px; }
.section-sub { font-size: 1.05rem; color: var(--grey); max-width: 560px; line-height: 1.7; }

/* ── HERO ── */
.hero { background: var(--black); color: var(--white); padding: 110px 48px 100px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(255,107,26,0.12) 0%, transparent 70%); pointer-events: none; }
.hero-badge { display: inline-block; border: 1px solid #2a2a2a; color: #888; font-size: 0.78rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 18px; border-radius: 100px; margin-bottom: 32px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.1rem; color: #777; max-width: 520px; margin: 0 auto 44px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO ── */
.page-hero { background: var(--black); color: var(--white); padding: 80px 48px; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero h1 span { color: var(--orange); }
.page-hero p { color: #777; font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── SERVICE HERO ── */
.service-hero { background: var(--black); color: var(--white); padding: 90px 48px; }
.service-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-hero h1 { color: var(--white); margin-bottom: 20px; }
.service-hero h1 span { color: var(--orange); }
.service-hero p { color: #777; font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; }
.service-hero-visual { background: #111; border: 1px solid #1f1f1f; border-radius: 16px; padding: 48px; text-align: center; }
.service-hero-visual .big-icon { font-size: 5rem; margin-bottom: 16px; display: block; }
.service-hero-visual h3 { color: var(--white); font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.service-hero-visual p { color: #555; font-size: 0.88rem; }

/* ── STATS ── */
.stats-bar { background: var(--orange); padding: 50px 48px; }
.stats-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; text-align: center; max-width: 960px; margin: 0 auto; }
.stat strong { display: block; font-size: 2.6rem; font-weight: 900; color: var(--white); line-height: 1; letter-spacing: -1px; }
.stat span { font-size: 0.88rem; color: rgba(255,255,255,0.75); font-weight: 500; margin-top: 8px; display: block; }

/* ── CARDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 52px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 52px; }

.card { background: var(--white); border-radius: 14px; padding: 36px 30px; border: 1px solid #eee; transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--orange); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.card-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--grey); line-height: 1.65; }

.service-card-link { display: block; background: var(--white); border-radius: 14px; padding: 32px 28px; border: 1px solid #eee; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; position: relative; overflow: hidden; }
.service-card-link::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--orange); }
.service-card-link:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); border-color: var(--orange); }
.service-card-link .arrow { color: var(--orange); font-size: 1.1rem; margin-top: 12px; display: block; font-weight: 700; transition: transform 0.2s; }
.service-card-link:hover .arrow { transform: translateX(4px); }

.card-dark { background: #111; border: 1px solid #1f1f1f; border-radius: 14px; padding: 30px 26px; transition: border-color 0.2s; }
.card-dark:hover { border-color: var(--orange); }
.card-dark .icon { font-size: 1.8rem; margin-bottom: 14px; }
.card-dark h3 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.card-dark p { font-size: 0.86rem; color: #666; line-height: 1.6; }

/* ── STEPS ── */
.steps { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.step { flex: 1; min-width: 200px; max-width: 260px; text-align: center; }
.step-number { width: 56px; height: 56px; background: var(--orange); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; margin: 0 auto 22px; }
.step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.step p { font-size: 0.88rem; color: var(--grey); line-height: 1.6; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; font-weight: 600; line-height: 1.5; }
.checklist li span.check { color: var(--orange); font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ── DARK SECTION ── */
.dark-section { background: var(--black); color: var(--white); }
.dark-section h2 { color: var(--white); }
.dark-section h2 span { color: var(--orange); }
.dark-section .section-sub { color: #666; }
.dark-section .section-label { color: var(--orange); }

/* ── CTA ── */
.cta-section { background: var(--black); color: var(--white); text-align: center; padding: 110px 48px; }
.cta-section h2 { color: var(--white); }
.cta-section h2 span { color: var(--orange); }
.cta-section p { color: #666; font-size: 1.05rem; max-width: 500px; margin: 18px auto 44px; line-height: 1.7; }
.cta-note { margin-top: 16px; font-size: 0.82rem; color: #333; }

/* ── TRUST BADGES ── */
.trust-bar { background: #0a0a0a; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: 28px 48px; }
.trust-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-inner p { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #444; white-space: nowrap; }
.badge { display: flex; align-items: center; gap: 8px; background: #111; border: 1px solid #222; border-radius: 8px; padding: 10px 16px; }
.badge span { font-size: 1rem; }
.badge p { font-size: 0.82rem; font-weight: 700; color: #888; letter-spacing: 0; text-transform: none; white-space: nowrap; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 52px; }
.blog-card { background: var(--white); border-radius: 14px; border: 1px solid #eee; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: block; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.blog-card-img { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.blog-card-body { padding: 24px; }
.blog-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); margin-bottom: 10px; display: block; }
.blog-card h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.4; margin-bottom: 10px; color: var(--black); }
.blog-card p { font-size: 0.88rem; color: var(--grey); line-height: 1.6; margin-bottom: 16px; }
.blog-card .read-more { font-size: 0.85rem; font-weight: 700; color: var(--orange); }

/* Blog post */
.blog-post { max-width: 780px; margin: 0 auto; padding: 0 48px; }
.blog-post h2 { font-size: 1.6rem; margin: 40px 0 16px; }
.blog-post h3 { font-size: 1.2rem; font-weight: 800; margin: 32px 0 12px; }
.blog-post p { font-size: 1rem; color: #444; line-height: 1.85; margin-bottom: 20px; }
.blog-post ul { margin: 16px 0 20px 20px; }
.blog-post ul li { font-size: 1rem; color: #444; line-height: 1.7; margin-bottom: 8px; }
.blog-post strong { color: var(--black); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 48px; }
.contact-item { background: var(--white); border-radius: 12px; padding: 28px 24px; display: flex; align-items: flex-start; gap: 14px; border: 1px solid #eee; transition: border-color 0.2s, transform 0.2s; }
.contact-item:hover { border-color: var(--orange); transform: translateY(-3px); }
.contact-item .icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #aaa; margin-bottom: 4px; }
.contact-item a, .contact-item p { font-size: 0.92rem; font-weight: 600; color: var(--black); word-break: break-all; }
.contact-item a:hover { color: var(--orange); }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 16px; border: 1.5px solid #e0e0e0; border-radius: 8px; font-size: 0.95rem; font-family: 'Inter', sans-serif; color: var(--black); transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--orange); }
.form-group textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── FOOTER ── */
footer { background: #080808; color: #444; padding: 56px 48px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid #141414; }
.footer-logo { font-size: 1.4rem; font-weight: 900; color: var(--white); letter-spacing: -0.5px; font-style: italic; margin-bottom: 14px; }
.footer-logo span { color: var(--orange); }
.footer-desc { font-size: 0.88rem; color: #444; line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; background: #111; border: 1px solid #1f1f1f; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #555; transition: border-color 0.2s, color 0.2s; }
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #333; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 0.88rem; color: #444; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { max-width: 1100px; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 12px; }

/* WhatsApp */
#whatsapp-btn { position: fixed; bottom: 28px; right: 28px; z-index: 9999; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform 0.2s, box-shadow 0.2s; }
#whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* WordPress resets */
.wp-block-group { margin: 0; padding: 0; }
img { max-width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .service-hero-inner { grid-template-columns: 1fr; }
  .service-hero-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 20px; gap: 4px; border-top: 1px solid #1a1a1a; z-index: 300; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: #0a0a0a; }
  .hero { padding: 70px 24px 60px; }
  .page-hero { padding: 60px 24px; }
  .service-hero { padding: 60px 24px; }
  section { padding: 60px 24px; }
  .stats-bar { padding: 40px 24px; }
  .cta-section { padding: 70px 24px; }
  .trust-bar { padding: 24px; }
  .trust-inner { gap: 16px; }
  footer { padding: 40px 24px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { gap: 32px; }
  .blog-post { padding: 0 24px; }
}

/* Dropdown click fix */
.dropdown-menu { display:none; }
.nav-dropdown:hover .dropdown-menu { display:block; }
@media(max-width:768px){
  .nav-dropdown:hover .dropdown-menu { display:none; }
  .dropdown-menu[style*="block"] { display:block !important; }
}
