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

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(150deg, #0a0a0a 0%, #121212 100%) fixed;
    color: #ffffff;
    line-height: 1.6;
    position: relative;
    overflow-x: auto;
    width: 100%;
}

/* Animated background */
.main-header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(600px, 100vh, 800px);
    margin-bottom: -2rem;
}

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

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(0deg, 
        rgba(10, 10, 10, 1) 0%, 
        rgba(10, 10, 10, 0.98) 15%,
        rgba(10, 10, 10, 0.85) 30%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.3) 75%,
        rgba(10, 10, 10, 0.1) 100%);
    z-index: 2;
}

.header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}

.animated-logo {
    margin-bottom: 3rem;
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
}

.animated-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 40%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 3s ease-in-out infinite;
    filter: blur(12px);
}

.animated-logo img {
    width: auto;
    height: 300px;
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.7)) brightness(1.2);
    transition: all 0.5s ease;
}

.animated-logo:hover img {
    transform: scale(1.05);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(12px);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
        filter: blur(8px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.4);
    }
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

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

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

.logo img {
    height: clamp(80px, 20vw, 120px);
    width: auto;
    filter: invert(1);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 4vw, 4rem);
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: clamp(1rem, 3.5vw, 1.4rem);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Main content */
main {
    max-width: min(1200px, 100vw);
    width: 100%;
    margin: 0 auto;
    padding: min(2rem, 4vw);
}

.presentation-videos {
    max-width: min(1000px, 95vw);
    width: 100%;
    margin: min(4rem, 8vw) auto;
    display: flex;
    flex-direction: column;
    gap: min(3rem, 6vw);
    padding: 0 min(1rem, 3vw);
}

.video-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: bold;
    letter-spacing: min(2px, 0.5vw);
    animation: shine 3s ease-in-out infinite;
    padding: 0 min(1rem, 3vw);
}

.title-underline {
    width: min(200px, 50vw);
    height: min(3px, 0.8vw);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    margin: min(1rem, 3vw) auto 0;
    animation: glow-line 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes glow-line {
    0%, 100% {
        width: 200px;
        opacity: 0.5;
    }
    50% {
        width: 300px;
        opacity: 0.8;
    }
}

.video-container {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

section {
    margin: 4rem 0;
    padding: 2rem;
}

.services {
    margin: 4rem 0;
    padding: 3rem 2rem;
    text-align: center;
}

.services > p {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.2rem;
    line-height: 1.7;
    white-space: pre-line;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.welcome-title span {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.2;
    letter-spacing: 15px;
    font-family: 'Arial Black', 'Arial', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-stretch: expanded;
    color: white;
    text-shadow: 
        -1px -1px 0 rgba(0,0,0,0.3),
        1px -1px 0 rgba(0,0,0,0.3),
        -1px 1px 0 rgba(0,0,0,0.3),
        1px 1px 0 rgba(0,0,0,0.3),
        0 0 20px rgba(255,255,255,0.5);
    position: relative;
    filter: drop-shadow(0 5px 15px rgba(255,255,255,0.2));
}

.title-logo {
    height: clamp(120px, 25vw, 200px);
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    transition: all 0.5s ease;
    margin-top: 1rem;
}

.title-logo:hover {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    transform: scale(1.05);
}

.hero-content {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.hero-text {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-family: 'Cinzel', serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: textPulse 3s ease-in-out infinite;
    padding: 0 1rem;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.hero-description {
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.cta-button {
    display: inline-block;
    padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover::before {
    left: 100%;
}

button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Services section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: min(3rem, 5vw);
    margin: 3rem auto;
    max-width: 1000px;
    width: 100%;
    padding: 0 min(1rem, 3vw);
}

.card {
    padding: min(3rem, 5vw);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    min-height: min(600px, 90vh);
    max-height: min(600px, 90vh);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    transform: perspective(1000px) rotateX(0) rotateY(0);
    transform-style: preserve-3d;
}

.card:nth-child(1) {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(255, 215, 0, 0.1));
}

.card:nth-child(2) {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(192, 192, 192, 0.1));
}

.card:nth-child(3) {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(205, 127, 50, 0.1));
}

.card:nth-child(4) {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.2));
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    animation: glow 2s ease-in-out infinite;
    padding: 3.5rem 4rem;
}

.card:nth-child(4)::before,
.card:nth-child(4)::after {
    content: '⚔️';
    position: absolute;
    font-size: clamp(1.5rem, 5vw, 2rem);
    transition: all 0.5s ease;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    z-index: 2;
}

.card:nth-child(4)::before {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.card:nth-child(4)::after {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.card:nth-child(4):hover::before {
    opacity: 1;
    left: min(-1rem, -3vw);
    transform: translateY(-50%) rotate(-45deg) scale(1.2);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
}

.card:nth-child(4):hover::after {
    opacity: 1;
    right: min(-1rem, -3vw);
    transform: translateY(-50%) rotate(45deg) scale(1.2);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
}

.card:nth-child(4) .card-badge {
    position: absolute;
    top: -1rem;
    right: 1rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.3));
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    letter-spacing: 1px;
}

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

.card::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.card::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.card::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.card h3 {
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    margin-bottom: min(1rem, 3vw);
    color: #ffffff;
    text-align: center;
    padding-bottom: min(1rem, 3vw);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.card p {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
    line-height: 1.8;
    flex-grow: 1;
    white-space: pre-line;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    padding-right: min(1rem, 3vw);
    margin-bottom: min(0.5rem, 2vw);
}

.services-intro {
    max-width: min(800px, 90vw);
    margin: 0 auto min(2rem, 5vw);
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    line-height: 1.6;
    opacity: 0.9;
    padding: 0 min(1rem, 3vw);
}

.card p:first-of-type {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.card {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.card:hover {
    transform: perspective(1000px) translateY(-8px) rotateX(2deg) rotateY(-2deg);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    border-radius: 15px;
}

.card:hover::before {
    opacity: 1;
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.card:nth-child(4):hover {
    transform: perspective(1000px) translateY(-5px) scale(1.05) rotateX(2deg) rotateY(-2deg);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 12px 28px rgba(255, 255, 255, 0.15),
        0 0 30px rgba(255, 255, 255, 0.2);
}

/* Contact section */
.social-links {
    display: flex;
    justify-content: center;
    gap: min(2rem, 4vw);
    margin: min(2rem, 5vw) auto;
    padding: 0 min(1rem, 3vw);
    max-width: min(900px, 95vw);
    width: 100%;
    flex-wrap: wrap;
}

.contact-info {
    text-align: center;
    margin: min(2rem, 5vw) 0;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    padding: 0 min(1rem, 3vw);
}

.contact-info p {
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info i {
    color: #ffffff;
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: min(0.8rem, 2vw);
    color: white;
    text-decoration: none;
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    padding: min(1.2rem, 4vw) min(2rem, 5vw);
    transition: all 0.3s ease;
    min-width: min(250px, 80vw);
    justify-content: center;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 1.6rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}



.bottom-logo {
    text-align: center;
    margin: min(6rem, 12vw) auto min(2rem, 4vw);
    max-width: min(900px, 95vw);
    width: 100%;
    padding: 0 min(1rem, 3vw);
}

.bottom-logo img {
    width: auto;
    height: min(250px, 50vw);
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
    transition: all 0.5s ease;
    opacity: 0.9;
    max-width: 100%;
}

.bottom-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.6));
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: min(2rem, 5vw);
    margin-top: min(2rem, 5vw);
    font-size: clamp(0.9rem, 3vw, 1rem);
}
