:root {
    --primary-color: #2755a2;
    --secondary-color: #ffffff;
    --background-color: hsl(188,11%,14%);
    --text-color: #ffffff;
    --font-family: 'Jost', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-image: url('/img/3626052.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    height: 100vh;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, padding 0.3s;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: padding 0.3s;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    transition: transform 0.3s;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.login-btn {
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.login-btn:hover {
    background-color: #1e4381;
    transform: translateY(-2px);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.3s;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 0 50px;
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.hero h1.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 strong {
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s, opacity 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.cta-button.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    background-color: #1e4381;
    transform: translateY(-2px);
}

.hero-video {
    flex: 1;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.hero-video.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.hero-video video {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.3s ease-in-out;
}

.hero-video:hover video {
    transform: perspective(1000px) rotateY(0deg);
}

/* Services, Quality, and About Section Styles */
.services, .quality, .about {
    padding: 300px 0;
    position: relative;
    overflow: hidden;
}

.services .container, .quality .container, .about .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quality .container {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    padding-right: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.text-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.services h2, .quality h2, .about h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 10px;
}

.services h3, .about h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services p, .quality p, .about p {
    font-size: 18px;
    margin-bottom: 40px;
}

.image-content {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.image-content.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.image-content img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(15deg);
    transition: transform 0.3s ease-in-out;
}

.image-content:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.service-icons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.service-icon {
    text-align: center;
    transition: transform 0.3s;
}

.service-icon:hover {
    transform: translateY(-5px);
}

.service-icon svg {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    fill: var(--primary-color);
    transition: fill 0.3s;
}

.service-icon:hover svg {
    fill: #1e4381;
}

.service-icon p {
    font-size: 14px;
}

/* Stats Section Styles */
.stats {
    background-color: var(--primary-color);
    padding: 80px 0;
}

.stats .container {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.stat-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-description {
    font-size: 18px;
    font-weight: 500;
}

/* Footer Styles */
footer {
    background-color: #111;
    padding: 60px 0 20px;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    transition: transform 0.3s;
}

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

.footer-links h3, .contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.contact-info p:hover {
    transform: translateX(5px);
}

.contact-info img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: opacity 0.3s, transform 0.3s;
        opacity: 0;
        transform: translateY(-10px);
    }

    nav ul.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero {
        flex-direction: column;
        padding: 100px 20px 50px;
        height: auto;
    }

    .hero-content, .hero-video {
        width: 100%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-video video {
        max-width: 100%;
        transform: none;
    }

    .services .container, .quality .container, .about .container {
        flex-direction: column;
    }

    .text-content, .image-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .services h2, .quality h2, .about h2 {
        font-size: 28px;
    }

    .services h3, .about h3 {
        font-size: 20px;
    }

    .services p, .quality p, .about p {
        font-size: 16px;
    }

    .service-icons {
        flex-wrap: wrap;
    }

    .service-icon {
        width: 50%;
        margin-bottom: 20px;
    }

    .stats .container {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo, .footer-links, .contact-info {
        margin-bottom: 30px;
    }
}

/* Animation for fade-in effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Scroll-triggered animations */
.scroll-trigger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

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

/* Smooth color transition for background */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, rgba(39, 85, 162, 0.2), rgba(39, 85, 162, 0.1), rgba(39, 85, 162, 0.2));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Hover effects for buttons and interactive elements */
.cta-button, .login-btn, .service-icon, .footer-links a {
    transition: all 0.3s ease;
}

.cta-button:hover, .login-btn:hover {
    box-shadow: 0 5px 15px rgba(39, 85, 162, 0.4);
}

.service-icon:hover, .footer-links a:hover {
    color: var(--primary-color);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}