:root {
    --navy: #0f1f3a;
    --navy-dark: #0b1426;
    --orange: #e06b2d;
    --orange-light: #f19a61;
    --sky: #7cb5e8;
    --white: #ffffff;
    --gray-100: #f5f7fb;
    --gray-200: #e4e7ef;
    --gray-400: #7d879c;
    --shadow: 0 16px 40px rgba(15, 31, 58, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 10px;
    border: 4px solid var(--white);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-light);
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--navy-dark);
    background: var(--white);
    line-height: 1.6;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--navy-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.8s ease;
}

.splash-logo {
    width: min(80vmin, 600px);
    height: auto;
    background: var(--white);
    border-radius: min(4vmin, 30px);
    padding: min(3vmin, 24px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform-origin: top left;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.site-header {
    position: relative;
    background: var(--navy-dark);
    color: var(--white);
    padding-top: 80px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero-panorama,
.hero-panorama-overlay {
    position: absolute;
    inset: 0;
}

.hero-panorama {
    z-index: 0;
    pointer-events: none;
}

.hero-panorama-overlay {
    z-index: 1;
    background: linear-gradient(135deg, rgba(15, 31, 58, 0.85), rgba(15, 31, 58, 0.6)),
        radial-gradient(circle at top right, rgba(224, 107, 45, 0.35), transparent 60%);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 31, 58, 0.95);
    backdrop-filter: blur(8px);
    z-index: 3;
}

.nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-inner.compact-nav {
    justify-content: center;
    padding: 0.75rem 0;
    position: relative;
    min-height: 48px;
    align-items: center;
}

.nav-inner.compact-nav .brand {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.nav-inner.compact-nav .brand-name {
    display: none;
}

.nav-inner.compact-nav .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    padding: 0.2rem;
}

.nav-inner.compact-nav .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
}

.nav-inner.compact-nav .nav-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: var(--white);
    border-radius: 12px;
    padding: 0.25rem;
}

.brand-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
    flex-wrap: nowrap;
}

.nav-links.force-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    min-width: 200px;
    background: rgba(15, 31, 58, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    display: none !important;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nav-links.force-collapse.open {
    display: flex !important;
}

.nav-links a {
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.nav-links a.active {
    color: #ffffff !important;
    font-weight: 700;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-contact {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding-bottom: 0.25rem;
}

.nav-contact::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.2s ease;
}

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

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 0;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    display: block;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-tagline {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 1rem;
}

.hero-column {
    display: flex;
    flex-direction: column;
}

.hero-logo-column {
    justify-content: center;
    align-items: center;
}

.hero-card-column {
    justify-content: center;
}

.hero-logo {
    margin-bottom: 0;
}

.hero-logo-img {
    width: 240px;
    height: auto;
    background: var(--white);
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-tagline h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.4));
}

.highlight-orange {
    color: var(--orange);
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    color: var(--sky);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow);
}

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

.btn-outline {
    border-color: var(--orange);
    color: var(--orange);
}

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

.hero-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.hero-card ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-card strong {
    color: #ffffff;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: var(--gray-100);
}

.section-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.section-heading h2,
.hero-tagline h1,
.what-we-do-text h2,
.portfolio-list-card h3,
.portfolio-viewer-header h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-heading h2::after,
.hero-tagline h1::after,
.what-we-do-text h2::after,
.portfolio-list-card h3::after,
.portfolio-viewer-header h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--orange);
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 2px;
}

.section-heading h2.underline-active::after,
.hero-tagline h1.underline-active::after,
.what-we-do-text h2.underline-active::after,
.portfolio-list-card h3.underline-active::after,
.portfolio-viewer-header h3.underline-active::after {
    width: 100%;
}

.hero-tagline h1::after {
    transition-delay: 0.4s;
}

.section-heading p {
    color: var(--gray-400);
    max-width: 620px;
    margin: 0 auto;
}

.section-heading#equirectangular {
    margin-bottom: 0;
}

.pricing-includes {
    margin-top: 1rem;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-includes-label {
    margin-bottom: 0.5rem;
    color: var(--gray-400);
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-includes-list {
    list-style: disc;
    list-style-position: inside;
    padding-left: 0;
    color: var(--gray-400);
    display: grid;
    gap: 0.4rem;
    text-align: left;
    line-height: 1.7;
}

.what-we-do-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.what-we-do-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.what-we-do-text p {
    line-height: 1.8;
    color: var(--navy-dark);
}

.what-we-do-text ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.what-we-do-text li {
    line-height: 1.7;
    color: var(--navy-dark);
}

.what-we-do-text strong {
    color: var(--navy);
}

.card-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

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

.info-card {
    padding: 1.8rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.visit-steps {
    display: grid;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.step-expandable {
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-expandable:hover {
    box-shadow: 0 20px 45px rgba(15, 31, 58, 0.16);
}

.step-content {
    flex: 1;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.step-header h3 {
    margin: 0;
    flex: 1;
}

.step-toggle {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.step-expandable.is-expanded .step-toggle {
    transform: rotate(0deg);
}

.step-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
    padding: 0;
}

.step-expandable.is-expanded .step-description {
    margin-top: 1rem;
    max-height: 2000px;
}

.step-description p {
    margin: 0;
    line-height: 1.7;
    color: var(--navy-dark);
    padding: 0;
}

.step-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--orange);
    flex-shrink: 0;
}

.pricing-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
}

.pricing-grid>* {
    min-height: 100%;
}

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

.pricing-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 1.25rem;
    min-height: 100%;
}

.pricing-package {
    text-align: left;
}

.pricing-package h3 {
    text-align: center;
    color: var(--navy);
}

.pricing-amount {
    text-align: center;
}

.pricing-description {
    color: var(--gray-400);
    line-height: 1.6;
    margin: 0;
    min-height: 0;
}

.pricing-features {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--gray-400);
    display: grid;
    gap: 0.4rem;
    margin: 0;
}

.pricing-package .btn {
    justify-self: center;
}

.pricing-package .btn:hover {
    transform: none;
}

.extras-section {
    margin-top: 3rem;
    text-align: center;
}

.extras-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.extras-subheading-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto 1rem;
    max-width: calc(600px - 2.5rem);
    cursor: pointer;
}

.extras-subheading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.extras-subheading-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: visible;
}

.extras-subheading-toggle-text {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    user-select: none;
    position: absolute;
    right: 0;
    margin-right: 1.5rem;
}

.extras-subheading-wrapper:hover .extras-subheading-toggle-text {
    opacity: 1;
    transform: translateX(-1.5rem);
}

.extras-subheading-toggle {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    user-select: none;
}

.extras-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.extra-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    text-align: left;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.extra-box:hover {
    box-shadow: 0 8px 20px rgba(15, 31, 58, 0.1);
    border-color: var(--orange);
}

.extra-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.extra-title {
    color: var(--navy-dark);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.extra-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: visible;
}

.extra-toggle-text {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    user-select: none;
    position: absolute;
    right: 0;
    margin-right: 1.5rem;
}

.extra-box:hover .extra-toggle-text {
    opacity: 1;
    transform: translateX(-1.5rem);
}

.extra-toggle {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.extra-box.is-expanded .extra-toggle {
    transform: rotate(0deg);
}

.extra-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
}

.extra-box.is-expanded .extra-content {
    margin-top: 1rem;
}

.extra-description {
    color: var(--gray-400);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.extra-price {
    margin-top: 0.5rem;
    font-weight: 600;
}

.viewer-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.tour-viewer {
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--navy);
}

.viewer-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-400);
}

.viewer-note-small {
    font-size: 0.78rem;
}

.testimonial-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

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

.testimonial {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--orange);
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 100%;
    width: 100%;
}

.testimonial-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.testimonial span {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.portfolio-viewer-card {
    margin-top: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.portfolio-viewer-card h3 {
    margin-bottom: 1rem;
    color: var(--navy);
}

.portfolio-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.portfolio-back-to-list {
    margin-left: auto;
    text-align: right;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.95rem;
}

.portfolio-list-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.portfolio-list-card h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.portfolio-tour-list {
    display: grid;
    gap: 0.75rem;
}

.portfolio-tour-item {
    padding: 0.9rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-100);
}

.portfolio-tour-client {
    display: block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.portfolio-embed-shell {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    padding-bottom: 0;
    box-shadow: 0 2px 8px 0 rgba(63, 69, 81, 0.16);
    margin-top: 1.6em;
    margin-bottom: 0.9em;
    overflow: hidden;
    border-radius: 8px;
    will-change: transform;
}

@media (max-aspect-ratio: 9/10) and (max-width: 900px) {
    .portfolio-embed-shell {
        padding-top: 177.78%;
    }
}

.portfolio-embed-shell iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
    padding: 0;
    margin: 0;
}

.portfolio-viewer-fullscreen-wrap {
    margin: 0.5rem 0 0;
    text-align: right;
}

.portfolio-fullscreen-link {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.95rem;
}

.portfolio-fullscreen-link:hover {
    text-decoration: underline;
}

.portfolio-tour-link {
    color: var(--orange);
    transition: color 0.2s ease;
}

.portfolio-tour-link.is-active {
    color: var(--navy) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.portfolio-viewer-meta {
    color: var(--gray-400);
    margin-bottom: 0.25rem;
}

.portfolio-viewer-quote {
    margin-top: 0.75rem;
    color: var(--gray-400);
    font-style: italic;
    border-left: 3px solid var(--orange);
    padding-left: 0.85rem;
}

.portfolio-viewer-quote:empty {
    display: none;
}

.is-hidden {
    display: none;
}

.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer h2,
.footer h3 {
    margin-bottom: 0.75rem;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list {
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--orange);
    transform: translateY(-3px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.contact-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact-form .floating-label-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.2rem 0.9rem 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form .floating-label-group label {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-form .floating-label-group textarea ~ label {
    top: 1.2rem;
}

.contact-form .floating-label-group input:focus ~ label,
.contact-form .floating-label-group input:not(:placeholder-shown) ~ label,
.contact-form .floating-label-group textarea:focus ~ label,
.contact-form .floating-label-group textarea:not(:placeholder-shown) ~ label,
.contact-form .floating-label-group select ~ label {
    top: 0.4rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: var(--orange);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: transparent; /* Hide placeholder so label acts as placeholder */
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-box {
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    max-width: 200px;
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

@media (max-width: 860px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 31, 58, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex !important;
    }

    .nav-toggle.show {
        display: flex !important;
    }
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-logo-column {
        order: 1;
    }

    .hero-content-column {
        order: 2;
    }

    .hero-card-column {
        order: 3;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================================================
   ENHANCEMENTS (Dark Mode, Animations, Utilities)
   ========================================================================== */

/* Dark Mode Variables and Overrides */
[data-theme="dark"] {
    --navy: #e4e7ef;
    --navy-dark: #ffffff;
    --white: #1e2a47;
    /* Lighter background for cards */
    --gray-100: #111b33;
    --gray-200: #2a3b5c;
    --gray-400: #a0aec0;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] body {
    background-color: #0b1426;
}

[data-theme="dark"] .splash-logo {
    background: #ffffff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .brand-logo,
[data-theme="dark"] .hero-logo-img {
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .nav-toggle span {
    background: #ffffff !important;
}

[data-theme="dark"] .theme-toggle {
    color: #ffffff !important;
}

[data-theme="dark"] .nav {
    background: transparent;
}

[data-theme="dark"] .header-scrolled .nav {
    background: rgba(11, 20, 38, 0.98) !important;
}

[data-theme="dark"] .footer {
    background: #080e1a !important;
}

[data-theme="dark"] .btn-primary {
    color: #ffffff !important;
}

[data-theme="dark"] .splash-screen {
    background-color: #0b1426 !important;
}

[data-theme="dark"] .nav-links a,
[data-theme="dark"] .nav-contact {
    color: #ffffff;
}

[data-theme="dark"] .nav-links {
    background: #0b1426;
}

[data-theme="dark"] .hero-card {
    background: rgba(30, 42, 71, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .moon-icon {
    display: none !important;
}

[data-theme="dark"] .sun-icon {
    display: block !important;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover States for Cards and Buttons */
.hero-card,
.info-card,
.pricing-card,
.testimonial,
.extra-box,
.portfolio-list-card,
.portfolio-viewer-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-card:hover,
.info-card:hover,
.pricing-card:hover,
.testimonial:hover,
.extra-box:hover,
.portfolio-list-card:hover,
.portfolio-viewer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 31, 58, 0.15), 0 0 15px rgba(224, 107, 45, 0.05);
}

.btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(224, 107, 45, 0.3);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Form Message Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message {
    animation: fadeInUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Transparent to Solid Header */
.site-header .nav {
    background: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.header-scrolled .nav {
    background: var(--navy-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(224, 107, 45, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.has-cookie-banner .back-to-top,
body.has-cookie-banner .fab-btn {
    margin-bottom: 80px;
}

.back-to-top:hover {
    background: var(--orange-light);
    transform: translateY(-3px) scale(1.05);
}

/* Pannellum Custom Loader */
.pnlm-load-box {
    background-color: var(--navy) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow) !important;
}

.pnlm-lbar {
    border-color: var(--orange) !important;
}

.pnlm-lbar-fill {
    background-color: var(--orange) !important;
}

/* Scroll Progress Bar (Bottom) */
#scroll-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--orange);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 -2px 10px rgba(224, 107, 45, 0.4);
}

/* Floating Action Button (FAB) */
.fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--navy);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 998;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.fab-btn::before {
    content: "✉";
    font-size: 1.2rem;
}

.fab-btn:hover {
    background: var(--orange);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(224, 107, 45, 0.4);
}

/* Adjust back-to-top button so it doesn't overlap FAB */
.back-to-top {
    bottom: 90px;
    right: 30px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: var(--orange);
    text-decoration: underline;
}

.cookie-banner .btn {
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    margin-left: 1rem;
}

@media (max-width: 600px) {
    .fab-btn {
        display: none;
    }
    .back-to-top {
        bottom: 30px;
    }
    body.has-cookie-banner .back-to-top {
        bottom: 185px;
        margin-bottom: 0;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem 1rem;
    }
    .cookie-banner .btn {
        margin-left: 0;
        width: 100%;
    }
    
    .extra-toggle-wrapper {
        justify-content: flex-end;
    }
    
    .extras-grid {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* 3D Tilt Wrapper */
.tilt-card {
    transition: box-shadow 0.3s ease;
    transform-style: preserve-3d;
}
.tilt-card:hover {
    box-shadow: 0 25px 50px rgba(15, 31, 58, 0.2);
}

/* Form Select */
.contact-form select {
    padding: 1.2rem 0.9rem 0.4rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem top 50%;
    background-size: 0.65rem auto;
}

.contact-form select option {
    background-color: #0b1426;
    color: #ffffff;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(224, 107, 45, 0.2);
}

/* Page Transitions */
body.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
body.fade-in.loaded {
    opacity: 1;
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.carousel-slide {
    flex: 0 0 33.333%;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
}
@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}
@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100%;
    }
}
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}
.carousel-btn {
    background: var(--navy-light);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.carousel-btn:hover {
    background: var(--orange);
}
.carousel-dots {
    display: flex;
    gap: 0.75rem;
}
.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-400);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.carousel-dot.active {
    background: var(--orange);
    transform: scale(1.3);
}

/* FAQ and Extras Mobile Adjustments (Final Precedence) */
@media (max-width: 600px) {
    .extras-subheading-wrapper {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.5rem !important;
        padding-bottom: 1rem !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .extras-subheading-toggle-wrapper {
        position: static !important;
        display: flex !important;
        justify-content: flex-end !important;
        width: 100% !important;
        padding-right: 1.25rem !important; /* Match .extra-box padding for vertical alignment */
    }
    
    .extra-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
        gap: 1rem !important;
    }
    
    .extra-title {
        text-align: left !important;
    }
    
    .extra-toggle-wrapper {
        justify-content: flex-end !important;
    }
    
    .extras-grid {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}