/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F5F0EB;
    background-color: #2D2D72;
    overflow-x: hidden;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-bg: #2D2D72;
    --accent-color: #FF5E5B;
    --text-color: #F5F0EB;
    --button-color: #A4B67C;
    --secondary-color: #A8E6CF;
    --shadow: rgba(0, 0, 0, 0.3);
    --error-color: #ff5555;
    --error-bg: rgba(255, 85, 85, 0.1);
}

/* Error Messages */
.error-message {
    background: var(--error-bg);
    border-left: 4px solid var(--error-color);
    color: var(--text-color);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0 5px 5px 0;
    animation: fadeIn 0.5s ease-in-out;
}

.error-message ul {
    list-style-type: circle;
    margin-left: 1.5rem;
}

.error-message li {
    margin-bottom: 0.3rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Header */
.header {
    background: linear-gradient(135deg, #2D2D72 0%, #1a1a4a 100%);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    animation: fadeInLeft 0.8s ease;
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    animation: fadeInRight 0.8s ease;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(255, 94, 91, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--accent-color);
    background: rgba(255, 94, 91, 0.2);
}

.nav-link.cta-nav {
    background: linear-gradient(45deg, var(--accent-color), #ff7875);
    color: white;
    font-weight: 600;
}

.nav-link.cta-nav:hover {
    background: linear-gradient(45deg, #ff7875, var(--accent-color));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 94, 91, 0.4);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #2D2D72 0%, #1a1a4a 50%, #2D2D72 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 94, 91, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.accent-text {
    color: var(--accent-color);
    background: linear-gradient(45deg, var(--accent-color), #ff7875);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInRight 1s ease;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-color), #ff7875);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 94, 91, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff7875, var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 94, 91, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--button-color), #b5c98a);
    color: white;
    box-shadow: 0 5px 15px rgba(164, 182, 124, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #b5c98a, var(--button-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(164, 182, 124, 0.4);
}

.btn-full {
    width: 100%;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #1a1a4a 0%, #2D2D72 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 0.8s ease;
}

.about-text h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.about-image {
    animation: fadeInRight 0.8s ease;
}

.about-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    background: var(--primary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #3a3a8a 0%, #2D2D72 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-icon {
    margin-bottom: 1.5rem;
    animation: bounce 2s ease infinite;
}

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card ul li {
    padding: 0.3rem 0;
    color: var(--secondary-color);
}

.service-card ul li::before {
    content: '✓';
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Advantages Section */
.advantages {
    background: linear-gradient(135deg, rgba(26, 26, 74, 0.9) 0%, rgba(45, 45, 114, 0.9) 100%), url('./img/drTC3T.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(168, 230, 207, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.advantages .container {
    position: relative;
    z-index: 1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 0.8s ease;
    background: rgba(26, 26, 74, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    animation: pulse 2s ease infinite;
}

.advantage-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Results Section */
.results {
    background: var(--primary-bg);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.result-card {
    background: linear-gradient(135deg, #3a3a8a 0%, #2D2D72 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.result-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.result-label {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, rgba(26, 26, 74, 0.9) 0%, rgba(45, 45, 114, 0.9) 100%), url('./img/ZHIs7n.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 94, 91, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(58, 58, 138, 0.7) 0%, rgba(45, 45, 114, 0.7) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
    backdrop-filter: blur(5px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
}

.testimonial-author strong {
    color: var(--accent-color);
}

.testimonial-author span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--primary-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background: linear-gradient(135deg, #3a3a8a 0%, #2D2D72 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.contact-form {
    animation: fadeInLeft 0.8s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(168, 230, 207, 0.3);
    border-radius: 10px;
    background: rgba(245, 240, 235, 0.95);
    color: var(--primary-bg);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 94, 91, 0.3);
    transform: translateY(-2px);
}

.form-checkboxes {
    margin: 2rem 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group label a {
    color: var(--accent-color);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.contact-info {
    animation: fadeInRight 0.8s ease;
}

.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a4a 0%, #0f0f2a 100%);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(168, 230, 207, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section .contact-info strong {
    color: var(--secondary-color);
}

.footer-section .contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .contact-info a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(168, 230, 207, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom-content p {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3a3a8a 0%, #2D2D72 100%);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: fadeInUp 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--text-color);
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-popup.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #2D2D72 0%, #1a1a4a 100%);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-menu-toggle:checked ~ .nav-menu {
        max-height: 500px;
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-btn span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-btn span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .advantages-grid,
    .results-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
} 