@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

/* Updated: Modern Header Design v4.0 - SCALE EFFECT - Nov 2025 */

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.page-loader-slide {
    background: linear-gradient(135deg, #5B6B9E 0%, #7B8BC0 100%);
    animation-delay: 0.3s;
}
.slide-left {
    animation: slideOutLeft 0.8s ease forwards;
}
.slide-right {
    animation: slideOutRight 0.8s ease forwards;
}
.slide-top {
    animation: slideOutTop 0.8s ease forwards;
}
@keyframes slideOutLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}
@keyframes slideOutTop {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}
.loader-content {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}
.loader-logo {
    margin-bottom: 2.5rem;
    animation: logoFloat 2s ease-in-out infinite;
}
.loader-logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(91, 107, 158, 0.2));
}
.loader-welcome {
    font-size: 2.5rem;
    font-weight: 800;
    color: #5B6B9E;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.5px;
    animation: fadeInScale 0.8s ease;
}
.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}
.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #5B6B9E;
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: #7B8BC0;
    animation-delay: -0.5s;
}
.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-top-color: #8B9BD5;
    animation-delay: -1s;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

:root {
    --primary-color: #5B6B9E;
    --secondary-color: #7B8BC0;
    --accent-color: #8B9BD5;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --gradient-primary: linear-gradient(135deg, #5B6B9E 0%, #7B8BC0 100%);
    --gradient-secondary: linear-gradient(135deg, #8B9BD5 0%, #5B6B9E 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: var(--text-dark); background-color: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header { 
    background: 
        radial-gradient(circle at 20% 50%, rgba(91, 107, 158, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 155, 213, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(91, 107, 158, 0.02) 2px,
            rgba(91, 107, 158, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(91, 107, 158, 0.02) 2px,
            rgba(91, 107, 158, 0.02) 4px
        ),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    box-shadow: 0 4px 20px rgba(91, 107, 158, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(91, 107, 158, 0.15);
}
.header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 22px;
    background: linear-gradient(135deg, #7B8BC0 0%, #8B9BD5 50%, #9BA5D9 100%);
    padding: 3px;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    box-shadow: 
        0 0 15px rgba(139, 155, 213, 0.4),
        inset 0 0 15px rgba(139, 155, 213, 0.2);
}
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5B6B9E 0%, #7B8BC0 50%, #8B9BD5 100%);
    z-index: 0;
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 2rem; max-width: 1400px; margin: 0 auto; height: 140px; }
.nav-brand { 
    display: flex; 
    align-items: center; 
    position: relative;
}
.logo { 
    height: 130px; 
    width: auto; 
    object-fit: contain; 
    position: relative; 
    z-index: 10; 
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: scale(1);
    -webkit-transform: scale(1);
    will-change: transform;
    filter: drop-shadow(0 0 0 transparent);
    transition: all 0.4s ease;
}
.logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(91, 107, 158, 0.6)) 
            drop-shadow(0 0 30px rgba(139, 155, 213, 0.4))
            drop-shadow(0 0 45px rgba(139, 155, 213, 0.2));
}
.logo svg {
    height: 100%;
    width: auto;
}
.logo-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 20px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(91, 107, 158, 0.25);
    width: 350px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    z-index: 1000;
    border: 2px solid rgba(91, 107, 158, 0.1);
}
.logo-tooltip::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(91, 107, 158, 0.1);
}
.logo-tooltip::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 31px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid white;
}
.nav-brand:hover .logo-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.logo-tooltip h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.logo-tooltip p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}
.nav-menu { display: flex; list-style: none; gap: 0.5rem; align-items: center; }
.nav-menu a { 
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    overflow: visible;
    display: inline-block;
}
.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 12px;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.4s ease;
}
.nav-menu a:hover::before {
    opacity: 1;
}
.nav-menu a:hover::after {
    width: 80%;
}
.nav-menu a:hover {
    color: white;
    transform: translateY(-2px) scale(1.15);
    box-shadow: 0 8px 20px rgba(91, 107, 158, 0.25);
    z-index: 10;
}
.nav-menu a.active { 
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(91, 107, 158, 0.3);
}
.nav-menu a.active::before {
    opacity: 1;
}
.nav-toggle { 
    display: none; 
    flex-direction: column; 
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.nav-toggle:hover {
    background: rgba(91, 107, 158, 0.1);
}
.nav-toggle span { 
    width: 28px; 
    height: 3px; 
    background: var(--primary-color);
    margin: 3px 0; 
    transition: 0.3s;
    border-radius: 3px;
}
.hero { 
    position: relative; 
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 244, 255, 0.5) 50%, rgba(232, 238, 255, 0.5) 100%), 
                url('ATD main.webp') center center / cover no-repeat;
    color: var(--text-dark); 
    padding: 200px 0 120px; 
    overflow: hidden; 
    margin-top: 140px; 
}
.hero-background { 
    display: none;
}
.hero-overlay { display: none; }
.hero-content { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text { text-align: left; }
.hero-image { display: flex; justify-content: center; align-items: center; position: relative; height: 100%; }
.hero h1 { font-size: 3.2rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; color: var(--text-dark); font-family: 'Montserrat', sans-serif; letter-spacing: -1px; }
.hero-description { font-size: 1.15rem; margin-bottom: 2.5rem; line-height: 1.8; color: #2d3748; font-weight: 500; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: flex-start; flex-wrap: wrap; }
.hero-visual { 
    width: 250px; 
    height: 250px; 
    border-radius: 50%; 
    position: absolute;
    overflow: hidden;
    border: 12px solid rgba(91, 107, 158, 0.8);
    animation: floatMagnifier 25s ease-in-out infinite;
    z-index: 100;
    pointer-events: none;
    background: transparent;
    backdrop-filter: brightness(0.6) contrast(1.4) saturate(1.3) blur(0px);
    box-shadow: 
        0 30px 80px rgba(91, 107, 158, 0.6),
        inset 0 0 0 8px rgba(255, 255, 255, 0.4),
        inset 0 0 0 12px rgba(91, 107, 158, 0.2),
        inset 0 0 60px rgba(255, 255, 255, 0.15);
}
.hero-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2) 0%, transparent 25%);
    pointer-events: none;
}
.hero-visual::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -70px;
    width: 80px;
    height: 180px;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.8) 0%, rgba(139, 155, 213, 0.7) 100%);
    border-radius: 20px;
    transform: rotate(45deg);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 2px 15px rgba(255, 255, 255, 0.2),
        inset 0 -2px 15px rgba(0, 0, 0, 0.2);
    border: 5px solid rgba(91, 107, 158, 0.6);
}
.hero-visual i { 
    font-size: 8rem; 
    color: rgba(255, 255, 255, 0.9);
    display: none;
}
.btn { padding: 1rem 2.5rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-family: 'Montserrat', sans-serif; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.75rem; font-size: 1rem; letter-spacing: 0.5px; box-shadow: var(--shadow-md); }
.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: var(--secondary-color); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--primary-color); color: white; border: 2px solid var(--primary-color); }
.btn-secondary:hover { background: var(--secondary-color); color: white; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-large { padding: 1.2rem 3rem; font-size: 1.2rem; }
.page-header { 
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.88) 0%, rgba(26, 31, 53, 0.88) 50%, rgba(10, 14, 26, 0.88) 100%),
                url('London finance.png') center center / cover no-repeat;
    background-blend-mode: normal;
    color: white; 
    padding: 180px 0 90px; 
    text-align: left; 
    margin-top: 140px; 
    position: relative; 
    overflow: hidden; 
}
.page-header.about-page {
    background-image: linear-gradient(135deg, rgba(10, 14, 26, 0.88) 0%, rgba(26, 31, 53, 0.88) 50%, rgba(10, 14, 26, 0.88) 100%),
                      url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1920&q=90') !important;
}
.page-header.services-page {
    background-image: linear-gradient(135deg, rgba(10, 14, 26, 0.88) 0%, rgba(26, 31, 53, 0.88) 50%, rgba(10, 14, 26, 0.88) 100%),
                      url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&q=90') !important;
}
.page-header.contact-page {
    background-image: linear-gradient(135deg, rgba(10, 14, 26, 0.88) 0%, rgba(26, 31, 53, 0.88) 50%, rgba(10, 14, 26, 0.88) 100%),
                      url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&q=90') !important;
}
.page-header::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0;
    right: 0; 
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(91, 107, 158, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 155, 213, 0.12) 0%, transparent 40%);
    z-index: 1;
    animation: pulseGlow 8s ease-in-out infinite;
}
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(139, 155, 213, 0.15) 0%, transparent 50%);
    z-index: 1;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .section-badge { 
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.25) 0%, rgba(139, 155, 213, 0.25) 100%); 
    color: rgba(139, 155, 213, 1); 
    border: 1px solid rgba(139, 155, 213, 0.4);
}
.page-header h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1rem; 
    font-weight: 800; 
    font-family: 'Montserrat', sans-serif; 
    letter-spacing: -1px;
    color: #ffffff;
}
.page-header p { 
    font-size: 1.3rem; 
    opacity: 0.85; 
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}
.quick-features { 
    padding: 0; 
    background: linear-gradient(135deg, #e8eeff 0%, #f0f4ff 50%, #e8eeff 100%);
    position: relative;
    overflow: hidden;
}
.quick-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5B6B9E 0%, #7B8BC0 50%, #8B9BD5 100%);
}
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0; 
    max-width: 1400px; 
    margin: 0 auto; 
}
.feature-box { 
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3.5rem 4rem;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    border-right: 1px solid rgba(91, 107, 158, 0.15);
    border-bottom: 1px solid rgba(91, 107, 158, 0.15);
    position: relative;
}
.feature-box:nth-child(2n) {
    border-right: none;
}
.feature-box:nth-child(3), .feature-box:nth-child(4) {
    border-bottom: none;
}
.feature-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.08) 0%, rgba(139, 155, 213, 0.12) 100%);
    transition: width 0.4s ease;
}
.feature-box:hover::before {
    width: 100%;
}
.feature-box:hover { 
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(91, 107, 158, 0.15);
}
.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.3) 0%, rgba(139, 155, 213, 0.35) 100%);
    border-color: rgba(91, 107, 158, 0.4);
    box-shadow: 0 8px 20px rgba(91, 107, 158, 0.25);
}
.feature-icon { 
    width: 80px; 
    height: 80px; 
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.15) 0%, rgba(139, 155, 213, 0.2) 100%); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0;
    transition: all 0.4s ease;
    border: 2px solid rgba(91, 107, 158, 0.2);
    position: relative;
    z-index: 2;
}
.feature-icon i { 
    font-size: 2.2rem; 
    color: var(--primary-color); 
}
.feature-box h3 { 
    font-size: 1.3rem; 
    margin-bottom: 0.5rem; 
    color: var(--text-dark); 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700;
    position: relative;
    z-index: 2;
}
.feature-box p { 
    color: var(--text-light); 
    line-height: 1.7; 
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 2;
}
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-badge { display: inline-block; background: rgba(91, 107, 158, 0.1); color: var(--primary-color); padding: 0.5rem 1.25rem; border-radius: 5px; font-size: 0.85rem; font-weight: 700; font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; letter-spacing: 1px; text-transform: uppercase; }
h2 { font-size: 2.8rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; letter-spacing: -0.5px; }
.why-choose { padding: 100px 0; background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%); position: relative; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-top: 3rem; max-width: 1400px; margin-left: auto; margin-right: auto; }
.why-item { 
    background: var(--light-gray); 
    padding: 3rem; 
    border-radius: 10px; 
    border-left: 4px solid var(--primary-color); 
    transition: all 0.3s ease; 
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
    z-index: 1;
}
.why-item:hover::before {
    background: rgba(255, 255, 255, 0.85);
}
.why-item:nth-child(1) {
    background-image: linear-gradient(135deg, rgba(91, 107, 158, 0.1) 0%, rgba(139, 155, 213, 0.1) 100%), 
                      url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1200&auto=format&fit=crop');
}
.why-item:nth-child(2) {
    background-image: linear-gradient(135deg, rgba(91, 107, 158, 0.1) 0%, rgba(139, 155, 213, 0.1) 100%), 
                      url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1200&auto=format&fit=crop');
}
.why-item:nth-child(3) {
    background-image: linear-gradient(135deg, rgba(91, 107, 158, 0.1) 0%, rgba(139, 155, 213, 0.1) 100%), 
                      url('https://images.unsplash.com/photo-1556761175-b413da4baf72?w=1200&auto=format&fit=crop');
}
.why-item:nth-child(4) {
    background-image: linear-gradient(135deg, rgba(91, 107, 158, 0.1) 0%, rgba(139, 155, 213, 0.1) 100%), 
                      url('https://images.unsplash.com/photo-1554224154-26032ffc0d07?w=1200&auto=format&fit=crop');
}
.why-item:hover { transform: translateX(10px); box-shadow: 0 20px 40px rgba(91, 107, 158, 0.2); }
.why-number { font-size: 4rem; font-weight: 900; font-family: 'Montserrat', sans-serif; color: var(--primary-color); opacity: 0.25; margin-bottom: 1rem; line-height: 1; position: relative; z-index: 2; }
.why-item h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #1a202c; font-family: 'Montserrat', sans-serif; font-weight: 800; position: relative; z-index: 2; text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8); }
.why-item p { color: #2d3748; line-height: 1.8; font-size: 1.05rem; position: relative; z-index: 2; font-weight: 500; }
.about-content-section { 
    padding: 0; 
    background: var(--white); 
    position: relative;
    overflow: hidden;
}
.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 0; 
    align-items: center;
    min-height: 600px;
}
.about-text {
    padding: 100px 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    position: relative;
    z-index: 2;
}
.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    transform: skewX(-5deg);
    z-index: -1;
}
.about-description { 
    font-size: 1.1rem; 
    color: var(--text-light); 
    line-height: 1.8; 
    margin-bottom: 1.5rem; 
}
.about-image { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 80px 120px 80px 80px;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.7) 0%, rgba(139, 155, 213, 0.7) 100%),
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600&q=85') center center / cover no-repeat;
    position: relative;
    height: 100%;
}
.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.15) 0%, transparent 100%);
}
.image-placeholder { 
    width: 100%; 
    height: 400px; 
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    border-radius: 50%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 0 60px rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
}
.image-placeholder i { font-size: 5rem; margin-bottom: 1rem; opacity: 0.9; position: relative; z-index: 2; }
.image-placeholder p { font-size: 1.5rem; font-weight: 600; position: relative; z-index: 2; }
.values-section { 
    padding: 120px 0; 
    background: linear-gradient(135deg, #fefcfb 0%, #e8eeff 50%, #fefcfb 100%);
    position: relative;
    overflow: hidden;
}
.values-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -10%;
    width: 120%;
    height: 200px;
    background: var(--light-gray);
    transform: rotate(-3deg);
    z-index: 0;
}
.values-section .container {
    position: relative;
    z-index: 1;
}
.values-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 3rem 4rem; 
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.value-card { 
    background: white;
    padding: 0;
    border-radius: 0;
    text-align: left;
    box-shadow: none;
    transition: all 0.4s ease;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
}
.value-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.4s ease;
}
.value-card:hover::before {
    height: 100%;
}
.value-card:hover { 
    transform: translateX(10px);
}
.value-icon { 
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.1) 0%, rgba(139, 155, 213, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(91, 107, 158, 0.2);
    transition: all 0.4s ease;
}
.value-card:hover .value-icon {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: rotate(5deg) scale(1.1);
}
.value-icon i { 
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: color 0.4s ease;
}
.value-card:hover .value-icon i {
    color: white;
}
.value-card h3 { 
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}
.value-card p { 
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}
.team-section { 
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, white 50%, var(--light-gray) 100%);
    position: relative;
}
.team-grid { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.team-member { 
    background: white;
    padding: 0;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}
.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.team-member:hover::before {
    transform: scaleX(1);
}
.team-member:hover { 
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(91, 107, 158, 0.2);
}
.member-icon { 
    width: 100%;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
    overflow: hidden;
}
.member-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: transform 0.6s ease;
}
.team-member:hover .member-icon::before {
    transform: scale(1.5);
}
.member-icon i { 
    font-size: 3.5rem;
    color: white;
    position: relative;
    z-index: 1;
}
.team-member h3 { 
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-dark);
    padding: 0 2rem;
}
.team-member p { 
    color: var(--text-light);
    line-height: 1.7;
    padding: 0 2rem 2rem;
}
.why-choose-about { 
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%);
    position: relative;
}
.why-choose-about::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -10%;
    width: 120%;
    height: 200px;
    background: var(--light-gray);
    transform: rotate(-3deg);
    z-index: 0;
}
.why-choose-about .container {
    position: relative;
    z-index: 1;
}
.features-list { 
    max-width: 1000px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.feature-item { 
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0;
    background: transparent;
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s ease;
    border-left: 3px solid transparent;
}
.feature-item:hover { 
    transform: translateX(15px);
    border-left-color: var(--primary-color);
    background: rgba(91, 107, 158, 0.03);
}
.feature-item .feature-icon { 
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.1) 0%, rgba(139, 155, 213, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(91, 107, 158, 0.2);
    transition: all 0.4s ease;
}
.feature-item:hover .feature-icon {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: rotate(-5deg) scale(1.1);
}
.feature-item .feature-icon i { 
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.4s ease;
}
.feature-item:hover .feature-icon i {
    color: white;
}
.feature-content h4 { 
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.feature-content p { 
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}
.services-section { 
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #f0f4ff 100%); 
    padding: 100px 0; 
    position: relative;
    overflow: hidden;
}
.services-section .container {
    text-align: center;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(91, 107, 158, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(139, 155, 213, 0.05) 0%, transparent 40%);
    pointer-events: none;
}
.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5B6B9E 0%, #7B8BC0 50%, #8B9BD5 100%);
}
@keyframes floatMagnifier {
    0% { 
        top: 10%; 
        left: 5%; 
    }
    10% { 
        top: 5%; 
        left: 25%; 
    }
    20% { 
        top: 20%; 
        left: 50%; 
    }
    30% { 
        top: 10%; 
        left: 75%; 
    }
    40% { 
        top: 35%; 
        left: 90%; 
    }
    50% { 
        top: 65%; 
        left: 80%; 
    }
    60% { 
        top: 80%; 
        left: 55%; 
    }
    70% { 
        top: 75%; 
        left: 25%; 
    }
    80% { 
        top: 50%; 
        left: 10%; 
    }
    90% { 
        top: 30%; 
        left: 35%; 
    }
    100% { 
        top: 10%; 
        left: 5%; 
    }
}
@keyframes pulseGlow {
0%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
@keyframes headerGlow {
0%, 100% { 
box-shadow: 0 4px 30px rgba(91, 107, 158, 0.15);
}
50% { 
box-shadow: 0 4px 35px rgba(91, 107, 158, 0.25);
}
}
.services-instruction {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 2px dashed rgba(91, 107, 158, 0.3);
    display: inline-block;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}
.services-instruction::before {
    content: '\f0a4';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.75rem;
    color: var(--secondary-color);
}
.services-grid { 
display: flex;
flex-direction: column;
gap: 2rem; 
margin-top: 1rem;
position: relative;
z-index: 2;
}
.service-card { 
    background: white;
    padding: 1.5rem 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(91, 107, 158, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    cursor: pointer;
    max-height: 100px;
    box-shadow: 0 2px 10px rgba(91, 107, 158, 0.08);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.03) 0%, rgba(139, 155, 213, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 155, 213, 0.05), transparent);
    transition: left 0.6s ease;
}
.service-card:hover::after {
    left: 100%;
}
.service-card:hover {
    max-height: 600px;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.05) 0%, rgba(139, 155, 213, 0.08) 100%);
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(91, 107, 158, 0.2),
        0 5px 15px rgba(91, 107, 158, 0.15);
    border-color: rgba(91, 107, 158, 0.3);
}
.service-card:hover::before {
    opacity: 1;
}
.service-card.expanded {
    max-height: 600px !important;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.05) 0%, rgba(139, 155, 213, 0.08) 100%);
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(91, 107, 158, 0.2),
        0 5px 15px rgba(91, 107, 158, 0.15);
    border-color: rgba(91, 107, 158, 0.3);
}
.service-card.expanded::before {
    opacity: 1;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.service-icon { 
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.3) 0%, rgba(139, 155, 213, 0.3) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(139, 155, 213, 0.4);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
.service-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.5), rgba(139, 155, 213, 0.5));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.5s ease;
}
.service-card:hover .service-icon::before {
    opacity: 0.6;
}
.service-card:hover .service-icon {
    width: 100px;
    height: 100px;
    transform: rotate(5deg) scale(1.05);
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.5) 0%, rgba(139, 155, 213, 0.5) 100%);
    border-color: rgba(139, 155, 213, 0.8);
    box-shadow: 
        0 0 20px rgba(139, 155, 213, 0.4),
        inset 0 0 15px rgba(139, 155, 213, 0.2);
}
.service-card.expanded .service-icon::before {
    opacity: 0.6;
}
.service-card.expanded .service-icon {
    width: 100px;
    height: 100px;
    transform: rotate(5deg) scale(1.05);
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.5) 0%, rgba(139, 155, 213, 0.5) 100%);
    border-color: rgba(139, 155, 213, 0.8);
    box-shadow: 
        0 0 20px rgba(139, 155, 213, 0.4),
        inset 0 0 15px rgba(139, 155, 213, 0.2);
}
.service-icon i { 
    font-size: 1.8rem; 
    color: var(--primary-color);
    transition: all 0.5s ease;
}
.service-card:hover .service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.service-card.expanded .service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.service-content {
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.service-card h3 { 
    font-size: 1.4rem; 
    margin-bottom: 0;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.5s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.service-card::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0.6;
}
.service-card.expanded::after {
    content: '\f077';
    opacity: 1;
}
.service-card:hover h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    white-space: normal;
    color: var(--text-dark);
}
.service-card.expanded h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    white-space: normal;
    color: var(--text-dark);
}
@keyframes textShimmer {
    to { background-position: 200% center; }
}
.service-card p { 
    color: var(--text-light); 
    line-height: 1.8; 
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease 0.1s;
}
.service-card:hover p {
    max-height: 200px;
    opacity: 1;
    color: var(--text-dark);
}
.service-card.expanded p {
    max-height: 200px;
    opacity: 1;
    color: var(--text-dark);
}
.service-features { 
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease 0.2s;
}
.service-card:hover .service-features {
    max-height: 300px;
    opacity: 1;
}
.service-card.expanded .service-features {
    max-height: 300px;
    opacity: 1;
}
.service-features li { 
    padding: 0.5rem 0.75rem; 
    color: var(--text-dark); 
    display: flex; 
    align-items: center; 
    gap: 0.75rem;
    font-size: 0.95rem;
    background: linear-gradient(90deg, rgba(139, 155, 213, 0.08) 0%, transparent 100%);
    border-left: 2px solid rgba(139, 155, 213, 0.4);
    border-radius: 5px;
    transition: all 0.3s ease;
}
.service-features li:hover {
    background: linear-gradient(90deg, rgba(139, 155, 213, 0.15) 0%, rgba(91, 107, 158, 0.08) 100%);
    border-left-color: rgba(139, 155, 213, 0.8);
    transform: translateX(5px);
}
.service-features i { 
    color: rgba(139, 155, 213, 1);
    font-size: 0.875rem;
}
.contact-section { 
    padding: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e8eeff 100%);
    position: relative;
    overflow: hidden;
}
.contact-grid { 
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 0;
    margin-top: 0;
    min-height: 700px;
}
.contact-info-box { 
    background: var(--gradient-primary);
    padding: 80px 60px;
    border-radius: 0;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-info-box > * {
    position: relative;
    z-index: 2;
}
.contact-info-box h2 { 
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}
.contact-info-box > p { 
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}
.contact-details { margin-bottom: 3rem; }
.contact-item { 
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}
.contact-icon { 
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}
.contact-icon i { 
    color: white;
    font-size: 1.3rem;
}
.contact-text h4 { 
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.contact-text p, .contact-text a { 
    color: white;
    text-decoration: none;
    line-height: 1.6;
    font-size: 1.05rem;
}
.contact-text a:hover { 
    color: rgba(255, 255, 255, 0.8);
}
.social-links { margin-top: 3rem; }
.social-links h4 { 
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.social-icons { display: flex; gap: 1rem; }
.social-icon { 
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.social-icon:hover { 
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.contact-form-box { 
    background: white;
    padding: 80px 60px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-form-box h2 { 
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { margin-bottom: 0.5rem; color: var(--text-dark); font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: 10px; font-size: 1rem; color: var(--text-dark); background: white; transition: all 0.3s ease; font-family: 'Poppins', sans-serif; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(91, 107, 158, 0.1); outline: none; }
.user-type-selector { display: flex; gap: 1rem; margin-top: 0.5rem; }
.user-type-option { flex: 1; display: flex; align-items: center; padding: 0.75rem 1rem; border: 2px solid var(--border-color); border-radius: 10px; cursor: pointer; transition: all 0.3s ease; background: white; }
.user-type-option:hover { border-color: var(--primary-color); background: rgba(91, 107, 158, 0.05); }
.user-type-option input { margin-right: 0.5rem; width: auto !important; }
.user-type-option input:checked + span { font-weight: 600; color: var(--primary-color); }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-btn { width: 100%; background: var(--gradient-primary); color: white; border: none; padding: 1rem 2rem; border-radius: 12px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; box-shadow: var(--shadow-md); }
.submit-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.contact-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}
.contact-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}
.contact-popup-container {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(100px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.contact-popup-overlay.active .contact-popup-container {
    transform: translateY(0) scale(1);
}
.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}
.popup-close:hover {
    background: rgba(91, 107, 158, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}
.contact-popup-container h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.thank-you-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); display: flex; justify-content: center; align-items: center; z-index: 3000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.thank-you-overlay.active { opacity: 1; visibility: visible; }
.thank-you-container { background: white; border-radius: 20px; padding: 3rem 2rem; text-align: center; max-width: 400px; width: 90%; box-shadow: var(--shadow-xl); transform: translateY(100px) scale(0.8); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.thank-you-overlay.active .thank-you-container { transform: translateY(0) scale(1); }
.thank-you-icon { width: 80px; height: 80px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.thank-you-icon i { font-size: 2.5rem; color: white; }
.thank-you-container h2 { color: var(--primary-color); font-size: 1.8rem; margin-bottom: 1rem; }
.thank-you-container p { color: var(--text-light); font-size: 1.1rem; line-height: 1.6; }
.cta-section { padding: 100px 0; background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); color: white; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: rgba(255, 255, 255, 0.05); border-radius: 50%; }
.cta-section::after { content: ''; position: absolute; bottom: -50%; left: -10%; width: 500px; height: 500px; background: rgba(255, 255, 255, 0.05); border-radius: 50%; }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: 3rem; margin-bottom: 1.5rem; color: white; font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: -0.5px; }
.cta-content p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.95; font-weight: 300; max-width: 700px; margin-left: auto; margin-right: auto; }
.footer { background: var(--text-dark); color: var(--white); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { 
    height: 120px; 
    width: auto; 
    object-fit: contain;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: scale(1);
    -webkit-transform: scale(1);
    filter: drop-shadow(0 0 0 transparent);
    transition: all 0.4s ease;
}
.footer-logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(91, 107, 158, 0.6)) 
            drop-shadow(0 0 25px rgba(139, 155, 213, 0.4))
            drop-shadow(0 0 40px rgba(139, 155, 213, 0.2));
}
.footer-logo svg {
    height: 100%;
    width: auto;
}
.footer-brand-text p { color: #9ca3af; line-height: 1.6; }
.footer-section h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--white); }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.75rem; }
.footer-section a { color: #d1d5db; text-decoration: none; transition: all 0.3s ease; }
.footer-section a:hover { color: var(--accent-color); }
.opening-hours p { margin-bottom: 0.75rem; color: #d1d5db; }
.contact-info { margin-top: 1.5rem; }
.contact-info p { color: #d1d5db; margin-bottom: 0.5rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #374151; color: #9ca3af; }
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero { padding: 160px 0 100px; }
    .hero h1 { font-size: 2.8rem; }
    .hero-background { width: 100%; clip-path: none; }
    .hero-visual { height: 350px; }
    .features-grid { grid-template-columns: 1fr; gap: 2rem; }
    .feature-box { padding: 2.5rem 2rem; }
    .why-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-grid { grid-template-columns: 1fr; gap: 0; }
    .about-text::before { display: none; }
    .about-text { padding: 60px 40px; }
    .about-image { padding: 60px 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 0; }
    .contact-info-box { padding: 60px 40px; }
    .contact-form-box { padding: 60px 40px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .features-list { grid-template-columns: 1fr; gap: 2rem; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .service-card { grid-template-columns: 70px 1fr; padding: 1.5rem 2rem; }
    .logo-tooltip { width: 300px; }
    h2 { font-size: 2.4rem; }
    .contact-popup-container { padding: 2.5rem 2rem; max-height: 88vh; }
    .contact-popup-overlay { padding: 15px; }
    .hero-buttons { flex-wrap: wrap; }
    .cta-content h2 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav { height: 110px; padding: 0.5rem 1rem; }
    .logo { height: 95px; }
    .logo-tooltip { display: none; }
    .hero { margin-top: 110px; padding: 120px 0 80px; }
    .page-header { margin-top: 110px; padding: 120px 0 60px; text-align: center; }
    .contact-popup-container { padding: 2rem 1.5rem; max-height: 85vh; }
    .contact-popup-container h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
    .popup-close { top: 1rem; right: 1rem; width: 36px; height: 36px; font-size: 1.3rem; }
    .contact-popup-overlay { padding: 10px; }
    .nav-menu { position: fixed; top: 110px; left: -100%; width: 100%; height: calc(100vh - 110px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%); backdrop-filter: blur(20px); flex-direction: column; justify-content: flex-start; align-items: center; padding-top: 3rem; transition: left 0.4s ease; box-shadow: 0 4px 30px rgba(91, 107, 158, 0.2); z-index: 999; }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 1.5rem 0; width: 100%; text-align: center; }
    .nav-menu a { font-size: 1.2rem; padding: 1rem 2rem; display: block; }
    .nav-toggle { display: flex; z-index: 1001; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
    .hero-content { grid-template-columns: 1fr; gap: 2rem; }
    .hero h1 { font-size: 2.5rem; line-height: 1.2; }
    .hero-description { font-size: 1.1rem; }
    .hero-visual { height: 300px; width: 100%; }
    .hero-visual::after { display: none; }
    .hero-background { display: none; }
    .page-header h1 { font-size: 2.5rem; }
    .page-header p { font-size: 1.1rem; }
    h2 { font-size: 2rem; }
    .section-badge { font-size: 0.8rem; padding: 0.4rem 1rem; }
    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-box { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
    .feature-icon { margin: 0 auto 1rem; }
    .why-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .why-item { padding: 2rem; }
    .service-card { grid-template-columns: 60px 1fr; padding: 1.25rem 1.5rem; max-height: 80px; }
    .service-card:hover { max-height: 800px; padding: 2rem 1.5rem; }
    .service-icon { width: 60px; height: 60px; }
    .service-card:hover .service-icon { width: 80px; height: 80px; }
    .service-icon i { font-size: 1.5rem; }
    .service-card:hover .service-icon i { font-size: 2rem; }
    .service-card h3 { font-size: 1.1rem; }
    .service-card:hover h3 { font-size: 1.4rem; }
    .service-features { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .value-card { flex-direction: column; text-align: center; padding: 2rem; }
    .value-icon { margin: 0 auto 1rem; }
    .team-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-brand { align-items: center; }
    .footer-logo { height: 100px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-text { padding: 40px 20px; }
    .about-image { padding: 40px 20px; }
    .image-placeholder { height: 300px; }
    .contact-grid { grid-template-columns: 1fr; min-height: auto; }
    .contact-info-box { padding: 40px 20px; }
    .contact-form-box { padding: 40px 20px; }
    .contact-item { flex-direction: column; text-align: center; gap: 1rem; }
    .contact-item a { font-size: 1rem !important; }
    .contact-icon { width: 50px; height: 50px; margin: 0 auto; }
    .social-icons { justify-content: center; flex-wrap: wrap; }
    .features-list { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-item { flex-direction: column; text-align: center; padding: 1.5rem; }
    .cta-content h2 { font-size: 2.5rem; }
    .cta-content p { font-size: 1.1rem; }
    .btn { padding: 0.875rem 2rem; font-size: 1rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .nav { padding: 0.5rem 0.75rem; height: 90px; }
    .logo { height: 75px; }
    .hero { padding: 120px 0 50px; margin-top: 90px; }
    .hero h1 { font-size: 1.8rem; letter-spacing: -0.5px; line-height: 1.2; }
    .hero-description { font-size: 0.95rem; line-height: 1.6; }
    .hero-visual { height: 250px; width: 200px; }
    .page-header { padding: 100px 0 50px; margin-top: 90px; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header p { font-size: 1rem; }
    .contact-popup-container { padding: 1.5rem 1rem; max-height: 80vh; }
    .contact-popup-container h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
    .popup-close { top: 0.75rem; right: 0.75rem; width: 32px; height: 32px; font-size: 1.2rem; }
    .user-type-selector { flex-direction: column; gap: 0.75rem; }
    .user-type-option { padding: 0.6rem 0.85rem; }
    .submit-btn { padding: 0.875rem 1.5rem; font-size: 1rem; }
    .contact-item a { font-size: 0.95rem !important; }
    h2 { font-size: 1.6rem; }
    .section-badge { font-size: 0.75rem; padding: 0.35rem 0.9rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .feature-box { padding: 1.5rem 1rem; }
    .feature-icon { width: 60px; height: 60px; }
    .feature-icon i { font-size: 1.8rem; }
    .feature-box h3 { font-size: 1.1rem; }
    .feature-box p { font-size: 0.9rem; }
    .why-item { padding: 1.5rem; }
    .why-number { font-size: 3rem; }
    .why-item h3 { font-size: 1.2rem; }
    .service-card { padding: 1rem 1.25rem; max-height: 75px; }
    .service-card:hover { padding: 1.5rem 1.25rem; }
    .service-card h3 { font-size: 1rem; }
    .service-card:hover h3 { font-size: 1.3rem; }
    .value-card { padding: 1.5rem; }
    .value-icon { width: 60px; height: 60px; }
    .value-icon i { font-size: 1.6rem; }
    .about-text { padding: 30px 15px; }
    .about-image { padding: 30px 15px; }
    .image-placeholder { height: 250px; }
    .image-placeholder i { font-size: 4rem; }
    .image-placeholder p { font-size: 1.2rem; }
    .contact-info-box { padding: 30px 15px; }
    .contact-form-box { padding: 30px 15px; }
    .contact-info-box h2 { font-size: 2rem; }
    .contact-item { padding: 1rem 0; }
    .cta-content h2 { font-size: 2rem; }
    .cta-content p { font-size: 1rem; }
    .footer { padding: 3rem 0 1.5rem; }
    .footer-logo { height: 80px; }
    .footer-section h3 { font-size: 1.1rem; }
    .nav-menu { top: 90px; height: calc(100vh - 90px); }
    .hero-buttons { justify-content: center; }
    .btn { white-space: nowrap; }
}

/* Legal Pages Styling */
.legal-content {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}
.legal-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}
.legal-sidebar {
    position: sticky;
    top: 160px;
    height: fit-content;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(91, 107, 158, 0.1);
    border: 2px solid rgba(91, 107, 158, 0.1);
}
.legal-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.legal-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.legal-nav li {
    margin-bottom: 0.75rem;
}
.legal-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}
.legal-nav a:hover {
    background: rgba(91, 107, 158, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}
.legal-main {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(91, 107, 158, 0.1);
    border: 2px solid rgba(91, 107, 158, 0.1);
}
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(91, 107, 158, 0.1);
}
.legal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}
.legal-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.legal-section h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.legal-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.legal-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}
.legal-section li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}
.contact-box {
    background: linear-gradient(135deg, rgba(91, 107, 158, 0.05) 0%, rgba(139, 155, 213, 0.08) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
}
.contact-box p {
    margin-bottom: 0.5rem;
}
.contact-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.contact-box a:hover {
    text-decoration: underline;
}
.legal-acknowledgment {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}
.legal-acknowledgment p {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

/* Footer Legal Links */
.footer-legal {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.footer-legal a:hover {
    color: white;
    text-decoration: underline;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #f0f4ff 100%);
    min-height: 100vh;
    margin-top: 140px;
}
.thank-you-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.thank-you-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease;
}
.thank-you-icon-large i {
    font-size: 4rem;
    color: white;
}
.thank-you-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}
.thank-you-message {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}
.thank-you-submessage {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}
.thank-you-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}
.info-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(91, 107, 158, 0.1);
    border: 2px solid rgba(91, 107, 158, 0.1);
    transition: all 0.3s ease;
}
.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(91, 107, 158, 0.2);
}
.info-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.info-box h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.info-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}
.thank-you-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 3rem 0 2rem;
}
.redirect-notice {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
}
@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Thank You Page */
@media (max-width: 768px) {
    .thank-you-section {
        padding: 140px 0 60px;
    }
    .thank-you-content h1 {
        font-size: 2.5rem;
    }
    .thank-you-message {
        font-size: 1.1rem;
    }
    .thank-you-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .thank-you-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .thank-you-actions .btn {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .thank-you-icon-large {
        width: 100px;
        height: 100px;
    }
    .thank-you-icon-large i {
        font-size: 3rem;
    }
    .thank-you-content h1 {
        font-size: 2rem;
    }
    .info-box {
        padding: 1.5rem;
    }
}

/* Responsive Legal Pages */
@media (max-width: 1024px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .legal-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    .legal-main {
        padding: 2rem;
    }
}
@media (max-width: 768px) {
    .legal-main {
        padding: 1.5rem;
    }
    .legal-section h2 {
        font-size: 1.6rem;
    }
    .legal-section h3 {
        font-size: 1.2rem;
    }
    .legal-section p,
    .legal-section li {
        font-size: 1rem;
    }
    .contact-box {
        padding: 1.5rem;
    }
    .legal-acknowledgment {
        padding: 1.5rem;
    }
    .legal-acknowledgment p {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .legal-sidebar {
        padding: 1.5rem;
    }
    .legal-main {
        padding: 1.25rem;
    }
    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    .legal-section h2 {
        font-size: 1.4rem;
    }
    .legal-section h3 {
        font-size: 1.1rem;
    }
    .contact-box {
        padding: 1.25rem;
    }
}
