/* Base Styles */
:root {
    --bg-color: #060821;
    --primary-accent: #D93D1A;
    --secondary-accent: #F4E04D;
    --text-color: #FAFAFA;
    --interactive-color: #44AF69;
    --gradient: linear-gradient(135deg, #060821 0%, #0B1524 100%);
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-accent);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--secondary-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Buttons */
.button, .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--interactive-color);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
}

.button:hover, .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--text-color);
}

.cta-button {
    background-color: var(--primary-accent);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(6, 8, 33, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
}

.logo:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.logo:hover:after {
    transform: scaleX(1);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    color: var(--text-color);
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.main-nav a:hover:after, .main-nav a.active:after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav .cta-button:after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: var(--transition);
}

.hamburger:before, .hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.hamburger:before {
    top: -10px;
}

.hamburger:after {
    bottom: -10px;
}

.hamburger.active {
    background-color: transparent;
}

.hamburger.active:before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger.active:after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--gradient);
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/HCIKdX.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background: var(--gradient);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--gradient);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-left: 3px solid var(--primary-accent);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin: -30px -30px 20px -30px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--gradient);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--secondary-accent);
    transition: height 0.3s ease;
}

.benefit-card:hover:before {
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    color: var(--secondary-accent);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Process Timeline */
.process {
    background: var(--gradient);
}

.timeline {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
    padding-top: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-accent);
}

.timeline-item {
    flex: 1;
    margin: 0 15px;
    position: relative;
}

.timeline-content {
    padding: 20px;
    background: rgba(6, 8, 33, 0.8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--secondary-accent);
    border-radius: 50%;
}

.timeline-number {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-accent);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 1;
}

/* Testimonials */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    min-width: 100%;
    padding: 30px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-content {
    position: relative;
    font-style: italic;
    padding-left: 30px;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 60px;
    color: var(--primary-accent);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 700;
}

.testimonial-company {
    color: var(--secondary-accent);
}

/* Pure CSS slider */
@keyframes slide {
    0% { transform: translateX(0); }
    25% { transform: translateX(0); }
    30% { transform: translateX(-100%); }
    55% { transform: translateX(-100%); }
    60% { transform: translateX(-200%); }
    85% { transform: translateX(-200%); }
    90% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.testimonials-track {
    animation: slide 30s infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

/* Form Section */
.form-section {
    padding: 80px 0;
}

.form-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--gradient);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.form-contact-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-details {
    margin: 20px 0;
}

.contact-item {
    margin-bottom: 10px;
    text-align: left;
}

.form-image {
    height: 200px;
    overflow: hidden;
    margin-top: 20px;
    border-radius: var(--border-radius);
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-content {
    padding: 40px;
    text-align: left;
}

.form-content h3,
.form-content button {
    text-align: left;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-row input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1rem;
}

.form-row select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FAFAFA'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

.form-row select option {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 10px;
}

.form-row select:focus {
    border-color: var(--secondary-accent);
    box-shadow: 0 0 0 2px rgba(244, 224, 77, 0.2);
}

.form-row input:focus {
    outline: none;
    border-color: var(--interactive-color);
}

.form-row.checkbox {
    display: flex;
    align-items: center;
}

.form-row.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-submit {
    padding: 12px 24px;
    background-color: var(--interactive-color);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    box-shadow: 0 0 15px var(--interactive-color);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    display: block;
    width: 100%;
    padding: 20px;
    background: var(--gradient);
    color: var(--text-color);
    text-align: left;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    background: rgba(6, 8, 33, 0.5);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #04051a;
    padding: 80px 0 20px;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    text-align: left;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.footer h3 {
    color: var(--secondary-accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(6, 8, 33, 0.95);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup p {
    margin: 0;
    padding-right: 20px;
}

.cookie-popup button {
    padding: 8px 16px;
    background-color: var(--interactive-color);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    margin: 120px auto 50px;
    padding: 40px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-accent);
}

.legal-container h1 {
    margin-bottom: 30px;
}

.legal-container h2 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.legal-container ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-container ul li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    height: calc(100vh - 200px);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

.thank-you-content {
    max-width: 600px;
    padding: 50px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--interactive-color);
    margin: 0 auto;
}

.thank-you h1 {
    margin-bottom: 20px;
    color: var(--interactive-color);
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--interactive-color);
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-card {
        grid-template-columns: 1fr;
    }
    
    .form-image {
        height: 300px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        height: 300px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .timeline {
        flex-direction: column;
        padding-left: 30px;
    }
    
    .timeline:before {
        left: 15px;
        top: 0;
        width: 4px;
        height: 100%;
    }
    
    .timeline-item {
        margin: 0 0 40px 0;
        position: relative;
    }
    
    .timeline-content:before {
        left: -38px;
        top: 15px;
    }
    
    .timeline-number {
        left: -45px;
        top: 10px;
        transform: none;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--gradient);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav ul li {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .main-nav ul li a {
        display: block;
        width: 100%;
        padding: 8px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        float: right;
    }
    
    .timeline-item:nth-child(odd) .timeline-content:before,
    .timeline-item:nth-child(even) .timeline-content:before {
        left: -45px;
    }
    
    .timeline-item:nth-child(odd) .timeline-number,
    .timeline-item:nth-child(even) .timeline-number {
        left: 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-container {
        padding: 20px;
    }
}
