/* Base Styles */
:root {
    --primary: #191970; /* Midnight Blue */
    --accent: #CCFF00; /* Electric Lime */
    --background: #FAFAFA; /* Alabaster */
    --text: #0B0C10; /* Rich Black */
    --light-text: #6C757D;
    --border: #E5E5E5;
    --success: #28a745;
    --error: #dc3545;
    --gradient-start: #CCFF00; /* Electric Lime */
    --gradient-end: #00C49A; /* Caribbean Green */
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

/* Fix for anchor links - adjust scroll position */
:target {
    scroll-margin-top: 100px;
}

/* Cookie Consent */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    z-index: 1000;
    display: none; /* Hidden by default, shown by JS */
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--accent);
    max-width: 500px;
    margin: 0 auto;
}

.cookie-popup p {
    margin-bottom: 15px;
    text-align: center;
}

.cookie-popup a {
    color: var(--accent);
    text-decoration: underline;
}

#accept-cookies {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border: none;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease;
}

#accept-cookies:hover {
    transform: scale(1.05);
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: lowercase;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px var(--shadow);
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 5px;
    border-radius: 2px;
}

.mobile-close {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(25, 25, 112, 0.8), rgba(25, 25, 112, 0.9)), url('../img/REhwsq.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 120px 0 80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-mission {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow);
    border-left: 4px solid var(--accent);
}

.benefits {
    list-style: none;
    margin: 20px 0;
}

.benefits li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.benefits li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    background-color: var(--accent);
    border-radius: 50%;
}

/* Services Section */
.service-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-box {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 0 0 30px 0;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    overflow: hidden;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 15px;
    width: 100%;
}

.service-icon img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--accent);
    box-shadow: 0 4px 10px var(--shadow);
    transition: transform 0.3s ease;
}

.service-icon img:hover {
    transform: scale(1.03);
}

.service-content {
    padding: 0 25px;
}

.service-cta {
    margin-top: auto;
    padding-top: 20px;
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
}

.service-cta:hover {
    color: var(--accent);
}

/* Process Section */
.process {
    background-color: var(--primary);
    color: white;
}

.process h2 {
    color: white;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: relative;
}

.step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    background-color: #f1f1f1;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    display: none;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 30px;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-text);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--accent);
}

/* Certifications */
.certification-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.certification-icon {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    text-align: center;
}

.certification-icon .icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px var(--shadow);
}

.certification-icon .icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(to right, var(--primary), #2a2a88);
    color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.form-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    border-color: var(--primary);
    outline: none;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 4px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px var(--shadow);
}

/* Footer */
footer {
    background: linear-gradient(to bottom, #1f1f8a, #131352);
    color: white;
    padding: 60px 0 20px;
    border-top: 4px solid var(--accent);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.footer-contact, .footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-contact h3, .footer-links h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-contact h3:after, .footer-links h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.footer-contact ul, .footer-links ul {
    list-style: none;
}

.footer-contact li, .footer-links li {
    margin-bottom: 15px;
}

.footer-contact a, .footer-links a {
    color: white;
}

.footer-contact a:hover, .footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages Styling */
.policy-page {
    padding: 120px 0 60px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
    color: var(--primary);
}

.policy-content p, .policy-content ul {
    margin-bottom: 15px;
}

.policy-content ul {
    margin-left: 20px;
}

.policy-content ul li {
    margin-bottom: 5px;
}

/* Thank You Page Styling */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you-content h1 {
    margin-bottom: 20px;
    color: var(--primary);
}

.thank-you-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}