/* Base Styles and Color Palette */
:root {
    --primary: #00F5FF;     /* Electric Cyan */
    --secondary: #5B2C6F;   /* Deep Amethyst */
    --accent: #FF6F61;      /* Vibrant Coral */
    --background: #FAF8F0;  /* Soft Ivory */
    --text: #1C1C1C;        /* Charcoal Black */
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(0, 245, 255, 0.4);
}

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Adjust anchor position - move higher */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
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;
    position: relative;
    padding-bottom: 10px;
    text-align: center; /* Center section headings */
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* Center the underline */
    transform: translateX(-50%); /* Center the underline */
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--text);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: var(--text);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    color: var(--white);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary);
    text-transform: lowercase;
    letter-spacing: -1px;
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin-left: 30px;
}

.main-menu a {
    font-weight: 600;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
}

/* Main sections spacing */
main {
    margin-top: 80px;
}

section {
    padding: 80px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/Uo4IEv.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    background-color: var(--background);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

/* Benefits Section */
.benefits {
    background-color: var(--white);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/tD8h3M.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.benefits-content {
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--secondary);
    border-radius: 50%;
    color: var(--white);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    border-top: 3px solid var(--primary);
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
}

.author-details h4 {
    margin-bottom: 0;
}

.author-details p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #666;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: var(--white);
}

.cta h2::after {
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

/* Blog Section */
.blog {
    background-color: var(--white);
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post {
    background: var(--background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 10px;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover::after {
    margin-left: 8px;
}

/* Form Section */
.contact-form {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0;
}

.contact-form h2 {
    color: var(--white);
}

.contact-form h2::after {
    background: var(--accent);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 25px; /* Added extra space between form elements */
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: var(--white);
}

.form-check {
    margin-bottom: 15px;
}

.form-check label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: var(--white); /* Make checkbox label text white */
}

.form-check a {
    color: var(--white); /* Make links in checkbox labels white */
    text-decoration: underline;
}

.form-check input {
    margin-right: 10px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    background: var(--accent);
    color: var(--white);
    padding: 12px 40px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
}

.footer-contacts ul {
    margin-top: 20px;
}

.footer-contacts li {
    margin-bottom: 10px;
}

.footer-contacts a,
.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-contacts a:hover,
.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-links ul {
    margin-top: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie popup */
#cookie-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
    max-width: 350px;
    padding: 20px;
    border-radius: 10px;
    z-index: 9999;
    border-top: 3px solid var(--primary);
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

#accept-cookies {
    background: var(--primary);
    color: var(--text);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#accept-cookies:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Policy pages styling */
.policy-page {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.policy-page h1 {
    text-align: center;
    margin-bottom: 30px;
}

.policy-page h2 {
    margin-top: 40px;
}

.policy-page p, 
.policy-page ul, 
.policy-page ol {
    margin-bottom: 20px;
}

.policy-page ul, 
.policy-page ol {
    padding-left: 20px;
}

.policy-page ul li, 
.policy-page ol li {
    margin-bottom: 10px;
}

/* Thank you page */
.thankyou-container {
    text-align: center;
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--primary); /* Add border to thankyou container */
}

.thankyou-container h1 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.thankyou-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}