/* Bid Bulls Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;
    /* Deep Navy */
    --secondary: #1e293b;
    /* Slate */
    --accent: #FFC107;
    /* Gold/Amber */
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --bg-dark: #020617;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    /* For animations */
    padding-top: 85px;
    /* Global Header Gap */
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.text-accent {
    color: var(--accent);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
    background: #ffb300;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
    transform: translateY(-3px);
}


/* Header */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

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

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
}

nav a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--secondary);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 8px;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content li {
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    padding-left: 20px;
    /* Slight slide effect */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #020617 100%);
    position: relative;
    padding-top: 80px;
    /* Offset fixed header */
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

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

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

    .hero-content h1 {
        font-size: 3rem;
    }
}

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

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    nav {
        display: none;
    }

    /* Simplified mobile nav hidden for speed */
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-badge {
    display: inline-block;
    font-size: 0.8rem;
    padding: 5px 12px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--accent);
    border-radius: 20px;
}

/* Footer */
footer {
    background: #000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    text-align: center;
}

/* Animations */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Modern AI Aesthetic Additions --- */

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.15);
}

/* Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #FFC107 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 193, 7, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 193, 7, 0.2);
    }
}

.glowing-border {
    animation: glow 3s infinite;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    padding: 20px 0;
}

.bento-item {
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 2;
}

.bento-tall {
    grid-column: span 1;
    grid-row: span 2;
}

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

    .bento-large,
    .bento-medium,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

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

/* Form Styles Modern */
.modern-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: 0.3s;
}

.modern-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}

/* ========================================= */
/* AI CHATBOT SPECIFIC MODERN STYLES         */
/* ========================================= */

/* Tech Specs Container */
.tech-specs-container {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.robot-showcase {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.robot-showcase img {
    max-width: 300px;
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.3));
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.specs-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.spec-card {
    background: rgba(30, 41, 59, 0.6);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.spec-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.spec-card i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.spec-card h4 {
    font-size: 1.1rem;
    color: #f8fafc;
    margin-bottom: 5px;
}

.spec-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Future Vision Box */
.future-vision-box {
    background: linear-gradient(135deg, #0f172a 0%, #172554 100%);
    border: 1px solid #3b82f6;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.future-vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.future-vision-box h3 {
    font-size: 2rem;
    color: #60a5fa;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.future-vision-box p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.future-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #e2e8f0;
}

.future-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
}

.vision-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .tech-specs-container {
        flex-direction: column;
    }

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

/* ========================================= */
/* ADMIN DASHBOARD LAYOUT (MODERN CRM)     */
/* ========================================= */

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #0f172a;
}

.sidebar {
    width: 260px;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 193, 7, 0.1);
    color: var(--accent);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    /* Width of sidebar */
    padding: 0;
    display: flex;
    flex-direction: column;
}

.top-header {
    height: 70px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 40;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-avatar {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.content-body {
    padding: 40px;
}


/* ========================================= */
/* CONTACT PAGE SPECIFIC STYLES              */
/* ========================================= */

/* FAQ Accordion */
.faq-item {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    color: #f8fafc;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    transition: 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: #94a3b8;
    line-height: 1.6;
}

/* Blog Cards */
.blog-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: auto;
    transition: 0.3s;
}

.read-more:hover {
    gap: 12px;
}

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

/* Mobile Header Styles */
.login-icon:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .mobile-login-icon {
        display: block !important;
    }

    /* Hide desktop login icon in mobile menu to avoid duplicate */
    header nav .login-icon {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;
        position: relative;
        z-index: 1002;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        backdrop-filter: blur(5px);
        transition: 0.3s;
    }

    .menu-toggle:active {
        transform: scale(0.95);
    }

    header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        /* Cozy Gradient: Deep Slate to Warm Charcoal with Amber hint */
        background: radial-gradient(circle at top right, rgba(30, 41, 59, 0.98), rgba(2, 6, 23, 0.98));
        backdrop-filter: blur(12px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease-in-out;
        z-index: 1001;
    }

    header nav.active {
        opacity: 1;
        pointer-events: all;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        /* Tighter, cozier gap */
        width: 100%;
        padding: 0 20px;
    }

    header nav a {
        font-family: 'Outfit', sans-serif;
        /* Back to Outfit for rounder, friendlier feel */
        font-size: 1.4rem;
        font-weight: 500;
        color: #e2e8f0;
        /* Softer white */
        position: relative;
        padding: 10px 25px;
        display: block;
        transform: translateY(10px);
        opacity: 0;
        transition: 0.4s ease-out;
        text-align: center;
        border-radius: 30px;
        /* Rounded pill shape links */
    }

    header nav.active a {
        transform: translateY(0);
        opacity: 1;
    }

    /* Staggered Delay for items */
    header nav.active li:nth-child(1) a {
        transition-delay: 0.1s;
    }

    header nav.active li:nth-child(2) a {
        transition-delay: 0.15s;
    }

    header nav.active li:nth-child(3) a {
        transition-delay: 0.2s;
    }

    header nav.active li:nth-child(4) a {
        transition-delay: 0.25s;
    }

    header nav.active li:nth-child(5) a {
        transition-delay: 0.3s;
    }

    header nav.active li:nth-child(6) a {
        transition-delay: 0.35s;
    }

    header nav a:hover,
    header nav a.active {
        background: rgba(255, 193, 7, 0.15);
        /* Soft amber tag background */
        color: #fbbf24;
        transform: scale(1.02);
    }

    /* Button specific override */
    header nav .btn {
        background: var(--accent);
        color: #1e293b !important;
        font-weight: 600;
        box-shadow: 0 10px 25px -5px rgba(255, 193, 7, 0.4);
        margin-top: 15px;
    }

    /* Dropdown Handling - Only for Company */
    .dropdown>a::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 0.8rem;
        margin-left: 10px;
        transition: transform 0.3s;
        display: inline-block;
        opacity: 0.7;
    }

    .dropdown.active>a::after {
        transform: rotate(180deg);
        color: var(--accent);
        opacity: 1;
    }

    .dropdown-content {
        position: static;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        display: none;
        text-align: center;
        padding: 10px;
        margin-top: 10px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .dropdown.active .dropdown-content {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .dropdown-content a {
        font-size: 1.1rem;
        color: #94a3b8;
        padding: 8px 0;
        opacity: 1 !important;
        transform: none !important;
    }

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

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

/* Blog Slider Styles */
.blog-slider-container {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.blog-slider-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.blog-slider-wrapper {
    display: flex;
    gap: 20px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Updated Typography */
/* Updated Typography: Outfit (Friendly & Modern) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Outfit', sans-serif !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem !important;
    }

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

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

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

    .reveal {
        margin-bottom: 40px;
    }
}

/* Mobile Button Optimization */
@media (max-width: 768px) {

    .btn,
    .btn-outline {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }

    .hero-content .btn,
    .hero-content .btn-outline {
        width: 100%;
        /* Make hero buttons full width on very small screens if needed, or just smaller */
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }

    .hero-content div[style*="display: flex"] {
        flex-direction: column;
        gap: 10px !important;
    }
}

/* Mobile Text Internal Optimization */
@media (max-width: 768px) {
    .glass-panel {
        padding: 25px !important;
        /* Reduced padding to gain space */
    }

    .glass-panel p,
    .glass-panel li,
    .hero-content p {
        width: 90% !important;
        /* 90% Width Constraint as requested */
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: justify !important;
        /* Smart Justified Alignment for equal text management */
        line-height: 1.6 !important;
    }

    .hero-content h1 {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }

    /* Ensure lists inside panel also align smartly */
    .glass-panel ul {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        /* Remove default padding to maximize width */
    }
}