
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary-navy: #0a1628;
    --primary-blue: #1e3a8a;
    --accent-gold: #d4af37;
    --light-gold: #f5f1e8;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #fafbfc;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 40px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 200px;
    height: 104px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.logo h1 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.nav-menu a:hover {
    color: var(--accent-gold);
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), #b8941f);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

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

.language-selector {
    display: flex;
    gap: 8px;
    margin-left: 2rem;
    padding: 6px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.lang-btn {
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--primary-navy);
    background: rgba(212, 175, 55, 0.1);
}

.lang-btn.active {
    background: var(--primary-navy);
    color: white;
    box-shadow: 0 2px 8px rgba(10, 22, 40, 0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-navy);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(30, 58, 138, 0.75) 50%, rgba(10, 22, 40, 0.9) 100%), 
                url('../image/novaviabackground-scaled.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="1.5" fill="white" opacity="0.1"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 40px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
    color: var(--primary-navy);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

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

/* About Section */
.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.about h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--primary-navy);
    margin-bottom: 4rem;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #b8941f);
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    position: relative;
}

.about-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -30px;
    font-size: 6rem;
    color: var(--accent-gold);
    font-family: Georgia, serif;
    opacity: 0.3;
    line-height: 1;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-weight: 400;
}

.about-text p:first-of-type {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 40px;
}

.about-text p:first-of-type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 3px;
    background: var(--accent-gold);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.1) 0%, transparent 50%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.about-image:hover::before {
    opacity: 0;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
}

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

/* Expertise Section */
.expertise {
    padding: var(--section-padding);
    background: var(--bg-white);
    position: relative;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.expertise h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--primary-navy);
    margin-bottom: 4rem;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
}

.expertise h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #b8941f);
    transform: translateX(-50%);
    border-radius: 2px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.expertise-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #b8941f);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.expertise-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.15);
    border-color: rgba(212, 175, 55, 0.2);
}

.expertise-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gold), #f0ead2);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.expertise-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3));
    transform: rotate(45deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card:hover .expertise-icon {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    transform: rotate(5deg) scale(1.1);
}

.expertise-card:hover .expertise-icon::before {
    top: -10%;
    right: -10%;
}

.expertise-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(1352%) hue-rotate(214deg) brightness(97%) contrast(90%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

/* Specific expertise icons using image positioning */
.business-icon img {
    object-position: 0% 0%;
}

.real-estate-icon img {
    object-position: 33.33% 0%;
}

.insurance-icon img {
    object-position: 66.66% 0%;
}

.civil-icon img {
    object-position: 0% 50%;
}

.immigration-icon img {
    object-position: 33.33% 50%;
}

.construction-icon img {
    object-position: 66.66% 50%;
}

.expertise-card:hover .expertise-icon img {
    filter: brightness(0) saturate(100%) invert(100%);
    transform: scale(1.1);
}

.expertise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.expertise-card:hover h3 {
    color: var(--accent-gold);
}

.expertise-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Team Section */
.team {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--light-gold) 0%, #f5f1e8 100%);
    position: relative;
    overflow: hidden;
}

.team::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 22, 40, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.team h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--primary-navy);
    margin-bottom: 4rem;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
}

.team h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #b8941f);
    transform: translateX(-50%);
    border-radius: 2px;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.team-text {
    position: relative;
}

.team-text h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.team-text p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-weight: 400;
}

.team-features {
    display: grid;
    gap: 2rem;
}

.feature {
    padding: 1.5rem 0;
    border-left: 4px solid var(--accent-gold);
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.feature:hover {
    border-left-color: #b8941f;
    transform: translateX(8px);
}

.feature h4 {
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.feature p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.team-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.team-image:hover::before {
    opacity: 0;
}

.team-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-image:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.18);
}

.team-image:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="2" fill="white" opacity="0.05"/></svg>');
    pointer-events: none;
}

.contact h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: white;
    margin-bottom: 4rem;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #b8941f);
    transform: translateX(-50%);
    border-radius: 2px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    background: var(--bg-white);
    padding: 4rem 3.5rem;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    margin: 0 20px;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.contact-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--bg-light);
    transform: translateX(8px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gold), #f0ead2);
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    transform: scale(1.1);
}

.contact-icon img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(1352%) hue-rotate(214deg) brightness(97%) contrast(90%);
    transition: filter 0.3s ease;
}

.contact-item:hover .contact-icon img {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* Specific contact icons using image positioning */
.address-icon img {
    object-position: 0% 0%;
}

.phone-icon img {
    object-position: 50% 0%;
}

.email-icon img {
    object-position: 100% 0%;
}

.contact-text {
    flex: 1;
}

.contact-item strong {
    color: var(--primary-navy);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1.05rem;
}

.contact-item a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-light);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    background: var(--bg-white);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
    color: var(--primary-navy);
    padding: 18px 36px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #b8941f 0%, var(--accent-gold) 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0f172a 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="40" cy="40" r="2" fill="white" opacity="0.03"/></svg>');
    pointer-events: none;
}

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

.footer-section h3 {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.footer-section h4 {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-section a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-section a:hover {
    color: #f4e06d;
    transform: translateY(-1px);
}

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

.footer-section li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 20px;
}

.footer-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.footer-section li:hover::before {
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        height: 80px;
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2.5rem;
        padding-top: 4rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.3rem;
        padding: 1.2rem 2rem;
        border-radius: 12px;
        background: var(--bg-light);
        width: 80%;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: var(--light-gold);
        transform: scale(1.05);
    }

    .language-selector {
        margin-left: 0;
        margin-top: 2rem;
    }

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

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

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

    .logo h1 {
        font-size: 1.7rem;
    }

    .logo-img {
        width: 200px;
        height: 200px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 16px 40px;
        font-size: 1rem;
    }

    .about-content,
    .team-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about h2, .expertise h2, .team h2 {
        font-size: 2.8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2.5rem;
        margin: 0 10px;
    }

    .contact h2 {
        font-size: 2.8rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-icon img {
        width: 24px;
        height: 24px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expertise-card {
        padding: 2.5rem 2rem;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
        height: 70px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo-img {
        width: 150px;
        height: 150px;
    }

    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
        padding-top: 3rem;
        gap: 2rem;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .about h2, .expertise h2, .team h2, .contact h2 {
        font-size: 2.2rem;
    }

    .expertise-card {
        padding: 2rem 1.5rem;
    }

    .expertise-icon {
        width: 80px;
        height: 80px;
    }

    .expertise-icon img {
        width: 45px;
        height: 45px;
    }

    .contact-content {
        padding: 2rem 1.5rem;
        margin: 0 5px;
    }

    .container {
        padding: 0 15px;
    }

    .about-text::before {
        display: none;
    }

    .about-text p:first-of-type {
        padding-left: 0;
    }

    .about-text p:first-of-type::before {
        display: none;
    }
}

/* Animation classes for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    border-radius: 8px;
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b8941f, var(--accent-gold));
}

/* Loading animation */
body.loaded {
    opacity: 1;
}

/* Additional utility classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-gradient {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover effects for better interactivity */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Legal Links in Footer */
.legal-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.legal-links a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    position: relative;
}

.legal-links a:hover {
    color: #f4e06d;
    text-decoration: underline;
}

.legal-links .separator {
    margin: 0 1rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1e3a8a 100%);
    color: white;
    padding: 2rem 2rem 2rem;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    animation: slideUp 0.5s ease-out;
    border-top: 3px solid var(--accent-gold);
}

.cookie-consent.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

.cookie-content p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-policy-link,
.cookie-content a {
    color: var(--accent-gold);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-policy-link:hover,
.cookie-content a:hover {
    color: #f4e06d;
}

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

.cookie-btn {
    padding: 14px 36px;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.reject-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.reject-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.accept-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
    color: var(--primary-navy);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.accept-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

/* Legal Modals */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10001;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

.legal-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    position: relative;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close,
.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    line-height: 1;
    z-index: 10;
}

.modal-close:hover,
.close-modal:hover {
    color: var(--primary-navy);
    background: var(--accent-gold);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 3rem 3.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body h2 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    padding-right: 3rem;
}

.modal-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.modal-text h3 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.modal-text p {
    margin-bottom: 1.2rem;
    color: var(--text-gray);
}

.modal-text ul {
    margin: 1rem 0 1.5rem 2rem;
    list-style-type: disc;
}

.modal-text li {
    margin-bottom: 0.8rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.modal-text em {
    display: block;
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-dark);
}

/* Responsive adjustments for cookie consent and modals */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.5rem 1rem;
    }

    .cookie-content h3 {
        font-size: 1.3rem;
    }

    .cookie-content p {
        font-size: 0.95rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        padding: 12px 24px;
    }

    .legal-links {
        font-size: 0.85rem;
    }

    .legal-links .separator {
        margin: 0 0.5rem;
    }

    .legal-links a {
        display: inline-block;
        margin: 0.3rem 0;
    }

    .legal-modal.show {
        padding: 1rem;
    }

    .modal-content {
        max-height: 90vh;
        border-radius: 16px;
    }

    .modal-body {
        padding: 2.5rem 1.5rem;
    }

    .modal-body h2 {
        font-size: 2rem;
        padding-right: 2.5rem;
    }

    .modal-close,
    .close-modal {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .cookie-content h3 {
        font-size: 1.1rem;
    }

    .cookie-content p {
        font-size: 0.9rem;
    }

    .legal-links {
        font-size: 0.75rem;
    }

    .legal-links .separator {
        display: none;
    }

    .legal-links a {
        display: block;
        margin: 0.5rem 0;
    }

    .modal-body {
        padding: 2rem 1rem;
    }

    .modal-body h2 {
        font-size: 1.7rem;
    }

    .modal-text {
        font-size: 0.95rem;
    }

    .modal-text h3 {
        font-size: 1.3rem;
    }
}
