/* Custom Variables */
:root {
    --vulcan-orange: #CC5500;
    --vulcan-dark: #1A1A1A;
    --vulcan-light: #F5F5F5;
    --vulcan-green: #2F9E44; /* Emerald green that complements Vulcan orange */
}

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--vulcan-dark);
}

/* Header */
.header-topbar {
    background: linear-gradient(90deg, #A04400 0%, #CC5500 50%, #FF7A1A 100%);
}

.navbar-main {
    background: linear-gradient(180deg, #2f2f2f 0%, #1f1f1f 100%);
    border-bottom: 2px solid rgba(204,85,0,0.35);
}

.navbar-main .nav-link {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: .2px;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
    position: relative;
    margin: 0 .25rem;
}

.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: .25rem;
    width: 0;
    height: 2px;
    background: var(--vulcan-orange);
    transition: width .25s ease;
}

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

.navbar-main .nav-link:hover,
.navbar-main .nav-link:focus {
    color: #FFE1D0;
}

.brand-logo {
    height: 42px;
    width: auto;
}

.brand-logo-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 4px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.brand-tagline {
    color: #ffffff;
    opacity: .9;
    font-size: .95rem;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(204, 85, 0, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Video Hero */
.hero-video-wrapper {
    position: relative;
    min-height: 80vh;
    background: #0f0f0f;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05) brightness(0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 20% 10%, rgba(204,85,0,0.25) 0%, rgba(26,26,26,0.65) 45%, rgba(26,26,26,0.85) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-compact .hero-content {
    padding-bottom: 4rem;
}

.brand-quote {
    border-left: 4px solid var(--vulcan-orange);
    padding-left: 12px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.brand-points {
    color: rgba(255,255,255,0.92);
}

.brand-points li {
    margin: .35rem 0;
    font-size: 1.05rem;
}

.brand-points i {
    color: var(--vulcan-orange);
    margin-top: .15rem;
}

/* AI Announcement Card */
.ai-card {
    background: radial-gradient(120% 120% at 0% 0%, rgba(204,85,0,0.25) 0%, rgba(26,26,26,0.9) 45%, rgba(26,26,26,1) 100%),
                linear-gradient(160deg, rgba(255,255,255,0.04), rgba(0,0,0,0.12));
    border: 1px solid rgba(204,85,0,0.35);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 0 60px rgba(204,85,0,0.08);
}

.ai-badge {
    background: var(--vulcan-orange);
    color: #fff;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .8rem;
    letter-spacing: .3px;
}

.ai-icon {
    color: var(--vulcan-orange);
    margin-top: .2rem;
}

@media (max-width: 992px) {
    .ai-card { padding: 1.25rem !important; }
}

/* CTA row helpers */
.cta-row .btn { white-space: nowrap; }

/* Forge Animation */
.forge-animation {
    background: linear-gradient(45deg, var(--vulcan-orange) 0%, transparent 100%);
    animation: forge-glow 3s ease-in-out infinite;
}

@keyframes forge-glow {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Icon Animations */
.icon-wrapper i {
    transition: transform 0.3s ease;
}

.card:hover .icon-wrapper i {
    transform: scale(1.1);
}

/* Button Styles */
.btn-primary {
    background-color: var(--vulcan-orange);
    border-color: var(--vulcan-orange);
    transition: all 0.3s ease;
}

/* Dark hero variant used on About */
.hero-dark {
    background: linear-gradient(135deg, var(--vulcan-dark) 0%, #2C2C2C 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-dark .container {
    position: relative;
    z-index: 2;
}

.btn-primary:hover {
    background-color: #A04400;
    border-color: #A04400;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Standout Dental CTA (Green) */
.btn-dental {
    background: linear-gradient(135deg, var(--vulcan-green) 0%, #1E7E34 100%);
    color: #fff;
    border: none;
    box-shadow: 0 10px 28px rgba(47, 158, 68, 0.45);
    letter-spacing: .2px;
    font-weight: 700;
}

.btn-dental:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(47, 158, 68, 0.55);
}

/* Feature Icons */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .min-vh-75 {
        min-height: 60vh;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }

    .hero-content {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .hero-compact .hero-content {
        padding-bottom: 3rem;
    }
}

/* Animation Classes */

/* Blogs listing enhancements */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, rgba(0,0,0,0), var(--vulcan-orange), rgba(0,0,0,0));
    border-radius: 999px;
    opacity: 0.85;
}
.blog-toolbar .blog-chip.active {
    background-color: var(--vulcan-orange);
    border-color: var(--vulcan-orange);
    color: #fff;
}

.container .card {
    border-radius: 12px;
}

.container .card:hover .card-title {
    text-decoration: underline;
}

.container .card .btn-link {
    font-weight: 600;
}

/* Blog thumbnails */
.blog-thumb {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

@media (max-width: 768px) {
    .blog-thumb { height: 140px; }
}

@media (max-width: 480px) {
    .blog-thumb { height: 110px; }
}
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

::-webkit-scrollbar-track {
    background: var(--vulcan-light);
}

::-webkit-scrollbar-thumb {
    background: var(--vulcan-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A04400;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Design parity with AI site */
.text-primary { color: var(--vulcan-orange) !important; }

/* Hero lower wedge shape */
.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--vulcan-light);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Cards used on About */
.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.avatar-circle {
    inline-size: 48px;
    block-size: 48px;
    border-radius: 999px;
    background: #0f0f10;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: .5px;
}

/* Light pattern background */
.pattern-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/grid-pattern.svg') repeat;
    opacity: .12;
    pointer-events: none;
}

.story-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.story-glow {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vulcan-orange), #FF7A1A);
    opacity: .9;
}

.pull-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: #111;
    border-left: 4px solid var(--vulcan-orange);
    padding-left: 12px;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    color: #333;
    font-size: .9rem;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    color: #333;
    font-size: .9rem;
}

.story-lede::first-letter {
    float: left;
    font-size: 2.6rem;
    line-height: 1;
    padding-right: 8px;
    font-weight: 700;
    color: var(--vulcan-orange);
}
