* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Instrument+Sans:wght@300;400;500;600;700&family=Cormorant+Unicase:wght@400;500;600;700&display=swap');

body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #e5e7eb;
    background-color: #000000;
    min-height: 100vh;
    overflow-x: hidden;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    color: #d1d5db;
    margin-bottom: 1rem;
    font-family: 'Instrument Sans', sans-serif;
}

.hidden {
    display: none;
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.parallax-bg img {
    width: 100vw;
    height: auto;
    min-height: 100vh;
    object-fit: cover;
    object-position: center bottom;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.parallax-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: hsla(0, 0%, 0%, 0.3);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #2d3f59;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f9fafb;
    font-family: 'Cormorant Unicase', serif;
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline */
}

a.logo:hover {
    color: #f9fafb; /* Maintain color on hover to match original design */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #d1d5db;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.nav-links a:hover {
    color: #2d3f59;
}

.hero {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 120px 0 80px;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
    text-align: left;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin: 0 0 1rem 0;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: hwb(0 0% 100% / 0.3);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #2d3f59;
    font-family: 'Outfit', sans-serif;
    backdrop-filter: blur(5px);
}

.cta-button:hover {
    background: #274a5a;
    border-color: #274a5a;
    transform: translateY(-2px);
}

.intro {
    padding: 80px 0;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.intro h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #f9fafb;
    font-family: 'Outfit', sans-serif;
}

.intro p {
    max-width: 700px;
}

.services-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
}

.section-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 3rem;
}

.section-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    padding: 4px;
    border: 2px solid #2d3f59;
}

.toggle-btn {
    padding: 12px 30px;
    background: transparent;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    backdrop-filter: blur(5px);
}

.toggle-btn.active {
    background: #274a5a;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.service-card {
    background: #00000046;
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid #274a5a;
    backdrop-filter: blur(5px);

}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 63, 89, 0.3);
    background: #274a5a;
    border-color: #274a5a;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 400 !important;
    margin-bottom: 1rem;
    color: #f9fafb;
    font-family: 'Outfit', sans-serif;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-link {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.service-card:hover .service-link {
    color: #ffffff;
}

/* Simulates hover effect via JS on mobile */
.service-card.active {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 63, 89, 0.3);
    background: #274a5a;
    border-color: #274a5a;
}

.faq-item.active::before {
    background: #274a5a;
}

.service-link:hover {
    color: #274a5a;
}

.faq {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.faq-header {
    text-align: left;
    max-width: 1200px;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #f9fafb;
    font-family: 'Outfit', sans-serif;
}

.faq-subtitle {
    max-width: 700px;
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 2rem;
}

.faq-item {
    position: relative;
    padding-left: 1.5rem;
    border: none;
    background: transparent;
    box-shadow: none;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #2d3f59;
    border-radius: 2px;
}

.faq-item:hover::before {
    background: #274a5a;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 400 !important;
    margin-bottom: 1rem;
    color: #f9fafb;
    font-family: 'Outfit', sans-serif;
}

.faq-item p {
    line-height: 1.7;
}

.contact {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    color: white;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container {
    text-align: left;
    max-width: 600px;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.contact-form-container > p {
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.contact-form label {
    font-weight: 500;
    color: #e5e7eb;
    font-family: 'Outfit', sans-serif;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid #274a5a;
    font-size: 1rem;
    background: transparent;
    color: #e5e7eb;
    transition: border-color 0.3s ease;
    font-family: 'Instrument Sans', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: #2d3f59;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
    font-family: 'Instrument Sans', sans-serif;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    background: hsla(0, 0%, 0%, 0.301);
    color: white;
    padding: 15px 30px;
    border: 2px solid #2d3f59;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    backdrop-filter: blur(5px);

}

.submit-button:hover {
    background: #274a5a;
    border-color: #274a5a;
    transform: translateY(-2px);
}

.contact-image-container {
    text-align: left;
    display: block;
    margin-top: 0;
    align-self: start;
    max-height: 100%;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 150px;
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.contact-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
    border: 2px solid #274a5a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    z-index: 0;
}

.contact-description h3 {
    font-size: 1.5rem;
    font-weight: 400 !important;
    margin-bottom: 1rem;
    color: #f9fafb;
    font-family: 'Outfit', sans-serif;
}

.contact-description .interest-list {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.contact-description .interest-list li {
    margin-bottom: 0.5rem;
}

footer {
    background: hsla(0, 0%, 0%, 0.5);
    backdrop-filter: blur(10px);
    color: #9ca3af;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #2d3f59;
    font-family: 'Instrument Sans', sans-serif;
}

@media (max-width: 768px) {
    p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .parallax-bg {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        transform: none !important;
        will-change: auto !important;
    }
    
    .parallax-bg img {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: none !important;
        will-change: auto !important;
    }
    
    .parallax-overlay {
        position: fixed !important;
        background: rgba(0, 0, 0, 0.6) !important;
    }

    .nav-links {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 100vh;
        padding: 100px 0 60px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    .hero-content {
        max-width: 100%;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
        white-space: normal;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .intro, .services-section, .faq, .contact {
        padding: 60px 0;
    }
    
    .intro h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .intro p {
        max-width: 700px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .service-card {
    background: #00000046;
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* replace existing transition… */
    transition: all 0.5s ease; /* <-- slower, smooth transition on everything */
    border: 1px solid #274a5a;
    }

    .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 63, 89, 0.3);
    background: #274a5a;
    border-color: #274a5a;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        font-weight: 400 !important;
        margin-bottom: 1rem;
    }

    .service-card p {
        margin-bottom: 1.5rem;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
    }

    .faq-header {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .faq-title {
        font-size: 1.3rem;
        font-weight: 400;
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }
    
    .faq-subtitle {
        max-width: 700px;
    }

    .section-header {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .toggle-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .contact-form-container > p {
        margin-bottom: 1.5rem;
    }
    
    .contact-image-container {
        margin-top: 1rem;
        text-align: center;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .image-wrapper {
        max-width: 200px;
        margin: 0 auto 2rem auto;
        float: none;
    }

    .contact-image {
        max-width: 200px;
    }
    
    .contact-description {
        text-align: left;
        clear: both;
    }
    
    .contact-description h3 {
        font-size: 1.3rem;
        font-weight: 400 !important;
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }
    
    .contact-form {
        gap: 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px 0;
        font-size: 1rem;
    }
    
    .submit-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .parallax-bg,
    .parallax-bg img {
        transform: none !important;
        will-change: auto !important;
    }
}