﻿/*
Theme Name: DrSign
Theme URI: https://peopleappstech.com/
Author: PeopleApps Technologies & Developed by Saurabh Singh
Author URI: https://peopleappstech.com/
Description: A premium dark theme for signage businesses with gold accents. Maintained by PeopleAppsTechnologies.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drsign
*/

/* ===== CSS Variables ===== */
:root {
    --primary-color: #FFC107;
    --primary-dark: #FFA000;
    --bg-color: #0A0A0A;
    --bg-secondary: #1A1A1A;
    --bg-card: #151515;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #808080;
    --border-color: #2A2A2A;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.7);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
    background: transparent;
    padding: 20px 0;
    position: sticky;
    top: 10px;
    z-index: 1000;
    border: none;
}

.site-header .container-fluid {
    background: #000000;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 100px;
    /* Circular ends */
    padding: 10px 40px;
    border: 3px solid rgba(255, 193, 7, 0.3);
    /* Subtle gold border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: #FFC107;
    text-decoration: none;
    min-width: 120px;
    display: flex;
    align-items: center;
}

.custom-logo-link img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.site-footer .custom-logo-link img {
    max-height: 50px;
    /* Slightly smaller for footer */
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #888888;
    font-weight: 500;
    font-size: 15px;
    text-transform: none;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item>a,
.main-nav a.active {
    color: #FFC107;
}

.main-nav a {
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFC107;
    transition: width 0.3s ease;
    display: block;
}

.main-nav a:hover::after,
.main-nav .current-menu-item>a::after,
.main-nav a.active::after {
    width: 100%;
}

.header-cta {
    min-width: 150px;
    text-align: right;
}

.header-cta .btn {
    padding: 8px 20px;
    font-size: 14px;
    background: #FFC107;
    color: #000;
    font-weight: 700;
    border-radius: 4px;
    text-transform: none;
    box-shadow: none;
    border: none;
}

.header-cta .btn:hover {
    background: #FFD54F;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    color: #000;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Slightly reduced gap */
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 16px;
    line-height: normal;
    /* Reset line-height to normal */
}

.btn svg {
    display: block;
    /* Removes inline baseline behavior */
    position: relative;
    top: -1px;
    /* Subtle visual correction if needed, or remove if perfect centering is desired */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: var(--bg-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}



/* ===== Mobile Header ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-only {
    display: none;
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: flex;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #000;
        padding: 80px 30px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 193, 7, 0.2);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--primary-color);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--primary-color);
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        backdrop-filter: blur(3px);
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .main-nav li {
        width: 100%;
        list-style: none;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .main-nav.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }

    .main-nav a {
        display: block;
        color: #fff;
        font-size: 18px;
        padding: 15px 0;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav a:hover,
    .main-nav a:focus {
        color: var(--primary-color);
        padding-left: 10px;
    }
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 20px 0 40px;
    background: url('http://drsignindia.com/wp-content/uploads/2026/01/WhatsApp-Image-2023-11-17-at-14.24.40.jpeg') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: linear-gradient(90deg, #000000 40%, rgba(0, 0, 0, 0.7) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
    flex: 1;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sign Board Styling */
.sign-board {
    width: 300px;
    height: 400px;
    background: #000;
    border: 8px solid #333;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: perspective(1000px) rotateY(-15deg);
}

.sign-board-inner {
    border: 4px solid #FFC107;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.4), inset 0 0 20px rgba(255, 193, 7, 0.4);
}

.sign-text {
    font-size: 60px;
    font-weight: 900;
    color: #FFF;
    text-shadow: 0 0 10px #FFC107, 0 0 20px #FFC107, 0 0 40px #FFC107;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 2px;
}

.sign-subtext {
    font-size: 24px;
    color: #FFC107;
    text-shadow: 0 0 10px #FFC107;
    margin-top: 10px;
    border-top: 2px solid #FFC107;
    padding-top: 10px;
}

.hero-overlay {
    background: linear-gradient(90deg, #000000 30%, rgba(0, 0, 0, 0.6) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Flickering Background Effect */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 193, 7, 0.15), transparent 40%);
    z-index: 1;
    pointer-events: none;
    animation: flicker-bg 4s infinite alternate;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(30, 30, 30, 0.8);
    color: #FFC107;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #FFFFFF;
    font-family: 'Times New Roman', serif;
    /* Serif font for "Build a Signage..." */
}

.hero-title .highlight {
    color: var(--primary-color);
    display: inline;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.hero-description {
    font-size: 16px;
    color: #B0B0B0;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    align-items: center;
}

/* Hero Stats Footer */
.hero-stats-footer {
    display: flex;
    gap: 60px;
    padding-top: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-number {
    font-size: 45px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: 'Times New Roman', serif;
}

.hero-stat-label {
    font-size: 13px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Flicker Animation */
@keyframes flicker-bg {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
    }

    20%,
    24%,
    55% {
        opacity: 0.5;
    }
}

@keyframes flicker-btn {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
        background-color: #FFC107;
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 193, 7, 0.6);
        background-color: #FFCA28;
    }

    52% {
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
        background-color: #FFB300;
    }

    54% {
        box-shadow: 0 4px 25px rgba(255, 193, 7, 0.6);
        background-color: #FFCA28;
    }
}

@keyframes flicker-fast {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
        text-shadow: 0 0 10px #FFC107, 0 0 20px #FFC107, 0 0 40px #FFC107;
    }

    20%,
    24%,
    55% {
        opacity: 0.5;
        text-shadow: none;
    }
}

.flicker-fast .sign-text,
.flicker-fast .sign-subtext {
    animation: flicker-fast 2s infinite;
}

/* Responsive adjustment for Hero */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats-footer {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        /* Allow wrapping on tablets */
    }

    .hero-visual {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 100%;
    }

    .hero-visual {
        margin-top: 40px;
    }
}


/* ===== Why Partner Section ===== */
.why-partner-section {
    padding: 40px 0;
    background: #050505;
    /* Very dark background */
}

.sub-title {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: #FFC107;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #000;
    /* Icon is black on gold bg */
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFF;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
}

.section-title h2 .highlight {
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Process Section ===== */
.process-section {
    padding: 40px 0;
    background: var(--bg-color);
}

.process-timeline {
    display: flex;
    gap: 0;
    position: relative;
    margin-top: 60px;
}

.process-step-card {
    flex: 1;
    background: var(--bg-card);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}



.process-step-card:hover {
    background: rgba(255, 193, 7, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.process-connector {
    flex: 0 0 80px;
    /* Fixed width for connectors */
    height: 40px;
    display: flex;
    justify-content: center;
    position: relative;
    color: var(--primary-color);
    z-index: 1;
}

.process-connector svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.connector-bottom {
    margin-top: auto;
    margin-bottom: 30px;
    /* Adjust based on card height */
    align-self: flex-end;
}

.connector-top {
    margin-bottom: auto;
    margin-top: 30px;
    /* Adjust to sit near top of cards */
    align-self: flex-start;
}

@media (max-width: 992px) {
    .process-connector {
        display: none;
    }

    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-step-card:first-child,
    .process-step-card:last-child {
        border-radius: 12px;
    }
}

.step-badge-wrapper {
    position: absolute;
    top: -15px;
    right: 20px;
}

.step-badge {
    width: 40px;
    height: 40px;
    background: #000;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #000;
}

.step-icon svg {
    stroke: #000;
}

.process-step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFF;
}

.process-step-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.step-arrow {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--text-muted);
    z-index: 10;
}

/* Responsive */
@media (max-width: 992px) {
    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-step-card {
        border-radius: 12px !important;
    }

    .step-arrow {
        display: none;
    }
}

/* ===== Services Section ===== */
.services-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-100px, 100px);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(21, 21, 21, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Glass reflection effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Gradient border on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.5), rgba(255, 193, 7, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card.featured {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.3);
}

.service-card.featured::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow: 0 20px 60px rgba(255, 193, 7, 0.2),
        0 0 40px rgba(255, 193, 7, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(21, 21, 21, 0.8);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.5);
}

.service-icon svg {
    stroke: #000;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFF;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tags span {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.service-card:hover .service-tags span {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 193, 7, 0.1);
    transform: translateY(-2px);
}

.service-card.featured .service-tags span {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.1);
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #0A0A0A 0%, #151515 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background particles */
.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.08) 0%, transparent 50%);
    animation: particles 15s ease-in-out infinite;
}

@keyframes particles {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-20px);
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: rgba(21, 21, 21, 0.8);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

/* Animated gradient border */
.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 193, 7, 0.5),
            transparent,
            rgba(255, 193, 7, 0.5),
            transparent);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    animation: borderRotate 8s linear infinite;
    transition: opacity 0.5s ease;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.pricing-card:hover::before {
    opacity: 0;
}

.pricing-card.featured:hover::before {
    opacity: 1;
}

/* Inner glow effect */
.pricing-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.2), transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.pricing-card:hover::after {
    width: 0;
    height: 0;
}

.pricing-card.featured:hover::after {
    width: 400px;
    height: 400px;
}

.pricing-card.featured {
    border-color: rgba(255, 193, 7, 0.4);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.05);
}

.pricing-card.featured::before {
    opacity: 0.7;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-15px) rotateX(5deg);
    border-color: rgba(255, 193, 7, 0.6);
    box-shadow: 0 25px 70px rgba(255, 193, 7, 0.4),
        0 0 50px rgba(255, 193, 7, 0.2);
    background: rgba(21, 21, 21, 0.95);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #000;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFF;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.pricing-card:hover h3 {
    color: var(--primary-color);
}

.pricing-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.pricing-price {
    margin-bottom: 35px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.pricing-price .currency {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-price .currency {
    transform: translateY(-3px);
}

.pricing-price .amount {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    transition: all 0.4s ease;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.pricing-card:hover .pricing-price .amount {
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
}

.pricing-price .period {
    font-size: 18px;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-price .period {
    transform: translateY(-3px);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.pricing-card:hover .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.pricing-features li::before {
    content: '\2714';
    color: var(--primary-color);
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-features li::before {
    transform: rotate(360deg);
}

.pricing-card .btn {
    width: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.pricing-card:hover .btn {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ===== Support/Success Section ===== */
.support-section {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.support-content {
    position: relative;
}

.support-intro {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.support-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.support-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
}

.feature-icon svg {
    stroke: var(--primary-color);
}

.feature-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FFF;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Metrics Card */
.metrics-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.metrics-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.metric-item {
    margin-bottom: 25px;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    transition: width 1s ease;
}

.metrics-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

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

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 40px 0;
    background: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.15);
}

.quote-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    opacity: 0.3;
}

.quote-icon svg {
    width: 40px;
    height: 40px;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
    color: #FFF;
}

.author-info p {
    font-size: 13px;
    color: var(--primary-color);
}

/* Responsive Support Section */
@media (max-width: 991px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .support-content {
        order: 1;
    }

    .support-metrics {
        order: 2;
    }
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(255, 193, 7, 0.9) 0%, rgba(255, 193, 7, 0.3) 50%, transparent 100%);
}

.portfolio-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #FFF;
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-content h3 {
    color: #000;
}

.portfolio-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-content p {
    color: rgba(0, 0, 0, 0.8);
}

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

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 40px 0;
    background: var(--bg-color);
}

.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.franchise-form {
    background: rgba(30, 30, 30, 0.8);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 10px;
}

.form-group input,
.form-group select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 14px 16px;
    color: #FFF;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFC107' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    background-color: rgba(0, 0, 0, 0.4);
}

.form-group select option {
    background: #1a1a1a;
    color: #FFF;
}

.form-disclaimer {
    margin-bottom: 30px;
}

.form-disclaimer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .franchise-form {
        padding: 30px;
    }
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-color);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-widget p,
.footer-widget li {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    padding: 8px 0;
}

.footer-widget a {
    color: var(--text-secondary);
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* ===== WordPress Core ===== */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    padding: 10px 0;
    color: var(--text-muted);
}

/* .sticky { } */

.gallery-caption {
    color: var(--text-muted);
}

/* .bypostauthor { } */

/* ===== Footer Redesign ===== */
.site-footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 193, 7, 0.1);
}

.footer-main {
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* About Column */
.footer-about {
    max-width: 350px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1;
}

.footer-desc {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* Footer Columns */
.footer-col h3.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* Address */
.footer-address {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
}

.footer-address svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #666;
    font-size: 13px;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===== Mobile Menu Fixes ===== */
@media (max-width: 991px) {
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 300px !important;
        height: 100vh !important;
        background: #000 !important;
        padding: 80px 30px !important;
        transition: right 0.3s ease-in-out !important;
        z-index: 9999 !important;
        display: block !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0 !important;
    }

    .main-nav ul,
    .main-nav .nav-menu,
    .main-nav div>ul {
        display: flex !important;
        flex-direction: column !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .main-nav li {
        width: 100% !important;
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        margin-bottom: 0 !important;
    }

    .main-nav a {
        display: block !important;
        color: #fff !important;
        font-size: 18px !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mobile-toggle {
        z-index: 10000 !important;
    }
}

/* ===== Blog Single Page ===== */
.blog-container {
    padding: 60px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* Post Card */
.single-post-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content-wrapper {
    padding: 40px;
}

/* Meta */
.entry-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-meta i {
    color: var(--primary-color);
}

.entry-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #fff;
}

/* Content */
.entry-content {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2,
.entry-content h3 {
    color: #fff;
    margin: 40px 0 20px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

/* Sidebar */
.sidebar-widget {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #fff;
    display: inline-block;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-widget a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-widget a:hover {
    color: var(--primary-color);
}

/* Recent Posts Widget specifics */
.widget_recent_entries li {
    display: flex;
    gap: 15px;
    border-bottom: none;
    margin-bottom: 15px;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

/* Tag Cloud */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.tag-link:hover {
    background: var(--primary-color);
    color: #000;
}

/* Search */
.search-form {
    display: flex;
}

.search-field {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    color: #fff;
    border-radius: 6px 0 0 6px;
}

.search-submit {
    background: var(--primary-color);
    border: none;
    padding: 0 15px;
    color: #000;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 700;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.share-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.linkedin {
    background: #0077B5;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}


/* ===== Comments Section ===== */
#comments {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 700;
}

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

.comment-list .comment {
    margin-bottom: 30px;
}

.comment-body {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.comment-body:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.fn {
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.fn a {
    color: #fff;
    text-decoration: none;
}

.says {
    display: none;
}

.comment-metadata a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
}

.comment-content {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.reply {
    margin-top: 15px;
    text-align: right;
}

.comment-reply-link {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.comment-reply-link:hover {
    background: var(--primary-color);
    color: #000;
}

/* Threaded Comments Indentation */
.children {
    list-style: none;
    padding-left: 40px;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

/* Comment Form */
.comment-respond {
    margin-top: 60px;
    background: rgba(30, 30, 30, 0.4);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.comment-reply-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    display: block;
}

.comment-reply-title small a {
    float: right;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 400;
}

.comment-notes,
.logged-in-as {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.comment-form label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
}

.form-submit .submit {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.form-submit .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

@media (max-width: 768px) {
    .children {
        padding-left: 15px;
    }

    .comment-respond {
        padding: 25px;
    }
}


/* ===== Blog Grid Page ===== */
.blog-grid-page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1542435503-956c469947f6?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.page-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 900;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid-container {
    padding-bottom: 80px;
}

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-cat {
    color: var(--primary-color);
    font-weight: 700;
}

.blog-card .entry-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card .entry-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card .entry-title a:hover {
    color: var(--primary-color);
}

.entry-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    align-self: flex-start;
    transition: transform 0.3s;
}

.read-more-link:hover {
    transform: translateX(5px);
}

/* Pagination */
.blog-pagination {
    margin-top: 60px;
    text-align: center;
    grid-column: 1 / -1;
}

.blog-pagination .page-numbers {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    margin: 0 5px;
    font-weight: 700;
    transition: all 0.3s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--primary-color);
    color: #000;
}

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid-page-header {
        padding: 60px 0 40px;
    }

    .page-title {
        font-size: 36px;
    }
}


/* ===== Mega Menu / Dropdown Fixes ===== */
.main-nav ul {
    position: relative;
    z-index: 999;
}

.main-nav li {
    position: relative;
}

/* Submenu container */
.main-nav ul ul,
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 193, 7, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    padding: 15px 0;
    display: block;
    /* Override flex if inherited */
    flex-direction: column;
    /* Ensure vertical stacking */
}

/* Show submenu on hover */
.main-nav li:hover>ul,
.main-nav li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
    /* Small offset for effect */
}

/* Submenu Links */
.main-nav ul ul li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.main-nav ul ul a {
    display: block;
    padding: 10px 25px;
    color: #ccc;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    text-transform: none;
    font-weight: 500;
}

.main-nav ul ul a:hover {
    background: rgba(255, 193, 7, 0.1);
    color: #FFC107;
    padding-left: 30px;
    /* Slight movement on hover */
}

.main-nav ul ul a::after {
    display: none;
    /* Remove underline effect from parent */
}

/* Mega Menu Style (for wider layouts) */
/* Add class 'mega-menu-parent' to top menu item in WP Admin if needed, 
   or we can style specific deep nests */
.main-nav .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

/* Arrow indicator for items with children */
.menu-item-has-children>a::before {
    content: '';
    font-size: 8px;
    margin-left: 5px;
    color: var(--primary-color);
    vertical-align: middle;
    display: inline-block;
    opacity: 0.7;
}

.sub-menu .menu-item-has-children>a::before {
    content: '';
    float: right;
    margin-top: 5px;
}

/* Responsive Submenu (Mobile) */
@media (max-width: 991px) {

    .main-nav ul ul,
    .main-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border: none;
        min-width: 100%;
        padding: 0;
        margin-top: 10px;
        display: none;
        /* JS toggle would be better, but css hover on mobile is tricky. */
    }

    .main-nav li:hover>ul,
    .main-nav li:hover>.sub-menu {
        display: block;
        /* Show on tap/hover */
    }

    .menu-item-has-children>a::before {
        float: right;
        font-size: 12px;
        padding: 10px;
    }
}


/* ===== Contact Form 7 Styles ===== */
.wpcf7-form p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.wpcf7-form label {
    font-size: 14px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 8px;
    display: block;
}

.wpcf7 input[type='text'],
.wpcf7 input[type='email'],
.wpcf7 input[type='tel'],
.wpcf7 input[type='url'],
.wpcf7 input[type='date'],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 14px 16px;
    color: #FFF;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.1);
}

.wpcf7-submit {
    width: 100%;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #FFD54F, #FFC107);
}

/* CF7 Response Messages */
.wpcf7-response-output {
    border-radius: 8px;
    padding: 15px !important;
    margin-top: 20px !important;
    font-size: 14px;
    text-align: center;
}

.wpcf7-display-none {
    display: none;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #ff4d4d;
    margin-top: 5px;
}

/* Spinner */
.wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    background-color: #23282d;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 24px;
    position: relative;
}

form.submitting .wpcf7-spinner {
    visibility: visible;
}


/* ===== Button & Form Enhancements ===== */

/* 1. Flexing/Pulsing Animation for Buttons */
@keyframes flex-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
        transform: scale(1);
    }
}

/* Apply to Hero Button */
.hero-buttons .btn-primary {
    animation: flex-glow 2s infinite;
}

/* Apply to Most Popular Package Button (inside .featured pricing card) */
.pricing-card.featured .btn-primary {
    animation: flex-glow 2s infinite;
    position: relative;
    z-index: 10;
}

/* 2. Glassmorphism for Contact Form */
.wpcf7-form,
.franchise-form {
    background: rgba(255, 255, 255, 0.05);
    /* Very light see-through */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}


/* Apply animation to Contact Form 7 Submit Button */
.wpcf7-submit {
    animation: flex-glow 2s infinite;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.show {
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255, 193, 7, 0.3);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 10001;
}

.close-modal:hover {
    color: var(--primary-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #333;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}