/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --surface: #0b0f15;
    --surface-light: #0f141b;
    --border: #1f2733;
    --brand: #d4af37;
    --brand-2: #c9a961;
    --brand-hover: #b8941f;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --glow-blue: 0 0 20px rgba(212, 175, 55, 0.3);
    --glow-teal: 0 0 20px rgba(201, 169, 97, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--surface);
    color: var(--text-primary);
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
}

#logo-image {
    display: block;
    margin: 0 auto 2rem auto;
    align-items: center;
}

#center-logo-image {
    display: block;
    margin: 0 auto 2rem auto;
    align-items: center;
    width: 50%;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes smoothBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transition: none;
}

.scroll-reveal.revealed {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scroll-reveal-left {
    opacity: 0;
    transition: none;
}

.scroll-reveal-left.revealed {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scroll-reveal-right {
    opacity: 0;
    transition: none;
}

.scroll-reveal-right.revealed {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scroll-reveal-scale {
    opacity: 0;
    transition: none;
}

.scroll-reveal-scale.revealed {
    animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    animation: navbarFadeIn 0.6s ease-out;
}

@keyframes navbarFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar.scrolled {
    background-color: rgba(11, 15, 21, 0.39);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    transition: padding 0.3s ease;
}

.navbar.scrolled .navbar-container {
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-logo {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    width: 2rem;
    height: 2rem;
}

.navbar-logo img {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo img {
    width: 1.5rem;
    height: 1.5rem;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.navbar-brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    transition: font-size 0.3s ease;
}

.navbar.scrolled .navbar-brand-name {
    font-size: 0.9375rem;
}

.navbar-brand-tagline {
    font-size: 0.6875rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand-tagline {
    font-size: 0.625rem;
    opacity: 0.8;
}

.navbar-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar-menu {
        display: flex;
    }
}

/* Mobile Menu */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.25rem 0;
}

.navbar-links a:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--brand), var(--brand-2));
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    transform: scaleX(1);
}

.navbar-cta {
    padding: 0.45rem 1rem;
    border-radius: 0.375rem;
    background: linear-gradient(135deg, #ccb26b 0%, #baa264 100%);
    border: 1px solid rgba(204, 174, 105, 0.16);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    vertical-align: middle;
    display: inline-block;
}

.navbar-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.411);
    opacity: 0;
    transition: opacity 0.3s;
}

.navbar-cta span {
    position: relative;
    z-index: 1;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.5);
}

.navbar-cta:hover::before {
    opacity: 1;
}

.navbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: none;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }
}

.navbar-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.navbar-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-toggle:hover svg {
    transform: rotate(90deg);
}

.navbar-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* navbar */

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: clamp(18rem, 65vh, 90rem);
    background: linear-gradient(165deg, rgba(13, 18, 26, 0.96) 0%, rgba(18, 24, 33, 0.92) 60%, rgba(18, 24, 33, 0.98) 100%);
    backdrop-filter: blur(22px);
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    z-index: 10000;
    overflow-y: auto;
    padding: 5rem 1.5rem 1.75rem;
    will-change: transform, opacity;
    box-shadow: 0 15px 35px -20px rgba(0, 0, 0, 0.65), 0 0 30px rgba(212, 175, 55, 0.15);
}

.mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0.5rem 1rem auto 1rem;
    height: 0.4rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.45), rgba(201, 169, 97, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;

    pointer-events: auto;
}

.mobile-menu.active::before {
    opacity: 1;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: none;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-close svg {
    width: 1.5rem;
    height: 1.5rem;
}


.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.mobile-menu-links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border-radius: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
    border-right: 3px solid transparent;
    background: linear-gradient(120deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.08) 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--text-primary);
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-right-color: var(--brand);
    box-shadow: 0 12px 18px -15px rgba(212, 175, 55, 0.65);
}

.mobile-menu-links a::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 0.2rem;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(45deg);
    margin-inline-start: auto;
    transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    opacity: 0.7;
}

.mobile-menu-links a:hover::after,
.mobile-menu-links a.active::after {
    transform: translateX(-4px) rotate(45deg);
    border-color: var(--brand);
    border-left-color: transparent;
    border-bottom-color: transparent;
    opacity: 1;
}

.mobile-menu-cta {
    margin: 1.25rem 0 0;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: block;
    box-shadow: 0 2px 8px 0 rgba(212, 175, 55, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-menu-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-hover), var(--brand));
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-cta span {
    position: relative;
    z-index: 1;
}

.mobile-menu-cta:active {
    transform: scale(0.98);
}

.mobile-menu-cta:active::before {
    opacity: 1;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(11, 15, 21, 0.85) 100%);
    backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-menu-overlay.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    overflow-y: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: #05070b;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background-image set dynamically in index.php */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter removed */
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    animation: fadeIn 0.6s ease-out forwards;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12rem;
    background: linear-gradient(to bottom, transparent 0%, transparent 20%, var(--surface) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-inner {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: visible;
}



.hero-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-inner {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: visible;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    overflow: visible;
    padding: 1rem 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(201, 169, 97, 0.15));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-pulse {
    position: relative;
    display: flex;
    height: 0.625rem;
    width: 0.625rem;
}

.badge-pulse-ring {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: #d4af37;
    opacity: 0.75;
}

@keyframes ping {

    75%,

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.badge-dot {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 0.625rem;
    width: 0.625rem;
    background-color: #c9a961;
}

.badge-text {
    background: linear-gradient(to right, #d4af37, #f4e5a1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title {
    width: 100%;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.25;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4rem;
        line-height: 1.25;
    }
}

.hero-title-main {
    display: block;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    line-height: 1.35;
    white-space: normal;
    word-wrap: break-word;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero-title-animated {
    position: relative;
    display: inline-block;
}

.hero-title-bg {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    padding: 0.5rem 1.5rem;
    margin: -0.5rem -1.5rem;
}

.hero-title-gradient {
    position: relative;
    display: block;
    background: linear-gradient(to right, #d4af37, #f4e5a1, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    min-height: 1.15em;
    padding: 0.5rem 1.5rem;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 0.9em;
    background: linear-gradient(to bottom, #d4af37, #c9a961);
    vertical-align: middle;
    margin-right: 0.25rem;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .hero-badges {
        flex-direction: row;
        gap: 1rem;
    }
}

.hero-badge {
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    backdrop-filter: blur(16px);
    transition: all 0.3s;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.12));
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.hero-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-badge-content {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.hero-badge svg {
    width: 1rem;
    height: 1rem;
    color: #d4af37;
}

.hero-badge span {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
}

.hero-divider {
    display: none;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #d4af37, #c9a961);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
    .hero-divider {
        display: block;
    }
}

.hero-description-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-line {
    display: none;
    height: 1px;
    width: 3rem;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
}

@media (min-width: 768px) {
    .hero-line {
        display: block;
        width: 4rem;
    }
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    max-width: 48rem;
    padding: 0 1rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.scroll-indicator {
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    z-index: 60;
}

.scroll-indicator:hover {
    color: #ffffff;
}

.scroll-indicator:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.scroll-indicator svg {
    width: 1.5rem;
    height: 1.5rem;
    animation: smoothBounce 2.5s ease-in-out infinite;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 6rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: rgb(209, 213, 219);
    line-height: 1.75;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .cards-grid.four-cols {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .cards-grid.three-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid.three-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Service Card */
.service-card {
    position: relative;
    height: 100%;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    overflow: hidden;
    background-color: var(--surface-light);
    cursor: default;
}

/* Hover glow effect - exactly like Next.js */
.service-card::after {
    content: '';
    position: absolute;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: #d4af37;
    /* gold */
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    transition: color 0.3s;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Project Card */
.project-card {
    position: relative;
    height: 100%;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    background-color: var(--surface-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.project-status {
    background: rgba(11, 15, 21, 0.8);
    backdrop-filter: blur(4px);
    color: #d4af37;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.project-card:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
}

.project-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.project-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: 1rem;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    position: relative;
}

.project-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-date svg {
    width: 1rem;
    height: 1rem;
}

.project-link {
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s;
    color: #c9a961;
    /* gold */
    text-decoration: none;
}

.project-link:hover {
    color: #d4af37;
    /* gold hover */
}

.project-card:hover .project-link svg {
    transform: rotate(180deg) translateX(-0.25rem);
}

.project-link svg {
    width: 1rem;
    height: 1rem;
    transition: all 0.3s;
    transform: rotate(180deg);
}

/* Projects Slider */
.projects-slider-card {
    position: relative;
    margin: 3rem auto 2.5rem;
    padding: 2.25rem 2rem 2.5rem;
    max-width: 64rem;
    border-radius: 1.75rem;
    background: linear-gradient(135deg, rgba(16, 22, 31, 0.96), rgba(11, 15, 21, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 25px 55px -20px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.15);
    overflow: hidden;
}

.projects-slider-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.2), transparent 55%);
    opacity: 0.25;
}

.projects-slider-window {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 0.75rem 0;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.8) 10%, rgba(0, 0, 0, 0.8) 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.8) 10%, rgba(0, 0, 0, 0.8) 90%, transparent 100%);
}

.projects-slider-window::before,
.projects-slider-window::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12%;
    pointer-events: none;
    z-index: 1;
}

.projects-slider-window::before {
    left: 0;
    background: linear-gradient(to left, transparent, rgba(11, 15, 21, 0.9));
}

.projects-slider-window::after {
    right: 0;
    background: linear-gradient(to right, transparent, rgba(11, 15, 21, 0.9));
}

.projects-slider-track {
    display: flex;
    align-items: center;
    direction: ltr;
    will-change: transform;
}

.projects-slider-img {
    --projects-slider-gap: 1.5rem;
    margin: 0 calc(var(--projects-slider-gap) / 2);
    width: clamp(11rem, 18vw, 16rem);
    height: clamp(8.5rem, 16vw, 12rem);
    border-radius: 1.1rem;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    background-color: rgba(12, 17, 23, 0.9);
    filter: saturate(1.05);
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.projects-slider-card:hover .projects-slider-img:not(.clone) {
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.projects-slider-caption {
    position: relative;
    z-index: 2;
    margin-top: 1.75rem;
    text-align: center;
    display: grid;
    gap: 0.65rem;
    justify-items: center;
}

.projects-slider-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.projects-slider-label svg {
    width: 1rem;
    height: 1rem;
    color: var(--brand);
}

.projects-slider-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.projects-slider-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    max-width: 38rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .projects-slider-card {
        padding: 1.75rem 1.5rem 2.25rem;
        margin: 2.5rem auto;
    }

    .projects-slider-img {
        --projects-slider-gap: 1.25rem;
        width: clamp(10rem, 28vw, 14rem);
        height: clamp(7.5rem, 22vw, 10.5rem);
    }
}

@media (max-width: 640px) {
    .projects-slider-card {
        padding: 1.5rem 1.25rem 2rem;
        border-radius: 1.5rem;
    }

    .projects-slider-img {
        --projects-slider-gap: 1rem;
        width: clamp(9.5rem, 60vw, 14rem);
        height: clamp(7rem, 40vw, 9.5rem);
    }

    .projects-slider-title {
        font-size: 1.35rem;
    }

    .projects-slider-desc {
        font-size: 0.95rem;
    }
}

/* Form Styles */
.form-container {
    max-width: 48rem;
    margin: 0 auto;
}

.form-card {
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: all 0.3s;
    background-color: var(--surface-light);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: rgb(248, 113, 113);
    margin-right: 0.25rem;
}

.input-wrapper {
    position: relative;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #0c1117;
    outline: none;
}

.form-input:hover:not(:disabled),
.form-textarea:hover:not(:disabled) {
    border-color: rgba(212, 175, 55, 0.3);
    background-color: rgba(212, 175, 55, 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand);
    background-color: rgba(212, 175, 55, 0.05);
    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.1),
        0 4px 12px rgba(212, 175, 55, 0.15),
        var(--glow-blue);
    transform: translateY(-1px);
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-textarea {
    resize: vertical;
    min-height: 8rem;
}

.input-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0.75rem;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.input-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #d4af37;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.form-input:focus~.input-icon svg,
.form-textarea:focus~.input-icon svg {
    opacity: 1;
}

.btn {
    position: relative;
    width: 100%;
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    box-shadow: 0 4px 14px 0 rgba(212, 175, 55, 0.4);
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-hover) 0%, var(--brand) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover:not(:disabled)::before {
    opacity: 1;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(212, 175, 55, 0.6), var(--glow-blue);
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.5) 0%, rgba(201, 169, 97, 0.5) 100%);
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.btn:hover:not(:disabled) svg {
    transform: scale(1.1);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: rgba(31, 39, 51, 0.8);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
    width: auto;
    padding: 0.75rem 2rem;
}

.btn-secondary::before {
    background: rgba(31, 39, 51, 0.95);
}

.btn-secondary:hover:not(:disabled) {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.5);
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    position: relative;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    border: 1px solid var(--border);
    overflow: hidden;
    background-color: var(--surface-light);
}

.stat-card:hover {
    box-shadow: 0 0 32px rgba(212, 175, 55, 0.2), inset 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.stat-card:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), rgba(201, 169, 97, 0.03));
    opacity: 1;
    transition: opacity 0.5s;
}

.stat-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #d4af37;
    transition: color 0.3s;
}

.stat-card:hover .stat-icon svg {
    color: #f4e5a1;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: transform 0.3s;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.stat-card:hover .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Info Cards */
.contact-info-card {
    background-color: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
    transform: translateY(-0.25rem);
    border-color: rgba(212, 175, 55, 0.4);
}

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 2rem;
    height: 2rem;
    color: #d4af37;
    transition: color 0.3s;
}

.contact-info-card:hover .contact-info-icon svg {
    color: #f4e5a1;
}

.contact-info-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    background-color: var(--surface-light);
}

/* Footer */
footer {
    position: relative;
    color: var(--text-primary);
    overflow: hidden;
    border-top: 1px solid var(--border);
    padding: 2.5rem 0 2rem;
    background-color: #0b0f15;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand {
    order: 1;
}

@media (min-width: 768px) {
    .footer-brand {
        order: 3;
    }
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-brand-header>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.2;
}

.footer-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.75;
}

.footer-section {
    order: 2;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-social {
    order: 3;
}

@media (min-width: 768px) {
    .footer-social {
        order: 1;
    }
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    transition: all 0.2s;
    background-color: var(--border);
    text-decoration: none;
}

.social-link:hover {
    color: var(--text-primary);
}

.social-link svg {
    width: 1rem;
    height: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.scroll-top {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.2s;
}

.scroll-top:hover {
    color: var(--text-primary);
}

.scroll-top svg {
    width: 1rem;
    height: 1rem;
}

/* Map Section */
.map-container {
    max-width: 75rem;
    margin: 0 auto;
}

.map-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(201, 169, 97, 0.1));
    padding: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-wrapper:hover {
    box-shadow:
        0 25px 35px -5px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(212, 175, 55, 0.25),
        var(--glow-blue);
    transform: translateY(-4px);
}

.map-wrapper iframe {
    display: block;
    border-radius: 0.75rem;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s;
}

.map-wrapper:hover iframe {
    filter: brightness(1) contrast(1.15);
}

.map-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.map-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
}

@media (max-width: 640px) {
    .map-actions {
        flex-direction: column;
        width: 100%;
    }

    .map-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Background Elements */
.bg-gradient-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    height: 100vh;
    width: 100vw;
    background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(212, 175, 55, 0.15), rgba(201, 169, 97, 0.1), transparent);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-16 {
    margin-top: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

/* Copy Address Button */
#copy-address-btn:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    transform: translateY(-2px);
}

#copy-address-btn:active {
    transform: translateY(0);
}

/* 404 Error Page */
.error-404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
}

/* Force navbar to have solid background on 404 page */
.error-404-section~* .navbar,
body:has(.error-404-section) .navbar {
    background-color: rgba(11, 15, 21, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

.error-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.error-404-number {
    font-size: 10rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.error-404-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.error-404-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: var(--surface);
    border: 1px solid var(--brand);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.error-404-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}



.scroll-top {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.2s;
}

.scroll-top:hover {
    color: var(--text-primary);
}

.scroll-top svg {
    width: 1rem;
    height: 1rem;
}

/* Map Section */
.map-container {
    max-width: 75rem;
    margin: 0 auto;
}

.map-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(201, 169, 97, 0.1));
    padding: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-wrapper:hover {
    box-shadow:
        0 25px 35px -5px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(212, 175, 55, 0.25),
        var(--glow-blue);
    transform: translateY(-4px);
}

.map-wrapper iframe {
    display: block;
    border-radius: 0.75rem;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s;
}

.map-wrapper:hover iframe {
    filter: brightness(1) contrast(1.15);
}

.map-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.map-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
}

@media (max-width: 640px) {
    .map-actions {
        flex-direction: column;
        width: 100%;
    }

    .map-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Background Elements */
.bg-gradient-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    height: 100vh;
    width: 100vw;
    background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(212, 175, 55, 0.15), rgba(201, 169, 97, 0.1), transparent);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-16 {
    margin-top: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

/* Copy Address Button */
#copy-address-btn:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    transform: translateY(-2px);
}

#copy-address-btn:active {
    transform: translateY(0);
}

/* 404 Error Page */
.error-404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
}

/* Force navbar to have solid background on 404 page */
.error-404-section~* .navbar,
body:has(.error-404-section) .navbar {
    background-color: rgba(11, 15, 21, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

.error-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.error-404-number {
    font-size: 10rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.error-404-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.error-404-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: var(--surface);
    border: 1px solid var(--brand);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.error-404-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.error-404-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

/* Responsive 404 Page */
@media (max-width: 768px) {
    .error-404-number {
        font-size: 6rem;
    }

    .error-404-title {
        font-size: 1.5rem;
    }

    .error-404-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .error-404-section {
        padding: 6rem 0 3rem;
    }

    .error-404-number {
        font-size: 4.5rem;
    }

    .error-404-title {
        font-size: 1.25rem;
    }
}

/* Text Only Project Card */
.project-card.text-only {
    background: rgba(22, 27, 34, 0.7);
    border: 1px solid rgba(197, 160, 89, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card.text-only:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.4);
    background: rgba(22, 27, 34, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-card.text-only h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-card.text-only p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.project-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(197, 160, 89, 0.15);
    color: #C5A059;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.project-arrow {
    color: #C5A059;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.project-card.text-only:hover .project-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Project Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 11, 0.9);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-wrapper {
    background: #161b22;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 24px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content-wrapper {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(220, 53, 69, 0.8);
    transform: rotate(90deg);
}

.modal-body {
    overflow-y: auto;
    padding: 3rem;
    max-height: 90vh;
}

.modal-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.modal-header h2 {
    color: #fff;
    font-size: 2rem;
    margin-top: 1rem;
}

/* Carousel Slider */
.modal-carousel {
    position: relative;
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(197, 160, 89, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(197, 160, 89, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1.5rem;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: #C5A059;
    transform: scale(1.2);
}

.indicator-dot:hover {
    background: rgba(197, 160, 89, 0.7);
}

.modal-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal-loader {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-body {
        padding: 1.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .project-card.text-only {
        padding: 1.5rem;
    }
}

/* -------------------------------------------------
   Page Loader – matches the development version
   ------------------------------------------------- */
.page-loader {
    position: fixed;
    inset: 0;
    background-color: #0b0f15;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(56, 189, 248, 0.3);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}