/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #1C1B3B;
    --accent-color: #00F0FF;
    --gradient-start: #FFAFBD;
    --gradient-end: #ffc3a0;
    --text-primary: #FFFFFF;
    --text-secondary: #D3D3D3;
    --section-padding: 80px 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 40px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    color: var(--text-primary);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-submit {
    display: inline-block;
    padding: 12px 28px;
    background-color: #000000;
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover, .btn-secondary:hover, .btn-submit:hover {
    background-color: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 27, 59, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 10px;
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    list-style: none;
    margin: 0 15px;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hDoRx.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero .btn-primary {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: var(--section-padding);
    background-color: rgba(28, 27, 59, 0.9);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Advantages Section */
.advantages {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(28, 27, 59, 1), rgba(45, 43, 80, 1));
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.advantage-icon {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.advantage-item h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.advantage-item p {
    color: var(--text-secondary);
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: var(--primary-bg);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--accent-color);
}

.service-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.service-content ul {
    margin: 0 0 20px 20px;
    color: var(--text-secondary);
}

.service-content ul li {
    margin-bottom: 8px;
}

/* Methodology Section */
.methodology {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(45, 43, 80, 1), rgba(28, 27, 59, 1));
}

.methodology-steps {
    position: relative;
}

.methodology-steps:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 25px;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding: 0 20px;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--accent-color);
}

.step-content p {
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--primary-bg);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(0, 240, 255, 0.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--accent-color);
}

.author-position {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(28, 27, 59, 1), rgba(45, 43, 80, 1));
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: block;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 10px;
    font-weight: 600;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question:after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: rgba(0, 0, 0, 0.1);
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: var(--primary-bg);
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 25px;
    color: var(--accent-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-icon {
    margin-right: 15px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.office-hours {
    margin-top: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.office-hours h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background-color: var(--primary-bg);
    padding: 0 10px;
    color: var(--accent-color);
}

.select-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.select-group option {
    background-color: var(--primary-bg);
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.form-checkbox label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 50px 0 20px;
    background-color: #14132B;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-column p, .footer-column a {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}


.policy-page {
    padding: 120px 0 80px;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent-color);
}

.policy-content {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.policy-updated {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: right;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.policy-section p, .policy-section li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.policy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .policy-page {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
}


/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background-color: rgba(28, 27, 59, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    animation: slideIn 0.5s ease forwards;
}

.cookie-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-cookie {
    padding: 8px 20px;
    background-color: #000000;
    color: var(--text-primary);
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background-color: rgba(0, 240, 255, 0.1);
}

.cookie-link {
    font-size: 0.8rem;
}

@keyframes slideIn {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        font-size: 1.5rem;
        color: var(--text-primary);
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: rgba(28, 27, 59, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px;
        transition: right 0.3s ease;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .methodology-steps:before {
        left: 15px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
} 