/* Service Card Styles */
.service-card {
    background: var(--background);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.05);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--text-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--light-text);
    font-size: 1.45rem;
    line-height: 1.7;
    margin: 0;
}

/* About Section Styles */
.about {
    position: relative;
    color: var(--background);
}

.about h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.about-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 1200px;
}

.about-text {
    background: rgba(255, 255, 255, 0.98);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.about-text p {
    font-size: 1.55rem;
    line-height: 1.8;
    color: #0f172a;
    margin-bottom: 3.5rem;
    text-align: left;
}

.achievements {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 3rem 0;
    padding: 0;
    list-style: none;
    width: 100%;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.achievements li {
    flex: 0 1 220px;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: var(--background);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.achievements li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.achievements li:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.15);
}

.achievements li:hover::before {
    opacity: 1;
}

.achievements span {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.achievements li::after {
    content: attr(data-label);
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.95;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

@media (max-width: 768px) {
    .about h2 {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }

    .about-text {
        padding: 2rem;
    }

    .about-text p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .achievements {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .achievements li {
        flex: 0 1 160px;
        height: 140px;
        padding: 1.5rem 1rem;
    }

    .achievements span {
        font-size: 2.4rem;
        margin-bottom: 0.6rem;
    }

    .achievements li::after {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .achievements {
        gap: 1rem;
    }

    .achievements li {
        flex: 0 1 140px;
        height: 120px;
    }

    .achievements span {
        font-size: 2.2rem;
    }
}

/* Team Section Styles */
.team-section {
    padding: 120px 20px;
    text-align: center;
    background-color: var(--background);
    margin-top: 60px;
}

.team-section h1 {
    color: var(--text-color);
    font-size: 2.65rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.team-underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 80px;
    border-radius: 2px;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-member {
    flex: 0 1 auto;
    text-align: center;
    margin-bottom: 40px;
}

.member-avatar {
    margin-bottom: 24px;
    display: inline-block;
}

.avatar-circle {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-circle:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.05);
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--background);
    border: 4px solid var(--background);
    transition: transform 0.3s ease;
}

.name-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.7);
    color: var(--background);
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.avatar-circle:hover .name-overlay {
    opacity: 1;
    transform: scale(1);
}

.team-member h3 {
    color: var(--text-color);
    font-size: 2.15rem;
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.team-member .role {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 500;
}

/* CTA Button Styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--background);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3), 0 8px 20px rgba(37, 99, 235, 0.2);
}

.cta-button:focus:not(:focus-visible) {
    box-shadow: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Contact Form Styles */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    width: 100%;
    max-width: 600px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.35rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--background);
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.05);
}

#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-success.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-success i {
    font-size: 3rem;
    color: #10B981;
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-spinner.show {
    display: block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .achievements {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        margin: 2.5rem 0;
    }

    .achievements li {
        flex: 0 1 180px;
        height: 160px;
        padding: 2rem 1.5rem;
    }

    .achievements span {
        font-size: 2.8rem;
        margin-bottom: 0.8rem;
    }

    .achievements li::after {
        font-size: 1.1rem;
    }

    #contact-form {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 60px 15px;
    }

    .team-section h1 {
        font-size: 2.15rem;
    }

    .team-underline {
        margin-bottom: 60px;
    }

    .avatar-circle {
        width: 180px;
        height: 180px;
    }

    .team-member h3 {
        font-size: 1.75rem;
        margin: 0 0 10px;
    }

    .team-member .role {
        font-size: 1.125rem;
    }
}