/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #60a5fa;
    --accent-color: #f59e0b;
    --text-dark: #141a38;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

body.modal-open {
    overflow: hidden;
}

/* ============================================
   TYPOGRAPHY & UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

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

.about .section-title {
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.logo-link:hover .logo-text,
.logo-link:focus-visible .logo-text {
    opacity: 0.9;
}

.logo-text {
    font-family: 'Boldonse', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.lang-switch {
    margin-left: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary-color);
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switch:hover {
    background: rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.language-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 17, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.language-modal.show {
    display: flex;
}

.language-modal-content {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 2.25rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.language-modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.language-modal-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.language-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(96, 165, 250, 0.06));
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.image-placeholder {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
    animation: float 6s ease-in-out infinite;
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    position: relative;
    isolation: isolate;
    padding: 5rem 0;
    color: #ffffff;
    background: url('Images/conny-schneider-xuTJZ7uD7PI-unsplash.jpg') center/cover no-repeat;
    background-color: #040611;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 6, 17, 0.95) 0%, rgba(15, 21, 48, 0.95) 45%, rgba(27, 16, 45, 0.95) 100%);
    z-index: -1;
}

.about > .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.about-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
    border: none;
    display: flex;
    align-items: stretch;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.about-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) -10%, rgba(0, 0, 0, 0.95) 100%);
}

.about-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    width: 100%;
    height: 100%;
    color: white;
    text-align: left;
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: white;
}

.about-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 5rem 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    padding: 2rem 2rem 1rem;
    color: var(--text-dark);
}

.service-card p {
    padding: 0 2rem;
    color: var(--text-light);
    flex-grow: 1;
    line-height: 1.8;
}

.service-feature {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.service-feature span {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    padding: 5rem 0;
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--bg-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.team-member:hover {
    background: var(--bg-white);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    transform: translateY(-8px);
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    border: 4px solid var(--primary-color);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.12);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.team-member .role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-member .bio {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    background: var(--bg-light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .nav-links {
        gap: 1.5rem;
        font-size: 0.95rem;
    }

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

    .btn {
        width: 100%;
    }

    .about-grid,
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

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

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .service-card h3,
    .team-member h3 {
        font-size: 1.25rem;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(96, 165, 250, 0.06));
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(37, 99, 235, 0.12);
    transition: var(--transition);
    cursor: pointer;
}

.info-card:hover {
    background: var(--bg-white);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.info-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.info-card p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.info-card p a:hover {
    color: var(--secondary-color);
}

.info-desc {
    font-size: 0.9rem;
    color: var(--text-light) !important;
}

.contact-form {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(96, 165, 250, 0.06));
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(107, 114, 128, 0.5);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-weight: 500;
    opacity: 0;
    transition: var(--transition);
    display: none;
}

.form-message.success {
    display: block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    opacity: 1;
    animation: slideIn 0.4s ease-out;
}

.form-message.error {
    display: block;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    opacity: 1;
    animation: slideIn 0.4s ease-out;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    background: var(--bg-light);
}

/* ============================================
   RIPPLE EFFECT
   ============================================ */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(1);
        opacity: 0;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.about-card,
.team-member {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ============================================
   ACTIVE NAV LINK
   ============================================ */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE CONTACT
   ============================================ */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }

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

    .contact-form {
        padding: 2rem;
    }

    .social-links {
        flex-direction: column;
    }

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