/* 
======================
Global Styles
======================
*/
:root {
    --color-bg: #0E0B16;
    --color-accent-1: #A239CA;
    --color-accent-2: #4717F6;
    --color-light: #E7DFDD;
    --color-text: #D9D9D9;
    --color-button-gradient-1: #F18F01;
    --color-button-gradient-2: #FF5F00;
    --color-border: #2E1F27;
    --font-main: 'Arial', sans-serif;
    --shadow: 0 4px 15px rgba(162, 57, 202, 0.2);
    --glow: 0 0 15px rgba(162, 57, 202, 0.5);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Add padding for anchors to appear below fixed header */
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--color-accent-1);
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent-2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-light);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent-1), var(--color-accent-2));
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--color-button-gradient-1), var(--color-button-gradient-2));
    color: var(--color-light) !important;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

/* 
======================
Header
======================
*/
header {
    background-color: rgba(14, 11, 22, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-light);
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo a:hover {
    color: var(--color-accent-1);
}

.nav-menu ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-accent-1);
}

.nav-menu a.cta-button {
    color: var(--color-light) !important;
}

.mobile-menu-toggle {
    display: none;
}

.menu-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    padding: 0;
}

.menu-toggle-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* 
======================
Hero Section
======================
*/
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(14, 11, 22, 0.9), rgba(71, 23, 246, 0.4)), url('img/6cHuD8.jpg') no-repeat center center/cover;
    margin-top: 0;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
}

.hero-content .cta-button {
    animation: fadeIn 1.5s ease;
}

/* 
======================
About Section
======================
*/
.about-section {
    background-color: rgba(14, 11, 22, 0.97);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-achievements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.achievement-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-light);
    box-shadow: var(--shadow);
}

.achievement-content h3 {
    margin-bottom: 5px;
    color: var(--color-accent-1);
}

/* 
======================
Services Section
======================
*/
.services-section {
    background-color: rgba(46, 31, 39, 0.2);
}

.tabs {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: rgba(14, 11, 22, 0.5);
}

.tab-navigation {
    display: flex;
    background-color: rgba(46, 31, 39, 0.5);
}

.tab-form {
    display: flex;
    width: 100%;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.tab-btn:hover {
    background-color: rgba(162, 57, 202, 0.2);
}

.tab-btn.active {
    background-color: var(--color-accent-1);
    color: var(--color-light);
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: var(--color-accent-1);
    margin-bottom: 20px;
}

.tab-pane ul {
    margin: 20px 0;
    list-style-type: disc;
    padding-left: 20px;
}

.tab-pane ul li {
    margin-bottom: 10px;
}

.tab-pane .cta-button {
    margin-top: 20px;
}

/* 
======================
Advantages Section
======================
*/
.advantages-section {
    background-color: rgba(14, 11, 22, 0.97);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.advantage-card {
    background-color: rgba(46, 31, 39, 0.2);
    border-radius: 10px;
    padding: 0 0 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.advantage-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.advantage-card:hover .advantage-image img {
    transform: scale(1.05);
}

.advantage-card h3 {
    color: var(--color-accent-1);
    margin-bottom: 15px;
    padding: 0 20px;
}

.advantage-card p {
    padding: 0 20px;
}

/* 
======================
Testimonials Section
======================
*/
.testimonials-section {
    background-color: rgba(46, 31, 39, 0.2);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: rgba(14, 11, 22, 0.5);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: rgba(162, 57, 202, 0.2);
    font-family: serif;
}

.testimonial-author {
    text-align: right;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-nav-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    color: var(--color-accent-1);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(162, 57, 202, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot:hover {
    background-color: rgba(162, 57, 202, 0.5);
}

.nav-dot.active {
    background-color: var(--color-accent-1);
}

/* 
======================
Contact Section
======================
*/
.contact-section {
    background-color: rgba(14, 11, 22, 0.97);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: rgba(46, 31, 39, 0.3);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--glow);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-accent-1), var(--color-accent-2));
    z-index: -1;
    border-radius: 12px;
    filter: blur(10px);
    opacity: 0.7;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-light);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    background-color: rgba(231, 223, 221, 0.1);
    color: var(--color-light);
    border-radius: 5px;
    transition: var(--transition);
}

.form-group select {
    background-color: rgba(46, 31, 39, 0.5);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--color-accent-1) 50%),
                      linear-gradient(135deg, var(--color-accent-1) 50%, transparent 50%);
    background-position: calc(100% - 20px) center, calc(100% - 15px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 30px;
    cursor: pointer;
}

.form-group select option {
    background-color: rgba(14, 11, 22, 0.95);
    color: var(--color-light);
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-accent-1);
    outline: none;
    box-shadow: 0 0 10px rgba(162, 57, 202, 0.7);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

.checkbox-group a {
    text-decoration: underline;
}

.submit-group {
    margin-top: 30px;
    text-align: center;
}

.submit-button {
    padding: 12px 30px;
    background: linear-gradient(to right, var(--color-button-gradient-1), var(--color-button-gradient-2));
    color: var(--color-light);
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

.form-errors {
    background-color: rgba(255, 95, 0, 0.3);
    border-left: 4px solid var(--color-button-gradient-2);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.form-errors p {
    margin-bottom: 5px;
    color: var(--color-light);
}

/* 
======================
FAQ Section
======================
*/
.faq-section {
    background-color: rgba(46, 31, 39, 0.2);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-form {
    width: 100%;
}

.faq-question {
    width: 100%;
    background-color: rgba(14, 11, 22, 0.6);
    color: var(--color-light);
    border: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: rgba(162, 57, 202, 0.3);
}

.faq-question.active {
    background-color: var(--color-accent-1);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.faq-answer {
    background-color: rgba(14, 11, 22, 0.4);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px;
}

/* 
======================
Footer
======================
*/
footer {
    background-color: rgba(14, 11, 22, 0.97);
    padding: 60px 0 20px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-light);
}

.footer-about p {
    opacity: 0.8;
}

.footer-contact h3,
.footer-links h3 {
    color: var(--color-accent-1);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(46, 31, 39, 0.5);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 
======================
Cookie Popup
======================
*/
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(14, 11, 22, 0.95);
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-button {
    padding: 8px 20px;
    background: linear-gradient(to right, var(--color-button-gradient-1), var(--color-button-gradient-2));
    color: var(--color-light);
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-button:hover {
    box-shadow: var(--glow);
}

/* 
======================
Legal Pages
======================
*/
.legal-page {
    padding: 150px 0 80px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(46, 31, 39, 0.2);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.legal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    pointer-events: none;
}

.legal-title {
    color: var(--color-accent-1);
    margin-bottom: 30px;
    text-align: center;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h3 {
    color: var(--color-accent-1);
    margin-bottom: 15px;
}

.legal-section ul,
.legal-section ol {
    padding-left: 20px;
    margin: 15px 0;
}

.legal-section ul li,
.legal-section ol li {
    margin-bottom: 10px;
}

/* 
======================
Thank You Page
======================
*/
.thanks-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 0 80px;
}

.thanks-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.thanks-frame {
    background-color: rgba(46, 31, 39, 0.2);
    padding: 60px 40px;
    border-radius: 10px;
    border: 2px solid var(--color-accent-1);
    box-shadow: var(--shadow);
    position: relative;
}

.thanks-icon {
    font-size: 4rem;
    color: var(--color-accent-1);
    margin-bottom: 20px;
}

.thanks-frame h1 {
    margin-bottom: 20px;
    color: var(--color-light);
}

.thanks-frame p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.back-button {
    display: inline-block;
    margin-top: 20px;
}

/* 
======================
Animations
======================
*/
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { 
        opacity: 0; 
        transform: translateY(-30px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* 
======================
Media Queries
======================
*/
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 78px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: rgba(14, 11, 22, 0.95);
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.open {
        height: calc(100vh - 78px);
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-achievements {
        grid-template-columns: 1fr;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .legal-container {
        padding: 30px 20px;
    }
}
