/* Global Styles */
:root {
    --dark-blue: #0A0E23;
    --magenta: #EF476F;
    --amber: #FFD166;
    --turquoise: #06D6A0;
    --white: #FAFAFA;
    --gray: #B0B0B0;
}

/* Scroll padding for anchors */
html {
    scroll-padding-top: 100px; /* Adjust anchor positions to be higher */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Inter', sans-serif;
    background-color: var(--dark-blue);
    color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--turquoise);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--amber);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

section {
    padding: 4rem 0;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--magenta), var(--amber));
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

/* Header */
header {
    background-color: rgba(10, 14, 35, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-transform: lowercase;
}

.logo span {
    color: var(--turquoise);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--white);
    font-weight: 600;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Banner */
.main-banner {
    padding: 10rem 0 6rem;
    background: linear-gradient(to bottom right, rgba(10, 14, 35, 0.9), rgba(10, 14, 35, 0.95)), url('../img/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.main-banner h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.main-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--gray);
}

/* Services Section */
.services {
    background: linear-gradient(to bottom, var(--dark-blue), #141c3d);
    text-align: center;
}

.services h2 {
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.services h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--magenta), var(--amber));
    bottom: -10px;
    left: 20%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--magenta), var(--amber));
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 0;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.service-card p {
    color: var(--gray);
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

/* Benefits Section */
.benefits {
    text-align: center;
    background: linear-gradient(to bottom, #141c3d, var(--dark-blue));
}

.benefits h2 {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.benefits h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--amber), var(--turquoise));
    bottom: -10px;
    left: 20%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-icon img {
    width: 60px;
    height: 60px;
}

.benefit-item h3 {
    font-size: 1.2rem;
    color: var(--amber);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--gray);
}

/* Cases Section */
.cases {
    background: linear-gradient(to bottom, var(--dark-blue), #141c3d);
    text-align: center;
}

.cases h2 {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.cases h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--turquoise), var(--magenta));
    bottom: -10px;
    left: 20%;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.case-tile {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.case-tile:hover {
    transform: scale(1.03);
}

.case-tile img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.case-content {
    padding: 1.5rem;
    background: rgba(10, 14, 35, 0.9);
}

.case-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--turquoise);
}

.case-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(to bottom, #141c3d, var(--dark-blue));
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.testimonials h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--magenta), var(--turquoise));
    bottom: -10px;
    left: 20%;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
    position: absolute;
    top: -25px;
    left: 20px;
}

.testimonial-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--amber);
}

.testimonial-content {
    padding-top: 2rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-content h4 {
    color: var(--turquoise);
    margin-bottom: 0.3rem;
}

.testimonial-position {
    color: var(--gray);
    font-size: 0.8rem;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, var(--dark-blue), #141c3d);
    text-align: center;
}

.about h2 {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.about h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--amber), var(--magenta));
    bottom: -10px;
    left: 20%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text {
    text-align: left;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.licenses h3 {
    margin-bottom: 2rem;
    color: var(--amber);
}

.licenses-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.licenses-grid img {
    height: 80px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.licenses-grid img:hover {
    filter: grayscale(0%);
}

/* FAQ Section */
.faq {
    background: linear-gradient(to bottom, #141c3d, var(--dark-blue));
    text-align: center;
}

.faq h2 {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.faq h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--turquoise), var(--amber));
    bottom: -10px;
    left: 20%;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.faq-toggle-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    color: var(--white);
    text-decoration: none;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-toggle {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--gray);
    text-align: left;
}

.faq-answer.active {
    height: auto;
    padding: 0 1.5rem 1.5rem;
}

/* Contact Form Section */
.contact-form {
    background: linear-gradient(to bottom, var(--dark-blue), #141c3d);
    text-align: center;
}

.contact-form h2 {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.contact-form h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--magenta), var(--turquoise));
    bottom: -10px;
    left: 20%;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.form-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--turquoise), var(--amber), var(--magenta));
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 2px rgba(6, 214, 160, 0.3);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* Form Styling for Service Selection */
.form-group select {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--amber);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23FFD166'><polygon points='0,0 24,0 12,12'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.3);
}

.form-group select option {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 15px;
}

/* Form Errors */
.form-errors {
    background-color: rgba(239, 71, 111, 0.2);
    border: 2px solid var(--magenta);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.form-errors ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.form-errors li {
    color: var(--white);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.form-errors li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 2px;
}

.form-errors li:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: rgba(5, 7, 17, 0.95);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.footer-logo span {
    color: var(--turquoise);
}

.footer-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.footer-contact h3,
.footer-links h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-info {
    color: var(--gray);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--amber);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: var(--amber);
    padding-left: 5px;
}

.footer-links i {
    margin-right: 10px;
    font-size: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 320px;
    padding: 20px;
    background: var(--dark-blue);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    visibility: hidden;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.cookie-popup h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cookie-popup p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.cookie-popup button {
    width: 100%;
}

/* Legal Pages */
.legal-page {
    padding: 8rem 0 4rem;
}

.legal-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid var(--amber);
    max-width: 1000px;
    margin: 0 auto;
}

.legal-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--amber);
}

.legal-content h2 {
    color: var(--turquoise);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
    color: var(--gray);
}

.legal-content a {
    color: var(--turquoise);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Thank You Page */
.thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 4rem 0;
}

.thank-you-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--amber);
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.thank-you-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--magenta), var(--amber), var(--turquoise));
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--turquoise);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.thank-you h1 {
    color: var(--turquoise);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.thank-you p {
    max-width: 500px;
    margin: 0 auto 2rem;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.thank-you .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        width: 95%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .main-banner {
        padding: 8rem 0 4rem;
    }
    
    .main-banner h1 {
        font-size: 2.5rem;
    }
    
    /* Hide navigation on mobile */
    nav {
        display: none;
    }
    
    .header-container {
        justify-content: center;
    }
    
    .legal-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .main-banner h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .benefits-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .cookie-popup {
        width: 280px;
    }
}

/* Animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.service-icon img {
    animation: float 4s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon img {
    animation-delay: 1s;
}

.service-card:nth-child(3) .service-icon img {
    animation-delay: 2s;
} 