/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Styles */
.navbar {
    background-color: #000000;
    box-shadow: 0 2px 10px rgba(220, 20, 60, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 2rem;
    border-bottom: 1px solid rgba(220, 20, 60, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Common transitions */
@media (prefers-reduced-motion: no-preference) {
    .logo,
    .nav-link,
    .dropdown-content,
    .path-option:not(.active),  /* Only animate non-active options */
    .back-button,
    .primary-btn,
    .secondary-btn {
        transition: all 0.2s ease;  /* Reduced duration */
    }
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #dc143c;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    margin: -0.5rem 0;
}

.logo-img {
    height: auto;
    width: 100%;
    max-width: 300px;
    max-height: 80px;
}

.logo:hover {
    opacity: 0.9;
}

/* Responsive logo sizing */
@media (max-width: 1024px) {
    .logo-img {
        max-width: 200px;
        max-height: 50px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-width: 150px;
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 120px;
        max-height: 35px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: block;
}

.nav-link:hover {
    background-color: #dc143c;
    color: white;
    transform: translateY(-2px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown .nav-link {
    white-space: nowrap;
}

.dropdown .nav-link::after {
    content: '▾';
    display: inline-block;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
    font-size: 0.9em;
    position: relative;
    top: -1px;
}

.dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    z-index: 1001;
    padding: 1rem 0.5rem;
    text-align: center;
    border: 1px solid rgba(220, 20, 60, 0.3);
}

/* Desktop hover state - only apply on screens large enough for hovering */
@media (hover: hover) and (pointer: fine) {
    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Show dropdown when open class is added (for touch/click) */
.dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
}

.dropdown-content a:hover {
    background-color: rgba(220, 20, 60, 0.1);
    color: #dc143c;
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    padding: 5px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 3px 0;
    transition: all 0.3s ease;
    background-color: #ffffff;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: #dc143c;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.cta-button:hover {
    background-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.8), 0 0 40px rgba(220, 20, 60, 0.6);
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;

}

/* Help Path Styles */
.help-path {
    background-color: #000000;
    outline: #dc143c solid 2px;
    border-radius: 30px;
    padding: 2rem 5%;
    margin: 0 -2rem 4rem -2rem;
    width: calc(100% + 4rem);
    box-shadow: 0 5px 25px rgba(220, 20, 60, 0.2);
}

.help-path-header {
    text-align: center;
    margin-bottom: 2rem;
}

.help-path-header h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.help-path-header p {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Globe Section Styles */
.globe-section {
    background-color: #000000;
    outline: #dc143c solid 2px;
    border-radius: 30px;
    padding: 2rem 5%;
    margin: 0 -2rem 4rem -2rem;
    width: calc(100% + 4rem);
    box-shadow: 0 5px 25px rgba(220, 20, 60, 0.2);
}

.globe-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 800px;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-container {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#globe-canvas {
    width: 800px;
    height: 800px;
    cursor: grab;
    transition: opacity 0.3s ease;
}

#globe-canvas:active {
    cursor: grabbing;
}

.drag-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    pointer-events: none;
    animation: fadeInOut 3s ease-in-out infinite;
    z-index: 20;
}

.drag-hint.hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Timeline Container - holds all cards */
.timeline-container {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 400px 400px;
    transform-style: preserve-3d;
    z-index: 15;
    pointer-events: none;
}

/* Individual Cards - orbit around center */
.timeline-item {
    position: absolute;
    width: 280px;
    height: 280px;
    top: 400px;
    left: 400px;
    margin-left: -140px;
    margin-top: -140px;
    transform: rotateY(var(--item-angle, 0deg))
               translateZ(360px);
    transform-style: preserve-3d;
    pointer-events: auto;
    
    /* Card styling */
    background: linear-gradient(135deg, rgba(139, 26, 26, 0.9) 0%, rgba(220, 20, 60, 0.9) 100%);
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-radius: 24px;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(220, 20, 60, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(10px);
}

.timeline-item:hover {
    background: linear-gradient(135deg, rgba(139, 26, 26, 1) 0%, rgba(220, 20, 60, 1) 100%);
    box-shadow: 0 12px 48px rgba(220, 20, 60, 0.6);
    border: 1px solid rgba(220, 20, 60, 0.8);
    transform: rotateY(var(--item-angle, 0deg))
               translateZ(400px)
               scale(1.05);
}

.timeline-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.timeline-item p {
    font-size: 13px;
    opacity: 0.95;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: 'Learn More →';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: subtlePulse 2s ease-in-out infinite;
    z-index: 2;
}

/* Individual card background images */
.card-business-continuity::before,
.card-vcio::before,
.card-vendor::before,
.card-monitoring::before,
.card-security::before,
.card-breakfix::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    border-radius: 24px;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.card-business-continuity::before {
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=2000&q=80');
}

.card-vcio::before {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=2000&q=80');
}

.card-vendor::before {
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=2000&q=80');
}

.card-monitoring::before {
    background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80');
}

.card-security::before {
    background-image: url('https://images.unsplash.com/photo-1555949963-aa79dcee981c?auto=format&fit=crop&w=2000&q=80');
}

.card-breakfix::before {
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=2000&q=80');
}

.timeline-item:hover::before {
    opacity: 0.3;
}

.timeline-item h3,
.timeline-item p {
    position: relative;
    z-index: 1;
}

@keyframes subtlePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.timeline-item:hover::after {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateX(-50%) scale(1.05);
    animation: none;
}

/* Break/Fix Section */
.breakfix {
    background: #000000;
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 35px rgba(220, 20, 60, 0.2);
    margin-bottom: 4rem;
}

.breakfix-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.breakfix-text p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.breakfix-highlight {
    border-left: 4px solid #dc143c;
    padding-left: 1rem;
    margin: 1.5rem 0;
}

.breakfix-highlight h3 {
    margin-bottom: 0.4rem;
    color: #ffffff;
}

/* Dedicated Break/Fix page */
.breakfix-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=2000&q=80') center/cover;
    height: 55vh;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.business-continuity-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=2000&q=80') center/cover;
    height: 55vh;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.vcio-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=2000&q=80') center/cover;
    height: 55vh;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.vendor-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=2000&q=80') center/cover;
    height: 55vh;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.monitoring-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80') center/cover;
    height: 55vh;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.security-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1555949963-aa79dcee981c?auto=format&fit=crop&w=2000&q=80') center/cover;
    height: 55vh;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.breakfix-detail {
    background: #000000;
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.2);
    margin-bottom: 2rem;
}

.breakfix-detail-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.breakfix-detail-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.breakfix-detail-header p {
    color: #cccccc;
}

.breakfix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

.breakfix-card {
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    background: #000000;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.2);
}

.breakfix-card h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.breakfix-card p {
    color: #cccccc;
    line-height: 1.5;
}

.breakfix-steps {
    margin-left: 1.25rem;
    color: #ffffff;
    line-height: 1.6;
}

.breakfix-steps li {
    margin-bottom: 0.75rem;
}

/* Contact page */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2000&q=80') center/cover;
    height: 55vh;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.contact-section {
    padding: 0;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #000000;
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.2);
}

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

.contact-info h2 {
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.contact-label {
    font-weight: 600;
    margin-right: 0.35rem;
}

.contact-form-wrap h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-row label {
    font-weight: 600;
    color: #ffffff;
}

.form-row input,
.form-row select,
.form-row textarea {
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    background-color: #000000;
    color: #ffffff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #dc143c;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.12);
}

.contact-form button {
    justify-self: flex-start;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
}

.path-container {
    position: relative;
    min-height: 400px;
}

.path-step {
    display: none;
    animation: fadeInSlide 0.5s ease;
}

.path-step.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.path-step h3 {
    text-align: center;
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    width: 100%;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

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

.path-option {
    background: #000000;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(220, 20, 60, 0.3);
    box-shadow: 0 3px 15px rgba(220, 20, 60, 0.2);
}

.path-option:hover {
    transform: translateY(-5px);
    border-color: #dc143c;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.path-option h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.path-option p {
    color: #cccccc;
    font-size: 0.95rem;
}

.back-button,
.start-over-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: auto;
    min-width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.back-button:hover {
    background: #000000;
    transform: translateX(-3px);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.8), 0 0 40px rgba(220, 20, 60, 0.6);
}

.start-over-button {
    background: #dc143c;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    max-width: 300px;
}

.start-over-button:hover {
    background: #000000;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.8), 0 0 40px rgba(220, 20, 60, 0.6);
}

.recommendation-container {
    display: flex;
    justify-content: center;
}

.recommendation-card {
    background: #000000;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
    border: 2px solid #dc143c;
}

.recommendation-card h4 {
    color: #dc143c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.recommendation-card p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn {
    background: #dc143c;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.primary-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.8), 0 0 40px rgba(220, 20, 60, 0.6);
}

.secondary-btn {
    background: transparent;
    color: #dc143c;
    border: 2px solid #dc143c;
}

.secondary-btn:hover {
    background: #000000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.8), 0 0 40px rgba(220, 20, 60, 0.6);
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

/* About Section */
.about {
    background-color: #000000;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 2px solid rgba(220, 20, 60, 0.3);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2rem;
}

.about-emphasis {
    font-weight: 600;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.about-cta {
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.about .primary-btn {
    margin-top: 1.5rem;
    display: inline-block;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #000000;
    border: 2px solid #dc143c;
    border-radius: 15px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.5);
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #cccccc;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

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

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: #dc143c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
    font-weight: bold;
}

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.modal-content .primary-btn {
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Footer Styles */
.footer {
    background-color: #0d0d0d;
    color: white;
    text-align: center;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    margin-bottom: 0;
    border-top: 4px solid #dc143c;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section h3 {
    color: #dc143c;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
    display: block;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-section a:hover {
    color: #dc143c;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .logo {
        z-index: 1002;
    }

    .hamburger {
        display: flex !important;
        cursor: pointer;
        flex-direction: column;
        padding: 5px;
        z-index: 1002;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: none;
        padding: 0;
        gap: 0;
        z-index: 998;
        pointer-events: auto;
        background-color: transparent;
        max-height: none;
    }

    .nav-menu.active {
        top: 0;
        pointer-events: auto;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(220, 20, 60, 0.3);
        padding: 0;
        background-color: #000000;
        display: none;
    }

    .nav-menu.active .nav-item {
        display: block;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1rem !important;
        width: 100% !important;
        background-color: #000000;
        font-size: 1rem;
    }

    .nav-link:hover {
        background-color: rgba(220, 20, 60, 0.1);
        color: #dc143c;
        transform: none;
    }

    .dropdown .nav-link {
        position: relative;
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 1rem !important; /* symmetric padding */
        text-align: center;
    }

    .dropdown .nav-link::after {
        content: '▾';
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        margin: 0;
    }

    .dropdown.open .nav-link::after {
        transform: rotate(180deg);
    }

    .dropdown-content {
        display: none;
        position: static;
        background-color: #000000;
        box-shadow: inset 0 2px 4px rgba(220, 20, 60, 0.2);
        border: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

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

    .dropdown-content a {
        display: block;
        padding: 0.75rem 1.5rem;
        padding-left: 1rem;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid rgba(220, 20, 60, 0.2);
        background: none;
        opacity: 1;
        visibility: visible;
        font-size: 0.95rem;
        text-align: left;
    }

    .dropdown-content a:hover {
        background-color: rgba(220, 20, 60, 0.1);
        color: #dc143c !important;
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .navbar {
        padding: 0 1rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .help-path {
        padding: 1.5rem 0;
        margin: 0 -1rem 3rem -1rem;
        width: calc(100% + 2rem);
        border-radius: 0;
    }

    .globe-section {
        padding: 1.5rem 0;
        margin: 0 -1rem 3rem -1rem;
        width: calc(100% + 2rem);
        border-radius: 0;
    }

    /* Mobile: Hide globe, show simple grid */
    .globe-wrapper {
        height: auto;
        max-width: 100%;
        position: relative;
        padding: 0 15px;
        overflow: visible;
    }

    .globe-container {
        display: none !important;
    }

    .drag-hint {
        display: none !important;
    }

    .timeline-container {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        transform-style: flat !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 20px 0;
        perspective: none !important;
    }

    .timeline-item {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 160px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        transform: none !important;
        padding: 20px 18px;
        opacity: 1 !important;
        display: block !important;
        pointer-events: auto !important;
        filter: none !important;
        transform-style: flat !important;
    }

    .timeline-item:hover {
        transform: translateY(-5px) !important;
    }

    .timeline-item h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .timeline-item p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 45px;
    }

    .timeline-item::after {
        bottom: 15px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Hide carousel navigation */
    .carousel-nav {
        display: none !important;
    }

    .help-path-header h2 {
        font-size: 1.8rem;
    }

    .path-step h3 {
        font-size: 1.5rem;
    }
    
    .option-grid {
        width: 100%;
        padding: 0 1rem;
    }

    .back-button,
    .start-over-button {
        width: 100%;
        max-width: none;
        border-radius: 0;
        margin: 1rem auto;
    }

    .option-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .path-option {
        padding: 1.5rem;
        font-size: 1rem;
        margin: 0;
        min-height: 70px;
        box-shadow: 0 3px 12px rgba(220, 20, 60, 0.08);
        width: 100%;
    }

    .option-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .path-option h4 {
        font-size: 1.05rem;
        margin-bottom: 0.3rem;
    }

    .path-option p {
        font-size: 0.95rem;
    }

    .recommendation-card {
        padding: 2rem 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 250px;
    }

    .about {
        padding: 3rem 1rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .about p {
        font-size: 1rem;
    }
    
    .about-intro {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .about h2 {
        font-size: 1.75rem;
    }
    
    .about p,
    .about-intro {
        font-size: 0.95rem;
    }
    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        height: 60vh;
    }

    .service-card {
        padding: 1.5rem;
    }
}