* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a2a4a;
    --royal-blue: #2c5aa0;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 40px;
}

header {
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.95) 0%, rgba(42, 61, 95, 0.95) 100%), url('../images/bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0.25rem;
}

.hero {
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.85) 0%, rgba(44, 90, 160, 0.85) 100%);
    z-index: 1;
}

.hero-home::before {
    transform: rotate(0deg) scale(1.2);
    animation: heroZoom 15s ease-in-out infinite;
}

.hero-services::before {
    transform: rotate(5deg) scale(1.3);
    animation: heroRotate 18s linear infinite;
}

.hero-portfolio::before {
    transform: rotate(-8deg) scale(1.3);
    animation: heroPan 22s ease-in-out infinite;
}

.hero-about::before {
    transform: rotate(3deg) scale(1.2);
    animation: heroFloat 20s ease-in-out infinite;
}

.hero-contact::before {
    transform: rotate(-10deg) scale(1.4);
    animation: heroSlide 25s linear infinite;
}

.hero-privacy::before {
    transform: rotate(6deg) scale(1.3);
    animation: heroPulse 16s ease-in-out infinite;
}

.hero-cookies::before {
    transform: rotate(-4deg) scale(1.2);
    animation: heroWave 19s ease-in-out infinite;
}

.hero-terms::before {
    transform: rotate(8deg) scale(1.3);
    animation: heroDrift 24s linear infinite;
}

.hero-return::before {
    transform: rotate(-6deg) scale(1.3);
    animation: heroSway 21s ease-in-out infinite;
}

@keyframes heroZoom {
    0%, 100% { transform: rotate(0deg) scale(1.2); }
    50% { transform: rotate(0deg) scale(1.5); }
}

@keyframes heroRotate {
    0% { transform: rotate(5deg) scale(1.3); }
    25% { transform: rotate(20deg) scale(1.4); }
    50% { transform: rotate(15deg) scale(1.5); }
    75% { transform: rotate(10deg) scale(1.4); }
    100% { transform: rotate(5deg) scale(1.3); }
}

@keyframes heroPan {
    0% { transform: rotate(-8deg) scale(1.3) translateX(0) translateY(0); }
    25% { transform: rotate(-8deg) scale(1.4) translateX(-8%) translateY(-3%); }
    50% { transform: rotate(-8deg) scale(1.5) translateX(-5%) translateY(0); }
    75% { transform: rotate(-8deg) scale(1.4) translateX(-2%) translateY(3%); }
    100% { transform: rotate(-8deg) scale(1.3) translateX(0) translateY(0); }
}

@keyframes heroFloat {
    0%, 100% { transform: rotate(3deg) scale(1.2) translateY(0) translateX(0); }
    33% { transform: rotate(3deg) scale(1.35) translateY(-5%) translateX(2%); }
    66% { transform: rotate(3deg) scale(1.3) translateY(3%) translateX(-2%); }
}

@keyframes heroSlide {
    0% { transform: rotate(-10deg) scale(1.4) translateX(0) translateY(0); }
    33% { transform: rotate(-10deg) scale(1.5) translateX(8%) translateY(-2%); }
    66% { transform: rotate(-10deg) scale(1.6) translateX(4%) translateY(2%); }
    100% { transform: rotate(-10deg) scale(1.4) translateX(0) translateY(0); }
}

@keyframes heroPulse {
    0%, 100% { transform: rotate(6deg) scale(1.3); opacity: 1; }
    50% { transform: rotate(6deg) scale(1.6); opacity: 0.95; }
}

@keyframes heroWave {
    0%, 100% { transform: rotate(-4deg) scale(1.2) translateY(0) translateX(0); }
    25% { transform: rotate(-4deg) scale(1.3) translateY(-4%) translateX(-2%); }
    50% { transform: rotate(-4deg) scale(1.35) translateY(0) translateX(0); }
    75% { transform: rotate(-4deg) scale(1.3) translateY(4%) translateX(2%); }
}

@keyframes heroDrift {
    0% { transform: rotate(8deg) scale(1.3) translate(0, 0); }
    20% { transform: rotate(12deg) scale(1.4) translate(5%, -4%); }
    40% { transform: rotate(8deg) scale(1.5) translate(3%, 4%); }
    60% { transform: rotate(10deg) scale(1.4) translate(-3%, -2%); }
    80% { transform: rotate(8deg) scale(1.35) translate(-5%, 3%); }
    100% { transform: rotate(8deg) scale(1.3) translate(0, 0); }
}

@keyframes heroSway {
    0%, 100% { transform: rotate(-6deg) scale(1.3) translateX(0) translateY(0); }
    25% { transform: rotate(-12deg) scale(1.4) translateX(5%) translateY(-2%); }
    50% { transform: rotate(-6deg) scale(1.5) translateX(0) translateY(0); }
    75% { transform: rotate(-10deg) scale(1.4) translateX(-5%) translateY(2%); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--royal-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--royal-blue);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.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:hover {
    background-color: #1e4a7a;
    border-color: #1e4a7a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.5);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(44, 90, 160, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--royal-blue);
    color: var(--royal-blue);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);
}

.btn-outline:hover {
    background-color: var(--royal-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.5);
}

.btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(44, 90, 160, 0.3);
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--navy);
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 100%;
}

.portfolio-grid .card {
    min-width: 0;
    padding: 4rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
}

.portfolio-grid .card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-grid .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.9), rgba(44, 90, 160, 0.9));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.portfolio-grid .card:hover::before {
    opacity: 1;
}

.portfolio-grid .card h3,
.portfolio-grid .card p {
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

.portfolio-image {
    z-index: 0;
}

.portfolio-grid .card:hover h3,
.portfolio-grid .card:hover p {
    color: var(--white);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--royal-blue), #4a7bc8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    position: relative;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.icon-palette::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 4px solid var(--white);
    border-radius: 8px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.icon-palette::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 12px;
    right: 12px;
    box-shadow: -10px 0 0 var(--white), -20px 0 0 var(--white);
}

.icon-mobile::before {
    content: '';
    width: 20px;
    height: 32px;
    border: 3px solid var(--white);
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 18px;
}

.icon-mobile::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    bottom: 8px;
    left: 20px;
}

.icon-speed::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 4px solid var(--white);
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: transparent;
    position: absolute;
    top: 12px;
    left: 12px;
    transform: rotate(-45deg);
}

.icon-speed::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid var(--white);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    position: absolute;
    top: 26px;
    right: 14px;
}

.icon-tools::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid var(--white);
    border-radius: 4px;
    position: absolute;
    top: 12px;
    left: 12px;
    transform: rotate(45deg);
}

.icon-tools::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 3px solid var(--white);
    border-radius: 4px;
    position: absolute;
    bottom: 12px;
    right: 12px;
    transform: rotate(-45deg);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

.features {
    background-color: var(--light-gray);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.contact-left,
.contact-right {
    display: flex;
    flex-direction: column;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}

.contact-form:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
}

.contact-info-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    height: 100%;
    transition: box-shadow 0.3s;
}

.contact-info-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--text-light);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.map-container:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.contact-item:hover {
    background: linear-gradient(135deg, var(--light-gray), rgba(44, 90, 160, 0.05));
    border-left-color: var(--royal-blue);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--royal-blue), var(--navy));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.icon-location::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 3px solid var(--white);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: absolute;
    top: 14px;
    left: 14px;
}

.icon-location::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 17px;
    left: 17px;
}

.icon-phone::before {
    content: '';
    width: 20px;
    height: 28px;
    border: 3px solid var(--white);
    border-radius: 5px;
    position: absolute;
    top: 9px;
    left: 13px;
}

.icon-phone::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.icon-email::before {
    content: '';
    width: 24px;
    height: 18px;
    border: 3px solid var(--white);
    border-radius: 4px;
    position: absolute;
    top: 14px;
    left: 11px;
}

.icon-email::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 8px solid var(--white);
    position: absolute;
    top: 16px;
    left: 12px;
}

.contact-details {
    flex: 1;
}

.contact-details strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.contact-details span {
    color: var(--text-light);
    line-height: 1.8;
    display: block;
}

.map-section {
    margin-top: 4rem;
    text-align: center;
}

.map-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: #1e4a7a;
    border-color: #1e4a7a;
    transform: translateY(-2px);
}

footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.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.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.privacy-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.privacy-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.privacy-links a:hover {
    color: var(--white);
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.popup-close:hover {
    background: var(--light-gray);
}

.popup-content h2 {
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.popup-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.success-page {
    text-align: center;
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-content h1 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.success-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

    .content-section {
        margin-bottom: 3rem;
        padding: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .process-content {
        padding: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-step {
        gap: 1rem;
    }

    .process-content {
        padding: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }

.content-section h2 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.stats-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--royal-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.interactive-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.interactive-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.interactive-card .card-icon {
    transition: transform 0.3s;
}

.interactive-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.process-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--royal-blue), var(--navy));
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.process-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--royal-blue), var(--navy));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.process-step:hover .process-number {
    transform: scale(1.1) rotate(5deg);
}

.process-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.process-content h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.process-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.products-section {
    padding: 5rem 0;
    background: var(--white);
}

.values-showcase {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--royal-blue);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--royal-blue), var(--navy));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.icon-target::before {
    content: '';
    width: 45px;
    height: 45px;
    border: 4px solid var(--white);
    border-radius: 50%;
    position: absolute;
    top: 12px;
    left: 12px;
}

.icon-target::after {
    content: '';
    width: 25px;
    height: 25px;
    border: 3px solid var(--white);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
}

.icon-handshake::before {
    content: '';
    width: 18px;
    height: 24px;
    border: 3px solid var(--white);
    border-radius: 8px 8px 0 0;
    position: absolute;
    left: 12px;
    top: 20px;
    transform: rotate(-15deg);
}

.icon-handshake::after {
    content: '';
    width: 18px;
    height: 24px;
    border: 3px solid var(--white);
    border-radius: 8px 8px 0 0;
    position: absolute;
    right: 12px;
    top: 20px;
    transform: rotate(15deg);
}

.icon-lightbulb::before {
    content: '';
    width: 28px;
    height: 28px;
    border: 4px solid var(--white);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: absolute;
    top: 18px;
    left: 22px;
}

.icon-lightbulb::after {
    content: '';
    width: 12px;
    height: 6px;
    background: var(--white);
    border-radius: 0 0 3px 3px;
    position: absolute;
    bottom: 18px;
    left: 32px;
}

.icon-lightning::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 20px solid var(--white);
    position: absolute;
    top: 12px;
    left: 28px;
    transform: rotate(-25deg);
}

.icon-lightning::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 20px solid var(--white);
    position: absolute;
    bottom: 12px;
    left: 28px;
    transform: rotate(25deg);
}

.icon-lock::before {
    content: '';
    width: 24px;
    height: 20px;
    border: 4px solid var(--white);
    border-radius: 6px;
    position: absolute;
    top: 28px;
    left: 24px;
}

.icon-lock::after {
    content: '';
    width: 16px;
    height: 12px;
    border: 4px solid var(--white);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    position: absolute;
    top: 22px;
    left: 28px;
}

.icon-star::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 20px solid var(--white);
    position: absolute;
    top: 15px;
    left: 22px;
    transform: rotate(0deg);
}

.icon-star::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 20px solid var(--white);
    position: absolute;
    bottom: 15px;
    left: 22px;
    transform: rotate(36deg);
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.team-showcase {
    padding: 5rem 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: var(--white);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--royal-blue), var(--navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    transition: transform 0.3s;
    letter-spacing: 1px;
}

.team-member:hover .team-avatar {
    transform: scale(1.1) rotate(5deg);
}

.team-member h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--royal-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.8;
}

.fun-facts {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--royal-blue) 100%);
    color: var(--white);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.fact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.fact-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.fact-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.fact-label {
    font-size: 1.125rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--royal-blue);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--royal-blue);
    opacity: 0.3;
}

.testimonial-author {
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--navy);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--royal-blue);
    transition: transform 0.3s;
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.content-section {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--royal-blue);
}

.approach-section {
    max-width: 700px;
    margin: 0 auto;
}

.content-section:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.content-section h2 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--royal-blue);
    transition: width 0.3s;
}

.content-section:hover h2::after {
    width: 100px;
}

.subpage-hero {
    position: relative;
    overflow: hidden;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 2;
}

.subpage-content {
    padding: 4rem 0;
    background: var(--light-gray);
}

.subpage-content .container {
    max-width: 900px;
}

.content-section {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }
.content-section:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    nav {
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: block;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(26, 42, 74, 0.98) 0%, rgba(42, 61, 95, 0.98) 100%), url('../images/bg.jpg') center/cover no-repeat;
        padding: 1rem;
        margin-top: 0;
        gap: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .popup-content {
        padding: 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-info-card {
        padding: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.25rem;
    }

    .contact-wrapper {
        gap: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .map-container {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .privacy-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .process-content {
        padding: 1.25rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .value-item {
        padding: 2rem;
    }

    .team-avatar {
        width: 110px;
        height: 110px;
        font-size: 1.65rem;
    }

    .fact-number {
        font-size: 3rem;
    }

    .portfolio-image {
        height: 220px;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 12px;
        max-width: 100%;
    }

    header {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    nav {
        flex-wrap: nowrap;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .card {
        padding: 1rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .contact-wrapper {
        gap: 1rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .contact-info-card {
        padding: 1.25rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .popup-content {
        padding: 1rem;
        width: 95%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .process-timeline::before {
        left: 15px;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .process-content {
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .process-content h3 {
        font-size: 1.25rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-grid .card {
        padding: 1.5rem;
    }

    .portfolio-image {
        height: 200px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-item {
        padding: 1.5rem;
    }

    .value-icon {
        width: 60px;
        height: 60px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }

    .facts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fact-item {
        padding: 1.5rem;
    }

    .fact-number {
        font-size: 2.5rem;
    }

    .fact-label {
        font-size: 0.85rem;
    }

    .content-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .content-section h2 {
        font-size: 1.35rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .map-container {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .privacy-links {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .about-content {
        padding: 0;
    }

    section {
        padding: 2rem 0;
    }

    .subpage-content {
        padding: 2.5rem 0;
    }

    .stats-section {
        padding: 2.5rem 0;
    }

    .process-section {
        padding: 2.5rem 0;
    }

    .testimonials-section {
        padding: 2.5rem 0;
    }

    .products-section {
        padding: 2.5rem 0;
    }

    .values-showcase {
        padding: 2.5rem 0;
    }

    .team-showcase {
        padding: 2.5rem 0;
    }

    .fun-facts {
        padding: 2.5rem 0;
    }

    .features {
        padding: 2.5rem 0;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    .copyright {
        font-size: 0.8rem;
    }
}

