/* General Styles */
:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
    --dark-blue: #1a237e;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    padding-top: 72px;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
}

.swift-logo {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.swift-line {
    position: absolute;
    background-color: white;
}

.swift-line-1 {
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    transform: rotate(0deg);
    animation: swiftLine1 2s infinite;
}

.swift-line-2 {
    width: 100%;
    height: 10px;
    top: 30px;
    left: 0;
    transform: rotate(0deg);
    animation: swiftLine2 2s infinite;
}

.swift-line-3 {
    width: 100%;
    height: 10px;
    top: 60px;
    left: 0;
    transform: rotate(0deg);
    animation: swiftLine3 2s infinite;
}

.swift-line-4 {
    width: 100%;
    height: 10px;
    top: 90px;
    left: 0;
    transform: rotate(0deg);
    animation: swiftLine4 2s infinite;
}

@keyframes swiftLine1 {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(45deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

@keyframes swiftLine2 {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(0deg); }
    50% { transform: rotate(45deg); }
    75% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

@keyframes swiftLine3 {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(45deg); }
    100% { transform: rotate(0deg); }
}

@keyframes swiftLine4 {
    0% { transform: rotate(0deg); }
    75% { transform: rotate(0deg); }
    100% { transform: rotate(45deg); }
}

/* Header */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--dark) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.floating {
    animation: floating 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-icons div {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.floating-icons .icon-1 {
    top: 20%;
    left: 10%;
    animation: floating 4s ease-in-out infinite 1s;
}

.floating-icons .icon-2 {
    top: 60%;
    left: 80%;
    animation: floating 5s ease-in-out infinite 0.5s;
}

.floating-icons .icon-3 {
    top: 80%;
    left: 20%;
    animation: floating 3.5s ease-in-out infinite 1.5s;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.trust-badges {
    padding: 1rem 0;
}

.trust-logo {
    height: auto;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.trust-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Trust Indicators */
.trust-indicators {
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Features Section */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hover-effect {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.hover-effect:hover .feature-icon {
    background-color: var(--primary) !important;
    color: white !important;
}

/* Video Section */
.video-section {
    position: relative;
    overflow: hidden;
}

.video-container {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-play-button:hover {
    background-color: var(--primary-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.counter {
    font-weight: 700;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
}

.rating {
    color: #ffc107;
}

/* Partners Section */
.grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.grayscale:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.z-index-1 {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--dark);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--dark-blue) 100%);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center !important;
    }
}