/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #132c5c;
    --accent-color: #d63032;
    --text-color: #333333;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --container-padding: 0 5%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Sticky Navbar */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Parallax Decoration */
.parallax-decoration {
    position: fixed;
    right: -20px;
    top: 20%;
    width: 250px;
    z-index: 1001;
    /* Above most elements but below modal overlays if any */
    opacity: 0;
    /* Hidden by default, toggled via JS */
    pointer-events: none;
    /* Let clicks pass through */
    transition: transform 0.1s linear, opacity 0.5s ease;
}

.parallax-decoration.visible {
    opacity: 0.4;
    /* Slightly transparent as requested */
}

@media (max-width: 1024px) {
    .parallax-decoration {
        width: 150px;
        right: -10px;
        top: 15%;
    }
}

@media (max-width: 768px) {
    .parallax-decoration {
        display: none;
        /* Hide on mobile to avoid clutter */
    }
}

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

.nav-links a {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 60px;
        /* Adjusted top */
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(19, 44, 92, 0.6), rgba(19, 44, 92, 0.6)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features/Why Us Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

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

.feature-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Testimonials Carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    width: calc(300px * 6 + 120px);
    /* Adjust based on card width and gap */
    gap: 20px;
    animation: scroll 20s linear infinite;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ddd;
    margin-bottom: 15px;
    background-image: url('https://randomuser.me/api/portraits/men/32.jpg');
    background-size: cover;
}

/* Varying profile images */
.testimonial-card:nth-child(2) .profile-img {
    background-image: url('https://randomuser.me/api/portraits/women/44.jpg');
}

.testimonial-card:nth-child(3) .profile-img {
    background-image: url('https://randomuser.me/api/portraits/men/86.jpg');
}

.testimonial-card:nth-child(5) .profile-img {
    background-image: url('https://randomuser.me/api/portraits/women/44.jpg');
}

.testimonial-card:nth-child(6) .profile-img {
    background-image: url('https://randomuser.me/api/portraits/men/86.jpg');
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 3 - 60px));
    }

    /* Move by 3 items + gaps */
}

/* Specific Mobile Tweaks */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-content h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50px;
    margin-left: -3px;
    z-index: -1;
}

.timeline-item {
    padding: 10px 40px 40px 80px;
    position: relative;
}

.timeline-number {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 25px;
    background-color: var(--white);
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

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

.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        padding-left: 70px;
        padding-right: 10px;
    }

    .timeline-number {
        left: 6px;
    }
}

/* Pricing Styles */
.pricing-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    border-top: 5px solid var(--accent-color);
}

.pricing-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.pricing-body {
    padding: 40px;
    text-align: center;
}

.price {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.period {
    font-size: 1rem;
    color: #777;
    font-weight: 400;
}

.euro-equiv {
    color: #777;
    margin-bottom: 30px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: var(--accent-color);
}

.pricing-advantage {
    background: rgba(214, 48, 50, 0.1);
    color: var(--accent-color);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.cost-item {
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cost-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cost {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}