/* Loading Animation */
body.loading {
    overflow: hidden;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

body:not(.loading) #loader-wrapper {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-logo {
    width: 80px;
    height: 80px;
    animation: rotate 2s linear infinite;
}

.loader-circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 5;
    stroke-dasharray: 283;
    stroke-dashoffset: 280;
    animation: dash 1.5s ease-in-out infinite;
}

.loader-circle-inner {
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 5;
    stroke-dasharray: 126;
    stroke-dashoffset: 125;
    animation: dash-inner 1.5s ease-in-out infinite;
}

.loading-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    opacity: 0.8;
    animation: pulse 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% {
        stroke-dashoffset: 280;
    }
    50% {
        stroke-dashoffset: 75;
    }
    100% {
        stroke-dashoffset: 280;
    }
}

@keyframes dash-inner {
    0% {
        stroke-dashoffset: 125;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 125;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

:root {
    --primary-color: #084984;
    --secondary-color: #062d50;
    --text-color: #494949;
    --light-bg: #f3f4f6;
    --white: #ffffff;
}

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

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

.main-header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
    margin-left: auto;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgb(230 233 232), rgba(37, 99, 235, 0.05));
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}
section#hero{
    max-width: 100%;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
}

section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-family: inherit;
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-footer {
    background-color: var(--light-bg);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-text {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.legal-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.burger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Fade in animations */
.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
    .fade-out,
    .fade-in {
        transition: none;
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.5rem 1rem;
        flex-direction: row;
        position: relative;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .legal-text {
        font-size: 0.85rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-image {
        height: 160px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 30px;
    }
}

/* Privacy Policy Styles */
.privacy-policy-content {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.privacy-section {
    padding: 2rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.privacy-section h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-bg);
}

.policy-content h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-content ul {
    margin: 1rem 0 1.5rem 2rem;
    list-style-type: disc;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-policy-content {
        padding: 80px 1rem 2rem;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .privacy-section h1 {
        font-size: 2rem;
    }

    .policy-content h2 {
        font-size: 1.3rem;
    }

    .policy-content h3 {
        font-size: 1.1rem;
    }
}

/* Terms and Conditions Styles */
.terms-content {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.terms-section {
    padding: 2rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.terms-section h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.terms-body {
    max-width: 800px;
    margin: 0 auto;
}

.terms-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-bg);
}

h2 {
    color: var(--primary-color);
}
.terms-body h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
}

.terms-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.terms-body a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-body a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .terms-content {
        padding: 80px 1rem 2rem;
    }

    .terms-section {
        padding: 1.5rem;
    }

    .terms-section h1 {
        font-size: 2rem;
    }

    .terms-body h2 {
        font-size: 1.3rem;
    }
}

/* Cookie Policy Styles */
.cookie-policy-content {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.cookie-policy-section {
    padding: 2rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.cookie-policy-section h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.cookie-policy-body {
    max-width: 800px;
    margin: 0 auto;
}

.policy-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-bg);
    font-size: 1.1rem;
}

.cookie-policy-body h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
}

.cookie-policy-body h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.cookie-policy-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.cookie-types {
    margin: 1.5rem 0;
}

.cookie-type {
    background: var(--light-bg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.cookie-type:hover {
    transform: translateY(-2px);
}

.cookie-type h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.cookie-type p {
    margin-bottom: 0;
}

.cookie-policy-body a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-policy-body a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-policy-content {
        padding: 80px 1rem 2rem;
    }

    .cookie-policy-section {
        padding: 1.5rem;
    }

    .cookie-policy-section h1 {
        font-size: 2rem;
    }

    .cookie-policy-body h2 {
        font-size: 1.3rem;
    }

    .cookie-policy-body h3 {
        font-size: 1.1rem;
    }

    .cookie-type {
        padding: 1rem;
    }
}
