:root {
    --primary: #050a12;
    --primary-light: #0c1829;
    --primary-dark: #020408;
    --accent: #C9A227;
    --accent-light: #D4B84A;
    --dark: #08080c;
    --dark-light: #101018;
    --glass-bg: rgba(8, 12, 20, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(12, 24, 41, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(201, 162, 39, 0.05) 0%, transparent 40%);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background-color: var(--accent);
    color: var(--primary);
}

.currency-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(5, 10, 18, 0.75);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-16.6667%);
    }
}

.currency-item {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.currency-symbol {
    color: var(--accent);
    font-weight: 600;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.currency-code {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 0.5rem;
}

.currency-rate {
    font-weight: 600;
    color: #fff;
}

.currency-change {
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

.currency-change.positive {
    color: #34D399;
}

.currency-change.negative {
    color: #F87171;
}

.currency-divider {
    width: 1px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0 1rem;
}

.loading-text {
    color: rgba(255, 255, 255, 0.4);
    padding: 0 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: width 0.3s ease;
}

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

.hero-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--primary-dark) 100%);
    position: relative;
}

.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-canvas-container canvas {
    pointer-events: auto;
}

.globe-canvas-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .globe-canvas-container {
        width: 100%;
        opacity: 0.25;
    }
}

.hero-bg-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(201, 162, 39, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}

.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -150px;
    right: -150px;
    animation: float 25s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #1a4a7a;
    bottom: -100px;
    left: -100px;
    animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-light);
    top: 40%;
    left: 40%;
    animation: float 22s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -40px) scale(1.05);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 1s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 24px rgba(201, 162, 39, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 40px rgba(201, 162, 39, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    border-color: rgba(201, 162, 39, 0.5);
    background: rgba(201, 162, 39, 0.1);
    color: var(--accent);
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.news-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.news-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    background: rgba(12, 24, 41, 0.8);
}

.news-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.news-category {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 500;
    border-radius: 6px;
    backdrop-filter: blur(8px);
}

.news-category.gundem {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.news-category.mevzuat {
    background: rgba(168, 85, 247, 0.15);
    color: #C084FC;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.news-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

.news-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-description {
    display: none;
}

.news-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-link:hover {
    color: var(--accent-light);
}

.news-link svg {
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    width: 14px;
    height: 14px;
}

.news-link:hover svg {
    transform: translateX(4px);
}

.news-skeleton {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    height: 52px;
    position: relative;
    overflow: hidden;
}

.news-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.about-card {
    position: relative;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(201, 162, 39, 0.05);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(201, 162, 39, 0.05);
}

/* New Social Contact Cards */
.social-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-height: 160px;
    position: relative;
    overflow: hidden;
}

.social-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-contact-card[data-social="email"]::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.social-contact-card[data-social="phone"]::before {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.social-contact-card[data-social="instagram"]::before {
    background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045);
}

.social-contact-card[data-social="linkedin"]::before {
    background: linear-gradient(90deg, #0077b5, #00a0dc);
}

.social-contact-card:hover::before {
    opacity: 1;
}

.social-contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(201, 162, 39, 0.08);
}

.social-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    position: relative;
}

.social-icon-wrapper.email-icon {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(212, 184, 74, 0.1));
    box-shadow: 0 8px 32px rgba(201, 162, 39, 0.15);
}

.social-icon-wrapper.phone-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(74, 222, 128, 0.1));
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15);
}

.social-icon-wrapper.instagram-icon {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.15), rgba(253, 29, 29, 0.1), rgba(252, 176, 69, 0.1));
    box-shadow: 0 8px 32px rgba(131, 58, 180, 0.15);
}

.social-icon-wrapper.linkedin-icon {
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.15), rgba(0, 160, 220, 0.1));
    box-shadow: 0 8px 32px rgba(0, 119, 181, 0.15);
}

.social-contact-card:hover .social-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.social-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.social-value {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    word-break: break-all;
    line-height: 1.4;
}

.social-contact-card[data-social="email"]:hover .social-label {
    color: var(--accent);
}

.social-contact-card[data-social="phone"]:hover .social-label {
    color: #4ade80;
}

.social-contact-card[data-social="instagram"]:hover .social-label {
    color: #f472b6;
}

.social-contact-card[data-social="linkedin"]:hover .social-label {
    color: #60a5fa;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(37, 211, 102, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.whatsapp-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.whatsapp-icon-wrapper .social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .currency-banner {
        height: 36px;
    }

    .currency-item {
        padding: 0 1rem;
        font-size: 0.75rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .floating-shape {
        opacity: 0.08;
    }

    .shape-1 {
        width: 250px;
        height: 250px;
    }

    .shape-2 {
        width: 200px;
        height: 200px;
    }

    .shape-3 {
        display: none;
    }

    .news-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.875rem 1rem;
    }

    .news-card-header {
        width: 100%;
        justify-content: space-between;
    }

    .news-title {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* Social Contact Cards Mobile */
    .social-contact-card {
        min-height: 140px;
        padding: 1.25rem 0.75rem;
    }

    .social-icon-wrapper {
        width: 52px;
        height: 52px;
    }

    .social-icon {
        width: 26px;
        height: 26px;
    }

    .social-label {
        font-size: 0.8rem;
    }

    .social-value {
        font-size: 0.65rem;
    }

    .whatsapp-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 162, 39, 0.4);
}

/* ============================================
   PREMIUM ENHANCEMENTS - Enhanced Visual Effects
   ============================================ */

/* Animated Gradient Background for Hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(12, 24, 41, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.03) 0%, transparent 70%);
    animation: gradientPulse 8s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gradientPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Enhanced Navbar with Scroll Effect */
nav {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(5, 10, 18, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(201, 162, 39, 0.15) !important;
}

nav.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

/* Scroll-Triggered Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.visible.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.visible.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.visible.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.visible.delay-4 {
    transition-delay: 0.4s;
}

.animate-on-scroll.visible.delay-5 {
    transition-delay: 0.5s;
}

/* Enhanced Stat Cards */
.stat-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Counter Animation for Stats */
.stat-counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* Enhanced CTA Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-primary:active {
    transform: translateY(-1px);
}

/* Enhanced Service Cards with 3D Tilt */
.service-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

.service-card .service-icon {
    position: relative;
}

.service-card .service-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: inherit;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

/* Enhanced News Cards */
.news-card {
    position: relative;
    overflow: hidden;
}

.news-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.4s ease;
}

.news-card:hover::after {
    width: 100%;
}

/* Tab Transition Enhancement */
.tab-btn {
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.tab-btn:hover::before {
    width: 150%;
    height: 150%;
}

.tab-btn.active::before {
    display: none;
}

/* Enhanced About Card */
.about-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(201, 162, 39, 0.1);
}

/* Improved Section Transitions */
section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.2), transparent);
}

section:last-of-type::after {
    display: none;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

#mobile-menu.active {
    max-height: 300px;
    opacity: 1;
}

#mobile-menu:not(.hidden) {
    max-height: 300px;
    opacity: 1;
}

#mobile-menu a {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

#mobile-menu:not(.hidden) a {
    transform: translateX(0);
    opacity: 1;
}

#mobile-menu a:nth-child(1) {
    transition-delay: 0.05s;
}

#mobile-menu a:nth-child(2) {
    transition-delay: 0.1s;
}

#mobile-menu a:nth-child(3) {
    transition-delay: 0.15s;
}

#mobile-menu a:nth-child(4) {
    transition-delay: 0.2s;
}

/* Hamburger Animation */
#mobile-menu-btn svg {
    transition: transform 0.3s ease;
}

#mobile-menu-btn.active svg {
    transform: rotate(90deg);
}

/* Enhanced Social Contact Cards */
.social-contact-card {
    transform-style: preserve-3d;
}

.social-contact-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.social-contact-card .social-icon-wrapper {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-contact-card:hover .social-icon-wrapper {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Button Enhancement */
.whatsapp-btn {
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: whatsappShine 3s ease-in-out infinite;
}

@keyframes whatsappShine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* Footer Enhancement */
footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
}

/* ============================================
   IMPROVED RESPONSIVE DESIGN
   ============================================ */

/* Ultra Small Screens (320px) */
@media (max-width: 359px) {
    .hero-section h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 0.875rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card .text-3xl {
        font-size: 1.5rem !important;
    }

    .social-contact-card {
        min-height: 120px;
        padding: 1rem 0.5rem;
    }

    .social-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .service-card {
        padding: 1rem;
    }

    .section-title,
    h2 {
        font-size: 1.5rem !important;
    }
}

/* Small Mobile (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }

    .grid.grid-cols-3 {
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem 0.75rem;
    }

    .grid.grid-cols-2 {
        gap: 0.75rem;
    }
}

/* Large Mobile / Small Tablet (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem !important;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .social-contact-card {
        min-height: 150px;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section h1 {
        font-size: 3rem !important;
    }

    .grid.md\\:grid-cols-2 {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .about-card {
        padding: 2rem;
    }

    /* Better tablet nav spacing */
    .hidden.md\\:flex {
        gap: 1.5rem;
    }
}

/* Touch-Friendly Targets */
@media (hover: none) and (pointer: coarse) {

    .nav-link,
    .tab-btn,
    .btn-primary,
    .btn-secondary,
    .news-link,
    .social-contact-card {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Disable hover effects that don't work well on touch */
    .service-card:hover,
    .news-card:hover,
    .stat-card:hover {
        transform: none;
    }

    /* Use active state instead */
    .service-card:active {
        transform: scale(0.98);
    }

    .news-card:active {
        background: rgba(12, 24, 41, 0.9);
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-content {
        animation: none;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {

    .glass-bg,
    .stat-card,
    .news-card,
    .service-card,
    .social-contact-card {
        background: var(--primary) !important;
        border: 2px solid var(--accent) !important;
    }

    .text-gray-400,
    .text-gray-500 {
        color: rgba(255, 255, 255, 0.9) !important;
    }
}

/* Print Styles */
@media print {

    .currency-banner,
    nav,
    #hero-canvas-container,
    #globe-canvas-container,
    .animate-bounce,
    footer .flex.items-center.space-x-4 {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero-section {
        min-height: auto !important;
        padding: 2rem !important;
    }

    section {
        page-break-inside: avoid;
    }
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to Content Link (Accessibility) */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Compact Contact Links */
.contact-link-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link-compact:hover {
    border-color: rgba(201, 162, 39, 0.5);
    color: var(--accent);
    transform: translateY(-2px);
}

.contact-link-compact.whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.5);
    color: #25d366;
}

.contact-link-compact.instagram:hover {
    border-color: rgba(253, 29, 29, 0.5);
    color: #f472b6;
}

.contact-link-compact.linkedin:hover {
    border-color: rgba(0, 119, 181, 0.5);
    color: #60a5fa;
}

/* Contact Form Inputs */
.contact-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(201, 162, 39, 0.05);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.contact-input:invalid:not(:placeholder-shown) {
    border-color: #f87171;
}

select.contact-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C9A227'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

select.contact-input option {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem;
}

/* Glass Card for Form */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

/* Form Status Messages */
#form-status.success {
    color: #34d399;
}

#form-status.error {
    color: #f87171;
}

#form-status.loading {
    color: var(--accent);
}