/* CSS Variables */
:root {
    --primary-color: #00a65c;
    --secondary-color: #003379;
    --accent-color: #558b95;
    --text-color: #212529;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-family: 'Inter', sans-serif;
    --container-width: 1140px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #008f4f;
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    background: transparent;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-outline {
    border-color: #ddd;
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
    margin-right: 20px;
}

/* Active Link Style */
.nav-list li a.active {
    color: var(--primary-color);
    font-weight: 600;
}
.nav-btn {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 166, 92, 0.3);
}

.nav-list li:last-child {
    margin-left: 20px;
}


.nav-list li a.nav-btn:hover {
    background-color: #008f4f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 166, 92, 0.2);
}

.nav-list {
    align-items: center; /* Align items vertically */
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px; /* Exact match to reference */
    min-height: auto;
    display: flex;
    align-items: center;
    background-color: var(--white);
    background-image: url('../images/header-bg.svg');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain; /* or 100% auto depending on reference behavior, contain is usually safer */
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

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

/* Placeholder Image Styles */
.placeholder-image {
    width: 500px;
    height: 400px;
    background-color: #e9ecef;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 80px;
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
}

/* About Section */
.section#about {
    background-color: rgba(182, 178, 255, .22);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-content {
    flex: 1;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 15px;
    color: #666;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card .icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-list {
    margin-top: 20px;
    text-align: left;
}

.service-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.service-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 14px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
    transition: var(--transition);
}

/* Featured Pricing Card */
.pricing-card.featured {
    transform: scale(1.05); /* Slightly larger */
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 166, 92, 0.15);
    background-color: var(--secondary-color); /* Assuming user wants dark bg for featured */
    color: var(--white);
}

.pricing-card.featured h3,
.pricing-card.featured .price {
    color: var(--white);
}

.pricing-card.featured .plan-desc {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card.featured ul li {
    color: var(--white);
}

.pricing-card.featured ul li::before {
    color: var(--primary-color);
}

.pricing-card .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.plan-desc {
    color: #888;
    margin-bottom: 20px;
    font-size: 14px;
    font-style: italic;
}

.pricing-card ul {
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.4;
}

.pricing-card ul li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
    font-size: 14px;
}

/* Testimonials */
.section#testimonials {
    background-color: rgba(182, 178, 255, .22);
}

.testimonial-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

.testimonial-content {
    flex: 1;
}

.testimonial-label {
    color: #666;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.testimonial-content h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.testimonial-desc {
    color: #777;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-quote {
    background-color: #e9ecef;
    padding: 15px 20px;
    border-left: 4px solid var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-item.active {
    display: block;
}

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

.testimonial-dots .dot {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quote-icon {
    font-size: 20px;
    color: var(--secondary-color);
}

.quote-text h4 {
    color: var(--secondary-color);
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #d1d1d1;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: #2ecc71; /* Green active dot */
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-image {
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.team-image img {
    height: 80%;
    width: auto;
    object-fit: contain;
}

.team-content {
    padding: 20px;
}

.team-content h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background-color: #f1f3f5;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Contact Section */
#contact.section {
    background-color: #f0f1fa;
}

.contact-container {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
}

.contact-form-wrapper {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 166, 92, 0.2);
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    width: auto;
    padding: 12px 40px;
    border-radius: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #008f4f;
}

.contact-content-right {
    flex: 1;
    text-align: center;
}

.contact-content-right h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-content-right p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.contact-image img {
    max-width: 100%;
    height: auto;
}

/* Footer */
footer {
    background-color: #003379;
    background-image: url('../images/footer-bg.png');
    background-size: cover;
    background-position: center top;
    color: var(--white);
    padding: 80px 0 20px;
    font-size: 14px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-about {
    flex: 1.2;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-links ul li a i {
    font-size: 10px;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    color: var(--white);
    font-size: 18px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-social .social-icons a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .placeholder-image {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-list.active {
        display: flex;
    }

    .hero-container,
    .about-container,
    .contact-container {
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
    }

    .contact-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .about-content .section-header,
    .contact-content-right {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content,
    .footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: left; /* Changed to left align for mobile as per screenshot style usually implies */
    }
}
