/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #ff6b35;
    --accent-light: #ff8c61;
    --accent-dark: #e85d2f;
    --purple-accent: #9d4edd;
    --purple-light: #c77dff;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --text-muted: #95a5a6;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0f0f1e;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 4px 20px rgba(255, 107, 53, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    --gradient-purple: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
}

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

body.menu-open {
    overflow: hidden;
}

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

/* Header Styles */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 1.25rem;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    border-top: 2px solid var(--accent-color);
}

.cookie-notification.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--gradient-accent);
    color: var(--bg-white);
    border: none;
    padding: 0.6rem 1.8rem;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--bg-white);
    overflow: hidden;
    padding: 4rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Services Accordion */
.services-accordion {
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.accordion-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 107, 53, 0.3);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    color: var(--bg-white);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 1.25rem;
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8c61 0%, #ffa77d 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 107, 53, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    background: var(--gradient-accent);
    padding: 3px;
}

.service-icon img {
    border-radius: 12px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Process Section */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.timeline-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    border-left: 4px solid transparent;
    border-image: var(--gradient-accent);
    border-image-slice: 1;
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.timeline-number {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.timeline-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.timeline-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Technologies Section */
.technologies {
    background-color: var(--bg-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.tech-category:hover {
    border-top-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tech-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tags span {
    background-color: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.tech-tags span:hover {
    background: var(--gradient-accent);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.portfolio-item:hover::after {
    opacity: 0.05;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.portfolio-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-item:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-white);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    min-height: 200px;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background-color: var(--bg-white);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background: var(--gradient-accent);
    color: var(--bg-white);
    border-color: transparent;
    transform: scale(1.1);
}

/* FAQ Section */
.faq {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background-color: var(--bg-white);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 107, 53, 0.3);
}

.faq-item.active {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-colored);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background-color: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: linear-gradient(to bottom right, var(--bg-white), var(--bg-light));
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .burger-menu {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .process-timeline,
    .tech-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card,
    .timeline-item,
    .portfolio-item {
        padding: 1.5rem;
    }
}

/* Policy Pages Styles */
.policy-page {
    padding: 2rem 0;
    min-height: 80vh;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent-color);
}

.policy-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.policy-content h4 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.policy-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Thanks Page Styles */
.thanks-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.thanks-content {
    max-width: 600px;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 2px solid var(--accent-color);
    animation: fadeInUp 0.6s ease;
}

.thanks-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.thanks-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

