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

:root {
    --primary-dark: #4b5b5f;
    --light-bg: #dfd8cf;
    --accent-grey: #a4aca7;
    --depth-1: #6c7c84;
    --depth-2: #738484;
    --warm-accent: #e6d9c9;
    --divider-grey: #a4a4a4;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

#hero {
        padding-top: 12rem !important;
    }

/* Navigation Styles */

.glass-navbar {
    background: #4b5b5f !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0.5rem 0.5rem;
    box-shadow: 0 8px 32px rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.glass-navbar:hover {
    background: #4b5b5f !important;
    box-shadow: 0 12px 40px rgba(75, 91, 95, 0.15);
}

.nav-link {
    position: relative;
    color: #ded7ce !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ded7ce;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: #ded7ce !important;
    background: #4b5b5f !important;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

/* Mobile Menu */
.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background: rgba(223, 216, 207, 0.95);
    backdrop-filter: blur(20px);
    transition: right 0.3s ease;
    padding: 2rem;
    z-index: 40;
}

.mobile-menu-content.active {
    right: 0;
}

.mobile-nav-links {
    margin-top: 4rem;
}

.mobile-nav-link {
    display: block;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--depth-1);
    padding-left: 1rem;
}

/* Hero Section */
#hero {
    position: relative;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--warm-accent) 100%);
}

.molecular-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(164, 172, 167, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(108, 124, 132, 0.1) 0%, transparent 50%);
    animation: molecularFloat 20s ease-in-out infinite;
}

@keyframes molecularFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Services Grid */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(75, 91, 95, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(75, 91, 95, 0.2);
    border-color: rgba(75, 91, 95, 0.3);
}

.service-card.featured {
    border: 2px solid var(--primary-dark);
    background: rgba(255, 255, 255, 0.35);
}

.featured-badge {
    position: absolute;
    top: -1px;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.3);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    border-radius: 50%;
    margin-bottom: 2rem;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(75, 91, 95, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(75, 91, 95, 0.4);
}

.service-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--depth-2);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    color: var(--depth-2);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.service-features i {
    color: var(--primary-dark);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.3);
    margin-top: auto;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 91, 95, 0.4);
}

/* Process Timeline */
.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-dark), var(--depth-1));
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
    text-align: right;
    margin-right: 3rem;
    margin-left: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(75, 91, 95, 0.3);
    position: relative;
    z-index: 10;
}

.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-left: 3rem;
    box-shadow: 0 4px 20px rgba(75, 91, 95, 0.08);
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(75, 91, 95, 0.15);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--depth-2);
    line-height: 1.6;
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(75, 91, 95, 0.15);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 91, 95, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(75, 91, 95, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.2);
}

/* Footer */
.footer-link {
    color: var(--accent-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--accent-grey);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--accent-grey);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .glass-navbar {
        padding: 0.75rem 1rem;
        margin: 0 1rem;
    }
    
    #hero h1 {
        font-size: 3rem !important;
        line-height: 1.1;
    }
    
    #hero p {
        font-size: 1.1rem !important;
        padding: 0 1rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 4rem;
    }
    
    .process-step:nth-child(even) .step-content {
        text-align: left;
        margin-right: 0;
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .step-number {
        position: absolute;
        left: -20px;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .step-content {
        margin-left: 0;
        width: 100%;
    }
    
    .glass-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2.5rem !important;
    }
    
    #hero p {
        font-size: 1rem !important;
    }
    
    .glass-navbar {
        margin: 0 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--depth-1);
}

.mobile-menu-btn i {
    color: #ded7ce !important;
}
