/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-black: #000000;
    --secondary-black: #0a0a0a;
    --tertiary-black: #1a1a1a;
    --gold: #d4af37;
    --gold-light: #e8d4b0;
    --gold-dark: #b8860b;
    --white: #ffffff;
    --gray-100: rgba(255, 255, 255, 0.1);
    --gray-200: rgba(255, 255, 255, 0.2);
    --gray-300: rgba(255, 255, 255, 0.3);
    --gray-400: rgba(255, 255, 255, 0.4);
    --gray-500: rgba(255, 255, 255, 0.5);
    --gray-600: rgba(255, 255, 255, 0.6);
    --gray-700: rgba(255, 255, 255, 0.7);
    --gray-800: rgba(255, 255, 255, 0.8);
    --gray-900: rgba(255, 255, 255, 0.9);
}

/* ==================== GLOBAL RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-black);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== ACCESSIBILITY ==================== */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--primary-black);
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    line-height: 1.8;
    color: var(--gray-700);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-black);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: var(--gold);
    color: var(--primary-black);
}

.btn-secondary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--gray-100);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

/* ==================== NAVBAR MODULE ==================== */
.navbar {
    background: var(--tertiary-black);
    border-bottom: 1px solid var(--gray-100);
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 0.875rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(26, 26, 26, 0.95);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 800;
    font-size: 1.5rem;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-black);
}

.brand-text {
    background: linear-gradient(135deg, var(--white), var(--gray-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: 1px solid var(--gold);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4af37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==================== HERO MODULE ==================== */
.hero-module {
    min-height: 100vh;
    background: var(--primary-black);
    position: relative;
    overflow: hidden;
    padding: 2rem 0 3rem;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 3D Cube Container */
.cube-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1000px;
    width: 300px;
    height: 300px;
}

.cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--gold);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.cube-face.front {
    transform: translateZ(150px);
}

.cube-face.back {
    transform: translateZ(-150px) rotateY(180deg);
}

.cube-face.left {
    transform: translateX(-150px) rotateY(-90deg);
}

.cube-face.right {
    transform: translateX(150px) rotateY(90deg);
}

.cube-face.top {
    transform: translateY(-150px) rotateX(90deg);
}

.cube-face.bottom {
    transform: translateY(150px) rotateX(-90deg);
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--gold);
    opacity: 0.6;
}

.particle-1 {
    top: 10%;
    left: 20%;
    animation: floatParticle 8s ease-in-out infinite;
}

.particle-2 {
    top: 30%;
    right: 15%;
    animation: floatParticle 10s ease-in-out infinite 1s;
}

.particle-3 {
    bottom: 20%;
    left: 25%;
    animation: floatParticle 12s ease-in-out infinite 2s;
}

.particle-4 {
    top: 60%;
    right: 30%;
    animation: floatParticle 9s ease-in-out infinite 3s;
}

.particle-5 {
    bottom: 35%;
    left: 15%;
    animation: floatParticle 11s ease-in-out infinite 4s;
}

.particle-6 {
    top: 50%;
    right: 10%;
    animation: floatParticle 13s ease-in-out infinite 5s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(50px, -50px) scale(1.5);
        opacity: 1;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, 40px) scale(1.2);
        opacity: 0.8;
    }
}

.visual-card {
    position: absolute;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 10;
}

.visual-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

.visual-card i {
    font-size: 2rem;
    color: var(--gold);
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.card-metric {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.card-1 {
    top: 10%;
    right: -5%;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    bottom: 15%;
    left: 5%;
    animation: float 4s ease-in-out infinite 1.5s;
}

.card-3 {
    top: 35%;
    left: 2%;
    transform: translateY(-50%);
    animation: float 4s ease-in-out infinite 3s;
}

.card-4 {
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
}

.card-5 {
    bottom: 20%;
    right: -5%;
    animation: float 4s ease-in-out infinite 2.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==================== SERVICES MODULE ==================== */
.services-module {
    background: var(--secondary-black);
    padding: 6rem 0;
}

.module-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.module-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.module-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: var(--tertiary-black);
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--tertiary-black) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gold);
    color: var(--primary-black);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.service-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border: 2px solid var(--gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gold);
    border-radius: 16px;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--primary-black);
    transform: scale(1.05);
}

.service-card:hover .icon-glow {
    opacity: 0.3;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.service-features i {
    color: var(--gold);
    font-size: 0.875rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--gold-light);
}

/* ==================== STATS MODULE ==================== */
.stats-module {
    background: var(--primary-black);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-box {
    background: var(--tertiary-black);
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.stat-box .stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gray-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.stat-box:hover .stat-icon {
    background: var(--gold);
    color: var(--primary-black);
    transform: scale(1.1);
}

.stat-box .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ==================== PORTFOLIO MODULE ==================== */
.portfolio-module {
    background: var(--secondary-black);
    padding: 6rem 0;
}

/* Premium Showcase Design */
.portfolio-showcase {
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: var(--tertiary-black);
    border: 2px solid var(--gold);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.showcase-image {
    position: relative;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 2rem;
}

.showcase-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 70px;
    height: 70px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-black);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.showcase-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.showcase-category {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-black);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

.showcase-status {
    display: flex;
    align-items: center;
    color: var(--gold);
    font-weight: 600;
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin: 0;
}

.showcase-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

.showcase-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-black);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.showcase-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
}

.result-item {
    text-align: center;
    flex: 1;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 600;
}

.result-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-200);
}

.showcase-actions {
    display: flex;
    gap: 1rem;
}

.showcase-actions .btn {
    flex: 1;
}

@media (max-width: 992px) {
    .showcase-card {
        grid-template-columns: 1fr;
    }
    
    .showcase-image {
        min-height: 400px;
    }
    
    .showcase-features {
        grid-template-columns: 1fr;
    }
    
    .showcase-actions {
        flex-direction: column;
    }
}

/* Old portfolio styles - keeping for other pages */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--tertiary-black);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.2);
}

/* Featured Project Styling */
.portfolio-item.featured-project {
    grid-column: span 2;
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(26, 26, 26, 1));
}

.portfolio-item.featured-project:hover {
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
}

.featured-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gold);
    color: var(--primary-black);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 2;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.featured-project .portfolio-image {
    height: 500px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-black);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.featured-project .portfolio-title {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-description {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
}

.highlight-item i {
    color: var(--gold);
    font-size: 1rem;
}

.portfolio-result {
    display: flex;
    align-items: center;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-button {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.featured-project .portfolio-button {
    width: auto;
    height: auto;
    padding: 1rem 2rem;
    border-radius: 50px;
    gap: 0.5rem;
    font-weight: 600;
}

.portfolio-button:hover {
    background: var(--gold-light);
    transform: scale(1.1);
}

/* ==================== TESTIMONIALS MODULE ==================== */
.testimonials-module {
    background: var(--primary-black);
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--tertiary-black);
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: var(--gold);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ==================== CTA MODULE ==================== */
.cta-module {
    background: var(--secondary-black);
    padding: 6rem 0;
}

.cta-container {
    background: var(--tertiary-black);
    border: 1px solid var(--gray-100);
    border-radius: 30px;
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content-center {
    position: relative;
    z-index: 2;
}

.cta-title-large {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description-large {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features-center {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 1rem;
}

.cta-feature i {
    color: var(--gold);
    font-size: 1.25rem;
}

/* Premium Call Button */
.cta-call-button {
    margin-bottom: 2rem;
}

.btn-call-primary {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    border-radius: 16px;
    padding: 1.5rem 3rem;
    text-decoration: none;
    color: var(--primary-black);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-call-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-call-primary:hover::before {
    opacity: 1;
}

.btn-call-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.6);
}

.call-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
}

.call-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.call-label {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.call-number {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.call-arrow {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-call-primary:hover .call-arrow {
    transform: translateX(5px);
}

.cta-availability {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .cta-title-large {
        font-size: 2rem;
    }
    
    .cta-features-center {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-call-primary {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .call-content {
        text-align: center;
    }
}

/* ==================== FOOTER MODULE ==================== */
.footer-module {
    background: var(--primary-black);
    border-top: 1px solid var(--gray-100);
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 0.5rem;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-600);
}

.footer-contact i {
    color: var(--gold);
    font-size: 1.125rem;
}

.footer-contact a {
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--gray-100);
    padding-top: 2rem;
    margin-top: 3rem;
}

.copyright {
    color: var(--gray-500);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold);
}

.footer-legal span {
    color: var(--gray-300);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1199px) {
    .hero-title { font-size: 3.5rem; }
    .module-title { font-size: 2.5rem; }
    .hero-visual { height: 500px; }
    .hero-image-wrapper { width: 400px; height: 400px; }
}

@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .module-title { font-size: 2rem; }
    .hero-visual { height: 400px; margin-top: 3rem; }
    .hero-image-wrapper { width: 350px; height: 350px; }
    .visual-card { padding: 1rem; }
    .card-metric { font-size: 1.25rem; }
    .cta-container { padding: 3rem 2rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2.5rem; }
    .module-title { font-size: 1.75rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-module { padding: 4rem 0 2rem; }
    .services-module, .portfolio-module, .testimonials-module, .cta-module { padding: 4rem 0; }
    
    .hero-stats { gap: 1.5rem; }
    .stat-divider { display: none; }
    .hero-description { font-size: 1.125rem; }
    .hero-cta { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
    
    .portfolio-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hero-visual { display: none; }
    .cta-container { padding: 2rem 1.5rem; }
    .footer-legal { flex-direction: column; text-align: center; gap: 0.5rem; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 2rem; }
    .module-title { font-size: 1.5rem; }
    .stat-number { font-size: 2rem; }
    .service-card, .stat-box, .testimonial-card { padding: 2rem; }
    .cta-form { padding: 2rem 1.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .brand-text { font-size: 1.25rem; }
    .navbar-brand .brand-icon { width: 40px; height: 40px; font-size: 1.25rem; }
}
