/* ============================================
   W Marketing Group - Custom Styles
   ============================================ */

/* ============================================
   CSS Variables (Brand Colors)
   ============================================ */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --accent-color: #3b82f6;
    --dark-navy: #0f172a;
    --dark-charcoal: #1e293b;
    --light-bg: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --text-dark: #0f172a;
    --border-color: #e2e8f0;
    --nav-height: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

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

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

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 50px;
    font-weight: 400;
    line-height: 1.6;
}

/* ============================================
   Navigation - Centered Logo with Bump-Out
   ============================================ */
.navbar {
    background: var(--dark-navy);
    padding: 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    overflow: visible;
    height: 100px;
}

.navbar .container-fluid {
    max-width: 100%;
    padding: 0;
    overflow: visible;
    height: 100%;
}

.navbar-collapse {
    width: 100%;
    overflow: visible;
    height: 100%;
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: visible;
    height: 100%;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.nav-item:not(.logo-container) {
    padding: 0 45px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.05em;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    padding: 0 0 4px 0 !important;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    border-bottom-color: var(--primary-color);
}

/* ============================================
   Logo Container with Bump-Out
   ============================================ */
.logo-container {
    position: relative;
    padding: 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    z-index: 100;
    height: 100%;
}

.logo-container::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 60px;
    background: var(--dark-navy);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 130px;
    border-bottom-right-radius: 130px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    pointer-events: none;
}

.logo-wrapper {
    background: transparent;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

.navbar-brand .logo {
    height: 150px;
    width: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    top: 25px;
}

/* ============================================
   SCROLLED STATE
   ============================================ */
.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: 70px;
}

.navbar.scrolled .logo-container::after {
    height: 0;
    bottom: 0;
    width: 180px;
    opacity: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-width: 0;
}

.navbar.scrolled .navbar-brand .logo {
    height: 50px;
    top: 0;
}

/* Mobile Toggle */
.navbar-toggler {
    border: none;
    padding: 10px;
    margin: 15px;
    position: relative;
    z-index: 1001;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
    background: var(--light-gray);
    background-image: url("../images/Buffalo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Shorter hero for contact page */
.hero-section.hero-short {
    min-height: 60vh;
    padding-top: 140px;
    padding-bottom: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
}

/* Hero with light overlay (for pages that need lighter backgrounds) */
.hero-section.hero-light .hero-gradient {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.65) 0%, rgba(226, 232, 240, 0.65) 100%);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

/* Hero with dark background - white text */
.hero-section.hero-dark .hero-title,
.hero-section.hero-dark .hero-subtitle {
    color: white;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 15px;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* ============================================
   Services Intro Section
   ============================================ */
.services-intro-section {
    background: white;
}

.service-card {
    padding: 40px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* ============================================
   Services Detail Section (for Services Overview page)
   ============================================ */
.services-detail-section {
    background: white;
    padding: 100px 0;
}

.services-detail-section .lead {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px 0;
}

.service-features li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-visual .placeholder-box {
    background: var(--light-gray);
    border: 2px dashed var(--border-color);
    padding: 100px 40px;
    border-radius: 8px;
    text-align: center;
    color: var(--medium-gray);
}

/* ============================================
   Strategic Consulting Section
   ============================================ */
.consulting-section {
    background: white;
}

.consulting-content {
    padding: 40px;
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.consulting-section .lead {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.consulting-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.consulting-features li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
}

.consulting-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.consulting-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   About Page Sections
   ============================================ */
.about-story-section {
    background: white;
    padding: 100px 0;
}

.about-story-section .lead {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

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

.stat-item {
    background: var(--light-gray);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.stat-item .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 13px;
    color: var(--medium-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-philosophy-section {
    background: var(--light-gray);
    padding: 100px 0;
}

.philosophy-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.philosophy-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.philosophy-card p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.7;
}

.about-expect-section {
    background: white;
    padding: 100px 0;
}

.about-expect-section .lead {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 40px;
}

.process-list {
    margin-top: 40px;
}

.process-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.process-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.process-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    opacity: 0.3;
    min-width: 80px;
}

.process-content h4 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.process-content p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.7;
}

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-number {
        font-size: 36px;
        min-width: auto;
    }
}

/* ============================================
   Cannabis Callout Section
   ============================================ */
.cannabis-callout-section {
    background: var(--dark-navy);
    color: white;
}

.cannabis-callout-section .section-title,
.cannabis-callout-section h2 {
    color: white;
}

.cannabis-callout-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.placeholder-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    padding: 100px 40px;
    border-radius: 8px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Case Studies Section
   ============================================ */
.case-studies-section {
    background: white;
}

.project-card {
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--border-color);
}

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

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

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.project-info p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 15px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--light-gray);
}

/* Mini CTA - natural break between sections */
.cta-section-mini {
    padding: 60px 0;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section-mini .section-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.cta-section-mini .section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
}

/* ============================================
   Logo Background Elements
   ============================================ */
.logo-bg {
    position: absolute;
    width: 800px;
    height: 800px;
    background-image: url("images/logo-graphic.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

/* Size Variations */
.logo-bg-small {
    width: 500px;
    height: 500px;
}

.logo-bg-medium {
    width: 700px;
    height: 700px;
}

.logo-bg-large {
    width: 900px;
    height: 900px;
}

.logo-bg-xlarge {
    width: 1200px;
    height: 1200px;
}

/* Position Variations */
.logo-bg-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-bg-top-left {
    top: -100px;
    left: -100px;
}

.logo-bg-top-center {
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-bg-top-right {
    top: -100px;
    right: -100px;
}

.logo-bg-center-left {
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
}

.logo-bg-center-right {
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
}

.logo-bg-bottom-left {
    bottom: -100px;
    left: -100px;
}

.logo-bg-bottom-center {
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-bg-bottom-right {
    bottom: -100px;
    right: -100px;
}

/* Opacity Variations */
.logo-bg-light {
    opacity: 0.03;
}

.logo-bg-lighter {
    opacity: 0.02;
}

.logo-bg-dark {
    opacity: 0.06;
}

/* Rotation Variations */
.logo-bg-rotate-15 {
    transform: rotate(15deg);
}

.logo-bg-rotate-30 {
    transform: rotate(30deg);
}

.logo-bg-rotate-45 {
    transform: rotate(45deg);
}

.logo-bg-rotate-neg-15 {
    transform: rotate(-15deg);
}

.logo-bg-rotate-neg-30 {
    transform: rotate(-30deg);
}

/* Combined transform classes (position + rotate) */
.logo-bg-top-left.logo-bg-rotate-15 {
    transform: rotate(15deg);
}

.logo-bg-top-right.logo-bg-rotate-neg-15 {
    transform: rotate(-15deg);
}

.logo-bg-center.logo-bg-rotate-30 {
    transform: translate(-50%, -50%) rotate(30deg);
}

.logo-bg-bottom-right.logo-bg-rotate-45 {
    transform: rotate(45deg);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    background: white;
    padding: 100px 0;
}

/* Honeypot field - hidden from users, visible to bots */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-info-box {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-info-box h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-info-box > p {
    color: var(--medium-gray);
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 24px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--medium-gray);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-value a {
    color: var(--primary-color);
    font-weight: 500;
}

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

/* ============================================
   Service Detail Pages
   ============================================ */
.service-overview-section {
    background: white;
    padding: 100px 0;
}

.service-overview-section .lead {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.service-offerings-section {
    background: var(--light-gray);
    padding: 100px 0;
}

.offering-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.offering-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.offering-card p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.7;
}

.service-impact-section {
    background: white;
    padding: 100px 0;
}

.service-impact-section .lead {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 40px;
}

.impact-list {
    margin-top: 40px;
}

.impact-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.impact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.impact-item h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.impact-item p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

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

.footer a:hover {
    text-decoration: underline;
}

.footer .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ============================================
   Modal Styles
   ============================================ */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 32px;
}

.modal-title {
    font-size: 28px;
    font-weight: 600;
}

.modal-body {
    padding: 32px;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.9s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.15s;
}

.fade-in-up.delay-2 {
    animation-delay: 0.3s;
}

.fade-in-up.delay-3 {
    animation-delay: 0.45s;
}

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

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.33, 1, 0.68, 1);
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-up.delay-1 {
    transition-delay: 0.1s;
}

.reveal-up.delay-2 {
    transition-delay: 0.2s;
}

.reveal-up.delay-3 {
    transition-delay: 0.3s;
}

.reveal-up.delay-4 {
    transition-delay: 0.4s;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
    .navbar {
        height: auto;
    }
    
    .navbar-nav {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        height: auto;
    }
    
    .nav-item {
        width: 100%;
        padding: 15px 20px !important;
        border-bottom: 1px solid var(--border-color);
        height: auto;
    }
    
    .logo-container {
        order: -1;
        margin: 0;
        padding: 20px !important;
        border-bottom: 2px solid var(--primary-color);
    }
    
    .logo-container::after {
        display: none;
    }
    
    .navbar-brand .logo {
        height: 50px;
        top: 0;
    }
    
    .nav-link {
        border-bottom: none !important;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .navbar-brand .logo {
        height: 45px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }
}
