/* 
Domain Corporate Website - Style Sheet
*/

:root {
    /* Color Palette */
    --bg-color: #1A1333;
    --accent-color: #FF6F3C;
    --secondary-color: #40F2A1;
    --text-color: #EAEAEA;
    
    /* Font Settings */
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 40px;
    padding: 4rem 0;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(26, 19, 51, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 111, 60, 0.2);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo:hover {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.phone {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.phone i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

 

#menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 2;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    position: absolute;
    transition: all 0.3s ease;
}

.menu-btn span:nth-child(1) {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 9px;
}

.menu-btn span:nth-child(3) {
    top: 18px;
}

#menu-toggle:checked ~ .menu-btn span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

#menu-toggle:checked ~ .menu-btn span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .menu-btn span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 19, 51, 0.8), rgba(26, 19, 51, 0.5));
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #1A1333 0%, #2A1F4B 100%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #2A1F4B 0%, #1A1333 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: linear-gradient(135deg, #2A1F4B 0%, #3A2F5B 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px 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.05);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, #1A1333 0%, #2A1F4B 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #2A1F4B 0%, #3A2F5B 100%);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Form Section */
.contact {
    background: linear-gradient(135deg, #2A1F4B 0%, #1A1333 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2A1F4B 0%, #3A2F5B 100%);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 111, 60, 0.3);
    border-radius: 4px;
    background-color: rgba(26, 19, 51, 0.8);
    color: var(--text-color);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 111, 60, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input {
    margin-top: 0.3rem;
    margin-right: 10px;
}

.form-check label {
    font-size: 0.9rem;
}

.form-check a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #1A1333 0%, #2A1F4B 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: linear-gradient(135deg, #2A1F4B 0%, #3A2F5B 100%);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--accent-color);
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background: linear-gradient(135deg, #2A1F4B 0%, #1A1333 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    display: block;
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2A1F4B 0%, #3A2F5B 100%);
    cursor: pointer;
    font-weight: 600;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-toggle {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(26, 19, 51, 0.6);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-toggle:checked ~ .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

/* Footer */
footer {
    background-color: #15102A;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-column h3 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 111, 60, 0.2);
    font-size: 0.9rem;
}

/* Thank You Page (merci.php) */
.thank-you {
    text-align: center;
    margin: 8rem auto 5rem;
    max-width: 800px;
    padding: 3rem;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    background: linear-gradient(135deg, #2A1F4B 0%, #3A2F5B 100%);
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 8rem auto 5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 111, 60, 0.3);
    border-radius: 8px;
    background: linear-gradient(135deg, #2A1F4B 0%, #3A2F5B 100%);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-container h2 {
    margin-top: 2rem;
    color: var(--accent-color);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background-color: rgba(26, 19, 51, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    margin-right: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
   
    
    .menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: rgba(26, 19, 51, 0.95);
        backdrop-filter: blur(10px);
        padding: 80px 20px;
        transition: right 0.3s ease;
        z-index: 1;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 1.5rem 0;
    }
    
    #menu-toggle:checked ~ nav {
        right: 0;
    }
    
    .phone {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-consent {
        flex-direction: column;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .service-image {
        height: 150px;
    }
}
