/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700;1,6..96,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Proxima+Nova:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Proxima Nova', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Apply Bodoni font to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bodoni Moda', serif;
    font-weight: 600;
}

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

/* Header and Navigation */
.navbar {
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-main,
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5530;
    text-decoration: none;
    display: block;
    margin: 15px 10px;
}

.logo-main img,
.logo-text img {
    display: block;
}

.logo-main img {
    height: 70px;
}

.logo-text img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

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

.nav-links a:hover {
    color: #2c5530;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content .lead {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

#office-services .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

.service-column {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2c5530;
    text-align: center;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 0.5rem;
}

.service-column ul {
    list-style: none;
}

.service-column li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 8px 0;
}

.service-column li i {
    color: #2c5530;
    margin-right: 12px;
    margin-top: 5px;
    font-size: 1rem;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.why-list {
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 15px 0;
    font-size: 1.1rem;
}

.why-list li i {
    color: #2c5530;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.about-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c5530;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 8px 0;
}

.pricing-card li i {
    color: #ff6b35;
    margin-right: 12px;
    font-size: 1rem;
}

.ideal-clients {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.client-group {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.client-group h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c5530;
}

.client-group ul {
    list-style: none;
}

.client-group li {
    margin-bottom: 0.5rem;
    padding: 5px 0;
    border-left: 3px solid #ff6b35;
    padding-left: 15px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info i {
    color: #2c5530;
    width: 20px;
}

.contact-info a {
    color: #ff6b35;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c5530;
    box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.2);
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

.map-container {
    margin-top: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Flash Messages */
.flash {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #2c5530;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade animations */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

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

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide animations */
.slide-in-bottom {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-bottom.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-top {
    opacity: 0;
    transform: translateY(-100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for service columns */
.service-column {
    transition-delay: 0s;
}

.service-column:nth-child(1) {
    transition-delay: 0.1s;
}

.service-column:nth-child(2) {
    transition-delay: 0.2s;
}

.service-column:nth-child(3) {
    transition-delay: 0.3s;
}

/* FAQ items staggered animation */
.faq-item {
    transition-delay: 0s;
}

.faq-item:nth-child(1) {
    transition-delay: 0.1s;
}

.faq-item:nth-child(2) {
    transition-delay: 0.2s;
}

.faq-item:nth-child(3) {
    transition-delay: 0.3s;
}

.faq-item:nth-child(4) {
    transition-delay: 0.4s;
}

.faq-item:nth-child(5) {
    transition-delay: 0.5s;
}

/* Hero content animation */
.hero-content h1 {
    animation: fadeInUp 1.2s ease-out;
}

.hero-content .lead {
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

.hero-content p {
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-content .btn {
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

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

/* Navbar slide down animation */
.navbar {
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        text-align: center;
    }

    .nav-links.open {
        max-height: 400px;
        padding: 1rem;
    }

    .nav-links:not(.open) {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #office-services .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ideal-clients {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-list {
        grid-template-columns: 1fr;
    }

    .contact-info p {
        flex-direction: column;
        gap: 5px;
    }

    .container {
        padding: 0 15px;
    }

    .services-section h2,
    .why-section h2,
    .pricing-section h2,
    .faq-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-main img {
        height: 50px;
    }

    .logo-text img {
        height: 35px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .services-section,
    .why-section,
    .about-section,
    .pricing-section,
    .cta-section,
    .faq-section,
    .contact-section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 1.5rem;
    }
}