/*
Theme Name: Digital Ranker Pakistan
Theme URI: https://ranker.pk/
Description: Custom WordPress Theme for Digital Ranker Pakistan - Enterprise SEO, Guest Posting, Backlink Packages & Custom Software Development.
Author: Digital Ranker Pakistan Team
Author URI: https://ranker.pk/
Version: 1.0.0
Text Domain: digital-ranker-pk
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (THEME DESIGN TOKENS)
   Pakistani Flag Color Palette & Modern High-Contrast Accents
   ========================================================================== */
:root {
    /* Flag & Brand Core Colors */
    --pak-green-dark: #01411C;      /* Deep Pakistan Flag Green */
    --pak-green-deep: #062817;      /* Rich Forest Night Tone */
    --pak-green-primary: #0A5C36;   /* Classic Vibrant Green */
    --pak-green-emerald: #00D06C;   /* Logo Brand Lime/Emerald Accent */
    --pak-green-glow: rgba(0, 208, 108, 0.25);
    --pak-green-glow-strong: rgba(0, 208, 108, 0.5);
    --pak-green-light: #F0FDF4;    /* Subtle mint wash for cards & badges */
    
    /* Contrast & Backgrounds */
    --pak-white: #FFFFFF;
    --pak-dark-bg: #071911;        /* State-of-the-art dark hero & footer */
    --pak-card-dark: #0D261B;      /* Dark cards with subtle border */
    --pak-card-border: rgba(0, 208, 108, 0.18);
    --pak-light-bg: #F8FAF9;       /* Ultra-clean page background */
    --pak-light-card: #FFFFFF;
    --pak-border-light: #E2E8F0;
    
    /* Typography Colors */
    --text-primary-dark: #0F172A;
    --text-secondary-dark: #475569;
    --text-muted-dark: #64748B;
    --text-white: #FFFFFF;
    --text-light-muted: #CBD5E1;
    
    /* Accents */
    --accent-gold: #F59E0B;        /* 5-star reviews & rating accents */
    --whatsapp-green: #25D366;     /* Direct WhatsApp CTA */
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows & Border Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(1, 65, 28, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(1, 65, 28, 0.15);
    --shadow-glow: 0 0 35px var(--pak-green-glow);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--pak-light-bg);
    color: var(--text-secondary-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--pak-green-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--pak-green-emerald);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   LAYOUT CONTAINERS & HELPERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding: 90px 0;
    position: relative;
}

.section-dark {
    background-color: var(--pak-dark-bg);
    color: var(--text-light-muted);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.hero-agency h1,
.hero-agency h2,
.hero-agency h3,
.hero-agency .hero-headline,
.hero-headline {
    color: var(--pak-white) !important;
}

.section-tint {
    background-color: #F2F8F5;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: var(--pak-green-light);
    color: var(--pak-green-primary);
    border: 1px solid rgba(0, 208, 108, 0.3);
    margin-bottom: 16px;
}

.section-tag.dark {
    background: rgba(0, 208, 108, 0.12);
    color: var(--pak-green-emerald);
    border-color: rgba(0, 208, 108, 0.25);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.125rem;
    max-width: 680px;
    margin: 0 auto 50px auto;
    color: var(--text-secondary-dark);
}

.section-dark .section-desc {
    color: var(--text-light-muted);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    line-height: 1;
}

.btn-emerald {
    background: linear-gradient(135deg, var(--pak-green-emerald) 0%, #00B359 100%);
    color: #032314 !important;
    box-shadow: 0 4px 18px rgba(0, 208, 108, 0.35);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 208, 108, 0.55);
    color: #01160C !important;
}

.btn-pak-green {
    background: linear-gradient(135deg, var(--pak-green-primary) 0%, var(--pak-green-dark) 100%);
    color: var(--pak-white) !important;
    box-shadow: 0 4px 18px rgba(1, 65, 28, 0.3);
}

.btn-pak-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 65, 28, 0.45);
    background: linear-gradient(135deg, #0D7344 0%, var(--pak-green-primary) 100%);
}

.btn-outline-white {
    background: transparent;
    color: var(--pak-white) !important;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

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

.btn-outline-dark {
    background: transparent;
    color: var(--pak-green-dark) !important;
    border: 2px solid var(--pak-green-primary);
}

.btn-outline-dark:hover {
    background: var(--pak-green-primary);
    color: var(--pak-white) !important;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: #FFFFFF !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}
