/* 
 * Personal Branding Website - Global Styles
 * @author Mohamed Shameem PA
 * @version 2.5
 * @description Premium, high-performance CSS framework with cinematic animations.
 */

/* ==========================================================================
   01. DESIGN SYSTEM & ROOT VARIABLES
   ========================================================================== */

@charset "UTF-8";

:root {
    --bg-color: #050505;
    --bg-secondary: #0a0a0a;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent-primary: #00f3ff;
    /* Cyan */
    --accent-secondary: #00ff9d;
    /* Neon Green */
    --accent-tertiary: #bd00ff;
    /* Purple for depth */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(10, 10, 10, 0.8);
    --nav-height: 80px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --transition-speed: 0.3s;
}

/* ==========================================================================
   02. CORE LAYOUT & TYPOGRAPHY
   ========================================================================== */


/* --- HERO SECTION STYLES --- */


/* ==========================================================================
   03. HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    /* Increased padding */
    background: radial-gradient(circle at top right, rgba(0, 243, 255, 0.05), transparent 40%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

/* Image Placeholder Strategy */
.hero-image-placeholder {
    flex: 1;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::after {
    content: 'Professional Photo Area';
    color: var(--text-secondary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
}

header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
    /* Hide shadow when hidden */
}

/* ... existing code ... */

.img-placeholder {
    width: 100%;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.img-placeholder:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.img-placeholder span {
    font-size: 0.9rem;
    margin-top: 10px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: var(--font-mono);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.terminal-prompt {
    color: var(--accent-primary);
    margin-right: 10px;
}

.hero-title {
    font-size: 3.8rem;
    /* Adjusted size for single line */
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    word-spacing: 5px;
}

.hero-role {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-desc {
    max-width: 600px;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.trust-badge-container p {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.trust-badges {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.trust-badges span {
    font-weight: 600;
    color: #fff;
    opacity: 0.6;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
    /* Reduced from 100px */
}

/* ... existing code ... */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 1;

    /* Professional Glass Style */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.btn:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.25), inset 0 0 10px rgba(0, 243, 255, 0.05);
    transform: translateY(-3px);
    letter-spacing: 2.5px;
    /* Unique Expansion Effect */
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

/* Small variation for Header */
.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-sm:hover {
    letter-spacing: 1.5px;
}

/* --- SIGNATURE BRAND GRADIENT (Tech Premium) --- */
.btn-primary-action {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #0066ff 100%);
    color: #000;
    /* High contrast black text for readability on cyan */
    border: none;
    /* Gradient defines the edge */
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
    /* Cyan glow */
}

.btn-primary-action:hover {
    background: linear-gradient(135deg, #33f6ff 0%, #3385ff 100%);
    /* Slightly brighter */
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.5);
    /* Stronger glow */
    letter-spacing: 1.5px;
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Background Animation Placeholder */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

/* Header/Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    min-height: var(--nav-height);
    padding-top: env(safe-area-inset-top, 0px);
    z-index: 1000;
    transition: transform 0.3s ease-in-out, background 0.3s;
    overflow: visible !important;
    display: flex;
    align-items: center;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

header.header-hidden {
    transform: translateY(-100%);
}

/* Global Utilities */
.no-scroll {
    overflow: hidden !important;
}

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

@media (max-width: 900px) {
    .mobile-only {
        display: block !important;
    }

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

.mobile-footer-sig {
    display: none;
}

/* Logo & Branding Components */
.image-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.brand-image-logo {
    display: block;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

/* Weather UI Overlays */
.wx-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wx-emoji {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

.wx-debug-btn {
    position: relative;
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #fff;
}

.logo span {
    color: var(--accent-primary);
}


.nav-links {
    display: flex;
    gap: clamp(10px, 2vw, 30px);
    /* Responsive gap to prevent items from being cut off */
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.support-nav-btn i.fa-heart {
    color: #ff4d4d;
    transition: color 0.3s ease;
}

.support-nav-btn:hover i.fa-heart {
    color: #ff1a1a;
}

.support-nav-btn::after {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ------------------------------------------- */
/*       AUTO SCROLLING GALLERY STYLES         */
/* ------------------------------------------- */

.recognition-scroller {
    width: 100%;
    overflow: hidden;
    /* Hide overflow to create the window */
    position: relative;
    padding: 20px 0;
}

.recognition-track {
    display: flex;
    /* Forces items into a horizontal row */
    gap: 30px;
    /* Space between items */
    width: 100%;
    /* CHANGED from max-content to 100% to allow internal scrolling */
    overflow-x: auto;
    /* Enable native manual scroll */
    padding: 20px 0;
    /* Moved padding here */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    cursor: grab;
    /* Click and drag cursor */
}

/* Dragging State */
.recognition-track.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Pause on hover for better UX */
.recognition-track:hover {
    animation-play-state: paused;
}

.recognition-item {
    width: 250px;
    /* Fixed width for consistent cards */
    flex-shrink: 0;
    /* Prevent squishing */
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    text-align: center;
    user-select: none;
    /* Prevent text highlighting during drag */
    -webkit-user-select: none;
    backdrop-filter: blur(5px);
}

.photo-frame-dummy {
    width: 100%;
    height: 150px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-frame-dummy:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.photo-frame-dummy i {
    font-size: 2.5rem;
    margin-bottom: 0;
}

/* Keyframes for the scrolling animation */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

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

    100% {
        /* Move left by half the track width */
        /* (250px item + 30px gap) * 6 items = 1680px */
        transform: translateX(-1680px);
    }
}


/* Safety rule for User Images */
.recognition-item img {
    width: 100%;
    height: 150px;
    /* Fixed height to match design */
    object-fit: contain;
    /* CHANGED: 'contain' ensures the full logo is visible without cropping */
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    /* Ensure distinct background for logos */
}


/* ------------------------------------------- */
/*       IBR PREMIUM HALL OF FAME STYLES       */
/* ------------------------------------------- */

.text-gold {
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Standard metallic gold gradient */
    font-weight: 700;
    text-shadow: none;
    /* Removed glow for cleaner look */
}



/* ------------------------------------------- */
/*       SECURITY EXPERTISE - TECH REDESIGN    */
/* ------------------------------------------- */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expertise-card {
    position: relative;
    padding: 35px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Neon Top Border Effect */
.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.7;
    transition: height 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 243, 255, 0.2);
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.8) 0%, rgba(15, 15, 15, 0.6) 100%);
}

.expertise-card:hover::before {
    height: 5px;
    /* Thicker neon line on hover */
    opacity: 1;
}

/* Glowing Icon Container */
.expert-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 50%;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    /* Soft glow */
    transition: all 0.4s ease;
}

.expertise-card:hover .expert-icon {
    background: rgba(0, 243, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
    /* Dynamic movement */
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
    border-color: var(--accent-primary);
}

.expert-icon i {
    font-size: 1.8rem;
    color: var(--accent-primary);
    transition: color 0.3s;
}

.expertise-card:hover .expert-icon i {
    color: #fff;
    /* Icon turns white on hover */
}

.expertise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

/* Tech Pills for Skills */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    font-size: 0.85rem;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    /* Pill shape */
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-family: var(--font-mono);
}

.skill-tag:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Contact Form Specifics */
#contact-form {
    scroll-margin-top: 140px;
    /* Accounts for fixed header and container padding */
}

/* ------------------------------------------- */
/*           RESPONSIVE DESIGN (MOBILE)        */
/* ------------------------------------------- */

@media (max-width: 768px) {

    /* Header Button Fix for Mobile */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header-actions .btn-sm {
        padding: 6px 12px;
        font-size: 0.75rem !important;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    /* Hero Text */
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Hero Text */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Grids */
    .metrics-grid,
    .expertise-grid,
    .ibr-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on small screens */
    }

    /* IBR Section */
    .ibr-hall-of-fame {
        padding: 20px;
    }

    .ibr-photo-placeholder {
        height: 250px;
        /* Slightly smaller on mobile */
    }

    /* Recognitions */
    .recognition-item {
        width: 200px;
        /* Smaller cards for mobile */
    }

    /* General Padding */
    .section-padding {
        padding: 60px 20px;
    }
}

/* ------------------------------------------- */
/*           ABOUT SECTION STYLES              */
/* ------------------------------------------- */

#about .section-title {
    text-align: left !important;
}

.about-text {
    text-align: left;
    margin-top: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

@media (min-width: 901px) {
    .about-text {
        width: 100%;
        /* Spans fully across the container */
    }
}


/* ------------------------------------------- */
/*       LARGE SCREEN & UNIVERSAL FIXES        */
/* ------------------------------------------- */

/* ------------------------------------------- */
/*       UNIVERSAL FLUID RESPONSIVENESS        */
/* ------------------------------------------- */

:root {
    /* Fluid Typography: Scales smoothly between min and max viewport widths */
    --fs-hero: clamp(2.5rem, 5vw + 1rem, 5rem);
    --fs-heading: clamp(2rem, 3vw + 0.5rem, 3.5rem);
    --fs-subheading: clamp(1rem, 1.5vw + 0.5rem, 1.5rem);
    --fs-body: clamp(0.9rem, 1vw + 0.2rem, 1.1rem);
}

html {
    font-size: 16px;
    /* Base for rem */
}

/* Apply Fluid Fonts */
.hero-title {
    font-size: var(--fs-hero);
}

.section-title {
    font-size: var(--fs-heading);
    text-align: left !important;
    /* Explicitly left-align all major headings */
    margin-left: 0 !important;
    padding-left: 0 !important;
}

@media (max-width: 900px) {
    .section-title {
        text-align: left !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

.hero-role {
    font-size: var(--fs-subheading);
}

p,
.nav-link,
.btn {
    font-size: var(--fs-body);
}

/* FLUID LAYOUT ADJUSTMENTS */

/* Hero: Remove rigid height, let flex handle it */
.hero-image-placeholder {
    height: auto;
    aspect-ratio: 4/3;
    /* Maintain shape regardless of screen width */
    max-height: 60vh;
    /* Don't get too tall on huge screens */
    width: 100%;
}

/* IBR: Use Aspect Ratio instead of fixed px height */


/* Recognition: Fluid width */
.recognition-item {
    width: clamp(200px, 20vw, 300px);
    /* Resize based on screen width */
    height: auto;
}

.recognition-item img {
    height: 150px;
    /* Keep consistent image height for alignment */
    object-fit: cover;
}

/* Extended Monitor / Ultra-Wide Fixes */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        /* Allow more spread on 4K */
    }



    /* ==========================================================================
   03. HERO SECTION
   ========================================================================== */
    .hero-section {
        padding-top: 15vh;
        /* Center vertically better on tall screens */
    }
}

/* Mobile: Stack everything cleanly */
@media (max-width: 768px) {


    /* ==========================================================================
   03. HERO SECTION
   ========================================================================== */
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }

    .hero-container {
        flex-direction: column-reverse;
        /* Text on top, image below */
    }

    .hero-image-placeholder {
        aspect-ratio: 16/9;
        /* Wider on mobile to save vertical space */
        max-height: 300px;
    }

    .ibr-header h2 {
        font-size: 2rem;
        /* Manual override for mobile headers */
    }
}

/* ------------------------------------------- */
/*       TEXT ANIMATION (TYPEWRITER)           */
/* ------------------------------------------- */

.hero-subtitle {
    position: relative;
    width: max-content;
    margin: 0 auto 20px auto;
    font-family: var(--font-mono);
    color: rgba(160, 200, 220, 0.80);
    /* Muted steel-blue — calm, professional */
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-right: 3px solid rgba(0, 243, 255, 0.6);
    /* Slim, subtle cursor */
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.5s ease, height 0.5s ease, margin 0.5s ease, padding 0.5s ease;
}

.hero-subtitle.secured-shown {
    border-right: 0;
}

.hero-subtitle .secured-status {
    position: relative;
    z-index: 0;
    display: inline-block;
    margin-left: 10px;

    color: var(--accent-secondary) !important;
    /* cybersecurity green */
    font-weight: 900;
    letter-spacing: 0.5px;
    text-shadow: 0 0 14px rgba(0, 255, 157, .85), 0 0 28px rgba(0, 255, 157, .35);

    transform-origin: 50% 60%;
    will-change: transform, filter, opacity;
    animation: sealPunch 420ms cubic-bezier(.17, .89, .32, 1.49) 1 both;
}

/* quick “impact ink” flash behind the text (NOT a box) */
.hero-subtitle .secured-status::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 160%;
    height: 190%;
    transform: translate(-50%, -50%) scale(.6);
    z-index: -1;
    pointer-events: none;

    background: radial-gradient(circle,
            rgba(0, 255, 157, .22) 0%,
            rgba(0, 255, 157, .10) 28%,
            rgba(0, 255, 157, 0) 70%);
    filter: blur(1px);
    opacity: 0;

    animation: punchImpact 420ms ease-out 1 both;
}

@keyframes securedFadeIn {
    0% {
        opacity: 0;
        transform: translateY(3px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Typing Effect */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

/* Cursor Blinking */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--accent-primary)
    }
}


/* FIX: Text alignment for typewriter */
@media (min-width: 1201px) {
    .hero-subtitle {
        margin: 0 0 20px 0;
        /* Left align on desktop */
    }
}

/* ------------------------------------------- */
/*           LOGO ANIMATION STYLES             */
/* ------------------------------------------- */

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-mono);
    text-decoration: none;
    position: relative;
    overflow: visible;
    /* overflow was 'hidden' for a shine effect � changed to visible so weather icons aren't clipped */
    /* For shine effect */
}

/* Brackets Animation: Pulse & Slide */
.logo .bracket {
    color: var(--accent-primary);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
}

.logo:hover .bracket:first-child {
    transform: translateX(-3px);
    text-shadow: 0 0 10px var(--accent-primary);
}

.logo:hover .bracket:last-child {
    transform: translateX(3px);
    text-shadow: 0 0 10px var(--accent-primary);
}

/* Name Animation: Glitch on Hover */
.logo .logo-text {
    color: #fff;
    position: relative;
    transition: color 0.3s;
    font-weight: 700;
}

.logo:hover .logo-text {
    animation: glitch 0.4s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: var(--accent-secondary);
}

/* Professional Glitch Keyframes */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes glitch {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-2px, 2px)
    }

    40% {
        transform: translate(-2px, -2px)
    }

    60% {
        transform: translate(2px, 2px)
    }

    80% {
        transform: translate(2px, -2px)
    }

    100% {
        transform: translate(0)
    }
}

/* Subtle Continuous Pulse for Brackets */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes bracket-pulse {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
    }

    50% {
        opacity: 0.7;
        text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
    }
}

.logo .bracket {
    animation: bracket-pulse 3s infinite ease-in-out;
}


/* ------------------------------------------- */
/*       HERO CYBER-PORTRAIT STYLES            */
/* ------------------------------------------- */

.hero-cyber-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    /* Standard portrait width */
    aspect-ratio: 1/1.1;
    /* Slightly taller than square */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Container */
.hero-img-container {
    position: relative;
    width: 90%;
    height: 90%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.3);
    background: rgba(10, 10, 10, 0.5);
    z-index: 2;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

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

.hero-cyber-frame:hover .hero-main-img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

/* Rotating Cyber Rings */
.cyber-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 243, 255, 0.2);
    z-index: 1;
    pointer-events: none;
}

.ring-1 {
    width: 110%;
    height: 110%;
    /* Circle around the rectangle */
    border-color: rgba(0, 243, 255, 0.15);
    animation: spin 20s linear infinite;
}

.ring-2 {
    width: 105%;
    height: 105%;
    border: 1px solid transparent;
    border-top: 1px solid var(--accent-secondary);
    border-bottom: 1px solid var(--accent-secondary);
    animation: spin-reverse 15s linear infinite;
    opacity: 0.5;
}

/* Status Badge */
.cyber-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    /* Moved INSIDE the frame */
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
    /* Subtle glow */
    background: rgba(255, 255, 255, 0.03);
    /* Almost clear */
    backdrop-filter: blur(5px);
    /* Light blur */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* The requested Glass Border */
}

.cyber-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
    animation: pulse-dot 2s infinite;
}

.cyber-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Corner Accents */
.cyber-decor {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-primary);
    z-index: 3;
    opacity: 0.6;
}

.cyber-decor.top-right {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.cyber-decor.bottom-left {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
}

/* Animations */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes spin-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes float {

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

    50% {
        transform: translateY(-5px);
    }
}


/* Verified Badge Icon */
.verified-icon {
    color: var(--accent-primary);
    font-size: 1rem;
    filter: drop-shadow(0 0 5px var(--accent-primary));
    animation: none;
    /* Stable checkmark */
}


/* IG-Style Verified Badge */
.ig-badge-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    /* Space after 'Trusted' */
}

.badge-bg {
    color: #0095f6;
    /* Official Instagram Blue */
    font-size: 1.2rem;
    filter: drop-shadow(0 0 2px rgba(0, 149, 246, 0.5));
}

.badge-check {
    color: #fff;
    font-size: 0.6rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cyber-badge {
    flex-direction: row;
    /* Ensure text comes first */
}

/* ------------------------------------------- */
/*           LIGHTBOX & MANUAL SCROLL         */
/* ------------------------------------------- */

/* Disable CSS Animation for JS Control */
.recognition-track {
    animation: none;
    /* We use JS for scroll now */
    overflow-x: auto;
    /* Enable manual scroll */
    scroll-behavior: auto;
    /* Smoothness handled by JS */
    cursor: grab;
    /* Show it's draggable */
    padding-bottom: 20px;
    /* Space for scrollbar if visible */
}

.recognition-track:active {
    cursor: grabbing;
}

/* Hide Scrollbar but keep functionality */
.recognition-track::-webkit-scrollbar {
    height: 6px;
}

.recognition-track::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.recognition-item img {
    cursor: zoom-in;
    /* Indicate click-to-enlarge */
    transition: transform 0.3s ease;
}

.recognition-item img:hover {
    transform: scale(1.03);
}

/* LIGHTBOX MODAL STYLES */
.lightbox-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2);
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-primary);
    text-decoration: none;
    cursor: pointer;
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* ------------------------------------------- */
/*       PROJECT SCROLLER (PC ONLY)           */
/* ------------------------------------------- */

.project-scroller-layout {
    display: flex !important;
    overflow-x: auto;
    gap: 30px;
    padding: 10px 0 40px;
    margin: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide for Firefox */
    -ms-overflow-style: none;
    /* Hide for IE/Edge */
    cursor: grab;
}

.project-scroller-layout::-webkit-scrollbar {
    display: none;
    /* Hide for Chrome/Safari */
}

.project-scroller-layout.active {
    cursor: grabbing;
}

.project-scroller-layout .project-card {
    min-width: 350px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

@media (max-width: 900px) {

    /* ── Wrapper: Simplified for mobile ── */
    .project-scroller-wrapper {
        position: relative;
    }

    /* Subtle scroll affordance fade on mobile */
    .project-scroller-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: -28px;
        /* Cover the negative margin/padding */
        bottom: 30px;
        width: 60px;
        background: linear-gradient(to right, transparent, var(--bg-color));
        pointer-events: none;
        z-index: 5;
    }

    .project-scroller-layout {
        display: flex !important;
        overflow-x: auto;
        gap: 20px;
        padding: 0 28px 30px;
        margin: 0 -28px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar IE/Edge */
        -webkit-overflow-scrolling: touch;
    }

    /* Hide WebKit scrollbar on mobile */
    .project-scroller-layout::-webkit-scrollbar {
        display: none;
    }

    .project-scroller-layout .project-card {
        min-width: 85vw;
        scroll-snap-align: center;
        padding: 24px !important;
    }

    /* Mobile Scroll Indicator Styling */
    .mobile-scroll-indicator {
        text-align: center;
        margin-top: -10px;
        margin-bottom: 20px;
        color: var(--text-secondary);
        font-size: 0.85rem;
        font-family: var(--font-mono);
        letter-spacing: 1px;
    }

    .animated-swipe {
        display: inline-block;
        color: var(--accent-primary);
        margin-right: 8px;
        animation: swipeHint 2s infinite ease-in-out;
    }

    @keyframes swipeHint {

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

        50% {
            transform: translateX(10px);
        }
    }
}

/* ------------------------------------------- */
/*       PROFESSIONAL CERTIFICATIONS           */
/* ------------------------------------------- */

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

.cert-card {
    display: flex;
    flex-direction: column;
    /* Stack image on top */
    padding: 0;
    /* No padding on container for full-width image */
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.cert-img-container {
    width: 100%;
    height: 220px;
    /* Fixed height for uniformity */
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
}

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

.cert-card:hover .cert-img {
    transform: scale(1.05);
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s;
}

.cert-card:hover .cert-overlay i {
    transform: scale(1);
}

.cert-info {
    padding: 25px;
    /* Add padding back to text area */
    text-align: left;
}

.cert-info h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cert-issuer {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

.cert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.75rem;
    color: #fff;
    background: var(--accent-primary);
    /* Use Primary Color for visibility on image */
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

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

/* ------------------------------------------- */
/*       PREMIUM CERTIFICATION CARDS           */
/* ------------------------------------------- */

/* Grid Layout */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* Base Card Style */
.cert-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Image Wrapper with Aspect Ratio */
.cert-img-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    position: relative;
    background: #000;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* The Real Image */
.cert-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to contain to show full cert */
    transition: transform 0.5s ease;
    background: #000;
    /* nice background for letterboxing */
}

.cert-card:hover .cert-img {
    transform: scale(1.05);
}

/* Fallback (if image is missing) */
.cert-fallback {
    display: none;
    /* Hidden by default, shown by JS onerror */
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 1) 0%, rgba(10, 10, 10, 1) 100%);
}

.cert-fallback i {
    font-size: 3rem;
    opacity: 0.5;
}

.cert-fallback span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* Overlay for 'View' action */
.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay i {
    color: #fff;
    font-size: 1.5rem;
}

/* Content Area */
.cert-content {
    padding: 25px;
    text-align: center;
}

.cert-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
}

.cert-header h4 {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
}

.cert-org {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.cert-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 255, 157, 0.1);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.2);
    font-weight: 600;
    text-transform: uppercase;
}

/* Footer Metadata */
.cert-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-id {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: #666;
}

.cert-link {
    font-size: 0.8rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.cert-link:hover {
    color: var(--accent-primary);
}


/* --- THEMES --- */

/* CEH (Red/Hacker Theme) */
.ceh-theme:hover {
    border-color: #ff3333;
}

.ceh-theme .cert-fallback i {
    color: #ff3333;
}

.ceh-theme .cert-link:hover {
    color: #ff3333;
}

/* ADCD (Blue/Shield Theme) */
.adcd-theme:hover {
    border-color: #0088ff;
}

.adcd-theme .cert-fallback i {
    color: #0088ff;
}

.adcd-theme .cert-link:hover {
    color: #0088ff;
}


.project-scroller-layout::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.project-scroller-layout:active {
    cursor: grabbing;
}

.project-scroller-layout .project-card {
    min-width: 350px;
    /* Ensure cards retain width */
    max-width: 350px;
    scroll-snap-align: start;
    flex-shrink: 0;
    /* Prevent squishing */
}

/* ------------------------------------------- */
/*           PROJECT CARD ALIGNMENT            */
/* ------------------------------------------- */

.project-card {
    display: flex;
    flex-direction: column;
}

.project-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.project-meta {
    margin-top: auto;
    /* Pushes button to the bottom */
    padding-top: 20px;
}

/* ------------------------------------------- */
/*       PREMIUM CONSULTING SERVICES           */
/* ------------------------------------------- */

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    padding: 30px;
    border-radius: 16px;
    /* Glass Effect inherited but can be enhanced */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(20, 20, 20, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: var(--accent-primary);
}

.highlight-card {
    background: linear-gradient(145deg, rgba(0, 243, 255, 0.05) 0%, rgba(20, 20, 20, 0.6) 100%);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 243, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: #fff;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    /* Pushes list down */
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.service-list li i {
    margin-right: 10px;
    font-size: 0.8rem;
}

/* ------------------------------------------- */
/*       CYBER-LIST SERVICE LAYOUT             */
/* ------------------------------------------- */

.cyber-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 50px;
}

.cyber-item {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    /* Darker, flatter background for list feel */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(10, 10, 10, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    /* Sharper corners for tech feel */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Slide and Glow */
.cyber-item:hover {
    transform: translateX(10px);
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.05) 0%, rgba(20, 20, 20, 0.8) 100%);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: -5px 0 20px rgba(0, 243, 255, 0.1);
}

/* Accelerator Bar on Left */
.cyber-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px var(--accent-primary);
}

.cyber-item:hover::before {
    transform: scaleY(1);
}

/* Icon Styling */
.ci-icon {
    font-size: 1.8rem;
    color: var(--accent-primary);
    width: 60px;
    /* Fixed width for alignment */
    display: flex;
    justify-content: center;
    margin-right: 30px;
    filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.4));
    transition: transform 0.3s;
}

.cyber-item:hover .ci-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Content Layout */
.ci-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ci-title {
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 5px 0;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.ci-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Tech Specs / Tags inline */
.ci-specs {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ci-spec-item {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ci-spec-item i {
    color: var(--accent-secondary);
    font-size: 0.7rem;
}

/* Action Arrow */
.ci-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    margin-left: 20px;
}

.cyber-item:hover .ci-arrow {
    color: var(--accent-secondary);
    transform: translateX(5px);
    text-shadow: 0 0 8px var(--accent-secondary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cyber-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .ci-icon {
        width: auto;
        margin-bottom: 15px;
    }

    .ci-arrow {
        display: none;
        /* Hide arrow on mobile to save space */
    }

    .cyber-item:hover {
        transform: translateY(-5px);
        /* Lift up instead of slide right */
    }
}

/* ------------------------------------------- */
/*           CONTACT SECTION                   */
/* ------------------------------------------- */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Contact Info Column */
.contact-info {
    padding-right: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.contact-info-item h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-item a {
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: #fff !important;
    text-shadow: 0 0 8px var(--accent-primary);
}

/* Contact Form Column */
.contact-form {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

textarea.form-control {
    height: 120px;
    resize: none;
}

/* Submit Button */
.contact-form .btn {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* --- CONTACT FORM ALERTS --- */
#form-status {
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease forwards;
}

#form-status.success {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid #00ff9d;
    color: #00ff9d;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
}

#form-status.success i {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

#form-status.error {
    background: rgba(255, 0, 80, 0.1);
    border: 1px solid #ff0050;
    color: #ff0050;
    box-shadow: 0 0 10px rgba(255, 0, 80, 0.2);
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- INDIA BOOK OF RECORDS (IBR) SECTION --- */
.ibr-hall-of-fame {
    margin-top: 60px;
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.05), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.ibr-header {
    text-align: center;
    margin-bottom: 40px;
}

.ibr-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

.ibr-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.text-gold {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.ibr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    /* Bigger columns */
    gap: 40px;
}

/* CONTAINER - Clean wrapper (No visible box) */
.ibr-frame {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
    transition: transform 0.4s ease;
}

.ibr-frame:hover {
    transform: translateY(-5px);
    background: transparent;
    border: none;
    box-shadow: none;
}

/* THE IMAGE AREA */
.ibr-photo-placeholder {
    height: 450px;
    /* Massive height for visibility */
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* THE IMAGE - Single Professional Border */
/* WATERMARK ICONS - REMOVED */
.ibr-overlay {
    display: none;
}

/* Ensure Image is behind the icon */
.ibr-img {
    position: relative;
    z-index: 1;
    /* ... existing styles ... */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    /* METALLIC BORDER STYLE */
    border: 3px solid rgba(255, 215, 0, 0.4);
    box-shadow:
        0 0 0 4px rgba(192, 192, 192, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ------------------------------------------- */
/*       PHONE INPUT CUSTOMIZATION (DARK)      */
/* ------------------------------------------- */

/* Override Input Padding to make room for flag */
.iti {
    width: 100%;
    margin-bottom: 20px;
}

.iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags@2x.png");
    }
}

/* Dark Search/Dropdown */
.iti__country-list {
    background-color: #1a1a1a;
    /* Dark Background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.iti__country-name {
    color: #ccc;
}

.iti__dial-code {
    color: #888;
}

/* Hover/Active State */
.iti__country.iti__highlight {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Divider */
.iti__country-list .iti__divider {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Shake Animation for Invalid Input */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes shake {

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

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s;
    border-color: #ff4d4d !important;
}


/* ============================================================
   WEATHER LOGO -- inline icon design
   wx-icon-l : tiny icon above/before "Shameem" (zero-width, overflow visible)
   wx-icon-r : tiny icon between "/" and ">" (zero-width, overflow visible)
   ============================================================ */

.weather-scene {
    display: inline-flex;
    align-items: center;
    overflow: visible;
}

/* Shared base */
.wx-icon-l,
.wx-icon-r {
    display: inline;
    width: 0;
    overflow: visible;
    position: relative;
    user-select: none;
    pointer-events: none;
    vertical-align: baseline;
    line-height: 1;
}

/* Left icon -- floats above the text (super-script style) */
.wx-icon-l::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 1px;
    font-size: 0.52rem;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Right icon -- sits inline, slightly raised */
.wx-icon-r::before {
    content: '';
    position: absolute;
    bottom: 58%;
    left: -2px;
    font-size: 0.44rem;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* =======================================================
   STATE CLASSES -- applied to .weather-scene
   Text effects use background-clip: text to show weather INSIDE the name.
   ======================================================= */

/* Shared text base */
.weather-scene .logo-text {
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.5s ease;
    /* Default fallback color if bg fails */
    text-shadow: none;
}

/* --- SUNNY: Golden Shimmer --- */
.wx-sunny .logo-text {
    background-image: linear-gradient(120deg, #ffaa00 0%, #ffe27a 25%, #fff 50%, #ffe27a 75%, #ffaa00 100%);
    animation: wx-text-shimmer 3s linear infinite;
    /* glow outside */
    filter: drop-shadow(0 0 5px rgba(255, 170, 0, 0.4));
}

/* Sun icon: bigger and higher */
.wx-sunny .wx-icon-l::before {
    content: '?';
    color: #ffcc00;
    font-size: 0.85rem;
    bottom: 125%;
    left: 2px;
    filter: drop-shadow(0 0 4px rgba(255, 190, 0, 0.8));
    animation: wx-spin-slow 8s linear infinite;
}

.wx-sunny .wx-icon-r::before {
    content: '?';
    color: #ffaa00;
    animation: wx-pulse 2s infinite;
}

.wx-sunny .bracket {
    color: #ffaa00;
}

.wx-sunny .logo {
    border-color: rgba(255, 195, 0, 0.4) !important;
}

/* --- NIGHT: Starry Sky --- */
.wx-night .logo-text {
    background-image: linear-gradient(to bottom, #a8d0ff, #5588cc);
    /* simulate stars via text-shadow or tiny barely-visible gradient stops - easier to just use cool blue gradient */
    background-image: radial-gradient(white 1px, transparent 1px), radial-gradient(white 1px, transparent 1px), linear-gradient(to bottom, #a8d0ff 0%, #4466aa 100%);
    background-size: 20px 20px, 40px 40px, 100% 100%;
    background-position: 0 0, 20px 20px, 0 0;
    animation: wx-text-stars 10s linear infinite;
}

.wx-night .wx-icon-l::before {
    content: '?';
    color: #a8d0ff;
    font-family: serif;
    animation: wx-bob-tiny 5s infinite;
}

.wx-night .wx-icon-r::before {
    content: '?';
    color: #88b0e8;
    animation: wx-twinkle 3s infinite;
}

.wx-night .bracket {
    color: #7799cc;
}

.wx-night .logo {
    border-color: rgba(100, 150, 220, 0.3) !important;
}

/* --- CLOUDY: Fog Flow --- */
.wx-cloudy .logo-text {
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(224, 224, 224, 0.5);
    animation: wx-text-flow 8s ease-in-out infinite;
}

.wx-cloudy .wx-icon-l::before {
    content: '\f0c2';
    /* Cloud */
    color: #e0e0e0;
    animation: wx-drift 6s infinite;
}

.wx-cloudy .wx-icon-r::before {
    content: '\f0c2';
    color: #e0e0e0;
    animation: wx-drift 5s infinite;
}

.wx-cloudy .bracket {
    color: #e0e0e0 !important;
}

.wx-cloudy .logo {
    border-color: rgba(224, 224, 224, 0.3);
}

.wx-rain .logo-text {
    color: #4facfe;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
    background: linear-gradient(to bottom, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wx-text-rain 0.3s linear infinite;
}

.wx-rain .wx-icon-l::before {
    content: '\f740';
    /* Cloud Rain */
    color: #4facfe;
    animation: wx-drift 3s infinite;
}

.wx-rain .wx-icon-r::before {
    content: '\f73d';
    /* Drop */
    color: #4facfe;
    animation: wx-rain-drop 1s infinite;
}

.wx-rain .bracket {
    color: #4facfe !important;
}

.wx-rain .logo {
    border-color: rgba(79, 172, 254, 0.3);
}

.wx-storm .logo-text {
    color: #f6d365;
    text-shadow: 0 0 15px rgba(246, 211, 101, 0.7);
    animation: wx-text-storm 4s infinite;
}

.wx-storm .wx-icon-l::before {
    content: '\f76c';
    /* Cloud Bolt */
    color: #f6d365;
    animation: wx-bolt-flash 3s infinite;
}

.wx-storm .wx-icon-r::before {
    content: '\f0e7';
    /* Bolt */
    color: #f6d365;
    animation: wx-bolt-flash 1.5s infinite;
}

.wx-storm .bracket {
    color: #f6d365 !important;
}

.wx-storm .logo {
    border-color: rgba(246, 211, 101, 0.3);
}

.wx-snow .logo-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(0, 243, 255, 0.4);
    animation: wx-text-snow 5s linear infinite;
}

.wx-snow .wx-icon-l::before {
    content: '\f2dc';
    /* Snowflake */
    color: #ffffff;
    animation: wx-spin-slow 6s infinite;
}

.wx-snow .wx-icon-r::before {
    content: '\2744';
    color: #ffffff;
    animation: wx-spin-slow 8s infinite reverse;
}

.wx-snow .bracket {
    color: #ffffff !important;
}

.wx-snow .logo {
    border-color: rgba(255, 255, 255, 0.3);
}

.wx-cloudy .wx-icon-r::before {
    content: '~';
    color: #778899;
    animation: wx-drift 5s infinite;
}

.wx-cloudy .bracket {
    color: #666;
}

.wx-cloudy .logo {
    border-color: rgba(120, 120, 120, 0.2) !important;
}

/* --- RAIN: Falling Water --- */
.wx-rain .logo-text {
    /* Streaks of rain -> more natural: smaller, faster streaks */
    background-image:
        linear-gradient(180deg, transparent 0%, transparent 70%, rgba(136, 204, 238, 0.9) 85%, transparent 100%),
        linear-gradient(to right, #4488cc, #88ccee);
    background-size: 100% 20px, 100% 100%;
    animation: wx-text-rain 0.3s linear infinite;
    -webkit-text-fill-color: transparent;
}

.wx-rain .wx-icon-l::before {
    content: '?';
    color: #5599cc;
    animation: wx-drift 3s infinite;
}

.wx-rain .wx-icon-r::before {
    content: '??';
    font-size: 0.45rem;
    animation: wx-rain-drop 1s infinite;
}

.wx-rain .bracket {
    color: #5599cc;
}

.wx-rain .logo {
    border-color: rgba(100, 180, 255, 0.3) !important;
}

/* --- STORM: Lightning Flash --- */
.wx-storm .logo-text {
    background-color: #556677;
    background-image: linear-gradient(45deg, #556677 40%, #fff 50%, #556677 60%);
    background-size: 300% 300%;
    animation: wx-text-storm 4s infinite;
    /* random flashes */
}

.wx-storm .wx-icon-l::before {
    content: '?';
    color: #ffd700;
    animation: wx-bolt-flash 3s infinite;
}

.wx-storm .wx-icon-r::before {
    content: '!';
    color: #ffd700;
    animation: wx-bolt-flash 1.5s infinite;
}

.wx-storm .bracket {
    color: #888;
}

.wx-storm .logo {
    border-color: rgba(255, 215, 0, 0.2) !important;
}

/* --- SNOW: Drifting Flakes --- */
.wx-snow .logo-text {
    /* Softer drift */
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 1px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.7) 1px, transparent 2px),
        linear-gradient(to bottom, #88ccee, #d0eeff);
    background-size: 15px 15px, 20px 20px, 100% 100%;
    background-position: 0 0, 10px 10px, 0 0;
    animation: wx-text-snow 5s linear infinite;
}

.wx-snow .wx-icon-l::before {
    content: '?';
    color: #a0cce8;
    animation: wx-spin-slow 6s infinite;
}

.wx-snow .wx-icon-r::before {
    content: '?';
    color: #a0cce8;
    font-size: 0.4rem;
    animation: wx-spin-slow 8s infinite reverse;
}

.wx-snow .bracket {
    color: #88bbdd;
}

.wx-snow .logo {
    border-color: rgba(180, 220, 255, 0.3) !important;
}

/* =======================================================
   KEYFRAMES for text backgrounds
   ======================================================= */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes wx-text-shimmer {
    0% {
        background-position: -150% 0;
    }

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

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-text-stars {
    0% {
        background-position: 0 0, 20px 20px, 0 0;
    }

    100% {
        background-position: 0 20px, 20px 40px, 0 0;
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-text-flow {

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

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

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-text-rain {
    0% {
        background-position: 0 -20px, 0 0;
    }

    100% {
        background-position: 0 20px, 0 0;
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-text-snow {
    0% {
        background-position: 0 0, 10px 10px, 0 0;
    }

    100% {
        background-position: 5px 15px, 15px 30px, 0 0;
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-text-storm {

    0%,
    90%,
    100% {
        background-position: 0% 50%;
        color: transparent;
    }

    92% {
        background-position: 100% 50%;
        color: rgba(255, 255, 255, 0.8);
        filter: drop-shadow(0 0 5px #fff);
    }

    93% {
        background-position: 0% 50%;
        color: transparent;
        filter: none;
    }

    96% {
        background-position: 100% 50%;
        color: #ffd700;
        filter: drop-shadow(0 0 8px gold);
    }

    97% {
        background-position: 0% 50%;
        color: transparent;
        filter: none;
    }
}

/* Common icon anims */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes wx-spin-slow {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-bob-tiny {

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

    50% {
        transform: translateY(-3px);
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-drift {

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

    50% {
        transform: translateX(3px);
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-twinkle {

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

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-rain-drop {
    0% {
        transform: translateY(-3px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(3px);
        opacity: 0;
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wx-bolt-flash {

    0%,
    40%,
    100% {
        opacity: 0;
    }

    45%,
    47% {
        opacity: 1;
    }
}


/* =========================================
   14. PAYMENT MODAL
   ========================================= */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.payment-modal {
    width: 90%;
    max-width: 450px;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.payment-modal-overlay.active .payment-modal {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    z-index: 10;
}

.close-modal:hover {
    color: #fff;
}

.pm-header {
    text-align: center;
    margin-bottom: 25px;
}

.pm-header h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pm-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Input Group */
.pm-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.currency-selector {
    width: 120px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding-left: 12px;
}

.currency-selector select {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 30px 12px 8px;
    /* Extra padding for arrow */
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-family: 'Fira Code', monospace;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.currency-selector select:focus {
    outline: none;
}

.currency-selector select option {
    background: #222;
    color: #fff;
}

/* SVG Flag Icons Refinement */
#currency-flag {
    display: inline-block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

.amount-field {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding-left: 12px;
    transition: all 0.3s ease;
}

.amount-field:focus-within {
    border-color: var(--accent-primary);
    background: rgba(0, 243, 255, 0.05);
}

.amount-field input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 12px 12px 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.amount-field input:focus {
    outline: none;
}

.currency-symbol {
    color: var(--text-secondary);
    font-weight: 600;
    pointer-events: none;
}

/* Methods Tabs */
.pm-methods {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
}

.pm-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pm-tab.active {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 243, 255, 0.3);
}

/* Content Area */
.method-content {
    display: none;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.method-content.active {
    display: block;
}

.qr-wrapper {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
}

.qr-wrapper img {
    width: 140px;
    height: 140px;
    display: block;
}

/* Scan Line Animation */
.scan-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 243, 255, 0.5), transparent);
    background-size: 100% 10px;
    background-repeat: no-repeat;
    animation: scan 2s infinite linear;
    pointer-events: none;
    border-radius: 10px;
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes scan {
    0% {
        background-position: 0 -10%;
    }

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

.upi-vpa {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.upi-vpa:active {
    transform: scale(0.98);
}

.small-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* PayPal Info */
.paypal-info {
    padding: 20px 0;
}

.big-icon {
    font-size: 3rem;
    color: #00457C;
    /* PayPal Blue */
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 69, 124, 0.5));
}

.full-width {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* Footer */
.pm-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 25px;
    padding-top: 15px;
    text-align: center;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}


/* Support Nav Button Highlight */
.support-nav-btn {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 5px 15px !important;
    margin-left: 10px;
}

.support-nav-btn:hover {
    background: var(--accent-primary);
    color: #000 !important;
    box-shadow: 0 0 15px var(--accent-primary);
}

/* --- PROFESSIONAL IMAGE LOGO STYLING --- */
.image-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 115px;
    /* Increased size */
    margin: 0 5px;
    position: relative;
    overflow: visible;
}

.brand-image-logo {
    height: 100%;
    /* Forces image to respect the massive wrapper */
    width: auto;
    /* Maintains natural aspect ratio */
    max-width: 500px;
    /* Extreme max width */
    object-fit: contain;
    /* Ensures the whole logo is visible */
    vertical-align: middle;

    /* Advanced Blending: Forces the image (even JPEGs with black bg) to act like a glowing neon light */
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.4)) contrast(1.1);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

/* Enhanced Interactive Hover State */
.logo:hover .brand-image-logo {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.8)) contrast(1.2) brightness(1.2);
}

/* ============================================================
   WEATHER BADGE SVG SYSTEM
   Driven by #weatherScene.wx-* + #wxBadge.wx-loaded
   ============================================================ */

.wx-badge {
    position: absolute;
    top: 22px;
    /* Brought down — logo now overflows header, keep badge visible */
    /* At the top of the logo image, above the 'M' */
    right: -16px;
    /* Pushed into the blank space before '/>' */
    width: 26px;
    height: 26px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.wx-badge.wx-loaded {
    opacity: 1;
    transform: scale(1);
}

/* Weather emoji — sized and centred, no SVG needed */
.wx-emoji {
    display: block;
    font-size: 1.3rem;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    animation: wx-emoji-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

/* --- State-specific idle animations --- */

/* ☀️ Sunny: slow spin */
#weatherScene.wx-sunny .wx-emoji {
    animation: wx-emoji-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both,
        wx-spin-emoji 8s linear infinite 0.4s;
}

/* ⛅ Cloudy: gentle left-right drift */
#weatherScene.wx-cloudy .wx-emoji {
    animation: wx-emoji-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both,
        wx-drift-emoji 4s ease-in-out infinite 0.4s;
}

/* 🌧️ Rain: steady downward bob */
#weatherScene.wx-rain .wx-emoji {
    animation: wx-emoji-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both,
        wx-bob-down 1s ease-in-out infinite 0.4s;
}

/* ⛈️ Storm: occasional shake */
#weatherScene.wx-storm .wx-emoji {
    animation: wx-emoji-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both,
        wx-shake-emoji 2.5s ease-in-out infinite 0.4s;
}

/* ❄️ Snow: slow twirl */
#weatherScene.wx-snow .wx-emoji {
    animation: wx-emoji-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both,
        wx-twirl-emoji 6s ease-in-out infinite 0.4s;
}

/* 🌙 Night: gentle float */
#weatherScene.wx-night .wx-emoji {
    animation: wx-emoji-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both,
        wx-float-emoji 3s ease-in-out infinite 0.4s;
}

/* --- Keyframes --- */
@keyframes wx-spin-emoji {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes wx-drift-emoji {

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

    50% {
        transform: translateX(4px);
    }
}

@keyframes wx-bob-down {

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

    50% {
        transform: translateY(3px);
    }
}

@keyframes wx-shake-emoji {

    0%,
    85%,
    100% {
        transform: translateX(0);
    }

    88% {
        transform: translateX(-3px) rotate(-4deg);
    }

    91% {
        transform: translateX(3px) rotate(4deg);
    }

    94% {
        transform: translateX(-2px);
    }

    97% {
        transform: translateX(2px);
    }
}

@keyframes wx-twirl-emoji {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(20deg) scale(1.1);
    }
}

@keyframes wx-float-emoji {

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

    50% {
        transform: translateY(-4px);
    }
}


@keyframes wx-emoji-pop {
    0% {
        transform: scale(0.4) rotate(-10deg);
        opacity: 0;
    }

    80% {
        transform: scale(1.15) rotate(4deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.wx-debug-btn {
    position: absolute;
    bottom: -32px;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    padding: 2px 6px;
    display: none;
    align-items: center;
    gap: 4px;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    cursor: pointer;
    z-index: 100;
}

.wx-debug-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
}

.wx-debug-btn:active {
    transform: scale(0.9);
}

.wx-debug-temp {
    margin-left: 4px;
    color: #fff;
    opacity: 0.8;
}



@keyframes wx-text-shimmer {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
}

@keyframes wx-text-stars {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
        text-shadow: 0 0 15px rgba(160, 196, 255, 0.8);
    }
}

@keyframes wx-text-flow {
    0% {
        background-position: 0% 50%;
    }

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

@keyframes wx-text-rain {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(1px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes wx-text-storm {

    0%,
    90%,
    100% {
        filter: brightness(1);
    }

    95% {
        filter: brightness(2) drop-shadow(0 0 20px #fff);
    }
}

@keyframes wx-text-snow {

    0%,
    100% {
        filter: blur(0px);
    }

    50% {
        filter: blur(0.5px);
    }
}

@keyframes wx-spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes wx-drift {

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

    50% {
        transform: translateX(5px);
    }
}

@keyframes wx-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

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

@keyframes wx-bob-tiny {

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

    50% {
        transform: translateY(-2px);
    }
}

@keyframes wx-rain-drop {
    0% {
        transform: translateY(-2px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(4px);
        opacity: 0;
    }
}

@keyframes wx-bolt-flash {

    0%,
    100%,
    80% {
        opacity: 0;
    }

    85%,
    95% {
        opacity: 1;
    }
}

@keyframes wx-twinkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* End of Weather System */

/* Filter-only animations � NO transform so positioning is preserved */

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes wxGlowSun {

    0%,
    100% {
        filter: drop-shadow(0 0 4px rgba(253, 224, 71, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(253, 224, 71, 1)) brightness(1.2);
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wxGlowSnow {

    0%,
    100% {
        filter: drop-shadow(0 0 3px rgba(186, 230, 253, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 9px rgba(186, 230, 253, 1));
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wxGlowMoon {

    0%,
    100% {
        filter: drop-shadow(0 0 4px rgba(250, 240, 180, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 11px rgba(250, 240, 180, 0.9));
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wxFlash {

    0%,
    90%,
    100% {
        filter: brightness(1);
    }

    95% {
        filter: brightness(2) drop-shadow(0 0 8px #fff);
    }
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes wxFade {

    0%,
    100% {
        opacity: 0.75;
    }

    50% {
        opacity: 1;
    }
}

/* -----------------------------------------------------------
   WEATHER ? LOGO IMAGE REFLECTIONS  (Dramatic / Visible)
   - Logo filter overrides + Scene ambient aura per state -
----------------------------------------------------------- */

/* Smooth transition on logo when weather switches */
.weather-scene .brand-image-logo {
    transition: filter 1.2s ease, transform 0.8s ease !important;
}

/* .weather-scene keeps position:relative for the weather icon ::after */
.weather-scene {
    position: relative;
    overflow: visible;
}



/* -- SUNNY � deep warm gold, high saturation, bright bloom -- */
.wx-sunny .brand-image-logo {
    animation: logoSunny 5s ease-in-out infinite;
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes logoSunny {

    0%,
    100% {
        filter: sepia(0.3) saturate(2) hue-rotate(5deg) brightness(1.2) drop-shadow(0 0 10px rgba(255, 190, 100, 0.6)) drop-shadow(0 0 30px rgba(255, 150, 50, 0.3));
    }

    50% {
        filter: sepia(0.4) saturate(2.5) hue-rotate(8deg) brightness(1.4) drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 50px rgba(255, 160, 0, 0.5));
    }
}

/* -- RAIN � moody slate blue, refined depth -- */
.wx-rain .brand-image-logo {
    animation: logoRain 6s ease-in-out infinite;
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes logoRain {

    0%,
    100% {
        filter: hue-rotate(185deg) saturate(1.2) brightness(0.8) drop-shadow(0 0 8px rgba(100, 150, 255, 0.4));
    }

    50% {
        filter: hue-rotate(190deg) saturate(1.5) brightness(0.9) drop-shadow(0 0 15px rgba(120, 180, 255, 0.6));
    }
}

/* -- STORM � electric drama: refined lightning strike -- */
.wx-storm .brand-image-logo {
    animation: logoStorm 10s steps(1) infinite;
}

/* ==========================================================================
   13. GLOBAL KEYFRAME ANIMATIONS
   ========================================================================== */


@keyframes logoStorm {

    0%,
    85%,
    90%,
    100% {
        filter: hue-rotate(210deg) saturate(1.2) brightness(0.6) drop-shadow(0 0 8px rgba(80, 120, 220, 0.4));
    }

    87% {
        filter: saturate(0) brightness(2.5) contrast(1.5) drop-shadow(0 0 40px rgba(255, 255, 255, 1));
    }

    88% {
        filter: hue-rotate(210deg) saturate(1.2) brightness(0.6);
    }

    89% {
        filter: saturate(0) brightness(2.0) contrast(1.3) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
    }
}

/* -- SNOW  icy frosted white-blue -- */
.wx-snow .brand-image-logo {
    animation: logoSnow 8s ease-in-out infinite;
}


@keyframes logoSnow {

    0%,
    100% {
        filter: hue-rotate(170deg) saturate(0.2) brightness(1.1) drop-shadow(0 0 10px rgba(200, 230, 255, 0.5));
    }

    50% {
        filter: hue-rotate(175deg) saturate(0.35) brightness(1.2) drop-shadow(0 0 20px rgba(220, 240, 255, 0.7));
    }
}

/* -- CLOUDY  sophisticated overcast gray -- */
.wx-cloudy .brand-image-logo {
    animation: logoCloudy 8s ease-in-out infinite;
}


@keyframes logoCloudy {

    0%,
    100% {
        filter: grayscale(0.5) brightness(0.75) contrast(0.95) drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    }

    50% {
        filter: grayscale(0.3) brightness(0.85) contrast(1) drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
    }
}

/* -- NIGHT  deep obsidian / moody indigo -- */
.wx-night .brand-image-logo {
    animation: logoNight 10s ease-in-out infinite;
}


@keyframes logoNight {

    0%,
    100% {
        filter: hue-rotate(240deg) saturate(1.2) brightness(0.5) drop-shadow(0 0 10px rgba(100, 80, 255, 0.4));
    }

    50% {
        filter: hue-rotate(245deg) saturate(1.5) brightness(0.6) drop-shadow(0 0 20px rgba(120, 100, 255, 0.6));
    }
}


/* -----------------------------------------------------------
   UNIVERSAL RESPONSIVE DESIGN � Single source of truth
   All breakpoints consolidated. No conflicts.
----------------------------------------------------------- */

/* -- GLOBAL RESETS -- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

img,
video,
canvas {
    max-width: 100%;
    display: block;
}


/* ------------------------------------------
   = 900px  TABLET + MOBILE  � Hamburger ON
------------------------------------------ */
@media (max-width: 900px) {

    /* -- Nav: switch to hamburger -- */
    /* -- Header Layout Adjustment -- */
    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 15px !important;
        gap: 15px !important;
    }

    .logo {
        margin-right: auto !important;
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto;
        min-width: 0;
    }

    .weather-scene {
        margin-right: auto !important;
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin-left: auto !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        font-size: 1.4rem !important;
        color: #fff !important;
        cursor: pointer !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100%;
        /* Cover full screen */
        height: 100vh;
        background: rgba(10, 10, 15, 0.65);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        align-items: flex-start;
        gap: 0;
        transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        z-index: 3000;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
        list-style: none;
    }

    body.no-scroll {
        overflow: hidden !important;
        height: 100vh;
        touch-action: none;
    }

    /* Subtle neon border pulse on the left edge */
    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: -1px;
        width: 1px;
        height: 100%;
        background: linear-gradient(180deg, transparent, var(--accent-primary), transparent);
        opacity: 0.3;
    }

    .menu-header {
        width: 100%;
        padding: 40px 30px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        margin-bottom: 10px;
    }

    .menu-title {
        font-family: var(--font-mono);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: var(--text-secondary);
    }

    .menu-close {
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        font-size: 1.2rem;
    }

    .menu-close:hover {
        background: rgba(0, 243, 255, 0.1);
        border-color: var(--accent-primary);
        transform: rotate(90deg) scale(1.1);
        color: var(--accent-primary);
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    }

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

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

    .nav-link {
        font-size: 1.25rem !important;
        font-weight: 500;
        font-family: var(--font-heading);
        width: 100%;
        display: block;
        text-align: left !important;
        padding: 18px 30px !important;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s, padding 0.3s, color 0.3s;
        border-bottom: 1px solid transparent;
        color: var(--text-primary);
        position: relative;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: var(--accent-primary);
        opacity: 0;
        transition: 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(90deg, rgba(0, 243, 255, 0.05) 0%, transparent 100%);
        padding-left: 45px !important;
        color: var(--accent-primary);
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        opacity: 1;
    }

    .nav-link::after {
        display: none !important;
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(2) .nav-link {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(3) .nav-link {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(4) .nav-link {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(5) .nav-link {
        transition-delay: 0.25s;
    }

    .nav-links.active li:nth-child(6) .nav-link {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(7) .nav-link {
        transition-delay: 0.35s;
    }

    .nav-links.active li:nth-child(8) .nav-link {
        transition-delay: 0.4s;
    }

    /* Mobile Premium Support Button */
    .nav-links .support-nav-btn {
        margin: 20px 30px !important;
        width: calc(100% - 60px) !important;
        background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(0, 243, 255, 0.02));
        border: 1px solid rgba(0, 243, 255, 0.3) !important;
        border-bottom: 1px solid rgba(0, 243, 255, 0.3) !important;
        border-radius: 12px;
        text-align: center !important;
        padding: 14px !important;
        color: var(--accent-primary) !important;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(0, 243, 255, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        font-size: 1rem !important;
    }

    .nav-links .support-nav-btn::before {
        display: none !important;
    }

    .nav-links .support-nav-btn:hover {
        background: var(--accent-primary) !important;
        color: #000 !important;
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    }

    .nav-links.active .support-nav-btn:hover {
        transform: translateY(-2px) scale(1.02);
    }

    .mobile-footer-sig {
        display: block;
        margin-top: auto;
        padding: 40px 0;
        padding-bottom: max(40px, env(safe-area-inset-bottom, 20px));
        font-family: var(--font-mono);
        font-size: 0.85rem;
        color: var(--text-secondary);
        opacity: 0.7;
        text-align: center;
        width: 100%;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    }

    .hacker-emoji {
        color: var(--accent-primary);
        margin: 0 5px;
    }

    .weather-scene {
        margin-right: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    /* -- Logo & Weather overlap fix -- */
    .image-logo-wrapper {
        height: 60px;
        position: relative;
    }

    .brand-image-logo {
        max-width: 180px;
    }

    .wx-badge {
        top: 4px;
        right: 0;
        /* Changed from -10px to prevent overflow */
    }

    .wx-emoji {
        font-size: 1.15rem;
        /* Balanced emoji size to not outshine the logo */
        opacity: 0.9;
    }


    /* -- Hero -- */


    /* ==========================================================================
   03. HERO SECTION
   ========================================================================== */
    .hero-section {
        padding-top: 150px !important;
        text-align: center !important;
    }

    .hero-container {
        flex-direction: column;
        gap: 36px;
        align-items: center !important;
    }

    .hero-cyber-frame {
        max-width: 380px;
        margin: 0 auto !important;
    }

    .hero-btns {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 12px;
    }

    .trust-badge-container {
        text-align: center !important;
    }

    .trust-label {
        text-align: center !important;
    }

    .trust-badges {
        justify-content: center !important;
        padding-left: 0 !important;
    }

    /* -- Contact -- */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .contact-info {
        padding-right: 0;
    }

    #secure-email {
        font-size: clamp(0.7rem, 4vw, 0.9rem);
        white-space: nowrap;
    }

    /* -- Section spacing -- */
    .section-padding {
        padding: 60px 28px;
    }

    .recognition-header {
        text-align: left !important;
    }

    .recognition-track {
        justify-content: flex-start !important;
        padding-left: 0 !important;
    }

    .container {
        padding: 0 28px;
        padding-left: max(28px, env(safe-area-inset-left));
        padding-right: max(28px, env(safe-area-inset-right));
    }

    /* -- Grids -- */
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .ibr-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .ibr-hall-of-fame {
        padding: 28px;
    }

    .ibr-header {
        margin-bottom: 20px;
    }

    .ibr-photo-placeholder {
        height: 300px;
        /* Smaller height on mobile to reduce space */
        margin-bottom: 10px;
    }
}


/* ------------------------------------------
   = 768px  MOBILE PHONES
------------------------------------------ */
@media (max-width: 768px) {

    .image-logo-wrapper {
        height: 85px;
        flex: 0 1 auto;
        min-width: 0;
    }

    .brand-image-logo {
        max-width: min(280px, calc(100vw - 190px));
        object-fit: contain;
    }

    .logo {
        gap: 1px;
    }

    /* -- Hero -- */
    .hero-cyber-frame {
        max-width: 300px;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 260px;
        padding: 10px 20px;
        /* Reduced button size */
        font-size: 0.85rem;
    }

    /* -- Grids ? single column -- */
    .expertise-grid {
        grid-template-columns: 1fr !important;
    }

    .ibr-grid {
        grid-template-columns: 1fr !important;
    }

    .cert-grid {
        grid-template-columns: 1fr !important;
    }


    /* -- Section spacing -- */
    .section-padding {
        padding: 50px 28px;
    }

    .container {
        padding: 0 28px;
        padding-left: max(28px, env(safe-area-inset-left));
        padding-right: max(28px, env(safe-area-inset-right));
    }

    /* -- Consulting -- */
    .contact-form {
        padding: 28px 20px !important;
    }

    .cyber-item {
        flex-direction: column;
        gap: 12px;
        padding: 28px;
    }

    .ci-arrow {
        display: none;
    }

    /* -- Footer -- */
    footer {
        padding: 20px 16px;
        text-align: center;
    }
}


/* ------------------------------------------
   = 480px  SMALL PHONES (iPhone SE etc.)
------------------------------------------ */
@media (max-width: 480px) {

    /* -- Header -- */
    header {
        height: auto !important;
        min-height: 60px !important;
    }

    .image-logo-wrapper {
        height: 70px;
        flex: 0 1 auto;
        min-width: 0;
    }

    .section-padding {
        padding: 40px 28px;
    }

    .container {
        padding: 0 28px;
        padding-left: max(28px, env(safe-area-inset-left));
        padding-right: max(28px, env(safe-area-inset-right));
    }

    .brand-image-logo {
        max-width: min(230px, calc(100vw - 170px));
        object-fit: contain;
    }

    .btn-primary-action {
        padding: 5px 12px !important;
        font-size: 0.75rem !important;
    }

    /* -- Hero -- */


    /* ==========================================================================
   03. HERO SECTION
   ========================================================================== */
    .hero-section {
        padding-top: 160px !important;
    }

    .hero-title {
        font-size: clamp(1.7rem, 8vw, 2.2rem) !important;
    }

    .hero-role {
        font-size: clamp(0.9rem, 4vw, 1.1rem) !important;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        border-right-width: 8px;
    }

    .hero-cyber-frame {
        max-width: 250px;
    }

    .hero-btns .btn {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    /* -- Section -- */
    .section-padding {
        padding: 36px 14px;
    }

    .section-title {
        font-size: clamp(1.4rem, 6.5vw, 1.9rem) !important;
    }

    .container {
        padding: 0 14px;
    }

    /* -- Contact form -- */
    .contact-form {
        padding: 20px 12px !important;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.85rem;
        padding: 12px 14px;
    }

    /* -- IBR -- */
    .ibr-hall-of-fame {
        padding: 16px;
    }

    /* -- Recognition badges -- */
    .recognition-item {
        width: 160px !important;
    }
}


/* ------------------------------------------
   901px  1280px  LAPTOP  Compact inline nav
   (covers 1366px at 125% Windows scaling = ~1093px)
------------------------------------------ */
@media (min-width: 901px) and (max-width: 1280px) {

    /* -- Nav always inline, tight spacing -- */
    .mobile-menu-btn {
        display: none !important;
    }

    .nav-links {
        position: static !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        border: none !important;
        flex-direction: row !important;
        align-items: center;
        gap: 14px !important;
        backdrop-filter: none !important;
        transition: none !important;
    }

    .nav-link {
        font-size: 0.78rem !important;
        letter-spacing: 0;
    }

    /* Hide Book Consultation to save header room, keep Support ? */
    .header-actions .btn-primary-action {
        display: none !important;
    }

    .header-actions .support-nav-btn {
        display: flex !important;
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
    }

    /* -- Logo -- */
    .image-logo-wrapper {
        height: 75px;
        margin: 0 2px;
    }

    .brand-image-logo {
        max-width: 200px;
    }

    /* -- Hero side-by-side -- */


    /* ==========================================================================
   03. HERO SECTION
   ========================================================================== */
    .hero-section {
        padding-top: 100px;
    }

    .hero-container {
        gap: 32px;
    }

    .hero-cyber-frame {
        max-width: 360px;
    }

    /* -- Contact -- */
    .contact-container {
        grid-template-columns: 1fr 1fr !important;
    }

    /* -- Grids -- */
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ==========================================================================
   14. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* ------------------------------------------
   = 1281px  FULL DESKTOP  All nav visible
------------------------------------------ */
@media (min-width: 1281px) {

    /* -- Full inline nav -- */
    .mobile-menu-btn {
        display: none !important;
    }

    .nav-links {
        position: static !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        border: none !important;
        flex-direction: row !important;
        justify-content: flex-end;
        align-items: center;
        gap: 28px !important;
        backdrop-filter: none !important;
        transition: none !important;
    }

    .nav-link {
        font-size: 0.9rem !important;
    }

    /* -- Show all header actions -- */
    .header-actions .btn-primary-action {
        display: flex !important;
    }

    .header-actions .support-nav-btn {
        display: flex !important;
    }

    /* -- Logo -- */

    /* -- Contact -- */
    .contact-container {
        grid-template-columns: 1fr 1fr !important;
    }

    /* -- Grids -- */
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* ------------------------------------------
   = 1440px  LARGE SCREENS
------------------------------------------ */
@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }

    .expertise-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 24px;
    }

}


/* ------------------------------------------
   = 1920px  ULTRA WIDE / 4K
------------------------------------------ */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }



    /* ==========================================================================
   03. HERO SECTION
   ========================================================================== */
    .hero-section {
        padding-top: 15vh;
    }
}


/* ------------------------------------------
   ACCESSIBILITY � Reduce motion
------------------------------------------ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ------------------------------------------- */
/*           SUPPORT MODAL STYLING             */
/* ------------------------------------------- */

/* Hide dropdown arrow when disabled (e.g. UPI locked to INR) */
#currency-select:disabled {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
    cursor: default;
    opacity: 1;
    /* Keep text visible even if disabled */
    color: #fff;
}

.qr-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.qr-wrapper img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block !important;
}

.scan-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 243, 255, 0.6);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
    animation: scan 2s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(160px);
        opacity: 0;
    }
}

/* --- Extracted Inline Styles --- */
.nav-icon-support {
    margin-right: 5px;
}

.recognition-img-bg {
    min-height: 150px;
    background: rgba(255, 255, 255, 0.1);
    display: block;
    width: 100%;
}

.clickable-img {
    cursor: pointer;
}

.cert-section-bg {
    background: rgba(255, 255, 255, 0.02);
}

.contact-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.social-link-margin {
    margin: 0 10px;
}

.currency-flag-pos {
    display: inline-block;
    pointer-events: none;
    font-size: 1.2rem;
    width: 22px;
    height: 16px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-right: 4px;
}

.currency-select-pad {
    padding-left: 0 !important;
}

/* ------------------------------------------- */
/*       BOOK NOW BUTTON (inside cyber-item)   */
/* ------------------------------------------- */

.ci-book-btn {
    flex-shrink: 0;
    margin-left: 20px;
    white-space: nowrap;
    align-self: center;
    /* Inherit btn + btn-sm base styles, add accent glow */
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 243, 255, 0.06);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.ci-book-btn:hover {
    background: rgba(0, 243, 255, 0.18);
    color: #fff;
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.35);
    transform: translateY(-2px);
}

/* On mobile, stack the button below the content */
@media (max-width: 768px) {
    .ci-book-btn {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }
}

/* ------------------------------------------- */
/*       PRE-FILL FLASH (Subject field)        */
/* ------------------------------------------- */

@keyframes prefilledGlow {
    0%   { box-shadow: 0 0 0 rgba(0, 243, 255, 0); border-color: rgba(255,255,255,0.1); }
    40%  { box-shadow: 0 0 18px rgba(0, 243, 255, 0.45); border-color: var(--accent-primary); }
    100% { box-shadow: 0 0 0 rgba(0, 243, 255, 0); border-color: rgba(255,255,255,0.1); }
}

.form-control.prefilled-flash {
    animation: prefilledGlow 1.4s ease forwards;
}