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

:root {
    /* Colors - 다크 테마 */
    --primary-red: #ff3333;
    --primary-dark: #cc0000;
    --secondary-red: #ff6666;
    --accent-red: #ff0000;
    --accent-light: #ff9999;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --text-light: #999999;
    --bg-black: #000000;
    --bg-dark: #1a1a1a;
    --bg-darker: #0d0d0d;
    --border-gray: #333333;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-width: 1400px;
    --header-height: 80px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Base */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--bg-black);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Remove focus outline */
a:focus,
button:focus {
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hidden header state - desktop only */
.header.hidden {
    transform: translateY(-100%);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 900;
    min-width: 150px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    color: var(--text-white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 14px;
    color: var(--primary-red);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
}

/* Navigation */
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

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

.nav-link {
    display: block;
    padding: 30px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white);
    position: relative;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: var(--primary-red);
    font-weight: 700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

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

/* Header Tools */
.header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 200px;
    justify-content: flex-end;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    padding: 8px;
}

.search-btn:hover {
    color: var(--primary-red);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border-gray);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: none;
}

.language-selector:hover .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
    color: var(--text-white);
}

.lang-dropdown a:hover {
    background-color: var(--bg-darker);
    color: var(--primary-red);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

/* Main Visual */
.main-visual {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: var(--header-height);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%);
}

.visual-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
}

.visual-text {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.visual-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-sub {
    display: block;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 300;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.4s forwards;
}

.visual-desc {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.6s forwards;
}

.visual-buttons {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.8s forwards;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-red);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: white;
    margin: 10px auto 0;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: white;
    animation: scrollLine 2s infinite;
}

/* Business Area Section */
.business-area {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-gray);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.business-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    background: var(--bg-darker);
}

.business-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 51, 51, 0.2);
}

.business-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.business-item:hover .business-image img {
    transform: scale(1.1);
}

.business-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    transform: translateY(60%);
    transition: transform 0.3s ease;
}

.business-item:hover .business-overlay {
    transform: translateY(0);
}

.business-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.business-overlay p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.business-item:hover .business-overlay p {
    opacity: 1;
}

.business-link {
    display: inline-block;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding-right: 20px;
    position: relative;
}

.business-link::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: right 0.3s ease;
}

.business-link:hover::after {
    right: -5px;
}

/* Core Technology Section */
.core-technology {
    padding: 100px 0;
    background: var(--bg-black);
}

.tech-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 16px;
}

.tech-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
}

.tech-desc {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.tech-features {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-red);
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-gray);
}

.tech-link {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 500;
    padding-right: 20px;
    position: relative;
}

.tech-link::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: right 0.3s ease;
}

.tech-link:hover::after {
    right: -5px;
}

.tech-visual {
    position: relative;
}

.tech-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.tech-image img {
    width: 100%;
    height: auto;
}

/* News & Notice Section */
.news-notice {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.news-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.news-header,
.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.news-title,
.notice-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-white);
}

.more-link {
    font-size: 14px;
    color: var(--text-gray);
}

.more-link:hover {
    color: var(--primary-red);
}

.news-list,
.notice-list {
    list-style: none;
}

.news-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-gray);
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-item a {
    display: block;
}

.news-category {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: 8px;
}

.news-subject {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.news-item:hover .news-subject {
    color: var(--primary-red);
}

.news-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-date {
    font-size: 13px;
    color: var(--text-light);
}

.notice-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-gray);
}

.notice-item:first-child {
    padding-top: 0;
}

.notice-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-subject {
    font-size: 16px;
    color: var(--text-white);
    flex: 1;
    transition: color 0.3s ease;
}

.notice-item:hover .notice-subject {
    color: var(--primary-red);
}

.notice-date {
    font-size: 13px;
    color: var(--text-light);
}

/* Bottom Banner */
.bottom-banner {
    padding: 0;
}

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

.banner-item {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 1;
    position: relative;
}

.banner-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.banner-link {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid white;
    border-radius: 30px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.banner-link:hover {
    background-color: white;
    color: var(--bg-black);
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    color: white;
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: white;
}

.contact-info p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info strong {
    color: white;
}

.footer-bottom {
    padding: 30px 0;
}

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

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

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

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

@keyframes scrollLine {
    to {
        transform: translateY(60px);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 40px;
    }
    
    .tech-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .news-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    .visual-title {
        font-size: 48px;
    }
    
    .visual-buttons {
        flex-direction: column;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-menu {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Main Visual - Hero Section */
.main-visual {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 61, 122, 0.4) 0%,
        rgba(0, 61, 122, 0.3) 50%,
        rgba(0, 39, 84, 0.5) 100%
    );
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.visual-title {
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.title-line {
    display: block;
    font-size: clamp(40px, 8vw, 90px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    position: relative;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-text-fill-color: #ffffff !important;
    text-fill-color: #ffffff !important;
}

/* HYDRAULIC INNOVATION 텍스트 애니메이션 */
.title-line {
    display: block;
    font-size: clamp(40px, 8vw, 90px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.title-line:first-child {
    /* ENERPAC - 흰색으로 선명하게 */
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 15px rgba(255, 51, 51, 0.3);
    animation: 
        slideInLeft 1s ease-out,
        glowText 3s ease-in-out infinite alternate;
}

.title-line:nth-child(2) {
    /* PARTNER - 은은한 네온 효과 */
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.7),
        0 0 10px rgba(255, 51, 51, 0.4);
    animation: 
        slideInRight 1s ease-out 0.2s both,
        subtle-glow 3s ease-in-out infinite alternate;
    margin-bottom: 10px;
}

/* 글로우 효과 - 은은하게 조정 */
@keyframes glowText {
    0% {
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.9),
            0 0 10px rgba(255, 255, 255, 0.6),
            0 0 15px rgba(255, 51, 51, 0.3);
    }
    100% {
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 1),
            0 0 15px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 51, 51, 0.4);
    }
}

/* INNOVATION용 더 은은한 글로우 효과 */
@keyframes subtle-glow {
    0% {
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.7),
            0 0 10px rgba(255, 51, 51, 0.4);
    }
    100% {
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 0.9),
            0 0 15px rgba(255, 51, 51, 0.6);
    }
}

/* 슬라이드 애니메이션 */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.title-sub {
    display: block;
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 300;
    margin-top: 20px;
    opacity: 0.9;
}

.visual-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.visual-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    margin: 10px auto 0;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: scrollLine 2s infinite;
}

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

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

@keyframes scrollLine {
    to {
        top: 100%;
    }
}

/* Video Fallback */
.video-container img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Show fallback image if video fails */
.video-container video:not([src]),
.video-container video[src=""] {
    display: none;
}

.video-container video:not([src]) ~ img,
.video-container video[src=""] ~ img {
    display: block;
}

/* Video Wrapper for iframe embeds */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 Aspect Ratio */
    transform: translate(-50%, -50%);
    border: none;
}

/* Floating Buttons Styles */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    color: white;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Call Button */
.call-btn {
    background: #ff3333;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.call-btn:hover {
    background: #e60000;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(255, 51, 51, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 51, 51, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 51, 51, 0.4);
    }
}

/* Scroll to Top Button */
.scroll-top-btn {
    background: #333;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
    }
    
    .floating-btn svg {
        width: 20px;
        height: 20px;
    }
}
