:root {
    --primary: #05101a;
    /* Deep dark navy background */
    --secondary: rgba(211, 47, 47, 0.08);
    /* Glass effect using studio red */
    --accent: #d32f2f;
    /* Studio Red for vivid accents */
    --text-light: #ffffff;
    --text-gray: #b0c4de;
    /* Light steel blueish grey for elegant text */
    --glass: rgba(211, 47, 47, 0.05);
    /* Subtle red tint */
    --glass-hover: rgba(211, 47, 47, 0.15);
    /* Stronger red on hover */
    --border: rgba(211, 47, 47, 0.2);
    /* Red border for glass edges */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Northern Lights Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 15% 50%, rgba(211, 47, 47, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(211, 47, 47, 0.05), transparent 25%);
    z-index: -1;
    animation: auroraMove 15s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes auroraMove {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
/* Top Bar */
.top-bar {
    background: #fff;
    color: var(--primary);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    z-index: 1001;
    /* Above header */
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.top-bar a:hover {
    color: var(--accent);
}

/* Specific styling for phone */
#topbar-phone i {
    color: var(--accent);
    /* Phone icon red */
    font-size: 1rem;
}

#phone-display {
    color: var(--accent);
    font-weight: 700;
}

/* Slogan center - distinct color */
#topbar-slogan {
    color: #777;
    font-weight: 600;
}

/* Right side link */
#topbar-right-link {
    color: var(--accent);
    /* Red link */
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-auth a {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Header */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: #0a0a0a;
    /* Matte Charcoal Pitch Black */
    transition: var(--transition);
    border-bottom: 1px solid #222;
    /* Subtle dark border */
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    background: #0a0a0a;
    /* Ensure it stays black on scroll */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 150px;
    /* Larger initial size for visibility */
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 50px;
    /* Shrinks on scroll */
}

.logo:hover img {
    transform: scale(1.15);
    /* Increased zoom hover effect */
    cursor: pointer;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.desktop-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.desktop-nav a:hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider */
#hero-slider {
    height: 59vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

/* Slide Content Animations - Handled by slider-animations.css */

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(5, 16, 26, 0.6);
    color: var(--text-light);
    border: 1px solid var(--border);
    padding: 15px;
    cursor: pointer;
    z-index: 20;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(27, 127, 204, 0.4);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

/* Hero content styles moved to slider-animations.css for better animation control */
/*
.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to right, #e6f1ff, #64ffda);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #e6f1ff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto 40px;
}
*/

/* Buttons */
/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    border: 1px solid rgba(27, 127, 204, 0.5);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    border-color: var(--accent);
    color: white;
    box-shadow: 0 0 25px rgba(27, 127, 204, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: 600;
    margin-left: 15px;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Services Section */
#services {
    padding: 100px 0;
    background: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #fff, #b0c4de);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property added */
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

.section-header p {
    color: var(--text-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.services-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(5, 16, 26, 0.9) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.gallery-item:hover .glass-overlay {
    background: linear-gradient(to bottom, rgba(27, 127, 204, 0.2) 0%, rgba(5, 16, 26, 0.95) 100%);
}

.item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .item-caption {
    transform: translateY(0);
}

.item-caption h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.item-caption p {
    color: #b0c4de;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.gallery-item:hover .item-caption p {
    opacity: 1;
    transform: translateY(0);
}

.click-hint {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}

.gallery-item:hover .click-hint {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(27, 127, 204, 0.5);
    background: rgba(27, 127, 204, 0.08);
    /* Stronger tint on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(27, 127, 204, 0.2);
    /* Glow */
}

/* Old hover removed, replaced above */

.service-card .icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* About Section */
#about {
    padding: 100px 0;
    background: var(--secondary);
    overflow: visible;
    /* Allow badge to pop out if needed */
}

.col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    /* More gap */
    align-items: center;
}

.about-img {
    position: relative;
    z-index: 1;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-img::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent);
    z-index: -1;
    border-radius: 8px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--accent);
    color: var(--primary);
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.about-content h2 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--text-light);
}

.about-content .line {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin-bottom: 30px;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.features-list i {
    color: var(--accent);
}

/* Info Items contact */

/* Vision Section */
#vision {
    padding: 100px 0;
    background: var(--primary);
}


/* Stats */
#stats {
    padding: 60px 0;
    background: var(--primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

#stats .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
}

.stat-item .label {
    color: var(--accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glass Shatter Effect */
.glass-shard {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 1000;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shatter-anim 1s ease-out forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
}

@keyframes shatter-anim {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0);
        opacity: 0;
    }
}

/* CTA Section */
#cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    background-attachment: fixed;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Contact */
#contact {
    padding: 100px 0;
    background: var(--primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-gray);
}

.contact-form {
    background: var(--secondary);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: 1px solid var(--border);
    color: var(--text-light);
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
footer {
    background: #020609;
    padding: 50px 0 20px;
    color: var(--text-gray);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--secondary);
    z-index: 2000;
    padding: 50px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu a {
    font-size: 1.2rem;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Animations */
.fade-up,
.fade-right,
.fade-left {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-right {
    transform: translateX(-20px);
}

.fade-left {
    transform: translateX(20px);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {

    /* Hide Default Header Elements */
    .desktop-nav,
    .top-bar,
    .header-cta {
        display: none;
    }

    /* Mobile Header Optimization */
    header {
        background: rgba(5, 16, 26, 0.95);
        border-bottom: 1px solid rgba(27, 127, 204, 0.2);
        padding: 10px 0;
    }

    .logo img {
        height: 35px;
        /* Compact App-Like Logo */
    }

    .mobile-toggle {
        display: none;
        /* Hide hamburger, we use bottom nav */
    }

    /* Adjust Main Content Spacing */
    body {
        padding-bottom: 80px;
        /* Space for bottom nav */
    }

    /* App-Like Bottom Navigation */
    #mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: rgba(5, 16, 26, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #b0c4de;
        font-size: 0.75rem;
        gap: 5px;
        width: 100%;
        height: 100%;
        transition: all 0.3s ease;
    }

    .nav-item i {
        font-size: 1.4rem;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-item.active,
    .nav-item:active {
        color: var(--accent);
    }

    .nav-item.active i {
        transform: translateY(-5px);
        filter: drop-shadow(0 0 8px var(--accent));
    }

    /* Floating Action Button (Center) */
    .nav-item-fab {
        position: relative;
        top: -25px;
        background: var(--accent);
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 15px rgba(27, 127, 204, 0.6);
        border: 4px solid #05101a;
        /* Match bg to cut properly */
        color: white;
    }

    .nav-item-fab i {
        font-size: 1.5rem;
    }

    /* Mobile Text Sizes */
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 0;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* End of new mobile styles, continuing with existing responsive overrides */

    .col-2 {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    #stats .container {
        flex-direction: column;
        gap: 30px;
    }

    .img-placeholder::after {
        display: none;
    }
}

/* Live Support Widget Styles */
#live-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Outfit', sans-serif;
}

.live-support-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(27, 127, 204, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.live-support-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(27, 127, 204, 0.5);
}

.live-support-btn i {
    font-size: 1.2rem;
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: var(--secondary);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.chat-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: var(--primary);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
}

#close-chat {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

#close-chat:hover {
    color: #fff;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: rgba(10, 25, 47, 0.5);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    position: relative;
    line-height: 1.4;
}

.system-message {
    align-self: flex-start;
    background: var(--primary);
    color: var(--text-light);
    border-bottom-left-radius: 2px;
}

.user-message {
    align-self: flex-end;
    background: var(--accent);
    color: var(--primary);
    border-bottom-right-radius: 2px;
    font-weight: 500;
}

.message .time {
    display: block;
    font-size: 0.7rem;
    margin-top: 5px;
    opacity: 0.7;
    text-align: right;
}

.chat-footer {
    padding: 15px;
    background: var(--primary);
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border);
}

.chat-footer input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
}

.chat-footer input:focus {
    outline: none;
    border-color: var(--accent);
}

.chat-footer button {
    background: var(--accent);
    color: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-footer button:hover {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100% - 40px);
        bottom: 80px;
        right: 20px;
        left: 20px;
    }

    .live-support-btn {
        padding: 12px;
        border-radius: 50%;
    }

    .live-support-btn .btn-text {
        display: none;
    }
}

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 100px 0 60px;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.8)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2069&q=80') center/cover;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Gallery Grid */
#services-gallery-section {
    padding: 80px 0;
    background: var(--primary);
}

.services-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(2, 12, 27, 0.9), transparent);
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .item-caption {
    transform: translateY(0);
}

.item-caption h3 {
    color: var(--accent);
    margin-bottom: 5px;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.item-caption p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.click-hint {
    font-size: 0.8rem;
    color: var(--accent);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.gallery-item:hover .click-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Glass Overlay Effect for Service Items */
.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 5;
    pointer-events: none;
    /* Let clicks pass through initially */
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(100, 255, 218, 0.2);
    border: 2px solid var(--accent);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#caption {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 1.2rem;
    text-align: center;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 5001;
}

.close-lightbox:hover {
    color: var(--accent);
}

/* ========================================
   CORPORATE TEXT ANIMATIONS
   Elegant, Subtle, Professional
   ======================================== */

/* Sophisticated Gradient for Headings */
h1,
h2,
h3 {
    background: linear-gradient(135deg, #ffffff 0%, #ffcdd2 50%, #d32f2f 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: corporateGradient 12s ease-in-out infinite;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes corporateGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Refined Heading Hover - Minimal & Elegant */
h1,
h2,
h3,
h4 {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

h1:hover,
h2:hover,
h3:hover {
    letter-spacing: 1.5px;
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Elegant Paragraph Entry */
p {
    animation: elegantFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.8;
}

@keyframes elegantFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Section Headers */
.section-header h2 {
    position: relative;
    display: inline-block;
    animation: subtleGlow 4s ease-in-out infinite;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

@keyframes subtleGlow {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(100, 255, 218, 0.15),
            0 2px 8px rgba(0, 0, 0, 0.1);
    }

    50% {
        text-shadow: 0 0 25px rgba(100, 255, 218, 0.25),
            0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Sophisticated Hero Title */
.hero-content h1 {
    animation: premiumEntry 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        corporateGradient 12s ease-in-out infinite;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(100, 255, 218, 0.2);
    font-weight: 800;
}

@keyframes premiumEntry {
    from {
        opacity: 0;
        transform: translateY(-30px);
        letter-spacing: -3px;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 1px;
    }
}

/* Refined Service Card Animation */
.service-card h3 {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover h3::after {
    width: 100%;
}

.service-card:hover h3 {
    transform: translateY(-3px);
    letter-spacing: 0.5px;
}

/* Smooth About Section Title */
.about-content h2 {
    animation: smoothSlideIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes smoothSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Elegant Feature List */
.features-list li {
    opacity: 0;
    animation: corporateFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transition: all 0.3s ease;
}

.features-list li:nth-child(1) {
    animation-delay: 0.15s;
}

.features-list li:nth-child(2) {
    animation-delay: 0.3s;
}

.features-list li:nth-child(3) {
    animation-delay: 0.45s;
}

.features-list li:nth-child(4) {
    animation-delay: 0.6s;
}

.features-list li:hover {
    transform: translateX(8px);
    color: var(--accent);
}

@keyframes corporateFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Stats Animation */
.stat-item .number {
    animation: professionalScale 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 2px 15px rgba(100, 255, 218, 0.2);
    font-weight: 800;
}

@keyframes professionalScale {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.stat-item .label {
    animation: delayedFadeIn 1s ease 0.4s backwards;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes delayedFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Refined CTA Animation */
.cta-content h2 {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

/* Sophisticated Navigation */
.desktop-nav a {
    position: relative;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.desktop-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.desktop-nav a:hover::before {
    width: 100%;
}

.desktop-nav a:hover {
    transform: translateY(-2px);
    color: var(--accent);
}

/* Professional Footer */
footer h4 {
    animation: smoothFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

@keyframes smoothFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elegant Button Interactions */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover,
.btn-secondary:hover {
    letter-spacing: 1.5px;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Refined Gallery Captions */
.item-caption h3 {
    animation: captionEntry 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
}

@keyframes captionEntry {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Professional Contact Info */
.info-item h4 {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-item:hover h4 {
    color: var(--accent);
    transform: translateX(8px);
    letter-spacing: 1px;
}

/* Elegant Top Bar */
.top-bar a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
}

.top-bar a:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Premium Page Header */
.page-header h1 {
    animation: headerExpand 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    font-weight: 800;
}

@keyframes headerExpand {
    from {
        letter-spacing: -5px;
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        letter-spacing: 2px;
        opacity: 1;
        transform: scale(1);
    }
}

/* Sophisticated Badge */
.experience-badge .years {
    animation: badgeEntry 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 900;
}

@keyframes badgeEntry {
    from {
        transform: scale(0) rotate(-90deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.experience-badge .text {
    animation: delayedFadeIn 1s ease 0.6s backwards;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Refined Mobile Menu */
.mobile-menu a {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.mobile-menu a:hover {
    transform: translateX(12px);
    color: var(--accent);
    letter-spacing: 1px;
}

/* Premium Form Interactions */
.form-group input:focus,
.form-group textarea:focus {
    animation: formFocus 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

@keyframes formFocus {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.4);
    }

    100% {
        box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
    }
}

/* Elegant Chat Messages */
.message {
    animation: messageEntry 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes messageEntry {
    from {
        opacity: 0;
        transform: translateX(-15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.user-message {
    animation: userMessageEntry 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes userMessageEntry {
    from {
        opacity: 0;
        transform: translateX(15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Professional Typing Effect */
.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--accent);
    white-space: nowrap;
    animation: professionalTyping 4s steps(50, end),
        cursorBlink 1s step-end infinite;
    font-weight: 500;
}

@keyframes professionalTyping {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes cursorBlink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--accent);
    }
}

/* Luxury Shimmer Effect */
.shimmer-text {
    background: linear-gradient(120deg,
            rgba(230, 241, 255, 0.4) 0%,
            rgba(168, 218, 220, 0.8) 40%,
            rgba(100, 255, 218, 1) 50%,
            rgba(168, 218, 220, 0.8) 60%,
            rgba(230, 241, 255, 0.4) 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: luxuryShimmer 4s linear infinite;
    font-weight: 700;
}

@keyframes luxuryShimmer {
    to {
        background-position: 300% center;
    }
}

/* Smooth Scroll Reveal for All Text */
.fade-up.visible,
.fade-right.visible,
.fade-left.visible {
    animation: smoothReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes smoothReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* References Section */
#references {
    padding: 100px 0;
    background: var(--secondary);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.reference-item {
    background: var(--primary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.reference-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.15);
    background: rgba(100, 255, 218, 0.03);
}

.reference-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-logo img {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference-item:hover .reference-logo img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .reference-item {
        padding: 30px;
        min-height: 150px;
    }

    .reference-logo img {
        max-width: 150px;
        max-height: 100px;
    }
}

/* Portfolio / Projects Map Section */
#portfolio {
    padding: 100px 0;
    background: var(--primary);
}

.map-container {
    margin-top: 60px;
}

.map-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.turkey-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* 3D World Map Styles */
.world-map-3d {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.map-image-3d {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.8) contrast(1.1);
    transition: all 0.4s ease;
}

.world-map-3d:hover .map-image-3d {
    filter: brightness(0.9) contrast(1.2);
    transform: scale(1.02);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Turkey Main Marker */
.turkey-marker {
    position: absolute;
    top: 35%;
    left: 52%;
    transform: translate(-50%, -50%);
    animation: markerPulse 2s ease-in-out infinite;
}

.marker-pin {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #c41e3a 0%, #8b1428 100%);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.8),
        0 0 40px rgba(196, 30, 58, 0.4);
    position: relative;
}

.marker-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid #c41e3a;
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

.marker-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(196, 30, 58, 0.95);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Istanbul Marker */
.istanbul-marker {
    position: absolute;
    top: 33%;
    left: 51%;
    transform: translate(-50%, -50%);
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: #d32f2f;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.8);
    animation: dotPulse 1.5s ease-in-out infinite;
}

.marker-text {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 25, 47, 0.9);
    color: #d32f2f;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #d32f2f;
}

/* Kocaeli Marker */
.kocaeli-marker {
    position: absolute;
    top: 34%;
    left: 53%;
    transform: translate(-50%, -50%);
}

/* Animations */
@keyframes markerPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes ripple {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(100, 255, 218, 0.8);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 25px rgba(100, 255, 218, 1);
    }
}

.map-info {
    background: var(--secondary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.map-info h3 {
    color: var(--accent);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.service-areas {
    list-style: none;
    margin-bottom: 30px;
}

.service-areas li {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-areas li:last-child {
    border-bottom: none;
}

.service-areas li i {
    color: #c41e3a;
    font-size: 1.1rem;
}

.service-areas li:hover {
    padding-left: 10px;
    color: var(--accent);
}

.service-areas li:hover i {
    color: var(--accent);
    transform: scale(1.2);
}

.map-cta {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Responsive Map */
@media (max-width: 992px) {
    .map-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-info {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    #portfolio {
        padding: 60px 0;
    }

    .map-container {
        margin-top: 40px;
    }

    .region-label {
        font-size: 12px;
    }

    .map-info h3 {
        font-size: 1.3rem;
    }

    .service-areas li {
        font-size: 0.9rem;
    }
}

/* 3D Turkey Map Object Styles */
.turkey-3d-container {
    width: 100%;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

.turkey-3d-scene {
    width: 100%;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.turkey-map-3d {
    width: 400px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3D 20s infinite linear;
    transition: transform 0.3s ease;
}

.turkey-map-3d:hover {
    animation-play-state: paused;
    transform: rotateX(-15deg) rotateY(25deg) scale(1.1);
}

/* Main Turkey Body (3D Box) */
.turkey-body {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.turkey-face {
    position: absolute;
    width: 400px;
    height: 250px;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
    border: 2px solid #999;
    opacity: 0.9;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
}

.turkey-face.front {
    transform: translateZ(25px);
    background: linear-gradient(135deg, #d0d0d0 0%, #a8a8a8 100%);
    clip-path: polygon(10% 45%, 15% 40%, 25% 38%, 35% 40%, 45% 42%, 55% 40%,
            65% 38%, 75% 40%, 85% 45%, 90% 50%, 92% 60%, 90% 70%,
            85% 75%, 75% 78%, 65% 80%, 55% 78%, 45% 75%, 35% 72%,
            25% 68%, 15% 60%, 10% 50%);
}

.turkey-face.back {
    transform: translateZ(-25px) rotateY(180deg);
}

.turkey-face.top {
    transform: rotateX(90deg) translateZ(125px);
    height: 50px;
}

.turkey-face.bottom {
    transform: rotateX(-90deg) translateZ(125px);
    height: 50px;
}

.turkey-face.left {
    transform: rotateY(-90deg) translateZ(200px);
    width: 50px;
}

.turkey-face.right {
    transform: rotateY(90deg) translateZ(200px);
    width: 50px;
}

/* 3D Regions (Istanbul & Kocaeli) */
.region-3d {
    width: 60px;
    height: 60px;
    position: absolute;
    transform-style: preserve-3d;
    animation: regionPulse3D 2s ease-in-out infinite;
}

.istanbul-3d {
    left: 25%;
    top: 35%;
    transform: translateZ(50px);
}

.kocaeli-3d {
    left: 35%;
    top: 38%;
    transform: translateZ(50px);
}

.region-face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b1428 100%);
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.region-face.front {
    transform: translateZ(30px);
}

.region-face.back {
    transform: translateZ(-30px) rotateY(180deg);
}

.region-face.top {
    transform: rotateX(90deg) translateZ(30px);
}

.region-face.bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

.region-face.left {
    transform: rotateY(-90deg) translateZ(30px);
}

.region-face.right {
    transform: rotateY(90deg) translateZ(30px);
}

.region-label-3d {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateZ(40px);
    background: rgba(196, 30, 58, 0.95);
    color: #fff;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* Map Controls */
.map-controls {
    text-align: center;
    margin-top: 30px;
}

.map-hint {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-hint i {
    color: var(--accent);
    font-size: 1.1rem;
    animation: pointPulse 1.5s ease-in-out infinite;
}

/* 3D Animations */
@keyframes rotate3D {
    0% {
        transform: rotateX(-10deg) rotateY(0deg);
    }

    25% {
        transform: rotateX(-15deg) rotateY(90deg);
    }

    50% {
        transform: rotateX(-10deg) rotateY(180deg);
    }

    75% {
        transform: rotateX(-15deg) rotateY(270deg);
    }

    100% {
        transform: rotateX(-10deg) rotateY(360deg);
    }
}

@keyframes regionPulse3D {

    0%,
    100% {
        transform: translateZ(50px) scale(1);
    }

    50% {
        transform: translateZ(60px) scale(1.05);
    }
}

@keyframes pointPulse {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* 3D Globe Styles */
.globe-container {
    width: 100%;
    perspective: 1500px;
    perspective-origin: 50% 50%;
}

.globe-scene {
    width: 100%;
    height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateGlobe 30s infinite linear;
}

.globe:hover {
    animation-play-state: paused;
}

/* Globe Sphere */
.globe-sphere {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            #4a90e2 0%,
            #2c5f8d 40%,
            #1a3a5c 70%,
            #0d1f2d 100%);
    box-shadow:
        inset -40px -40px 80px rgba(0, 0, 0, 0.5),
        inset 20px 20px 40px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(74, 144, 226, 0.4),
        0 0 100px rgba(74, 144, 226, 0.2);
    transform-style: preserve-3d;
    overflow: hidden;
}

/* Continents pattern overlay */
.globe-sphere::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image:
        radial-gradient(ellipse 80px 60px at 45% 45%, #2d5a3d 40%, transparent 40%),
        radial-gradient(ellipse 100px 80px at 55% 50%, #2d5a3d 40%, transparent 40%),
        radial-gradient(ellipse 60px 40px at 40% 55%, #2d5a3d 40%, transparent 40%),
        radial-gradient(ellipse 90px 70px at 60% 40%, #3a6b4a 40%, transparent 40%);
    opacity: 0.6;
}

/* Globe shine/highlight */
.globe-shine {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.1) 40%,
            transparent 70%);
    pointer-events: none;
}

/* Turkey Region Container */
.turkey-region {
    position: absolute;
    top: 35%;
    left: 52%;
    transform: translate(-50%, -50%) translateZ(200px);
    transform-style: preserve-3d;
}

/* Region Markers */
.region-marker {
    position: absolute;
    transform-style: preserve-3d;
    animation: markerFloat 3s ease-in-out infinite;
}

.region-marker.istanbul {
    left: -15px;
    top: -10px;
}

.region-marker.kocaeli {
    left: 10px;
    top: 5px;
}

.marker-pin {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff3b3b 0%, #c41e3a 100%);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow:
        0 0 20px rgba(255, 59, 59, 0.8),
        0 0 40px rgba(255, 59, 59, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: pinPulse 2s ease-in-out infinite;
}

.marker-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 59, 59, 0.6);
    border-radius: 50%;
    animation: rippleEffect 2s ease-out infinite;
}

.marker-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(196, 30, 58, 0.95);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Globe Controls */
.globe-controls {
    text-align: center;
    margin-top: 30px;
}

.globe-hint {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.globe-hint i {
    color: #4a90e2;
    font-size: 1.2rem;
    animation: globeSpin 3s linear infinite;
}

/* Animations */
@keyframes rotateGlobe {
    0% {
        transform: rotateY(0deg) rotateX(-10deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(-10deg);
    }
}

@keyframes markerFloat {

    0%,
    100% {
        transform: translateZ(0) scale(1);
    }

    50% {
        transform: translateZ(10px) scale(1.1);
    }
}

@keyframes pinPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 20px rgba(255, 59, 59, 0.8),
            0 0 40px rgba(255, 59, 59, 0.4),
            0 4px 8px rgba(0, 0, 0, 0.3);
    }

    50% {
        transform: scale(1.15);
        box-shadow:
            0 0 30px rgba(255, 59, 59, 1),
            0 0 60px rgba(255, 59, 59, 0.6),
            0 4px 12px rgba(0, 0, 0, 0.4);
    }
}

@keyframes rippleEffect {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

@keyframes globeSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .globe {
        width: 300px;
        height: 300px;
    }

    .globe-scene {
        height: 450px;
    }

    .marker-label {
        font-size: 9px;
        padding: 3px 8px;
    }
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i {
    font-size: 24px;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-btn .btn-text {
    font-size: 16px;
    letter-spacing: 0.5px;
}

@keyframes whatsappPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        padding: 12px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn .btn-text {
        display: none;
    }
}

/* 3D Turkey Map Styles */
.turkey-map-container {
    width: 100%;
    perspective: 1000px;
}

.turkey-map-scene {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.turkey-map-3d-static {
    width: 100%;
    max-width: 800px;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(20deg) rotateY(0deg);
    transition: transform 0.5s ease;
}

.turkey-map-3d-static:hover {
    transform: rotateX(15deg) rotateY(5deg) scale(1.05);
}

/* Turkey Shape */
.turkey-shape {
    width: 100%;
    height: 100%;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.turkey-svg {
    width: 100%;
    height: 100%;
}

.turkey-outline {
    transition: all 0.3s ease;
}

.turkey-map-3d-static:hover .turkey-outline {
    filter: brightness(1.2);
    stroke-width: 4;
}

/* City Markers */
.city-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.city-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    animation: markerFloat 3s ease-in-out infinite;
}

.city-marker:nth-child(2) {
    animation-delay: 0.5s;
}

.city-marker:nth-child(3) {
    animation-delay: 1s;
}

.city-marker:nth-child(4) {
    animation-delay: 1.5s;
}

.city-marker:nth-child(5) {
    animation-delay: 2s;
}

.city-marker:nth-child(6) {
    animation-delay: 2.5s;
}

.marker-pin {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #fff;
    position: relative;
    margin: 0 auto 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pinPulse 2s ease-in-out infinite;
}

.marker-pin.primary {
    background: radial-gradient(circle, #ff3b3b 0%, #c41e3a 100%);
    width: 28px;
    height: 28px;
    box-shadow: 0 0 25px rgba(255, 59, 59, 0.8),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

.marker-pin.secondary {
    background: radial-gradient(circle, #d32f2f 0%, #b71c1c 100%);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

.marker-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: rippleEffect 2s ease-out infinite;
}

.marker-pin.primary::before {
    border: 2px solid rgba(255, 59, 59, 0.6);
}

.marker-pin.secondary::before {
    border: 2px solid rgba(100, 255, 218, 0.6);
}

.marker-label {
    background: rgba(10, 25, 47, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.marker-label span {
    font-size: 9px;
    font-weight: 500;
    opacity: 0.8;
}

.map-info-text {
    text-align: center;
    margin-top: 20px;
}

.map-info-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-info-text i {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Animations */
@keyframes markerFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

@keyframes pinPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes rippleEffect {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .turkey-map-scene {
        height: 400px;
    }

    .marker-label {
        font-size: 10px;
        padding: 4px 8px;
    }

    .marker-label span {
        font-size: 8px;
    }

    .marker-pin {
        width: 20px;
        height: 20px;
    }

    .marker-pin.primary {
        width: 24px;
        height: 24px;
    }
}

/* Video Introduction Section */
#video-intro {
    padding: 80px 0;
    background: var(--secondary);
}

#video-intro .section-header {
    text-align: center;
    margin-bottom: 60px;
}

#video-intro .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

#video-intro .section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.video-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.action-card {
    background: var(--primary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
}

.action-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c41e3a 0%, #8b1428 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.action-icon i {
    font-size: 24px;
    color: #fff;
}

.action-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.action-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.action-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.action-link:hover {
    gap: 12px;
}

.action-link i {
    transition: transform 0.3s ease;
}

.action-card:hover .action-link i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .video-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .action-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    #video-intro {
        padding: 60px 0;
    }

    #video-intro .section-header h2 {
        font-size: 2rem;
    }

    .video-actions {
        flex-direction: column;
    }

    .action-card {
        min-width: 100%;
    }
}

/* E-Katalog Section */
#e-catalog {
    padding: 100px 0;
    background: var(--primary);
}

#e-catalog .section-header {
    text-align: center;
    margin-bottom: 60px;
}

#e-catalog .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

#e-catalog .section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.catalog-card {
    background: var(--secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.catalog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.15);
}

.catalog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-image img {
    transform: scale(1.1);
}

.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 25, 47, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-card:hover .catalog-overlay {
    opacity: 1;
}

.catalog-btn {
    background: var(--accent);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.catalog-btn:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.catalog-content {
    padding: 25px;
}

.catalog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.catalog-content>p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.catalog-features {
    list-style: none;
    padding: 0;
}

.catalog-features li {
    color: var(--text-light);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.catalog-features i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    #e-catalog {
        padding: 60px 0;
    }

    #e-catalog .section-header h2 {
        font-size: 2rem;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .catalog-image {
        height: 220px;
    }
}

/* Video Gallery Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    z-index: 10001;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close:hover {
    background: rgba(100, 255, 218, 0.2) !important;
    transform: rotate(90deg);
}

.video-item:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.3) !important;
}

@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        padding: 2rem 1.5rem !important;
        max-height: 95vh !important;
    }

    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .section-header h2 {
        font-size: 2rem !important;
    }
}

/* ==========================================================================
   MODERN FLAT FOOTER (Metal & Red Theme)
   ========================================================================== */
.modern-footer {
    background: #0a0a0a;
    /* Metal Black Background */
    background-image: linear-gradient(to bottom, #111111, #000000);
    color: #ffffff;
    /* Studio White Text */
    font-size: 0.95rem;
    position: relative;
    padding-top: 30px;
    overflow: hidden;
    border-top: 3px solid #d32f2f;
    /* Red top border accent */
}

/* Subtle pattern for texture */
.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.footer-top {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* Brand Section */
.footer-brand .footer-logo {
    height: 90px;
    width: auto;
    margin-bottom: 20px;
    cursor: pointer;
    filter: brightness(0) invert(1);
    /* Ensure logo is white if it's black */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-brand .footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(211, 47, 47, 0.8)) brightness(1.2);
    /* Red glow */
}

.brand-desc {
    margin-bottom: 25px;
    color: #e0e0e0;
    /* Off-white for readability */
    line-height: 1.6;
    max-width: 280px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #d32f2f;
    /* Red background on hover */
    border-color: #d32f2f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* Footer Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #e0e0e0;
    /* Off-white */
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #d32f2f;
    /* Red Text Hover */
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(211, 47, 47, 0.3);
}

/* Contact Info */
.contact-group {
    margin-bottom: 25px;
}

.contact-header {
    color: #d32f2f;
    /* Red Headers */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text {
    color: #f5f5f5;
    /* Bright white/grey */
    line-height: 1.5;
    margin: 0;
    display: block;
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-text:hover {
    color: #ff5252;
    /* Lighter red on hover */
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
    margin-top: 20px;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.copyright-content {
    text-align: center;
}

.copyright-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #888888;
}

/* Flying Stars Animation (Red) */
.flying-star {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #d32f2f;
    /* Red stars */
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.8);
    animation: flyOut 1s ease-out forwards;
}

@keyframes flyOut {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-desc {
        max-width: 100%;
    }

    .copyright-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Glowing Logo Animation */
.glowing-logo {
    transition: filter 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.glowing-logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)) brightness(1.2);
    transform: scale(1.05);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6)) brightness(1.1);
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.9)) brightness(1.3);
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6)) brightness(1.1);
    }
}
/* Studio Star Animation */
@keyframes starPulse {
    0% { transform: scale(1); text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); opacity: 0.8; }
    50% { transform: scale(1.3); text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.8); opacity: 1; }
    100% { transform: scale(1); text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); opacity: 0.8; }
}

.studio-star {
    color: #ffffff !important;
    animation: starPulse 2s infinite ease-in-out;
    display: inline-block;
    margin: 0 2px;
}

.studio-star:nth-child(1) { animation-delay: 0.0s; }
.studio-star:nth-child(2) { animation-delay: 0.2s; }
.studio-star:nth-child(3) { animation-delay: 0.4s; }
.studio-star:nth-child(4) { animation-delay: 0.6s; }
.studio-star:nth-child(5) { animation-delay: 0.8s; }
