/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo {
    height: 80px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #003366;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #003366;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transition: opacity 0.5s ease-in-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    transition: opacity 0.5s ease-in-out;
}

.cta-button {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.cta-button:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
}

/* Sections */
.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.alt-bg {
    background-color: #f8f9fa;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.section-text {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 312px;
    height: 312px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-link {
    margin-top: 1rem;
    font-style: italic;
}

.about-link a {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-link a:hover {
    color: #E74C3C;
    text-decoration: underline;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #E74C3C;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.service-features {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #003366;
    font-weight: bold;
}

/* Benefits Section */
.benefits-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #003366;
    margin: 2rem 0 1.5rem 0;
    text-align: center;
}

.benefits-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-list li {
    padding: 1rem 0;
    font-size: 1.125rem;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #003366;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Process List */
.process-list {
    list-style: none;
    padding: 0;
    counter-reset: process-counter;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.process-list li {
    padding: 1rem 0;
    font-size: 1.125rem;
    color: #666;
    position: relative;
    padding-left: 3rem;
    counter-increment: process-counter;
}

.process-list li::before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    background-color: #003366;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.process-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.process-details li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    counter-increment: none;
}

.process-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.5rem;
    background: none;
    color: #003366;
    width: auto;
    height: auto;
    border-radius: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* HubSpot Form */
.hubspot-form-container {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #003366;
}

.submit-button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #0055aa;
    transform: translateY(-1px);
}

.contact-info {
    text-align: center;
    color: #666;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0055aa;
    text-decoration: underline;
}

.availability {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .profile-photo {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    .navbar {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        opacity: 1;
        transform: none;
    }
}
