/* Base Styles */
:root {
    --primary-purple: #6a2fff;
    --primary-blue: #3349ff;
    --light-purple: #f2eeff;
    --dark-text: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --light-gray: #f8f8f8;
    --medium-gray: #eeeeee;
    --border-gray: #dddddd;
    --success: #28a745;
    --warning: #ffc107;
    --gradient-start: #ffd166;
    --gradient-end: #ff6b6b;
    --service-blue: #3349ff;
    --service-green: #34c759;
    --service-orange: #ff6b6b;
    --service-gold: #ffd166;
    --service-purple: #a45dff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-purple);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-purple);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

button, .btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

button:hover, .btn:hover {
    background-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 47, 255, 0.2);
}

.btn.primary {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: var(--white);
}

.btn.secondary {
    background-color: var(--white);
    color: var(--dark-text);
    border: 1px solid var(--border-gray);
}

.center-btn {
    text-align: center;
    margin: 2rem 0;
}

/* Header */
header {
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-purple);
}

.logo a {
    color: var(--primary-purple);
    text-decoration: none;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary-purple);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.blue-diamond {
    background-color: var(--service-blue);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.green-diamond {
    background-color: var(--service-green);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.orange-diamond {
    background-color: var(--service-orange);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.blue-square {
    background-color: var(--service-blue);
    border-radius: 8px;
}

.gold-diamond {
    background-color: var(--service-gold);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.purple-diamond {
    background-color: var(--service-purple);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background-color: var(--white);
}

.advantages-list {
    max-width: 800px;
    margin: 0 auto;
}

.advantage {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.advantage h3 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-purple);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: var(--warning);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card h4 {
    margin-top: 20px;
    color: var(--primary-purple);
    font-weight: 600;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 180px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-title {
    padding: 20px 20px 0;
    color: var(--primary-purple);
}

.blog-card p {
    padding: 0 20px;
    font-size: 0.95rem;
}

.read-more {
    display: inline-block;
    padding: 0 20px 20px;
    font-weight: 500;
    color: var(--primary-blue);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.contact-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

input, textarea {
    padding: 15px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

button[type="submit"] {
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover, .footer-links a.active {
    opacity: 1;
}

.footer-address p {
    margin-bottom: 5px;
    opacity: 0.8;
}

.copyright {
    grid-column: 1 / -1;
    margin-top: 30px;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    display: none;
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

/* Thank You Page */
.thank-you {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--white);
    position: relative;
}

.thank-you::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/7.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.thank-you-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-image {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .services-grid, .testimonials-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}