/* Base Styles */
:root {
    --primary-bg: #0A0F22;
    --secondary-bg: #11152A;
    --tertiary-bg: #1B1F3B;
    --accent: #F8B400;
    --accent-gradient-end: #FF7000;
    --text-primary: #FFFFFF;
    --text-secondary: #C5C9D2;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gradient-end);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-gradient-end));
    margin: 15px auto 0;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

section:nth-child(odd) {
    background-color: var(--secondary-bg);
}

section:nth-child(even) {
    background-color: var(--tertiary-bg);
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--accent), var(--accent-gradient-end));
    color: var(--primary-bg);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    color: var(--primary-bg);
}

/* Animation for fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 15, 34, 0.95);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default, will be shown by JS */
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

#accept-cookies {
    background: linear-gradient(to right, var(--accent), var(--accent-gradient-end));
    color: var(--primary-bg);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

#accept-cookies:hover {
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 15, 34, 0.95);
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-primary);
    letter-spacing: 1px;
    position: relative;
}

.logo:hover {
    color: var(--text-primary);
}

.logo:after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-gradient-end));
    position: absolute;
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.logo:hover:after {
    transform: scaleX(1);
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: var(--text-primary);
}

.main-nav a:after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent-gradient-end));
    position: absolute;
    bottom: -3px;
    left: 0;
    transition: var(--transition);
}

.main-nav a:hover:after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(to right, var(--accent), var(--accent-gradient-end));
    color: var(--primary-bg) !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.nav-btn:hover {
    color: var(--primary-bg) !important;
    transform: translateY(-2px);
}

.nav-btn:after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: var(--primary-bg) url('../img/86R4PI.jpg') center/cover;
    background-attachment: fixed;
    background-blend-mode: multiply;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 15, 34, 0.8),
        rgba(10, 15, 34, 0.9)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* About Section */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: fadeIn 1s ease;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    animation: fadeIn 1s ease;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

/* Audit Types Section */
.audit-types-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    animation: fadeIn 1s ease;
}

.audit-type {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.audit-type:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.audit-type img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.audit-type h3 {
    padding: 20px 20px 10px;
    color: var(--accent);
}

.audit-type ul {
    padding: 0 20px 20px;
}

.audit-type li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.audit-type li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    animation: fadeIn 1s ease;
}

.why-us-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
}

.why-us-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.why-us-icon {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, var(--accent), var(--accent-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bg);
    font-weight: 700;
    font-size: 0.9rem;
}

.why-us-item h3 {
    margin-top: 10px;
    color: var(--accent);
}

/* Testimonials Section */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 20px;
}

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial:after {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    color: var(--accent);
    font-weight: 600;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 20px;
    margin: 0;
    cursor: pointer;
    position: relative;
}

.faq-question a {
    color: var(--text-primary);
    text-decoration: none;
    display: block;
}

.faq-question a:hover {
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 20px;
}

.faq-answer.show {
    max-height: 500px;
    padding: 0 20px 20px;
}

/* Contact Form */
.contact-form {
    background-color: var(--secondary-bg);
}

.audit-form {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.form-group select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
                      linear-gradient(135deg, var(--accent) 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;
}

.form-group select option {
    background-color: var(--primary-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--primary-bg);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.footer-logo:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-gradient-end));
    margin-top: 5px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer h3 {
    margin-bottom: 20px;
    position: relative;
}

.footer h3:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-gradient-end));
    margin-top: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Thanks Page */
.thanks-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.thanks-outer-frame {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
    border: 3px solid var(--accent);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(248, 180, 0, 0.15), rgba(255, 112, 0, 0.05));
    box-shadow: 0 0 30px rgba(248, 180, 0, 0.3);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thanks-outer-frame::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(248, 180, 0, 0.5);
    border-radius: 12px;
    pointer-events: none;
}

.thanks-outer-frame::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 17px;
    background: linear-gradient(45deg, var(--accent), var(--accent-gradient-end), transparent, var(--accent));
    z-index: -1;
    opacity: 0.5;
    animation: frameBorder 4s ease-in-out infinite;
}

@keyframes frameBorder {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.thanks-content {
    background-color: rgba(10, 15, 34, 0.9);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    animation: fadeIn 1s ease;
    position: relative;
}

.thanks-content h1 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 2rem;
}

.thanks-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.thanks-content .btn {
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(248, 180, 0, 0.3);
}

/* Legal Pages */
.legal-page {
    padding: 120px 0;
}

.legal-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    animation: fadeIn 1s ease;
}

.legal-content h1 {
    margin-bottom: 30px;
    color: var(--accent);
}

.legal-content h2 {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.legal-content h2:after {
    margin-left: 0;
    margin-right: auto;
    width: 50px;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 20px;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 101;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background-color: var(--primary-bg);
        padding: 80px 20px 20px;
        transition: var(--transition);
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.show {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer h3:after {
        margin: 10px auto 0;
    }
    
    .footer-logo:after {
        margin: 5px auto 0;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .legal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .why-us-grid,
    .services-grid,
    .audit-types-container {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
