/* Base Styles */
:root {
    /* Color Palette */
    --main-bg: #0E1117;
    --accent-red: #E63946;
    --accent-white: #F1FAEE;
    --secondary-bg: #1D3557;
    --text-color: #F8F9FA;
    --button-start: #A8DADC;
    --button-end: #457B9D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    font-family: system-ui, sans-serif;
    background-color: var(--main-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--accent-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-red);
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
}

section {
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--button-start), var(--button-end));
    color: var(--main-bg);
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(168, 218, 220, 0.4);
    color: var(--main-bg);
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    background-color: rgba(14, 17, 23, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-red);
}

.main-menu ul {
    display: flex;
    gap: 1.5rem;
}

.main-menu a {
    font-weight: 500;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.main-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(14, 17, 23, 0.8), rgba(29, 53, 87, 0.9)), url('./img/F4Hfis.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 2;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.benefits {
    background-color: var(--secondary-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: rgba(14, 17, 23, 0.7);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.icon {
    margin-bottom: 1.5rem;
    color: var(--accent-red);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-image {
    margin: -2rem -2rem 1.5rem;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    color: var(--accent-white);
    margin-bottom: 1rem;
}

.service-card ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-card li {
    position: relative;
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Why Us Section */
.why-us {
    background-color: var(--secondary-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.why-us-item {
    text-align: center;
    background-color: rgba(14, 17, 23, 0.7);
    padding: 2rem;
    border-radius: 10px;
}

.number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.certifications {
    text-align: center;
    margin-top: 3rem;
}

.cert-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cert-logo {
    padding: 1rem 2rem;
    background-color: rgba(14, 17, 23, 0.7);
    border-radius: 5px;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

blockquote {
    font-style: italic;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: bold;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-question {
    background-color: var(--secondary-bg);
    padding: 1rem;
}

.faq-question a {
    display: block;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding-right: 30px;
}

.faq-question a::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
}

.faq-answer {
    background-color: rgba(29, 53, 87, 0.5);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    padding: 1rem;
    max-height: 500px;
}

.faq-item.open .faq-question a::after {
    content: '-';
}

/* Contact Form Section */
.contact {
    background: linear-gradient(rgba(14, 17, 23, 0.9), rgba(29, 53, 87, 0.8)), url('./img/EAlZV9.jpg');
    background-size: cover;
    background-position: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(to bottom right, var(--secondary-bg), var(--main-bg));
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(241, 250, 238, 0.3);
    background-color: rgba(14, 17, 23, 0.7);
    border-radius: 5px;
    color: var(--text-color);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.checkbox label {
    margin-bottom: 0;
}

/* Footer Styles */
footer {
    background-color: rgba(14, 17, 23, 0.9);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 1.5rem;
}

.footer-links h3, .footer-legal h3 {
    font-size: 1.2rem;
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.footer-links h3::after, .footer-legal h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-red);
}

.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(241, 250, 238, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(14, 17, 23, 0.95);
    padding: 1rem;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
}

.cookie-content p {
    flex: 1;
    min-width: 200px;
}

.cookie-content button {
    white-space: nowrap;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-logo {
        margin-top: 1rem;
    }
    
    .cert-logos {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background-color: var(--main-bg);
        transition: right 0.3s ease;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }
    
    .main-menu.menu-open {
        right: 0;
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .service-card, .benefit-card, .review-card {
        margin-bottom: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* iPhone SE Specific */
@media (max-width: 375px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

/* iPad Pro Specific */
@media (min-width: 1024px) and (max-width: 1366px) {
    .container {
        max-width: 1000px;
    }
    
    .hero {
        min-height: 50vh;
    }
}
