/* Base styles and variables */
:root {
    --bg-primary: #0F1A2F;
    --accent: #F3B61F;
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --card-gradient: linear-gradient(135deg, #1C2A4A, #223559);
    --card-bg: #1A2639;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-xl: 16px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --error-color: #FF5252;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    opacity: 0.9;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 120px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.highlight {
    color: var(--accent);
}

/* Header styles */
header {
    background-color: rgba(15, 26, 47, 0.9);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* CSS-only hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}

/* Hero section */
.hero-section {
    padding-top: 150px;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* About section */
.about-section {
    background: var(--card-gradient);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--card-gradient);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
}

/* Benefits section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: var(--card-gradient);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-image {
    margin: -25px -25px 20px -25px;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.benefit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: var(--transition);
}

.benefit-item:hover .benefit-img {
    transform: scale(1.05);
}

.benefit-icon {
    margin-bottom: 15px;
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 26, 47, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
}

.benefit-item h3 {
    margin-bottom: 15px;
}

/* Testimonials section */
.testimonials-section {
    background: var(--card-gradient);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(15, 26, 47, 0.7);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonial-quote::before {
    content: "";
    font-size: 60px;
    color: var(--accent);
    position: absolute;
    left: -15px;
    top: -20px;
    opacity: 0.4;
}

.author-name {
    font-weight: bold;
    color: var(--accent);
    display: block;
}

.author-position {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-gradient);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
}

/* Contact section */
.contact-section {
    position: relative;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--box-shadow);
}

/* Form errors styles */
.form-errors {
    background-color: rgba(255, 82, 82, 0.1);
    border: 1px solid var(--error-color);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.form-errors ul {
    list-style-type: none;
}

.form-errors li {
    color: var(--error-color);
    margin-bottom: 5px;
}

.form-errors li:last-child {
    margin-bottom: 0;
}

.form-error-global {
    background-color: rgba(255, 82, 82, 0.1);
    border: 1px solid var(--error-color);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--error-color);
    max-width: 700px;
    margin: 0 auto 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input, select {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: rgb(15 26 47);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: 2px solid var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-button {
    width: 100%;
    background-color: var(--accent);
    color: var(--bg-primary);
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: rgba(15, 26, 47, 0.95);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p, .footer-col address {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-style: normal;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(176, 190, 197, 0.2);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    padding: 20px;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup p {
    flex: 1;
}

.cookie-popup button {
    background-color: var(--accent);
    color: var(--bg-primary);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-popup button:hover {
    opacity: 0.9;
}

/* Responsive styles */
@media (min-width: 768px) {
    .hero-section .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 40px;
    }

    .hero-image {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 0;
    }
    .hero-section h1{
        font-size: 2rem;
    }
    .about-content {
        flex-direction: column;
    }

    .hero-section {
        padding-top: 120px;
    }

    /* Hamburger menu for mobile */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        padding: 20px;
        box-shadow: var(--box-shadow);
    }

    nav ul li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        position: absolute;
        transition: var(--transition);
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 9px;
    }

    .hamburger span:nth-child(3) {
        bottom: 0;
    }

    #menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    #menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    #menu-toggle:checked ~ nav ul {
        display: flex;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
} 