* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460, #533483, #16213e, #1a1a2e, #533483, #0f3460, #16213e, #1a1a2e);
    background-size: 900% 900%;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    animation: fadeIn 1.2s ease-out, gradientShift 120s linear infinite;
}

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

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

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

@keyframes gradientShift {
    0% { 
        background-position: 0% 50%;
    }
    100% { 
        background-position: 100% 50%;
    }
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

header {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Professional Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo-image {
    width: 32px;
    height: 32px;
}

.nav-company-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-menu a:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Hero Header */
.hero-header {
    padding: 4rem 0 1rem;
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.5px;
    margin: 0;
}

.credentials {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-image {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.4)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out 0.1s both;
}

.logo-image:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 45px rgba(255, 255, 255, 0.6)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* Logo with background circle */
.logo-image.with-background {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out 0.1s both;
}

.logo-image.with-background:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: slideUp 0.8s ease-out 0.2s both;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo h1:hover {
    transform: translateY(-2px);
    text-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 50%, #e8e8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    margin-top: -1rem;
}

.hero {
    text-align: center;
    max-width: 1400px;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -1px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 50%, #e8e8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease-out 0.4s both;
    padding-bottom: 0.2rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero h2:hover {
    transform: translateY(-3px) scale(1.02);
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #f0f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero > p {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 4rem;
    opacity: 0.85;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #e8e8ff;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s ease-out 0.8s both;
}

.feature {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature:hover::before {
    opacity: 1;
}

.feature .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
    color: #ffffff;
}

.feature .icon svg {
    width: 48px;
    height: 48px;
    color: inherit;
}

.feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.feature p {
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.6;
    color: #e8e8ff;
    position: relative;
    z-index: 1;
}

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

/* Enhanced hover effects */
.nav-menu a {
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: width 0.3s ease;
}

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

/* Enhanced feature hover effects */
.feature {
    position: relative;
    overflow: hidden;
}

.feature::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.feature:hover::after {
    opacity: 1;
}

/* Subtle parallax effect */
.hero {
    transform: translateZ(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced typography spacing */
.hero h2 {
    margin-bottom: 1.5rem;
    position: relative;
}

.hero h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.6s ease 0.3s;
}

.hero h2:hover::after {
    opacity: 1;
}

/* Enhanced Contact Section */
.contact-section {
    text-align: center;
    padding: 4rem 0 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.contact-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.contact-section > p {
    font-size: 1.1rem;
    color: #e8e8ff;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item strong {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-email, .contact-phone {
    color: #e8e8ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-email:hover, .contact-phone:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-address, .contact-hours {
    color: #e8e8ff;
    font-weight: 400;
}

footer {
    padding: 3rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

footer p {
    opacity: 0.6;
    font-size: 0.95rem;
    font-weight: 300;
    color: #c8c8ff;
}

/* Skip link for keyboard accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #ffffff;
    color: #1a1a2e;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for accessibility */
.contact-email:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.logo h1:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.hero h2:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-header {
        padding: 2rem 0;
    }
    
    header {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .logo {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero > p {
        font-size: 1.2rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .logo-image {
        max-width: 80px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input, .form-group button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-nav {
        padding: 0.75rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .nav-logo-image {
        width: 24px;
        height: 24px;
    }
    
    .nav-company-name {
        font-size: 1rem;
    }
    
    .hero-header {
        padding: 1.5rem 0;
    }
    
    header {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .logo {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero > p {
        font-size: 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo-image {
        max-width: 60px;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .newsletter-form {
        padding: 0 1rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .credentials {
        font-size: 0.8rem;
    }
}

/* Print styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .skip-link {
        display: none;
    }
    
    .feature {
        border: 1px solid #000;
        background: white !important;
        page-break-inside: avoid;
    }
    
    .contact-email {
        color: black !important;
        text-decoration: underline;
    }
    
    @page {
        margin: 0.5in;
    }
}