/* === IVS HEADER & MOBILE MENU (from components/header.html) === */
:root {
    --header-height: 64px;
    --desktop-header-height: 72px;
    --primary-gold: #D4AF37;
    --primary-gold-dark: #B8941F;
    --primary-gold-light: #E8C956;
    --primary-navy: #2C4563;
    --primary-navy-dark: #1A2A3A;
    --primary-navy-light: #4A6B8A;
    --accent-purple: #7B2CBF;
    --accent-purple-dark: #5A1F8F;
    --accent-purple-light: #9D4ED6;
    --ivs-bg-dark: #2C4563;
    --ivs-bg-medium: #3D5A7F;
    --ivs-bg-light: #F3E8FF;
    --ivs-text-primary: #ffffff;
    --ivs-text-secondary: #E0E0E0;
    --ivs-text-body: #333333;
    --ivs-text-light: #666666;
    --ivs-white: #ffffff;
    --ivs-gray-100: #f8f8f8;
    --ivs-gray-200: #e8e8e8;
    --ivs-gray-300: #d1d5db;
    --ivs-gray-400: #9ca3af;
    --ivs-gray-500: #6b7280;
    --ivs-gray-600: #4b5563;
    --ivs-gray-700: #374151;
    --ivs-gray-800: #1f2937;
    --ivs-gray-900: #111827;
    --ivs-accent: #D4AF37;
    --ivs-accent-dark: #B8941F;
    --ivs-accent-light: #E8C956;
    --ivs-accent-gradient: linear-gradient(135deg, #2C4563 0%, #D4AF37 100%);
    --ivs-link-active-bg: rgba(212, 175, 55, 0.15);
    --ivs-hover-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ivs-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --ivs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ivs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --ivs-shadow-accent: 0 4px 15px rgba(212, 175, 55, 0.3);
    --ivs-glass-bg: rgba(31, 41, 55, 0.8);
    --ivs-glass-border: rgba(255, 255, 255, 0.1);
    --ivs-glass-blur: blur(12px);
    --transition-ease: all 0.3s ease;
    --transition-cubic: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --light-lavender: #F3E8FF;
}
/* ...rest of header styles from the provided header.html <style> block... */
/* (For brevity, all header/mobile menu CSS from the attachment should be appended here) */
html {
    overflow-x: hidden;
    height: 100%;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-weight: 400;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--light-lavender);
    color: #0f172a;
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

main {
    padding-top: 5rem;
    /* padding-bottom will be handled by body on mobile for the fixed bottom-nav */
}

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

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
a:hover, a:focus {
    color: var(--primary-gold-dark);
    text-decoration: underline;
}

.text-shadow-strong {
    text-shadow: 0px 2px 5px rgba(0,0,0,0.5);
}
.text-shadow {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2.25rem;
    border-radius: 0.9rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #F5D58C, #D4AF37);
    box-shadow: 0 18px 35px rgba(212, 175, 55, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 45px rgba(212, 175, 55, 0.65);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2.25rem;
    border-radius: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #7B2CBF, #46106D);
    border: 2px solid #D4AF37;
    box-shadow: 0 14px 30px rgba(123, 44, 191, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    text-decoration: none;
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(123, 44, 191, 0.6);
    background: linear-gradient(135deg, #9D4ED6, #5A1F8F);
}

.nav-header {
    /* fully opaque navy for maximum clarity */
    background-color: var(--primary-navy);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
    border-bottom: 2px solid var(--primary-gold);
    transition: var(--transition-cubic);
    height: 5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}


.nav-header.shrink {
    height: 4rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.nav-header.shrink .logo {
    height: 3rem;
    width: 3rem;
}

.mega-menu-container {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    background-color: #1e293b;
    padding: 1rem;
    border-radius: 0.375rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 50;
    min-width: 600px;
    animation: fadeInDropdown 0.2s ease-out forwards;
}

.mega-menu-container:hover .mega-menu,
.mega-menu-container.open .mega-menu {
    display: block;
}

.mega-menu h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.mega-menu ul {
    list-style: none;
    padding: 0;
}

.mega-menu a {
    display: block;
    padding: 0.25rem 0;
    color: #cbd5e1;
    transition: color 0.2s ease-in-out;
}

.mega-menu a:hover {
    color: #7dd3fc;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-10px) translateX(-50%); }
    to { opacity: 1; transform: translateY(0) translateX(-50%); }
}

#mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%; /* Panel takes full height */
    transform: translateX(-100%); /* Initial hidden state */
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
    pointer-events: none; /* Disable interaction when hidden */
    z-index: 51; /* Ensure it's above the header */
    /* width: 80%; Removed to allow Tailwind w-full to take effect */
}

#mobile-menu-panel.open {
    transform: translateX(0); /* Visible state */
    visibility: visible;
    opacity: 1;
    pointer-events: auto; /* Enable interaction when open */
}

/* The <nav> inside #mobile-menu-panel will handle scrolling */
/* #mobile-menu-panel nav {
    padding-top: 5rem; /* Space for the header */
/* padding-bottom: 5rem; /* Space for the bottom nav and some buffer */
/* height: 100%;
    overflow-y: auto;
}
*/

.mobile-submenu-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease-in-out;
}

.hero-section-main {
    background-size: cover;
    background-position: center;
    will-change: transform;
    position: relative;
}

.hero-section-main.design-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.8), rgba(15, 23, 42, 0.7));
    z-index: 1;
}
.hero-section-main .hero-content {
    position: relative;
    z-index: 2;
}

.hero-bg {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/logo/khadock.jpg');
}
.banner-bg {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/logo/khadock.jpg');
}
.design-banner-bg {
    background-image: linear-gradient(rgba(12,74,110,0.7), rgba(14,116,144,0.8)), url('../images/designs/khadockdesign.png');
}
.about-banner-bg {
     background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/logo/logo.jpg');
     background-size: cover;
     background-position: center;
}
.contact-banner-bg {
     background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/pages/khadockbanner.jpeg');
     background-size: cover;
     background-position: center 30%;
}
.projects-banner-bg {
     background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/albums/dock15.jpg');
     background-size: cover;
     background-position: center;
}

@supports (-webkit-overflow-scrolling: touch) {
    .hero-bg, .banner-bg, .design-banner-bg, .about-banner-bg, .contact-banner-bg, .projects-banner-bg, .services-banner-bg, .hero-section-main {
        background-attachment: scroll !important;
    }
}

.service-card:hover, .design-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.service-card.design-page-card {
    transition: var(--transition-ease);
    transform-origin: center;
}
.service-card.design-page-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Enhanced Button Styles */
.btn-primary {
    background-color: var(--primary-gold);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-ease);
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    z-index: -1;
    transition: var(--transition-ease);
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
    color: white;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--primary-navy);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-ease);
    border: 2px solid var(--primary-gold);
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}


.btn-secondary:hover {
    background: var(--primary-navy-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}

.btn-accent {
    background-color: var(--primary-gold);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-ease);
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.25);
}

.btn-accent:hover {
    background-color: var(--primary-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
    color: white;
}

.album-image-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 0.75rem;
    position: relative;
}
.album-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.album-image-wrapper.design-album-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(14, 165, 233, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.album-image-wrapper:hover::after {
    opacity: 1;
}
.album-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.album-image-wrapper:hover .album-image {
    transform: scale(1.1);
}
.design-page-album .album-image {
    height: 300px;
}

.filter-button {
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
}
.filter-button:hover {
    background-color: var(--primary-gold-light);
    border-color: var(--primary-gold-dark);
}
.filter-button.active {
    background-color: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
    box-shadow: 0 4px 12px -1px rgba(212, 175, 55, 0.3), 0 2px 8px -1px rgba(212, 175, 55, 0.2);
}
.project-card {
    transition: var(--transition-ease);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background: white;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Enhanced Card Styles */
.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition-ease);
    overflow: hidden;
    position: relative;
}

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

.card-content {
    padding: 1.5rem;
}

.feature-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition-ease);
    border: 1px solid var(--ivs-gray-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-gold);
}

.service-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition-ease);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-ease);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.project-card .project-image-container {
    height: 260px;
    overflow: hidden;
    background-color: #e2e8f0;
    border-radius: 0.375rem 0.375rem 0 0;
}
.project-card img {
    transition: transform 0.4s ease, filter 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 170px;
    padding: 1rem;
}
.project-tag {
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 0.7rem;
}

.album-scroll-container {
    padding-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.horizontal-scroll-album {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
}
.album-image-item {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 280px;
    height: 180px;
    background-color: #ffffff;
}
.album-image-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.album-image-horizontal {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}
.album-scroll-container::-webkit-scrollbar, .scrollbar-thin::-webkit-scrollbar {
    height: 8px;
}
.album-scroll-container::-webkit-scrollbar-track, .scrollbar-thin::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}
.album-scroll-container::-webkit-scrollbar-thumb, .scrollbar-thin::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}
.album-scroll-container::-webkit-scrollbar-thumb:hover, .scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.profile-image-container {
    width: 220px;
    height: 220px;
    overflow: hidden;
}
.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
@media (min-width: 768px) {
    .profile-image-container {
        width: 280px;
        height: 280px;
    }
}
.value-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.06);
}
.value-card:hover .value-icon {
    transform: scale(1.1) rotate(-5deg);
    color: #0ea5e9;
}
.value-icon {
    transition: transform 0.3s ease-out, color 0.3s ease-out;
}
.feature-item:hover .feature-icon-bg {
     background-color: #0ea5e9;
     color: white;
}
.feature-icon-bg {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-icon-circle {
    transition: background-color 0.3s ease, color 0.3s ease;
}
.contact-info-item a:hover .contact-icon-circle,
.contact-info-item a:focus .contact-icon-circle {
    background-color: #0ea5e9;
    color: white;
}
.social-icon-link i {
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-icon-link:hover i {
    transform: scale(1.15) translateY(-2px);
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.design-hero-section-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.8), rgba(15, 23, 42, 0.7));
    z-index: 1;
}
.design-hero-content {
    position: relative;
    z-index: 2;
}
.design-service-card {
    transition: all 0.4s ease;
    transform-origin: center;
}
.design-service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.design-album-image-wrapper {
    transition: all 0.4s ease;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}
.design-album-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.design-album-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(14, 165, 233, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.design-album-image-wrapper:hover::after {
    opacity: 1;
}
.design-album-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.design-album-image-wrapper:hover .design-album-image {
    transform: scale(1.1);
}
.design-feature-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s ease;
}
.design-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
}
.stats-counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
}
.highlight-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-left: 4px solid var(--primary-gold);
}

.ai-design-section {
    position: relative;
    isolation: isolate;
}
.ai-design-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../images/ai-pattern.png') center center / cover;
    opacity: 0.05;
    z-index: -1;
}
.ai-design-section.design-page-ai::before {
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 70%);
}

.ai-design-section .container {
    position: relative;
    z-index: 1;
}
.ai-design-section textarea {
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.ai-design-section textarea:focus {
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
    border-color: #0EA5E9;
}
.ai-design-section button {
    transition: all 0.3s ease;
}
.ai-design-section button:hover:not(:disabled) {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}
.ai-design-section button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

#ai-output, #ai-maintenance-output, #ai-accessories-output {
    background: linear-gradient(to bottom, #f8fafc, #eef2f5);
    transition: opacity 0.3s ease;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
}

#ai-output .prose h3, #ai-output .prose h4,
#ai-maintenance-output .prose h3, #ai-maintenance-output .prose h4,
#ai-accessories-output .prose h3, #ai-accessories-output .prose h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0369A1;
    margin-top: 0.75rem;
    margin-bottom: 0.375rem;
}
#ai-output .prose strong,
#ai-maintenance-output .prose strong,
#ai-accessories-output .prose strong {
    color: #0f172a;
}
#ai-output .prose ul,
#ai-maintenance-output .prose ul,
#ai-accessories-output .prose ul {
    list-style-type: disc;
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}
#ai-output .prose li,
#ai-maintenance-output .prose li,
#ai-accessories-output .prose li {
    margin-bottom: 0.25rem;
    line-height: 1.65;
}
#ai-output .prose p,
#ai-maintenance-output .prose p,
#ai-accessories-output .prose p {
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

#gemini-extra-features button {
    font-size: 0.875rem;
}
#gemini-extra-features button i {
    font-size: 0.875rem;
}

#ai-maintenance-loading, #ai-accessories-loading {
    font-size: 0.9rem;
    font-weight: 500;
}
#ai-maintenance-loading i, #ai-accessories-loading i {
    font-size: 1rem;
}

.form-success, .form-error {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    border-width: 1px;
    border-style: solid;
}
.form-success {
    color: #059669;
    background-color: #d1fae5;
    border-color: #6ee7b7;
}
.form-error {
    color: #dc2626;
    background-color: #fee2e2;
    border-color: #fca5a5;
}

#scrollToTopBtn {
    position: fixed;
    /* bottom: 2rem; Default, will be overridden for mobile */
    right: 2rem;
    z-index: 50; /* Ensure it's above bottom-nav if they overlap without spacing */
    background-color: var(--primary-gold);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-property: opacity, visibility, transform, bottom; /* Added bottom to transition */
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}
#scrollToTopBtn:hover {
    background-color: var(--primary-gold-dark);
    transform: scale(1.1);
}

/* Spacing Utilities */
.mt-28 { margin-top: 7rem; }
.mt-32 { margin-top: 8rem; }
.mb-28 { margin-bottom: 7rem; }
.mb-32 { margin-bottom: 8rem; }
.pt-28 { padding-top: 7rem; }
.pt-32 { padding-top: 8rem; }
.pb-28 { padding-bottom: 7rem; }
.pb-32 { padding-bottom: 8rem; }

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-medium {
    padding: 4rem 0;
}

.section-large {
    padding: 6rem 0;
}

.section-xl {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-navy-dark);
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
    border-radius: 2px;
}

.section-title.with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 3rem;
    color: rgba(17, 24, 39, 0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle.light {
    color: rgba(74, 107, 138, 0.9);
}

.section-bg-dark {
    background-color: var(--ivs-gray-900);
    color: white;
}

.section-bg-accent {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
    color: white;
}

/* Content Spacing */
.content-block {
    margin-bottom: 4rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-header {
    margin-bottom: 2.5rem;
}

.content-body {
    margin-bottom: 2rem;
}

.content-footer {
    margin-top: 2.5rem;
}

/* Improved Grid Spacing */
.grid-spacing-tight {
    gap: 1rem;
}

.grid-spacing-normal {
    gap: 1.5rem;
}

.grid-spacing-loose {
    gap: 2rem;
}

.grid-spacing-extra-loose {
    gap: 3rem;
}

/* Card Spacing */
.card-spaced {
    margin-bottom: 2rem;
}

.card-spaced:last-child {
    margin-bottom: 0;
}

.card-content-spaced {
    padding: 2rem;
}

/* List Spacing */
.list-spaced {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.list-spaced li {
    padding: 0.75rem 0;
}

/* Text Spacing */
.text-spaced {
    line-height: 1.8;
}

.text-tight {
    line-height: 1.5;
}

.text-loose {
    line-height: 2;
}

/* Improved Visual Hierarchy */
.visual-hierarchy-1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

.visual-hierarchy-2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.visual-hierarchy-3 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

.visual-hierarchy-4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.visual-hierarchy-5 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

.visual-hierarchy-6 {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
}

.section-bg-light {
    /* soft lavender background for subtle color and contrast */
    background-color: var(--light-lavender);
}

.section-bg-dark {
    background-color: var(--ivs-gray-900);
    color: white;
}

.section-bg-accent {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
    color: white;
}

.section-padding {
    padding: 6rem 0;
}

/* Enhanced Footer Styles */
.footer-section {
    background: linear-gradient(120deg, var(--primary-navy-dark), #14233a 45%, var(--primary-navy));
    padding-top: 5rem;
    padding-bottom: 2rem;
    box-shadow: inset 0 30px 45px rgba(10, 15, 30, 0.7);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: floatEffect 6s ease-in-out infinite;
}
@keyframes floatEffect {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

[data-aos] {
    pointer-events: none;
}
[data-aos].aos-animate {
    pointer-events: auto;
}

:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a;
        color: #e2e8f0;
    }
    .service-card, .design-card, .project-card, .album-item-horizontal,
    .value-card, .feature-item, .design-feature-card, .design-service-card {
        background-color: #1e293b;
        border-color: #334155;
    }
    .ai-design-section #ai-output, .ai-design-section #ai-output-content {
        background: linear-gradient(to bottom, #1e293b, #0f172a);
    }
    #gemini-output strong, #ai-output strong, #ai-output-content strong {
        color: #f1f5f9;
    }
     #gemini-output h3, #ai-output h3, #ai-output-content h3, #ai-output-content h4 {
        color: #7dd3fc;
    }
    #gemini-output p, #ai-output p, #ai-output-content p {
        color: #cbd5e1;
    }
}

@media (max-width: 1024px) { /* lg */
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }

    .service-card,
    .feature-card,
    .project-card {
        padding: 1.5rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

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

    .testimonial-card {
        margin: 0 1rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .service-card,
    .feature-card,
    .project-card {
        padding: 1.25rem;
    }

    .grid {
        gap: 1.5rem;
    }

    .grid-cols-1,
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .flex-col,
    .lg\:flex-row {
        flex-direction: column;
    }

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

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
        margin: 0.5rem 0;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .process-step .flex-shrink-0 {
        margin: 0 auto 1rem;
    }

    .feature-icon {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 640px) {
    .section-padding {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-header {
        height: 4rem;
        padding: 0.5rem;
    }

    .nav-header .mx-auto {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-links a {
        padding: 0.75rem;
        border-radius: 0.5rem;
        margin: 0.25rem 0;
    }

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

    .hero-content p {
        font-size: 0.9rem;
    }

    .testimonial-card {
        margin: 0 0.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .service-card,
    .feature-card {
        padding: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

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

    .hero-content p {
        font-size: 0.85rem;
    }

    .text-2xl {
        font-size: 1.25rem;
    }

    .text-xl {
        font-size: 1.125rem;
    }

    .text-lg {
        font-size: 1rem;
    }

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

    .footer-section .space-y-4 {
        margin-bottom: 1.5rem;
    }
}

.bottom-nav {
    /* Tailwind: md:hidden fixed bottom-0 left-0 w-full bg-slate-800 shadow-t z-50 */
    /* Height is h-16 (4rem) via its child div */
    color: white; /* Ensure text color is appropriate if not set by Tailwind */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1); /* Consistent shadow */
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    color: #cbd5e1; /* Default color for icons/text */
}

.bottom-nav-item:hover,
.bottom-nav-item.active { /* Ensure .active class is applied by JS */
    background-color: #334155; /* Example active/hover background */
    color: #7dd3fc; /* Example active/hover text color */
}

.bottom-nav-label {
    font-size: 0.75rem; /* text-xs */
    margin-top: 0.25rem; /* mt-1 */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--ivs-gray-900);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

p, span, div {
    color: var(--ivs-text-body);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.6;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.65;
}

.text-base {
    font-size: 1rem;
    line-height: 1.6;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.5;
}

.full-width-image-section {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.full-width-image-section.h-screen {
    height: 100vh; /* Full viewport height */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-banner-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-banner-content {
    position: relative;
    z-index: 10;
}

.design-album-image-wrapper {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition-property: transform;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.design-album-image-wrapper:hover {
    transform: scale(1.05);
}

.design-album-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    aspect-ratio: 4/3;
}

.album-scroll-container {
    -webkit-overflow-scrolling: touch;
}

.album-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.album-scroll-container::-webkit-scrollbar-thumb {
    background-color: #0284c7;
    border-radius: 9999px;
}

.album-image-item {
    flex: none;
    width: 20rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1);
    transition-property: transform;
    transition-duration: 300ms;
}

.album-image-item:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .album-image-item {
        width: 24rem;
    }
}

.album-image-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

.contact-icon-circle {
    transition: all 0.3s ease-in-out;
}

.group:hover .contact-icon-circle {
    background-color: #0ea5e9;
    color: #ffffff;
}
.about-banner-bg {
             background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('images/projects/Mr.Jimmy-SaintPetersburg/jimmy-final.webp');
             background-size: cover;
             background-position: center;
        }
        .text-shadow {
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }
        .profile-image-container {
            width: 220px;
            height: 220px;
            overflow: hidden;
        }
        .profile-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        @media (min-width: 768px) {
            .profile-image-container {
                width: 280px;
                height: 280px;
            }
        }
        .value-card {
            transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
        }
        .value-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.06);
        }
        .value-card:hover .value-icon {
            transform: scale(1.1) rotate(-5deg);
            color: #0ea5e9;
        }
        .value-icon {
            transition: transform 0.3s ease-out, color 0.3s ease-out;
        }
        .feature-item:hover .feature-icon-bg {
             background-color: #0ea5e9;
             color: white;
        }
        .feature-icon-bg {
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .banner-bg {
            background-image: url('images/designs/design8.jpg'); /* Placeholder for a relevant banner image */
            background-size: cover;
            background-position: center;
            position: relative;
            z-index: 1;
        }
        .banner-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
            z-index: -1;
        }
        /* Subtle hover effect for images */
        .service-image {
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        }
        .service-image:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }

        .video-container {
            position: relative;
            width: 100%;
            max-width: 900px; /* Max width for the video */
            margin: 0 auto; /* Center the video container */
            aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
            border-radius: 0.75rem; /* rounded-xl */
            overflow: hidden; /* Ensure video stays within rounded corners */
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* shadow-xl */
        }
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Cover the container, might crop */
        }
        .guide-step {
            transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
        }
        .guide-step:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 8px 16px rgba(14, 165, 233, 0.15);
        }

        .project-card-full {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .project-card-full:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        .project-card-full .image-section {
            background-color: #e2e8f0;
        }
        .project-card-full img {
            transition: transform 0.4s ease, filter 0.3s ease;
        }
        .project-card-full:hover img {
            transform: scale(1.05);
        }
        .album-grid-item img {
            transition: transform 0.3s ease-in-out;
            aspect-ratio: 4 / 3;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0.5rem; /* rounded-lg */
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        }
        .album-grid-item img:hover {
            transform: scale(1.05);
        }
        .before-after-grid img {
            aspect-ratio: 16 / 9;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0.75rem; /* rounded-xl */
        }
        /* New CSS for consistent image aspect ratio */
        .project-phase-image {
            aspect-ratio: 16 / 9;
            object-fit: cover;
            width: 100%;
            height: 100%;
            border-radius: 0.5rem;
        }
        .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 0.75rem;
        }
        /* Modal (Lightbox) Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.9);
            justify-content: center;
            align-items: center;
            transition: opacity 0.3s;
        }
        .modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 90%;
            border-radius: 0.75rem;
        }
        .close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
        }
        .close:hover,
        .close:focus {
            color: #999;
            text-decoration: none;
        }

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-8px,0);
    }
    70% {
        transform: translate3d(0,-4px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes slideInUp {
    from {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

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

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.4s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

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

.animate-slideInUp {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-slideInDown {
    animation: slideInDown 0.6s ease-out forwards;
}

/* Hover Animations */
.hover-lift {
    transition: var(--transition-cubic);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover-grow {
    transition: var(--transition-cubic);
}

.hover-grow:hover {
    transform: scale(1.05);
}

.hover-shadow {
    transition: var(--transition-cubic);
}

.hover-shadow:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Loading Animations */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

.loading-spinner.dark {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #333;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Progress Bar Animation */
.progress-bar {
    height: 8px;
    background-color: var(--ivs-gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
    width: 0;
    transition: width 0.5s ease;
    animation: progressAnimation 1.5s ease-in-out forwards;
}

@keyframes progressAnimation {
    from { width: 0; }
    to { width: var(--progress-width); }
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.badge-primary {
    background-color: var(--primary-gold);
    color: white;
}

.badge-secondary {
    background-color: var(--ivs-gray-200);
    color: var(--ivs-gray-800);
}

.badge-accent {
    background-color: var(--primary-gold);
    color: white;
}

/* Chip Styles */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: var(--ivs-gray-100);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-ease);
}

.chip:hover {
    background-color: var(--ivs-gray-200);
    transform: translateY(-2px);
}

.chip-primary {
    background-color: var(--primary-gold);
    color: white;
}

.chip-primary:hover {
    background-color: var(--primary-gold-dark);
}

/* Modern Card with Glass Effect */
.card-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

/* Modern Button Variants */
.btn-outline {
    background-color: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 0.65rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-ease);
    cursor: pointer;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--primary-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.25);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-icon-right {
    flex-direction: row-reverse;
}

/* Notification Styles */
.notification {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.notification-success {
    background-color: #d1fae5;
    color: #059669;
    border-left: 4px solid #10b981;
}

.notification-info {
    background-color: #f3e8ff; /* light purple tint */
    color: var(--accent-purple);
    border-left: 4px solid var(--accent-purple);
}

.notification-warning {
    background-color: #fef3c7;
    color: #d97706;
    border-left: 4px solid #f59e0b;
}

.notification-error {
    background-color: #fee2e2;
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

/* FAB Container Styles */
.fab-item {
    background: linear-gradient(145deg, #D4AF37, #B8941F);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.fab-item:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
    transition: transform 0.1s, box-shadow 0.1s;
}

/* Ripple effect for FAB buttons */
.fab-item::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.8s;
}

.fab-item:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

/* Shake animation for attention */
@keyframes shake {
    0% { transform: rotate(0); }
    15% { transform: rotate(5deg); }
    30% { transform: rotate(-5deg); }
    45% { transform: rotate(4deg); }
    60% { transform: rotate(-4deg); }
    75% { transform: rotate(2deg); }
    85% { transform: rotate(-2deg); }
    92% { transform: rotate(1deg); }
    100% { transform: rotate(0); }
}

.fab-shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}

/* Contact Info Card Styles */
#contact-info-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    min-width: 16rem;
    max-width: 18rem;
    transition: all 0.2s ease;
}

#contact-info-card a {
    color: var(--ivs-gray-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

#contact-info-card a:hover {
    color: var(--primary-gold);
}

#contact-info-card .fas {
    color: var(--primary-gold);
}

/* Responsive adjustments for FAB */
@media (max-width: 768px) {
    #contact-info-card {
        min-width: 14rem;
        max-width: 16rem;
    }
}
