:root {
    --blue: #0057b7;
    --light-blue: #3a7bd5;
    --yellow: #ffd700;
    --light-yellow: #fff0aa;
    --dark: #111827;
    --light: #f9fafb;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.preloader-circle {
    width: 250px;
    height: 250px;
    border: 13px solid var(--yellow);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

.preloader-name {
    position: absolute;
    color: var(--yellow);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--yellow);
}

.logo .highlight {
    color: var(--yellow);
    font-style: italic;
    transition: var(--transition);
}

.logo:hover .highlight {
    color: var(--blue);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin-right: 30px;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

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

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

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

.lang-switch {
    display: flex;
    border-left: 1px solid #ccc;
    padding-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    opacity: 0.5;
    font-weight: 500;
    padding: 0 5px;
    transition: var(--transition);
    text-decoration: none;
}

.lang-btn.active {
    opacity: 1;
    color: var(--blue);
    font-weight: 600;
}

.lang-btn:hover {
    opacity: 1;
}

.burger-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.burger-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 9px;
}

.burger-line:nth-child(3) {
    top: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(45deg, var(--blue), var(--light-blue));
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23ffd700" fill-opacity="0.03"/></svg>');
    opacity: 0.5;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.hero-content {
    color: white;
    max-width: 50%;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--yellow);
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.2s;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.4s;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.6s;
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--yellow);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.8s;
}

.hero-btn:hover {
    background-color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

.hero-video {
    width: 45%;
    position: relative;
    z-index: 2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s forwards 1s;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

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

/* Floating Shapes */
.shape {
    position: absolute;
    opacity: 0.1;
    z-index: 1;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background-color: var(--yellow);
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    bottom: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background-color: var(--yellow);
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    top: 50%;
    right: 20%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    animation: float 6s ease-in-out infinite 1s;
}

/* About Section */
.about {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-image {
    flex: 0 0 40%;
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--yellow);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.experience-text {
    font-size: 14px;
    font-weight: 500;
}

.about-text {
    flex: 0 0 55%;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-timeline {
    margin-top: 40px;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    padding-bottom: 30px;
    border-left: 2px solid var(--blue);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--yellow);
    border: 2px solid var(--blue);
    border-radius: 50%;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--blue);
}

.timeline-text {
    font-size: 15px;
    line-height: 1.6;
}

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background-color: rgba(0, 87, 183, 0.05);
    position: relative;
}

.achievements-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><circle cx="5" cy="5" r="2" fill="%23ffd700" fill-opacity="0.2"/></svg>');
    opacity: 0.7;
}

.achievements-container {
    position: relative;
    z-index: 2;
}

.achievements-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.achievement-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 0 0 calc(33.33% - 20px);
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    transform: translateY(0);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 87, 183, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--blue);
    font-size: 28px;
}

.achievement-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 10px;
}

.achievement-description {
    font-size: 16px;
    color: var(--dark);
    line-height: 1.6;
}

/* Cases Section */
.cases {
    padding: 120px 0;
}

.cases-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 25px;
}

.case-date {
    font-size: 14px;
    color: var(--blue);
    margin-bottom: 10px;
    font-weight: 600;
}

.case-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-description {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 20px;
}

.case-link {
    display: inline-flex;
    align-items: center;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.case-link i {
    margin-left: 10px;
    transition: var(--transition);
}

.case-link:hover {
    color: var(--yellow);
}

.case-link:hover i {
    transform: translateX(5px);
}

/* Stories Section */
.stories {
    padding: 100px 0;
    background-color: var(--blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.stories-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="2" fill="white" fill-opacity="0.1"/></svg>');
}

.stories-container {
    position: relative;
    z-index: 2;
}

.section-header-light .section-subtitle {
    color: var(--yellow);
}

.section-header-light .section-title {
    color: white;
}

.story-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.story-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.story-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--yellow);
}

.story-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-link {
    display: inline-flex;
    align-items: center;
    color: var(--yellow);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.story-link i {
    margin-left: 10px;
    transition: var(--transition);
}

.story-link:hover {
    color: white;
}

.story-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 0 0 40%;
}

.contact-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--blue);
}

.contact-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 87, 183, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--blue);
    font-size: 20px;
}

.contact-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-value {
    color: #4b5563;
}

.contact-value a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

.contact-value a:hover {
    color: var(--yellow);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-link:hover {
    background-color: var(--yellow);
    color: var(--dark);
    transform: translateY(-5px);
}

.contact-form {
    flex: 0 0 55%;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background-color: #f9fafb;
    transition: var(--transition);
    font-size: 16px;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 87, 183, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--blue);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    font-family: inherit;
}

.submit-btn:hover {
    background-color: var(--yellow);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 87, 183, 0.2);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info {
    flex: 0 0 30%;
}

.footer-logo {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo .highlight {
    color: var(--yellow);
    font-style: italic;
}

.footer-description {
    max-width: 300px;
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
}

.footer-links-section {
    min-width: 160px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--yellow);
}

.footer-links {
    list-style: none;
}

.footer-link-item {
    margin-bottom: 10px;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-link i {
    margin-right: 8px;
    font-size: 12px;
}

.footer-link:hover {
    color: var(--yellow);
}

.footer-lang-switch {
    display: flex;
    margin-top: 15px;
}

.footer-lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    opacity: 0.7;
    font-weight: 500;
    padding: 0 5px;
    transition: var(--transition);
    font-size: 14px;
    text-decoration: none;
}

.footer-lang-btn.active {
    opacity: 1;
    color: var(--yellow);
    font-weight: 600;
}

.footer-lang-btn:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 14px;
    color: #9ca3af;
}

.copyright a {
    color: var(--yellow);
    text-decoration: none;
    transition: var(--transition);
}

.copyright a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-link {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--yellow);
    color: var(--dark);
    transform: translateY(-5px);
}

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

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content, .hero-video {
        max-width: 100%;
        width: 100%;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 0 0 100%;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        flex: 0 0 100%;
    }
    
    .footer-info {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .burger-menu {
        display: block;
    }
    
    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .achievement-card {
        flex: 0 0 100%;
    }
    
    .cases-wrapper {
        grid-template-columns: 1fr;
    }
}