/* 
Color Palette:
- Main Background: Deep indigo #1B1F3B
- Accent: Bright turquoise #00F7EF
- Secondary Background: Cool gray #2D2F36
- Text: White #FFFFFF
- Buttons: Lime gradient from #C0FF00 to #00FF94
- Forms and borders: Matte blue #34495E
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1B1F3B;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

a {
    color: #00F7EF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #C0FF00;
}

section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #C0FF00, #00FF94);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

button, .button, .cta-button {
    background: linear-gradient(to right, #C0FF00, #00FF94);
    color: #1B1F3B;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

button:hover, .button:hover, .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Card Styling */
.card {
    background-color: #2D2F36;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Form Styling */
input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #34495E;
    border-radius: 8px;
    background-color: rgba(52, 73, 94, 0.2);
    color: #FFFFFF;
    transition: all 0.3s ease;
}

select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #34495E;
    border-radius: 8px;
    background-color: #34495E;
    color: #FFFFFF;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

select option {
    background-color: #34495E;
    color: #FFFFFF;
    padding: 10px;
}

input:focus, select:focus, textarea:focus {
    border-color: #00F7EF;
    outline: none;
}

textarea {
    height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

/* Header Styling */
header {
    background-color: rgba(27, 31, 59, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    header {
        min-height: auto;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFFFFF;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%;
}

.desktop-nav ul li {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.desktop-nav ul li a {
    color: #FFFFFF;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.desktop-nav ul li a:hover, 
.desktop-nav ul li a.active {
    color: #00F7EF;
}

.desktop-nav ul li a.cta-button {
    color: #1B1F3B;
}

.desktop-nav ul li a.cta-button:hover {
    color: #1B1F3B;
}

/* Mobile Menu Styling */
.mobile-menu-toggle {
    display: none;
}

.mobile-nav {
    display: none;
}

/* Hero Section Styling */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(27, 31, 59, 0.9), rgba(27, 31, 59, 0.9)), url('./img/mlHZZD.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    scroll-margin-top: 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    margin-top: 40px;
}

.hero-buttons .button {
    margin: 0 10px;
}

.secondary-button {
    background: transparent;
    border: 2px solid #00F7EF;
    color: #00F7EF;
}

.secondary-button:hover {
    background: rgba(0, 247, 239, 0.1);
}

/* About Section Styling */
.about {
    background-color: #2D2F36;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Benefits Section Styling */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.benefit-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-image img {
    transform: scale(1.05);
}

.benefit-content {
    padding: 20px;
    text-align: center;
}

/* Services Section Styling */
.services {
    background-color: #2D2F36;
}

.service-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.service-tab {
    padding: 15px 25px;
    margin: 0 10px;
    background-color: #34495E;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-tab.active,
.service-tab:hover {
    background: linear-gradient(to right, #C0FF00, #00FF94);
    color: #1B1F3B;
}

.service-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-image {
    border-radius: 16px;
    overflow: hidden;
    max-width: 90%;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    max-width: 100%;
}

.service-image:hover img {
    transform: scale(1.03);
}

/* Comparison Table Styling */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    table-layout: auto;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #34495E;
}

.comparison-table th {
    background-color: #34495E;
    color: #FFFFFF;
}

.comparison-table tr:nth-child(odd) {
    background-color: rgba(52, 73, 94, 0.1);
}

.comparison-table tr:hover {
    background-color: rgba(0, 247, 239, 0.05);
}

/* Testimonials Section Styling */
.testimonials {
    background-color: #2D2F36;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    position: relative;
    padding-left: 30px;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 5rem;
    color: #00F7EF;
    opacity: 0.5;
}

.testimonial-author {
    font-weight: bold;
    color: #00F7EF;
}

/* FAQ Section Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    width: 100%;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.accordion-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #34495E;
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.accordion-title:hover {
    background-color: #3d566e;
}

.accordion-icon {
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.accordion-toggle:checked ~ .accordion-title {
    background-color: #3d566e;
    border-radius: 8px 8px 0 0;
}

.accordion-toggle:checked ~ .accordion-title .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    padding: 0 20px;
    background-color: rgba(52, 73, 94, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
}

.accordion-toggle:checked ~ .accordion-content {
    max-height: 500px;
    padding: 20px;
}

/* Contact Section Styling */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: #2D2F36;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-info {
    background-color: #2D2F36;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    margin-right: 15px;
    color: #00F7EF;
}

/* Footer Styling */
footer {
    background-color: #252A44;
    padding: 70px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 20px;
}

.footer-links ul,
.footer-policies ul {
    list-style: none;
}

.footer-links ul li,
.footer-policies ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup Styling */
#cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2D2F36;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.cookie-content {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

.cookie-buttons button {
    padding: 8px 20px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    #cookie-popup {
        max-width: 100%;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .cookie-content {
        flex-direction: row;
        padding: 10px 15px;
        align-items: center;
        justify-content: space-between;
    }
    
    .cookie-content p {
        margin: 0;
        padding-right: 10px;
        font-size: 0.85rem;
    }
    
    .cookie-buttons {
        width: auto;
        min-width: 80px;
    }
    
    .cookie-buttons button {
        width: auto;
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Policy Pages Styling */
.policy-container {
    max-width: 900px;
    margin: 100px auto 80px;
    background-color: #2D2F36;
    border: 1px solid #34495E;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.policy-container h1 {
    border-bottom: 2px solid #00F7EF;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.policy-container h2 {
    margin-top: 40px;
}

/* Thank You Page Styling */
.thank-you {
    text-align: center;
    padding: 100px 0 80px;
}

.thank-you .icon {
    font-size: 5rem;
    color: #00F7EF;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content,
    .service-content,
    .contact-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header {
        height: 50px;
        display: flex;
        align-items: center;
    }
    
    .header-content {
        padding: 0;
        height: 100%;
        align-items: center;
    }
    
    .logo a {
        font-size: 1.2rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0;
        cursor: pointer;
        z-index: 10;
    }
    
    .mobile-menu-toggle input {
        display: none;
    }
    
    .mobile-menu-toggle label {
        width: 24px;
        height: 24px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        padding: 4px 0;
    }
    
    .mobile-menu-toggle span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: #FFFFFF;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Mobile Navigation */
    .mobile-nav {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: #2D2F36;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        padding: 10px;
        display: none;
        z-index: 100;
    }
    
    .mobile-nav.active {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        0% {
            opacity: 0;
            transform: translateY(-10px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .mobile-nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    
    .mobile-nav ul li:last-child {
        border-bottom: none;
    }
    
    .mobile-nav ul li a {
        display: block;
        padding: 10px 5px;
        color: #FFFFFF;
        font-weight: 500;
        font-size: 0.95rem;
    }
    
    .mobile-nav ul li a:hover,
    .mobile-nav ul li a.active {
        color: #00F7EF;
    }
    
    .mobile-nav ul li a.cta-button {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-nav .close-menu,
    .mobile-nav .open-menu {
        width: 100%;
        margin-top: 10px;
        padding: 8px;
    }
    
    .testimonial-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 90px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    /* Moved to consolidated media query below */
}

@media (max-width: 576px) {
    * {
        max-width: 100vw;
    }
    
    section {
        padding: 50px 0;
        scroll-margin-top: 60px;
    }
    
    .policy-container {
        padding: 25px;
        margin: 100px auto 50px;
    }
    
    .hero-buttons .button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .service-tabs {
        flex-direction: column;
    }
    
    .service-tab {
        margin: 5px 0;
    }
    
    .table-responsive {
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        width: 500px;
        table-layout: fixed;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    /* Fix for horizontal scrolling on mobile */
    .container,
    .section-title,
    .contact-content,
    .footer-grid,
    .benefit-card,
    .service-content,
    .testimonial-grid {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}
