:root {
    --panacea-blue: #3B82F6;
    --panacea-dark: #1F2937;
}

/* Navigation Styles */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--panacea-blue);
    transition: width 0.3s ease-in-out;
}

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

.logo-text {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.pulse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    animation: pulse 4s infinite;
}

/* Services Dropdown */
.services-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.services-button:hover + .services-dropdown,
.services-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.6; }
}

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

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

/* Animation Classes */
.animate-fadeInUp {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.animate-fadeIn {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.slogan {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    letter-spacing: 0.5px;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-600 {
    animation-delay: 0.6s;
}

/* Buttons */
.btn-primary {
    background-color: var(--panacea-blue);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563EB;
    transform: translateY(-1px);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .motto {
        font-size: 2.5rem;
    }
}

/* Enhanced Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--panacea-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 70%;
    background: linear-gradient(to right, var(--panacea-blue), transparent);
    bottom: -10px;
    left: 0;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4B5563;
    max-width: 700px;
    margin: 1.5rem auto 3rem auto;
}

/* Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, var(--panacea-blue), #2563EB);
}

/* Section Dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
    margin: 2rem 0;
}

/* Solution Bundles Gallery Styles */
.solution-bundles-gallery {
    position: relative;
}

/* For backward compatibility */
.hardware-gallery {
    position: relative;
}

.add-to-cart {
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    transform: scale(1.05);
}

.cart-count {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Checkout Modal Styles */
.modal-content {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-qty-btn:hover {
    background-color: #e2e8f0;
}

.checkout-btn, .close-modal {
    transition: all 0.2s ease;
}
