/* Additional styles for the website */

/* Footer Styles */
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-info {
    flex-basis: 60%;
    margin-bottom: 20px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent);
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    margin-bottom: 12px;
}

.contact-label {
    font-weight: bold;
    color: var(--accent);
    margin-right: 5px;
}

.footer-links {
    flex-basis: 30%;
}

.footer-links h4 {
    color: var(--accent);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(232, 241, 242, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 28, 36, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 10px;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: none;
}

/* Section Styles for index.php */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    position: relative;
}

.hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-btn {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
#despre-noi {
    background-color: rgba(15, 28, 36, 0.8);
}

.about-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-content {
    flex-basis: 60%;
}

.about-stats {
    flex-basis: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.stat-box {
    background: linear-gradient(135deg, rgba(247, 206, 104, 0.1), rgba(255, 94, 91, 0.1));
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(247, 206, 104, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 10px;
}

/* Services Section */
.services-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-card {
    flex-basis: calc(33.33% - 20px);
    margin-bottom: 30px;
    background: rgba(15, 28, 36, 0.8);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(247, 206, 104, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-content {
    padding: 20px;
}

.service-title {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 20px;
}

/* Advantages Section */
.advantages-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.advantage-box {
    flex-basis: calc(25% - 20px);
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
    background: rgba(15, 28, 36, 0.8);
    border-radius: 8px;
    transition: transform 0.3s;
    border: 1px solid rgba(247, 206, 104, 0.2);
}

.advantage-box:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 15px;
}

.advantage-title {
    color: var(--accent);
    margin-bottom: 10px;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent), var(--contrast));
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background-color: var(--dark-bg);
    padding: 10px;
    flex-basis: calc(20% - 20px);
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--contrast));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-title {
    color: var(--accent);
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial {
    flex-basis: calc(50% - 20px);
    margin-bottom: 30px;
    background: rgba(15, 28, 36, 0.8);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    border: 1px solid rgba(247, 206, 104, 0.2);
}

.testimonial::before {
    content: '"';
    font-size: 60px;
    color: rgba(247, 206, 104, 0.2);
    position: absolute;
    top: 10px;
    left: 10px;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    color: var(--accent);
    font-weight: bold;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(247, 206, 104, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px;
    background: rgba(15, 28, 36, 0.8);
    color: var(--accent);
    cursor: pointer;
    position: relative;
    font-weight: bold;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    background: rgba(15, 28, 36, 0.5);
}

.faq-answer-content {
    padding: 15px;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-item.active .faq-answer {
    padding: 15px;
    max-height: 500px;
}

/* Form Section */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(247, 206, 104, 0.1), rgba(255, 94, 91, 0.1));
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(247, 206, 104, 0.2);
}

.form-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid rgba(247, 206, 104, 0.3);
    background-color: rgba(15, 28, 36, 0.8);
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 28, 36, 0.8);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(247, 206, 104, 0.2);
}

.policy-title {
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-card {
        flex-basis: calc(50% - 15px);
    }
    
    .advantage-box {
        flex-basis: calc(50% - 15px);
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .step {
        flex-basis: calc(33.33% - 20px);
        margin-bottom: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-info, .footer-links {
        flex-basis: 100%;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .about-content, .about-stats {
        flex-basis: 100%;
    }
    
    .service-card {
        flex-basis: 100%;
    }
    
    .advantage-box {
        flex-basis: 100%;
    }
    
    .step {
        flex-basis: 100%;
    }
    
    .testimonial {
        flex-basis: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
