/*
Theme Name: Dream Agency
Theme URI: https://github.com/emfluenceindia/Fusion-Dreams-Light
Author: Subrata Sarkar
Author URI: https://subratasarkar.com
Description: A minimalistic, mobile-first, modern WordPress theme for Fusion Dreams Solutions — a marketing agency. Built with Bootstrap 5, featuring clean design, animated blocks, and a corporate color palette.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fusion-dreams-light
Tags: bootstrap, marketing, agency, mobile-first, one-page, modern, clean, light
*/

/* ============================================================
   IMPORT FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Brand Colors */
    --fdl-orange:        #F47B20;
    --fdl-orange-dark:   #D96A10;
    --fdl-orange-light:  #FFF0E0;
    --fdl-blue:          #1A73C8;
    --fdl-blue-light:    #EBF3FD;

    /* Neutrals */
    --fdl-near-black:    #1A1C1E;
    --fdl-dark:          #2D2F31;
    --fdl-gray-dark:     #4A4D52;
    --fdl-gray:          #737780;
    --fdl-gray-mid:      #A8ACB3;
    --fdl-gray-light:    #D6D9DE;
    --fdl-gray-bg:       #F4F5F7;
    --fdl-white:         #FFFFFF;

    /* Typography */
    --font-heading:      'Lexend', sans-serif;
    --font-body:         'DM Sans', sans-serif;

    /* Spacing */
    --section-py:        5rem;
    --section-py-sm:     3rem;

    /* Shadows */
    --shadow-sm:         0 2px 8px rgba(26,28,30,0.06);
    --shadow-md:         0 6px 24px rgba(26,28,30,0.10);
    --shadow-lg:         0 12px 40px rgba(26,28,30,0.14);
    --shadow-orange:     0 8px 30px rgba(244,123,32,0.25);

    /* Border Radius */
    --radius-sm:         6px;
    --radius-md:         12px;
    --radius-lg:         20px;
    --radius-xl:         32px;

    /* Transitions */
    --trans-fast:        0.18s ease;
    --trans-base:        0.28s ease;
    --trans-slow:        0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--fdl-dark);
    background: var(--fdl-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--fdl-near-black);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 2vw, 1.375rem); font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1.25rem; color: var(--fdl-gray-dark); }
p:last-child { margin-bottom: 0; }

a {
    color: var(--fdl-orange);
    text-decoration: none;
    transition: color var(--trans-fast);
}
a:hover { color: var(--fdl-orange-dark); }

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

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

strong, b { font-weight: 600; color: var(--fdl-near-black); }

blockquote {
    border-left: 4px solid var(--fdl-orange);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--fdl-orange-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--fdl-gray-dark);
}

hr {
    border: none;
    border-top: 1px solid var(--fdl-gray-light);
    margin: 2rem 0;
}

code {
    background: var(--fdl-gray-bg);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
    color: var(--fdl-blue);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-orange { color: var(--fdl-orange) !important; }
.text-blue   { color: var(--fdl-blue) !important; }
.text-dark   { color: var(--fdl-near-black) !important; }
.text-gray   { color: var(--fdl-gray) !important; }

.bg-orange   { background-color: var(--fdl-orange) !important; }
.bg-gray-bg  { background-color: var(--fdl-gray-bg) !important; }
.bg-near-black { background-color: var(--fdl-near-black) !important; }

.fw-300 { font-weight: 300; }
.fw-500 { font-weight: 500; }
.fw-800 { font-weight: 800; }

.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

.section-py   { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.section-py-sm { padding-top: var(--section-py-sm); padding-bottom: var(--section-py-sm); }

.rounded-fdl-sm { border-radius: var(--radius-sm); }
.rounded-fdl-md { border-radius: var(--radius-md); }
.rounded-fdl-lg { border-radius: var(--radius-lg); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fdl-orange);
    background: var(--fdl-orange-light);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { max-width: 560px; margin-left: auto; margin-right: auto; color: var(--fdl-gray); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.75rem;
    transition: all var(--trans-base);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--fdl-orange);
    border-color: var(--fdl-orange);
    color: var(--fdl-white) !important;
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    background: var(--fdl-orange-dark);
    border-color: var(--fdl-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(244,123,32,0.35);
    color: var(--fdl-white) !important;
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--fdl-orange);
    color: var(--fdl-orange) !important;
}
.btn-outline-primary:hover {
    background: var(--fdl-orange);
    color: var(--fdl-white) !important;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
    color: var(--fdl-white) !important;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--fdl-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fdl-gray-light);
    transition: box-shadow var(--trans-base);
    padding: 2em 0;
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.custom-logo {
    width: 75%;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    transition: opacity var(--trans-fast);
}
.navbar-brand:hover img { opacity: 0.85; }

.navbar .nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--fdl-gray-light) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--trans-fast);
    position: relative;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--fdl-orange);
    border-radius: 2px;
    transition: all var(--trans-base);
    transform: translateX(-50%);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--fdl-orange) !important;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 60%; }

/* Dropdown */
.navbar .dropdown-menu {
    border: 1px solid var(--fdl-gray-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
    animation: dropdownFade 0.2s ease;
}
@keyframes dropdownFade {
    from { opacity:0; transform:translateY(-8px); }
    to   { opacity:1; transform:translateY(0); }
}
.navbar .dropdown-item {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--fdl-dark);
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--trans-fast);
}
.navbar .dropdown-item:hover {
    background: var(--fdl-orange-light);
    color: var(--fdl-orange);
}

.navbar .btn-cta {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--fdl-orange);
    color: var(--fdl-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: all var(--trans-base);
    border: 2px solid var(--fdl-orange);
}
.navbar .btn-cta:hover {
    background: var(--fdl-orange-dark);
    border-color: var(--fdl-orange-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-orange);
}
.navbar .btn-cta::after { display: none; }

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: var(--fdl-near-black);
}
.navbar-toggler:focus { box-shadow: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    padding: 7rem 0 5rem;
    background: linear-gradient(135deg, var(--fdl-white) 0%, var(--fdl-gray-bg) 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(244,123,32,0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(26,115,200,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fdl-orange);
    background: var(--fdl-orange-light);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.hero-eyebrow .bi { font-size: 0.75rem; }

.hero-section h1 { line-height: 1.15; margin-bottom: 1.5rem; }
.hero-section h1 span { color: var(--fdl-orange); position: relative; }
.hero-section .hero-lead {
    font-size: 1.125rem;
    color: var(--fdl-gray-dark);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fdl-gray-light);
}
.hero-trust .avatars {
    display: flex;
}
.hero-trust .avatars span {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--fdl-white);
    background: var(--fdl-orange);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.7rem; font-weight: 700;
    margin-left: -10px;
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust p { margin: 0; font-size: 0.875rem; color: var(--fdl-gray); line-height: 1.4; }
.hero-trust p strong { color: var(--fdl-near-black); }

.hero-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
.hero-card-main {
    background: var(--fdl-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}
.hero-card-main .stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}
.hero-stat {
    background: var(--fdl-gray-bg);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    transition: all var(--trans-base);
}
.hero-stat:hover {
    background: var(--fdl-orange-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.hero-stat .num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--fdl-orange);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.hero-stat .lbl { font-size: 0.8rem; color: var(--fdl-gray); }
.hero-card-badge {
    position: absolute;
    top: -20px; right: -20px;
    background: var(--fdl-blue);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-md);
    z-index: 3;
    display: flex; flex-direction: column; align-items: center;
}
.hero-card-badge .big { font-size: 1.5rem; font-weight: 800; line-height: 1; }

/* ============================================================
   ANIMATED ENTRY
   ============================================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--fdl-white); }

.service-card {
    background: var(--fdl-white);
    border: 1px solid var(--fdl-gray-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all var(--trans-slow);
    position: relative;
    overflow: hidden;
    cursor: default;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--fdl-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--trans-slow);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px; height: 56px;
    background: var(--fdl-orange-light);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--trans-base);
}
.service-icon .bi { font-size: 1.5rem; color: var(--fdl-orange); }
.service-card:hover .service-icon {
    background: var(--fdl-orange);
}
.service-card:hover .service-icon .bi { color: white; }

.service-card h4 { margin-bottom: 0.75rem; transition: color var(--trans-fast); }
.service-card:hover h4 { color: var(--fdl-orange); }
.service-card p { font-size: 0.9375rem; color: var(--fdl-gray); margin-bottom: 0; }

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.why-us-section { background: var(--fdl-gray-bg); }
.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--trans-base);
    cursor: default;
}
.feature-item:hover {
    background: var(--fdl-white);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}
.feature-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--fdl-orange-light);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
}
.feature-icon .bi { font-size: 1.25rem; color: var(--fdl-orange); }
.feature-item:hover .feature-icon { background: var(--fdl-orange); }
.feature-item:hover .feature-icon .bi { color: white; }
.feature-content h5 { margin-bottom: 0.4rem; }
.feature-content p  { font-size: 0.9rem; color: var(--fdl-gray); margin: 0; }

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-section {
    background: var(--fdl-near-black);
    color: white;
    padding: 4rem 0;
}
.stat-block { text-align: center; padding: 1.5rem; }
.stat-block .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--fdl-orange);
    line-height: 1;
    display: block;
}
.stat-block .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--fdl-gray-mid);
    margin-top: 0.5rem;
    font-weight: 500;
}
.stat-block .stat-icon {
    font-size: 2rem;
    color: var(--fdl-orange);
    margin-bottom: 0.75rem;
    display: block;
}
.stat-block:hover .stat-number { color: white; transition: color var(--trans-base); }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients-section { background: var(--fdl-white); }
.client-logo-wrap {
    padding: 1.25rem 1.5rem;
    background: var(--fdl-gray-bg);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--trans-base);
    border: 1px solid transparent;
    cursor: default;
}
.client-logo-wrap:hover {
    background: var(--fdl-white);
    border-color: var(--fdl-gray-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.client-logo-wrap .client-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fdl-gray-mid);
    transition: color var(--trans-fast);
}
.client-logo-wrap:hover .client-name { color: var(--fdl-orange); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--fdl-gray-bg); }
.testimonial-card {
    background: var(--fdl-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--fdl-gray-light);
    transition: all var(--trans-slow);
    position: relative;
    cursor: default;
}
.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--fdl-orange);
    opacity: 0.15;
    position: absolute;
    top: 1rem; left: 1.5rem;
    line-height: 1;
    pointer-events: none;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--fdl-orange-light);
}
.testimonial-stars {
    color: #F5A623;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex; gap: 2px;
}
.testimonial-text {
    font-size: 0.9375rem;
    color: var(--fdl-gray-dark);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--fdl-orange);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    flex-shrink: 0;
}
.author-info .name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--fdl-near-black);
    display: block;
}
.author-info .role {
    font-size: 0.8125rem;
    color: var(--fdl-gray);
    display: block;
}

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.blog-card {
    background: var(--fdl-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--fdl-gray-light);
    transition: all var(--trans-slow);
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.blog-card-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--fdl-orange-light) 0%, var(--fdl-blue-light) 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}
.blog-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-thumb .thumb-icon {
    font-size: 2.5rem;
    color: var(--fdl-orange);
    opacity: 0.4;
}
.blog-card-body { padding: 1.5rem; }
.blog-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fdl-orange);
    background: var(--fdl-orange-light);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.875rem;
}
.blog-card h5 {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
    transition: color var(--trans-fast);
}
.blog-card:hover h5 { color: var(--fdl-orange); }
.blog-card h5 a { color: inherit; }
.blog-card h5 a:hover { color: var(--fdl-orange); }
.blog-meta {
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.8rem;
    color: var(--fdl-gray);
    margin-bottom: 0.875rem;
}
.blog-meta span { display: flex; align-items: center; gap: 0.3rem; }
.blog-excerpt { font-size: 0.875rem; color: var(--fdl-gray); line-height: 1.65; margin-bottom: 1.25rem; }
.blog-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fdl-orange);
    display: inline-flex; align-items: center; gap: 0.35rem;
    transition: gap var(--trans-fast);
}
.blog-card:hover .blog-read-more { gap: 0.65rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--fdl-near-black) 0%, #2D2F31 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(244,123,32,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(26,115,200,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: white; }
.cta-section p  { color: var(--fdl-gray-mid); font-size: 1.0625rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background: var(--fdl-near-black);
    color: var(--fdl-gray-mid);
    padding-top: 4.5rem;
}
.footer-brand img { height: 44px; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; color: var(--fdl-gray-mid); max-width: 280px; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--fdl-gray-mid);
    font-size: 1rem;
    transition: all var(--trans-base);
}
.footer-social a:hover {
    background: var(--fdl-orange);
    border-color: var(--fdl-orange);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    font-size: 0.9rem;
    color: var(--fdl-gray-mid);
    transition: color var(--trans-fast);
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.footer-links a::before {
    content: '';
    width: 0; height: 1px;
    background: var(--fdl-orange);
    transition: width var(--trans-fast);
}
.footer-links a:hover {
    color: var(--fdl-white);
}
.footer-links a:hover::before { width: 12px; }

.footer-contact-item {
    display: flex; gap: 0.75rem; margin-bottom: 1rem;
}
.footer-contact-item .bi {
    color: var(--fdl-orange);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item p { font-size: 0.9rem; margin: 0; color: var(--fdl-gray-mid); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 3rem;
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer-bottom p { margin: 0; font-size: 0.8375rem; color: var(--fdl-gray); }
.footer-bottom a { color: var(--fdl-gray-mid); }
.footer-bottom a:hover { color: var(--fdl-orange); }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--fdl-near-black) 0%, var(--fdl-dark) 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(244,123,32,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero .breadcrumb { background: none; padding: 0; margin: 0; }
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a { color: var(--fdl-gray-mid); font-size: 0.875rem; }
.page-hero .breadcrumb-item.active { color: var(--fdl-orange); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--fdl-gray); }
.page-hero p { color: var(--fdl-gray-mid); max-width: 600px; margin: 1rem 0 0; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
    background: var(--fdl-white);
    border: 1px solid var(--fdl-gray-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 2rem;
    transition: box-shadow var(--trans-base);
}
.sidebar-widget:hover { box-shadow: var(--shadow-md); }
.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--fdl-near-black);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--fdl-orange);
    display: flex; align-items: center; gap: 0.5rem;
}
.sidebar-widget-title .bi { color: var(--fdl-orange); }

.sidebar-recent-post { display: flex; gap: 0.875rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--fdl-gray-light); }
.sidebar-recent-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-recent-post-thumb {
    width: 64px; height: 64px;
    border-radius: var(--radius-sm);
    background: var(--fdl-orange-light);
    flex-shrink: 0;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.sidebar-recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent-post-info a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fdl-dark);
    line-height: 1.4;
    display: block;
    margin-bottom: 0.25rem;
}
.sidebar-recent-post-info a:hover { color: var(--fdl-orange); }
.sidebar-recent-post-info span { font-size: 0.775rem; color: var(--fdl-gray); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-cloud a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--fdl-gray-dark);
    background: var(--fdl-gray-bg);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    border: 1px solid var(--fdl-gray-light);
    transition: all var(--trans-fast);
}
.tag-cloud a:hover {
    background: var(--fdl-orange);
    color: white;
    border-color: var(--fdl-orange);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--fdl-dark);
}
.single-post-content h2,
.single-post-content h3 { margin-top: 2.5rem; }
.post-meta-bar {
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid var(--fdl-gray-light);
    border-bottom: 1px solid var(--fdl-gray-light);
    margin-bottom: 2.5rem;
    font-size: 0.875rem;
    color: var(--fdl-gray);
}
.post-meta-bar span { display: flex; align-items: center; gap: 0.35rem; }
.post-meta-bar a { color: var(--fdl-orange); }
.post-share-bar {
    display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--fdl-gray-light);
    margin-top: 3rem;
}
.post-share-bar .share-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--fdl-dark);
}
.share-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.8375rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--fdl-gray-light);
    color: var(--fdl-gray-dark);
    transition: all var(--trans-fast);
}
.share-btn:hover { background: var(--fdl-orange); color: white; border-color: var(--fdl-orange); }

.author-box {
    background: var(--fdl-gray-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex; gap: 1.5rem;
    margin-top: 3rem;
    border: 1px solid var(--fdl-gray-light);
    transition: box-shadow var(--trans-base);
}
.author-box:hover { box-shadow: var(--shadow-md); }
.author-box .avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--fdl-orange);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; color: white;
    font-family: var(--font-heading);
}
.author-box h5 { margin-bottom: 0.25rem; }
.author-box p { font-size: 0.9rem; color: var(--fdl-gray); margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form-wrap {
    background: var(--fdl-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--fdl-gray-light);
}
.contact-info-card {
    background: var(--fdl-near-black);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    height: 100%;
    color: white;
}
.contact-info-card h3 { color: white; }
.contact-info-card p  { color: var(--fdl-gray-mid); }

.contact-detail {
    display: flex; gap: 1rem; margin-bottom: 1.75rem;
}
.contact-detail .icon-wrap {
    width: 44px; height: 44px;
    background: rgba(244,123,32,0.15);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-detail .icon-wrap .bi { color: var(--fdl-orange); font-size: 1.1rem; }
.contact-detail .detail-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fdl-gray-mid);
    margin-bottom: 0.2rem;
}
.contact-detail .detail-text a,
.contact-detail .detail-text p {
    color: white;
    font-size: 0.9375rem;
    margin: 0;
    font-weight: 500;
}

/* Form Styles */
.form-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fdl-near-black);
    margin-bottom: 0.5rem;
}
.form-control, .form-select {
    border: 1.5px solid var(--fdl-gray-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--fdl-dark);
    background: var(--fdl-white);
    transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.form-control:focus, .form-select:focus {
    border-color: var(--fdl-orange);
    box-shadow: 0 0 0 3px rgba(244,123,32,0.12);
    outline: none;
}
.form-control::placeholder { color: var(--fdl-gray-mid); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.about-img-wrap img { width: 100%; border-radius: var(--radius-xl); }
.about-img-badge {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem;
    background: var(--fdl-orange);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}
.about-img-badge .big-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}
.about-img-badge p { margin: 0; font-size: 0.8rem; opacity: 0.85; }

.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--fdl-gray-light);
    transition: all var(--trans-slow);
    background: var(--fdl-white);
    cursor: default;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--fdl-orange-light);
}
.team-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fdl-orange) 0%, var(--fdl-orange-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem; font-weight: 800; color: white;
    margin: 0 auto 1.25rem;
    transition: transform var(--trans-base);
}
.team-card:hover .team-avatar { transform: scale(1.05); }
.team-card h5 { margin-bottom: 0.25rem; }
.team-role { font-size: 0.8375rem; color: var(--fdl-orange); font-weight: 600; margin-bottom: 0.875rem; }
.team-card p { font-size: 0.875rem; color: var(--fdl-gray); margin: 0; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    cursor: default;
}
.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--fdl-orange-light), var(--fdl-gray-light));
    z-index: 0;
}
.process-step:last-child::after { display: none; }

.step-number {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--fdl-orange-light);
    border: 3px solid var(--fdl-orange);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem; font-weight: 800; color: var(--fdl-orange);
    margin: 0 auto 1.25rem;
    position: relative; z-index: 1;
    transition: all var(--trans-base);
}
.process-step:hover .step-number {
    background: var(--fdl-orange);
    color: white;
    transform: scale(1.1);
}
.process-step h5 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--fdl-gray); margin: 0; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404-section {
    min-height: 70vh;
    display: flex; align-items: center;
    text-align: center;
    padding: 5rem 0;
}
.error-404-number {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--fdl-orange) 0%, var(--fdl-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.error-search .form-control {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    border-right: none;
}
.error-search .btn {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ============================================================
   ARCHIVE
   ============================================================ */
.pagination .page-link {
    color: var(--fdl-orange);
    border-radius: var(--radius-sm) !important;
    margin: 0 2px;
    border: 1px solid var(--fdl-gray-light);
    font-weight: 500;
    transition: all var(--trans-fast);
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--fdl-orange);
    border-color: var(--fdl-orange);
    color: white;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comment-list { list-style: none; padding: 0; }
.comment-item {
    display: flex; gap: 1rem; margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--fdl-gray-light);
}
.comment-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--fdl-blue);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 0.9rem;
    flex-shrink: 0;
}
.comment-content-wrap { flex: 1; }
.comment-author-line {
    display: flex; gap: 0.75rem; align-items: baseline; margin-bottom: 0.5rem;
}
.comment-author-line strong { color: var(--fdl-near-black); }
.comment-author-line span  { font-size: 0.8rem; color: var(--fdl-gray); }
.comment-text { font-size: 0.9375rem; color: var(--fdl-gray-dark); }

/* ============================================================
   MISC / HELPERS
   ============================================================ */
.separator {
    display: flex; align-items: center; gap: 1rem;
    margin: 2rem 0;
    color: var(--fdl-gray-mid);
    font-size: 0.85rem;
}
.separator::before, .separator::after {
    content: ''; flex: 1; height: 1px; background: var(--fdl-gray-light);
}

.highlight-box {
    background: var(--fdl-orange-light);
    border-left: 4px solid var(--fdl-orange);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem 1.5rem;
}
.highlight-box p { margin: 0; color: var(--fdl-dark); }

/* Preloader */
#preloader {
    position: fixed; inset: 0;
    background: white;
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s, visibility 0.4s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.spinner-ring {
    width: 44px; height: 44px;
    border: 3px solid var(--fdl-gray-light);
    border-top-color: var(--fdl-orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--fdl-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-orange);
    opacity: 0; visibility: hidden;
    transition: all var(--trans-base);
    cursor: pointer;
    z-index: 999;
}
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    :root { --section-py: 3.5rem; }
    .hero-section { padding: 5rem 0 3.5rem; }
    .hero-visual { margin-top: 3rem; }
    .process-step::after { display: none; }
    .contact-form-wrap { margin-bottom: 2rem; }
}

@media (max-width: 767.98px) {
    :root { --section-py: 3rem; }
    .hero-section { padding: 4rem 0 3rem; }
    .section-header { margin-bottom: 2.5rem; }
    .hero-card-badge { top: -15px; right: -10px; }
    .author-box { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .stats-section { padding: 3rem 0; }
}

@media (max-width: 575.98px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .contact-form-wrap { padding: 1.75rem; }
    .contact-info-card { padding: 1.75rem; }
}
