/* Footer privacy link styling */
a.footer {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s;
}
a.footer:hover {
    color: var(--primary-dark);
    text-decoration: none;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p + ul,
p + ol {
    margin-top: -1em;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --secondary-color: #14b8a6;
    --accent-color: #10b981;
    --text-color: #1f2937;
    --text-light: #4b5563;
    --light-gray: #f9fafb;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --background-gradient: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-gray);
    font-size: 16px;
}

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

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 20px;
    min-height: 90px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    position: relative;
    border: none;
    display: block;
}

.nav-list a:hover {
    color: var(--primary-color);
    background-color: rgba(16, 185, 129, 0.05);
}

.nav-list a.active {
    color: var(--primary-color);
    background-color: rgba(16, 185, 129, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background-image: url('../images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Services Grid */
.services-preview {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-dark);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .service-icon svg {
    stroke: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

/* About Preview */
.about-preview {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.placeholder-image {
    background: linear-gradient(135deg, #f0f0ff 0%, #e8e8ff 100%);
    padding: 5rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    border: 2px dashed var(--border-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #047857 0%, #0d9488 100%);
    color: var(--white);
    padding: 6rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    filter: blur(80px);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    filter: blur(100px);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Content Section */
.content-section {
    background-color: var(--light-gray);
}

.content-with-image {
    margin-bottom: 3rem;
}

.content-image-top {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.content-image-top img {
    width: 100%;
    height: auto;
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-text h2 {
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 1.75rem;
}

.content-text h2:first-child {
    margin-top: 0;
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.features-list {
    list-style: none;
    margin-top: 1rem;
}

.features-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.info-box,
.cta-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-box h3,
.cta-box h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-box p,
.cta-box p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Services Detailed */
.services-intro {
    margin-bottom: 3rem;
}

.services-header-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.services-detailed {
    margin-bottom: 3rem;
}

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.1);
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-icon-large svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-dark);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-item:hover .service-icon-large {
    transform: scale(1.1);
}

.service-item:hover .service-icon-large svg {
    stroke: var(--primary-color);
}

.service-details h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-details p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.service-details ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.service-details ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.service-details ul li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.cta-section h2 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.cta-section p {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-dark);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Contact Form */
.contact-form-wrapper h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background-color: #ffe4e6;
    color: #9f1239;
    border: 1px solid #fda4af;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    margin-bottom: 1.25rem;
    color: var(--white);
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.625rem;
    opacity: 0.85;
    line-height: 1.7;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 55px;
    }
    
    .nav-list {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 0;
        margin: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        display: none;
        z-index: 2000;
        gap: 0;
        border-bottom: 2px solid var(--primary-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-list.active {
        display: flex;
        max-height: 400px;
    }
    
    .nav-list li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav-list a {
        color: var(--text-color);
        background-color: transparent;
        padding: 1.2rem 1.5rem;
        border-radius: 0;
        font-size: 1rem;
        text-align: left;
        border: none;
        border-bottom: 1px solid var(--border-color);
        display: block;
        width: 100%;
    }
    
    .nav-list li:last-child a {
        border-bottom: none;
    }
    
    .nav-list a:hover {
        background-color: rgba(16, 185, 129, 0.08);
        color: var(--primary-color);
    }
    
    .nav-list a.active {
        background-color: rgba(16, 185, 129, 0.12);
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .hero {
        padding: 4rem 0;
        background-size: cover;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-details ul {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
        background-position: center;
    }
    
    .hero h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll animations */
.service-card,
.about-content > *,
.content-text > * {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

/* Anti-spam field */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Selection styling */
::selection {
    background-color: #34d399;
    color: var(--white);
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
