:root {
    --primary: #047857;
    --primary-dark: #065F46;
    --secondary: #10B981;
    --dark: #1F2937;
    --light: #F0FDF4;
    --gray: #6B7280;
    --light-gray: #D1FAE5;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #DC2626;
    --shadow: 0 10px 30px rgba(4, 120, 87, 0.15);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--secondary);
    color: white;
}

.btn-accent:hover {
    background-color: #00A896;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* HEADER STYLING */
header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* CONTAINER */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* LOGO */
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: #047857;
}

.logo span {
    color: #F59E0B;
    /* Highlight for "ovia" */
}

/* NAVIGATION */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #F59E0B;
}

/* HEADER BUTTONS */
.header-buttons .btn {
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-primary {
    background-color: #F59E0B;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #d9432c;
}

.btn-secondary {
    background-color: #ffffff;
    color: #047857;
    border: 2px solid #047857;
}

.btn-secondary:hover {
    background-color: #047857;
    color: #fff;
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: fixed;
    top: 70px;
    /* adjust based on header height */
    left: 0;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-menu ul li a:hover {
    color: #F59E0B;
}

.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.mobile-menu-buttons .btn {
    width: 100%;
    text-align: center;
}

/* RESPONSIVE STYLING */
@media (max-width: 992px) {
    nav {
        display: none;
        /* hide desktop nav */
    }

    .header-buttons {
        display: none;
        /* hide desktop buttons */
    }

    .mobile-menu-btn {
        display: block;
        /* show menu button */
    }
}

/* SHOW MOBILE MENU WHEN ACTIVE */
.mobile-menu.active {
    display: flex;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F8FAFF 0%, #EFF6FF 100%);
    padding: 100px 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 86, 214, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* About Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Why Choose Us */
.why-us {
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 214, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Services */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--light);
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 214, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin: 0 auto 20px;
}

/* Testimonials */
.testimonials {
    background-color: var(--light);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.client-quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--dark);
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--primary);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 0 20px 20px;
    max-height: 200px;
}

/* Contact */
.contact-container {
    display: flex;
    gap: 60px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-info {
    flex: 1;
    background-color: var(--light);
    padding: 40px;
    border-radius: var(--border-radius);
}

.confirmation {
    display: none;
    padding: 20px;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius);
    margin-top: 20px;
    border-left: 4px solid var(--success);
}

/* Newsletter */
.newsletter {
    background-color: var(--dark);
    color: white;
    padding: 60px 0;
}

.newsletter-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter h2 {
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #0A142F;
    color: white;
    padding: 70px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: block;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #B0B7D0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #B0B7D0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #B0B7D0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .about-container,
    .contact-container {
        flex-direction: column;
    }

    .hero-content,
    .about-content,
    .contact-form,
    .contact-info {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-buttons {
        display: none;
    }

    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 999;
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }

    .mobile-menu ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-highlights {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 30px;
    }

    .section {
        padding: 60px 0;
    }
}

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* Modal Box */
.modal-content {
    background: #fff;
    max-width: 600px;
    margin: 8% auto;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-content h2 {
    margin-bottom: 15px;
    color: #1A2B4D;
}

.modal-content p {
    margin-bottom: 12px;
    color: #444;
    line-height: 1.6;
}

/* Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 600px) {
    .modal-content {
        margin: 15% 15px;
        padding: 20px;
    }
}