/*
Theme Name: Podnet Theme
Theme URI: https://podnet.in/
Author: Mohammed Zareef
Author URI: https://podnet.in/
Description: A premium, enterprise-grade WordPress theme for Podnet Network Services.
Version: 2.0.0
Text Domain: podnet-theme
*/

:root {
    --color-bg-dark: #0B0B0C;
    --color-bg-card: #141416;
    --color-primary: #BD00FF;
    /* Neon Purple */
    --color-secondary: #00F0FF;
    /* Neon Cyan */
    --color-accent: #D6FF00;
    /* Neon Lime */

    --color-text: #EAEAEA;
    --color-text-muted: #888888;

    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius-sm: 4px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;

    --shadow-glow: 0 0 20px rgba(189, 0, 255, 0.2);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--glass-border);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    z-index: -1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* ---------------------------------------------------------
   Homepage Sections
--------------------------------------------------------- */

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* Cards */
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-glow);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-secondary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.card-list {
    list-style: none;
}

.card-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    position: relative;
}

.card-list li::before {
    content: "\2022";
    /* Bullet point */
    color: var(--color-primary);
    position: absolute;
    left: 0;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Hero specific overrides */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0B0B0C 70%);
    text-align: center;
    padding-top: 80px;
    /* header offset */
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background-color: #050505;
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-lg) 0;
    color: var(--color-text-muted);
}

.footer-logo {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 8px var(--color-secondary);
}

/* ---------------------------------------------------------
   Animations
--------------------------------------------------------- */

/* Text Rotator */
.text-rotator {
    color: var(--color-secondary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
    position: relative;
    white-space: nowrap;
}

.text-rotator::after {
    content: '|';
    /* Cursor */
    animation: blink 0.7s infinite;
    color: var(--color-primary);
    margin-left: 5px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Scroll Reveal */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Infinite Marquee */
/* Base Marquee */
.marquee-container {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    width: max-content;
    /* Ensure container fits content */
    animation: marquee 30s linear infinite;
    align-items: center;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 1. Text Marquee (The Rotated Ticker) */
.text-marquee {
    background: var(--color-primary);
    color: #000;
    padding: 1.5rem 0;
    transform: rotate(-2deg);
    margin: var(--spacing-lg) -50px;
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.4);
    z-index: 10;
}

.text-marquee .marquee-item {
    padding: 0 4rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: flex;
    /* Fix alignment */
    align-items: center;
}

.text-marquee .marquee-item::after {
    content: "\2022";
    position: absolute;
    right: 1.5rem;
    color: #fff;
}

/* 2. Logo Marquee (Flat, below the header) */
.logo-marquee-section {
    padding: var(--spacing-md) 0;
    background: #000;
    margin-bottom: var(--spacing-lg);
}

.logo-marquee {
    background: transparent;
    padding: 1rem 0;
    /* No rotation for logos */
    transform: none;
    margin: 0;
    box-shadow: none;
    border: none;
}

.logo-marquee .marquee-content {
    animation-duration: 40s;
    /* Slower scroll for logos */
}

.marquee-logo-item {
    padding: 0 3rem;
    flex-shrink: 0;
}

.marquee-logo-item img {
    height: 50px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%) brightness(200%);
    /* Make them white if not already */
    transition: all 0.3s ease;
}

.logo-marquee:hover .marquee-logo-item img {
    opacity: 1;
    filter: none;
    /* Show original colors/white on hover */
}

/* Hero Glow Pulse */
@keyframes pulse-glow {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }

    transform: scale(1);
}
}

/* ---------------------------------------------------------
   Theme Refinements
--------------------------------------------------------- */

/* Logo Size Fix for Uploaded Logos */
.custom-logo {
    max-height: 60px !important;
    width: auto !important;
}

/* Enhanced Navigation Menu */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    position: relative;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--color-secondary);
}

.main-navigation a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 12px 24px 12px 18px;
    border-radius: 50px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
    color: #fff;
    border-color: var(--color-secondary);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Pulse Animation on Hover */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(189, 0, 255, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(189, 0, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(189, 0, 255, 0);
    }
}

.whatsapp-float:hover {
    animation: whatsapp-pulse 1.5s infinite;
}


/* ---------------------------------------------------------
   Mobile Menu
--------------------------------------------------------- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

/* Mobile View Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(11, 11, 12, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .main-navigation.toggled {
        transform: translateX(0);
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

    .main-navigation a {
        font-size: 1.5rem;
        font-weight: 600;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease 0.1s;
    }

    .main-navigation.toggled a {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Tweaks */
@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px 10px 14px;
    }
}