/* ========================================
   BRIQ - Premium Construction Company Website
   Extraordinary Design with Accordion Sections
   ======================================== */

/* CSS Variables */
:root {
    --primary: #0a1628;
    --primary-light: #1a2d4a;
    --secondary: #c9a227;
    --secondary-light: #e5c255;
    --accent: #2563eb;
    --accent-light: #60a5fa;
    --gold: #d4af37;
    --gold-gradient: linear-gradient(135deg, #c9a227 0%, #f4e4a6 50%, #c9a227 100%);
    --dark: #0f172a;
    --dark-light: #1e293b;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 10px 40px rgba(201, 162, 39, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Tajawal', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5px;
}

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

/* Selection */
::selection {
    background: var(--secondary);
    color: var(--primary);
}

/* ========================================
   PRELOADER
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.building {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: 20px;
}

.floor {
    width: 60px;
    height: 15px;
    background: var(--secondary);
    margin: 2px 0;
    animation: buildUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.floor:nth-child(1) { animation-delay: 0.2s; }
.floor:nth-child(2) { animation-delay: 0.4s; width: 50px; }
.floor:nth-child(3) { animation-delay: 0.6s; width: 40px; }

.crane {
    width: 4px;
    height: 40px;
    background: var(--secondary);
    position: relative;
    animation: buildUp 0.5s ease forwards 0.8s;
    opacity: 0;
}

.crane::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 4px;
    background: var(--secondary);
}

@keyframes buildUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: 10px;
    animation: pulse 1s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   PARTICLES
   ======================================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

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

.nav-cta .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--secondary);
}

.mobile-cta {
    margin-top: 2rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gold-gradient);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--glass);
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.7) 50%, rgba(10, 22, 40, 0.9) 100%);
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-badge i {
    color: var(--secondary);
}

.hero-badge span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.title-line {
    display: block;
    color: var(--text);
}

.title-highlight {
    display: block;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.8s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
}

.stat-plus {
    font-size: 1.5rem;
    color: var(--secondary);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--glass-border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

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

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

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

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.light .section-badge {
    background: rgba(201, 162, 39, 0.2);
    color: var(--secondary);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.title-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.title-decoration span {
    width: 60px;
    height: 2px;
    background: var(--secondary);
}

.title-decoration i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* About Intro with Image */
.about-intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gold-gradient);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.about-image-badge .big-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.about-image-badge span:last-child {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.about-intro h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.about-intro .intro-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 2;
    margin-bottom: 1rem;
}

.intro-text strong {
    color: var(--secondary);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--secondary);
    transform: translateX(-5px);
}

.about-feature i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.about-feature span {
    font-weight: 600;
}

/* Accordion with Image */
.accordion-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.accordion-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.accordion-text p strong {
    color: var(--secondary);
}

.accordion-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

/* Director Section */
.director-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.director-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* ========================================
   ACCORDION
   ======================================== */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--secondary);
}

.accordion-item.featured {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, transparent 100%);
    border-color: var(--secondary);
}

.accordion-item.highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
    border-color: var(--accent);
}

.accordion-item.active {
    box-shadow: var(--shadow-gold);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.accordion-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.accordion-title {
    flex: 1;
}

.accordion-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.accordion-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.accordion-toggle {
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.accordion-toggle i {
    color: var(--secondary);
    transition: var(--transition);
}

.accordion-item.active .accordion-toggle {
    background: var(--secondary);
}

.accordion-item.active .accordion-toggle i {
    color: var(--primary);
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
}

.accordion-inner {
    padding: 0 2rem 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.accordion-inner p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.accordion-inner p strong {
    color: var(--secondary);
}

/* Vision Pillars */
.accordion-visual {
    margin-top: 2rem;
}

.vision-pillars {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.pillar i {
    font-size: 2rem;
    color: var(--secondary);
}

.pillar span {
    font-weight: 600;
}

/* Director Message */
.director-message {
    position: relative;
    padding-right: 3rem;
    margin-bottom: 2rem;
}

.quote-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.quote-icon i {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.3;
}

/* Certifications */
.certifications {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
}

.certifications h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cert-item {
    padding: 0.5rem 1rem;
    background: var(--primary);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.value-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Why Us */
.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: var(--transition);
}

.why-item:hover {
    transform: translateX(-10px);
    border-color: var(--accent);
}

.why-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.why-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    background: var(--dark);
}

/* Services Tabs */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.service-tab:hover {
    border-color: var(--secondary);
}

.service-tab.active {
    background: var(--gold-gradient);
    color: var(--primary);
    border-color: transparent;
}

.service-tab i {
    font-size: 1.25rem;
}

/* Services Content */
.services-content {
    display: none;
}

.services-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

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

.service-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-gold);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -45px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-gold);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.service-card.large .service-image {
    height: 180px;
}

.realestate-grid {
    grid-template-columns: repeat(3, 1fr);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-features span i {
    color: var(--secondary);
    font-size: 0.75rem;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-section {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.9) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.project-category {
    padding: 0.5rem 1rem;
    background: var(--gold-gradient);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.95) 100%);
}

.project-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   METHODOLOGY SECTION
   ======================================== */
.methodology-section {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
}

.methodology-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.methodology-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
    z-index: 2;
}

.timeline-content {
    flex: 1;
    max-width: calc(50% - 50px);
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-gold);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-icon i {
    font-size: 1.25rem;
    color: var(--secondary);
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.timeline-content li::before {
    content: '●';
    position: absolute;
    right: 0;
    color: var(--secondary);
    font-size: 0.5rem;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
    background: var(--dark);
}

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

.partner-card {
    text-align: center;
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-gold);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.partner-logo i {
    font-size: 2rem;
    color: var(--primary);
}

.partner-card h4 {
    font-size: 1rem;
    color: var(--text);
}

/* ========================================
   CALCULATOR SECTION
   ======================================== */
.calculator-section {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-form {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group label i {
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.btn-calculate {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--gold-gradient);
    border: none;
    border-radius: 12px;
    color: var(--primary);
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-calculate:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.calculator-result {
    background: var(--glass);
    border: 2px solid var(--secondary);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    display: none;
}

.calculator-result.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.result-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-header i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.result-header h3 {
    font-size: 1.25rem;
}

.result-amount {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.currency {
    font-size: 1rem;
    color: var(--text-muted);
}

.result-note {
    padding: 1rem;
    background: var(--primary);
    border-radius: 10px;
}

.result-note p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.result-note i {
    color: var(--secondary);
}

.calculator-notes {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
}

.calculator-notes h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.calculator-notes ul {
    list-style: none;
}

.calculator-notes li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.calculator-notes li::before {
    content: '●';
    position: absolute;
    right: 0;
    color: var(--secondary);
    font-size: 0.5rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact-card {
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.btn-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--gold-gradient);
    border: none;
    border-radius: 12px;
    color: var(--primary);
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* Map Container */
.map-container {
    margin-top: 4rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-99%);
}

.footer-wave svg {
    width: 100%;
    height: 100px;
    fill: var(--primary);
}

.footer-content {
    padding: 4rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
}

.footer-brand .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-logo-img {
    max-height: 56px;
    width: auto;
    margin-bottom: 0.5rem;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: transparent;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-right: 0.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.footer-badges span {
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--secondary);
}

/* ========================================
   BACK TO TOP & WHATSAPP FLOAT
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.back-to-top i {
    color: var(--primary);
    font-size: 1.25rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float i {
    color: white;
    font-size: 2rem;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-intro-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image img {
        height: 400px;
    }

    .about-image-badge {
        bottom: -20px;
        right: 20px;
    }

    .accordion-with-image {
        grid-template-columns: 1fr;
    }

    .director-section {
        grid-template-columns: 1fr;
    }

    .director-image img {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        display: block;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .realestate-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: repeat(4, 1fr);
    }

    .timeline-content {
        max-width: 100%;
    }

    .methodology-timeline::before {
        right: 30px;
        transform: none;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-right: 80px;
    }

    .timeline-number {
        right: 0;
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 300px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-tabs {
        flex-direction: column;
    }

    .service-tab {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .accordion-header {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .accordion-icon {
        width: 50px;
        height: 50px;
    }

    .accordion-icon i {
        font-size: 1.25rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .back-to-top,
    .whatsapp-float {
        left: 1rem;
    }
}

/* ========================================
   AOS ANIMATIONS (Custom)
   ======================================== */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}
