/* Premium Stylesheet - Polina Real Estate */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color System */
    --primary-hsl: 215, 70%, 12%;
    --primary: hsl(var(--primary-hsl));
    --primary-light: hsl(215, 60%, 20%);
    --primary-ultra-light: hsl(215, 50%, 96%);

    --accent-hsl: 43, 60%, 53%;
    --accent: hsl(var(--accent-hsl));
    /* Premium Gold */
    --accent-light: hsl(43, 60%, 65%);
    --accent-dark: hsl(43, 65%, 42%);

    --text-main-hsl: 215, 40%, 16%;
    --text-main: hsl(var(--text-main-hsl));
    --text-muted: hsl(215, 20%, 45%);
    --text-light: hsl(215, 20%, 92%);

    --bg-white: #ffffff;
    --bg-light: #f6f8fa;
    --bg-glass: rgba(255, 255, 255, 0.75);

    --border-color: rgba(11, 34, 64, 0.08);
    --border-accent: rgba(212, 175, 55, 0.25);

    /* Layout Tokens */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --box-shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.02);
    --box-shadow-medium: 0 10px 40px rgba(11, 34, 64, 0.06);
    --box-shadow-premium: 0 20px 50px rgba(11, 34, 64, 0.12);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Selection */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

p {
    color: var(--text-muted);
}

/* Layout Utilities */
.section-padding {
    padding: 120px 0;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

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

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(11, 34, 64, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled .logo-title,
header.scrolled .nav-link,
header.scrolled .lang-select select {
    color: var(--bg-white);
}

header.scrolled .logo-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

header.scrolled .nav-link::after {
    background: var(--accent);
}

header.scrolled .nav-actions .btn-primary {
    background: linear-gradient(135deg, #D4AF37, #B89225);
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(184, 146, 37, 0.22);
}

header.scrolled .nav-actions .btn-primary:hover {
    background: linear-gradient(135deg, #E5C158, #C59B27);
    box-shadow: 0 12px 32px rgba(184, 146, 37, 0.38);
    transform: translateY(-2px);
}

header.scrolled .lang-select {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--bg-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    color: var(--primary);
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(11, 34, 64, 0.06);
    border: 1px solid rgba(11, 34, 64, 0.05);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

header.scrolled .logo-icon {
    background: var(--bg-white);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-title {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
    line-height: 1.2;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.logo-subtitle {
    font-family: var(--font-sans);
    font-size: 8px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.mobile-only-cta {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-smooth);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Selector */
.lang-select {
    background: rgba(11, 34, 64, 0.04);
    border: 1px solid rgba(11, 34, 64, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.lang-select select {
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
    text-transform: uppercase;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--bg-white);
    box-shadow: 0 8px 24px rgba(11, 34, 64, 0.16);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(11, 34, 64, 0.28);
    background: linear-gradient(135deg, var(--primary-light), hsl(215, 50%, 26%));
}

.btn-secondary {
    background: rgba(11, 34, 64, 0.02);
    color: var(--primary);
    border: 1px solid rgba(11, 34, 64, 0.12);
    box-shadow: var(--box-shadow-soft);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(11, 34, 64, 0.05);
    border-color: rgba(11, 34, 64, 0.25);
    box-shadow: var(--box-shadow-medium);
}

.btn-accent {
    background: linear-gradient(135deg, #D4AF37, #B89225);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(184, 146, 37, 0.22);
}

.btn-accent:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #E5C158, #C59B27);
    box-shadow: 0 12px 32px rgba(184, 146, 37, 0.38);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #104E2E, #1A7C4A);
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(26, 124, 74, 0.18);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1A7C4A, #239A5C);
    box-shadow: 0 12px 32px rgba(26, 124, 74, 0.3);
}

.btn-telegram {
    background: linear-gradient(135deg, #0F355C, #1A568C);
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(26, 86, 140, 0.18);
}

.btn-telegram:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1A568C, #2673BA);
    box-shadow: 0 12px 32px rgba(26, 86, 140, 0.3);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

header.scrolled .menu-toggle span {
    background: var(--bg-white);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05), transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(11, 34, 64, 0.03), transparent 60%),
        var(--bg-white);
    padding-top: 100px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-ultra-light);
    border: 1px solid var(--border-accent);
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.15);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
    font-family: var(--font-sans);
}

.hero-title span {
    display: block;
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: var(--accent-dark);
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-trust::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-showcase {
    position: relative;
    height: 650px;
}

.hero-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid var(--border-color);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
}

.hero-img-wrapper:hover img {
    transform: scale(1.03);
}

.hero-gold-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(11, 34, 64, 0.45) 0%, rgba(11, 34, 64, 0.88) 100%);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 24px 32px;
    color: white;
    box-sizing: border-box;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    z-index: 2;
}

.hero-gold-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 3;
}

.hero-gold-card:hover {
    background: linear-gradient(180deg, rgba(11, 34, 64, 0.5) 0%, rgba(11, 34, 64, 0.92) 100%);
}

.hero-gold-card p {
    color: var(--accent);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    margin-top: 0;
}

.hero-gold-card h4 {
    color: white;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
}

/* Statistics Strip */
.stats-strip {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

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

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-color);
}

.stat-item:last-child::after {
    display: none;
}

.stat-val {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
    font-family: var(--font-sans);
}

.stat-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.section-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

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

/* About Me Section */
.about {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: stretch;
}

.about-img-container {
    position: relative;
    height: 100%;
    min-height: 580px;
}

.about-img-box {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-medium);
    border: 1px solid var(--border-color);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

.about-remax-logo {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: var(--box-shadow-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.about-remax-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.about-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.about-feat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    color: var(--primary);
}

.about-feat-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-ultra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 14px;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    background: white;
    border: 1px solid var(--border-color);
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-soft);
}

.tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(11, 34, 64, 0.2);
}

.services-content-wrapper {
    position: relative;
    min-height: 400px;
}

.services-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s ease;
    display: none;
}

.services-pane.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.services-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow-soft);
    transition: var(--transition-bounce);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
    border-color: var(--accent);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-ultra-light);
    border-radius: var(--border-radius-sm);
    color: var(--accent-dark);
    font-size: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg,
.edu-icon-badge svg,
.eco-icon svg,
.badge-icon svg,
.hours-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.about-feat-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card:hover .service-icon svg,
.edu-card:hover .edu-icon-badge svg,
.eco-feature-card:hover .eco-icon svg {
    transform: scale(1.1) rotate(3deg);
    color: var(--accent-dark);
}

.service-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.services-banner-img {
    height: 100%;
    min-height: 480px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-medium);
    border: 1px solid var(--border-color);
}

.services-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.services-banner-img:hover img {
    transform: scale(1.04);
}

/* Results & Portfolio Section */
.portfolio {
    background: var(--bg-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.portfolio-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow-soft);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-premium);
}

.portfolio-media {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-media img {
    transform: scale(1.05);
}

.portfolio-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.portfolio-tag.sold {
    background: var(--accent);
    color: var(--primary);
}

.portfolio-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-loc {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.portfolio-loc::before {
    content: '📍';
}

.portfolio-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.portfolio-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.portfolio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.portfolio-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.portfolio-badge {
    background: var(--primary-ultra-light);
    border: 1px solid rgba(11, 34, 64, 0.06);
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

/* Educational Content Section */
.education {
    background: var(--bg-light);
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.edu-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow-soft);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
    border-color: var(--accent);
}

.edu-icon-badge {
    width: 48px;
    height: 48px;
    background: var(--primary-ultra-light);
    border-radius: var(--border-radius-sm);
    color: var(--primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.edu-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.edu-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.edu-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.edu-link span {
    font-size: 12px;
    transition: var(--transition-bounce);
}

.edu-link:hover {
    color: var(--accent-dark);
}

.edu-link:hover span {
    transform: translateX(4px);
}

/* Video Section */
.video {
    background: var(--bg-white);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.video-showcase {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    height: 450px;
    border: 1px solid var(--border-color);
}

.video-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 34, 64, 0.2), rgba(11, 34, 64, 0.75));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.video-btn {
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border-radius: 50%;
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition-bounce);
}

.video-btn:hover {
    transform: scale(1.1);
    background: var(--accent);
    color: var(--primary);
}

.video-details {
    color: white;
}

.video-details h4 {
    color: white;
    font-size: 24px;
    margin-bottom: 8px;
}

.video-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.video-playlist {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-playlist-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 16px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    background: var(--bg-light);
    transition: var(--transition-bounce);
}

.video-playlist-item:hover,
.video-playlist-item.active {
    background: white;
    border-color: var(--accent);
    box-shadow: var(--box-shadow-medium);
}

.playlist-thumb {
    width: 100px;
    height: 70px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: #000;
}

.playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.playlist-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Ecological Section */
.ecological {
    background: linear-gradient(135deg, hsl(215, 60%, 15%) 0%, hsl(215, 75%, 8%) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.ecological::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
}

.ecological .section-title {
    color: white;
}

.ecological .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.eco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.eco-content h3 {
    font-size: 32px;
    color: white;
    margin-bottom: 24px;
    font-family: var(--font-serif);
    font-weight: 400;
}

.eco-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    margin-bottom: 40px;
}

.eco-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.eco-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: var(--transition-bounce);
}

.eco-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.eco-icon {
    font-size: 24px;
    margin-bottom: 16px;
}

.eco-feature-card h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.eco-visual {
    position: relative;
    height: 100%;
    min-height: 480px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.eco-visual img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Social Proof & Testimonials Section */
.testimonials {
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.review-slider-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 64px;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: var(--box-shadow-soft);
}

.review-slider-box::before {
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 150px;
    font-family: var(--font-serif);
    color: rgba(212, 175, 55, 0.15);
    line-height: 1;
}

.rating-stars {
    color: var(--accent-dark);
    font-size: 18px;
    margin-bottom: 24px;
    display: flex;
    gap: 4px;
}

.review-quote {
    font-size: 20px;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 32px;
    font-style: italic;
}

.review-client {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 16px;
    font-weight: 700;
}

.client-details p {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonials-badge-box {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.trust-badge-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.badge-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-ultra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
    border: 1px solid var(--border-accent);
}

.badge-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.badge-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: stretch;
}

.contact-details-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--primary);
    color: white;
    padding: 64px;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.contact-details-box::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 75%);
    border-radius: 50%;
}

.contact-top h3 {
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-top p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.work-hours-list {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hours-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.hours-icon {
    font-size: 24px;
    color: var(--accent);
}

.hours-info h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 4px;
}

.hours-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.contact-bottom h4 {
    color: white;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.contact-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-form-box {
    background: white;
    padding: 64px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow-soft);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-sans);
    font-size: 15px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    outline: none;
    transition: var(--transition-smooth);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(11, 34, 64, 0.04);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-status {
    display: none;
    background: #e2fbf0;
    border: 1px solid #a8f0cf;
    color: #0b784a;
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    margin-top: 24px;
    font-weight: 600;
    font-size: 14px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* Footer Section */
footer {
    background: #071529;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    padding-top: 80px;
    padding-bottom: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .logo-title {
    color: white;
}

.footer-brand .logo-subtitle {
    color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    max-width: 320px;
}

.footer-links h4,
.footer-network h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-network-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-network-logo {
    height: 48px;
    display: flex;
    align-items: center;
}

.footer-network-logo img {
    height: 100%;
    object-fit: contain;
}

.footer-network-details p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    background: #030a14;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-bottom-flex p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-flex a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-bottom-flex a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

/* Premium Motion System (Framer-Motion style) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* Slide Left Variant */
.scroll-reveal.reveal-left {
    transform: translateX(-50px) translateY(0);
}

.scroll-reveal.reveal-left.active {
    transform: translateX(0) translateY(0);
}

/* Slide Right Variant */
.scroll-reveal.reveal-right {
    transform: translateX(50px) translateY(0);
}

.scroll-reveal.reveal-right.active {
    transform: translateX(0) translateY(0);
}

/* Scale / Zoom Variant */
.scroll-reveal.reveal-scale {
    transform: scale(0.95);
}

.scroll-reveal.reveal-scale.active {
    transform: scale(1);
}

/* Staggered Container animations */
.stagger-container {
    opacity: 1;
}

.stagger-container .stagger-item {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.stagger-container.active .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

/* Automated staggered delays for children */
.stagger-container.active .stagger-item:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-container.active .stagger-item:nth-child(2) {
    transition-delay: 0.15s;
}

.stagger-container.active .stagger-item:nth-child(3) {
    transition-delay: 0.25s;
}

.stagger-container.active .stagger-item:nth-child(4) {
    transition-delay: 0.35s;
}

.stagger-container.active .stagger-item:nth-child(5) {
    transition-delay: 0.45s;
}

.stagger-container.active .stagger-item:nth-child(6) {
    transition-delay: 0.55s;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-grid {
        gap: 40px;
    }

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

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

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

@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    #nav-cta-btn {
        display: none !important;
    }

    .mobile-only-cta {
        display: block !important;
        width: 100%;
        margin-top: 15px;
    }

    .mobile-only-cta .btn {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .nav-actions {
        gap: 8px;
    }

    .lang-select {
        padding: 5px 8px;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 9px;
    }

    .logo-title {
        font-size: 15px;
    }

    .logo-subtitle {
        font-size: 8px;
        letter-spacing: 0.4px;
    }

    /* Mobile Menu Drawer when open */
    .nav-container.open .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #0b2240;
        padding: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    }

    .nav-container.open .nav-link {
        color: white;
        font-size: 18px;
    }

    .nav-container.open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-container.open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-container.open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

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

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-showcase {
        height: 450px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-container {
        height: auto;
        min-height: auto;
        aspect-ratio: 1 / 1;
    }

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

    .services-banner-img {
        display: none;
    }

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

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

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

    .eco-visual {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item::after {
        display: none;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        align-items: center;
    }

    .footer-bottom-flex p {
        margin: 0;
        text-align: center;
        max-width: 520px;
    }

    .footer-top {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 580px) {
    .logo-subtitle {
        display: none !important;
    }

    .hero-gold-card {
        padding: 16px 20px;
    }

    .hero-gold-card h4 {
        font-size: 16px;
    }

    .hero-title {
        font-size: 32px !important;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 15px !important;
        margin-bottom: 24px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 36px auto;
    }

    .hero-ctas .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .hero-trust {
        flex-direction: row;
        justify-content: center;
        white-space: nowrap;
        font-size: clamp(8.5px, 2.3vw, 11px);
        letter-spacing: 0;
        gap: 6px;
    }

    .hero-trust::before {
        display: none;
    }

    .section-title {
        font-size: 28px !important;
    }

    section {
        padding: 60px 0;
    }

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

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

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

    .contact-details-box {
        padding: 32px;
    }

    .contact-form-box {
        padding: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}