:root {
    /* Premium Color Palette */
    --primary-color: #0F172A; /* Deep Navy/Slate */
    --accent-color: #3B82F6; /* Modern Blue */
    --accent-hover: #2563EB;
    --text-main: #334155;
    --text-light: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-off-white: #F1F5F9;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

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

.mobile-menu {
    display: none;
}

/* Burger Menu Styles */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 5px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -5px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.primary-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background-color: var(--bg-white);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Section Common */
.section {
    padding: 8rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    background: var(--bg-white);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.icon-box {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    position: relative;
    padding-top: 2rem;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #E2E8F0;
}

.step-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.2;
    margin-bottom: 1rem;
    line-height: 1;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Location Section */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.location-info address {
    font-style: normal;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
}

.contact-link:hover {
    color: var(--accent-color);
}

.map-container iframe {
    box-shadow: var(--shadow-lg);
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

/* Contact Section */
.contact-section {
    background: var(--primary-color);
    color: var(--bg-white);
}

.contact-section .section-subtitle {
    color: var(--accent-color);
}

.contact-section h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.contact-section p {
    color: #94A3B8;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.modern-form {
    background: rgba(255,255,255,0.05);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--bg-white);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    outline: none;
    background: transparent;
    transition: var(--transition);
    font-family: inherit;
}

.input-group textarea {
    resize: vertical;
}

.input-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1rem;
    color: #94A3B8;
    pointer-events: none;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group input:not(:placeholder-shown),
.input-group textarea:not(:placeholder-shown) {
    border-bottom-color: var(--accent-color);
}

.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--accent-color);
}

/* Footer */
.main-footer {
    background-color: #0B1120; /* Darker than primary */
    color: #94A3B8;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links h5,
.footer-contact h5 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 3rem;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-xl);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.modal h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

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

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0; /* Reduced padding for mobile */
    }

    .navbar-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none; /* Desktop nav hidden */
    }

    .burger {
        display: block;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 72px; /* Adjusted to match navbar height roughly */
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 2rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .mobile-menu.active {
        transform: translateY(0);
    }

    .mobile-nav-links li {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .mobile-nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--primary-color);
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.5rem; /* Smaller font on mobile */
    }
    
    .hero p { 
        margin: 0 auto 2rem; 
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
    
    .about-grid, 
    .location-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .modern-form {
        padding: 2rem 1.5rem; /* Reduce padding on mobile form */
    }

    .process-steps { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
