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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f7f6;
    color: #2c3e50;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    overflow: visible;
}

/* Header */
.header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.nav {
    display: flex;
    gap: 32px;
    position: relative;
    overflow: visible;
}

.nav-item {
    position: relative;
    padding: 10px 18px;
    margin: -10px -18px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(58, 168, 137, 0.12);
    box-shadow: 0 0 24px rgba(58, 168, 137, 0.25), 0 0 48px rgba(58, 168, 137, 0.12);
}

.nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
    display: block;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3aa889, #5bc4a7);
    transition: width 0.3s ease;
}

.nav-item:hover a {
    color: #3aa889;
}

.nav-item:hover a::after {
    width: 100%;
}

/* Glassmorphic Hover Panel */
.nav-hover-panel {
    position: absolute;
    top: calc(100% + 24px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 280px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(58, 168, 137, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(58, 168, 137, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.nav-hover-panel::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.92);
    border-left: 1px solid rgba(58, 168, 137, 0.2);
    border-top: 1px solid rgba(58, 168, 137, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-item:hover .nav-hover-panel {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    transition-delay: 0.2s;
}

.nav-panel-text {
    font-size: 14px;
    line-height: 1.7;
    color: #2c3e50;
    margin: 0;
    font-weight: 400;
}

.nav-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-panel-list li {
    font-size: 14px;
    line-height: 1.6;
    color: #2c3e50;
    padding: 8px 0;
    padding-left: 18px;
    position: relative;
    transition: all 0.2s ease;
}

.nav-panel-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #3aa889, #5bc4a7);
    border-radius: 50%;
    opacity: 0.7;
}

.nav-panel-list li:hover {
    color: #3aa889;
    padding-left: 20px;
}

.nav-panel-list li:hover::before {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 140px 0 140px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f6 100%);
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, rgba(42, 61, 79, 0.03) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-content > * {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    color: #1a2332;
    margin-bottom: 32px;
    letter-spacing: -1.2px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 19px;
    line-height: 1.8;
    color: #3a4d5f;
    margin-bottom: 48px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-align: left;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #3aa889 0%, #2d8a6f 100%);
    color: #ffffff;
    padding: 16px 44px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(58, 168, 137, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d8a6f 0%, #247a5f 100%);
    box-shadow: 0 8px 28px rgba(58, 168, 137, 0.45), 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 14px rgba(58, 168, 137, 0.35);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5f7f6 0%, #ffffff 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(58, 168, 137, 0.15), transparent);
}

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

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.services .section-title::after,
.contact .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, #3aa889, #2d8a6f);
    border-radius: 2px;
}

.about-text {
    font-size: 18px;
    line-height: 1.9;
    color: #3a4d5f;
    font-weight: 400;
}

/* Services Section */
.services {
    padding: 110px 0 120px;
    background: linear-gradient(180deg, #1f2d3d 0%, #2a3d4f 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, rgba(58, 168, 137, 0.03) 0px, transparent 1px, transparent 80px),
        repeating-linear-gradient(0deg, rgba(58, 168, 137, 0.03) 0px, transparent 1px, transparent 80px);
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 168, 137, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.services .section-title {
    text-align: center;
    margin-bottom: 72px;
    display: block;
    color: #ffffff;
    font-size: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.services .section-title::after {
    background: linear-gradient(90deg, #3aa889, #5bc4a7);
    box-shadow: 0 2px 12px rgba(58, 168, 137, 0.4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 44px 36px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3aa889, #5bc4a7);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(58, 168, 137, 0.25);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(58, 168, 137, 0.5);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 28px;
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, rgba(58, 168, 137, 0.15) 0%, rgba(58, 168, 137, 0.08) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(58, 168, 137, 0.15);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(58, 168, 137, 0.25) 0%, rgba(58, 168, 137, 0.15) 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(58, 168, 137, 0.3);
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 16px;
    transition: color 0.4s ease;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.service-card:hover .service-title {
    color: #3aa889;
    transform: translateX(2px);
}

.service-description {
    font-size: 15px;
    line-height: 1.8;
    color: #5a6c7d;
}

/* Contact Section */
.contact {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f6 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 168, 137, 0.2), transparent);
}

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

.contact-text {
    font-size: 18px;
    color: #4a5d6f;
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(58, 168, 137, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3aa889, #5bc4a7);
}

.contact-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: rgba(58, 168, 137, 0.3);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(58, 168, 137, 0.15);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(58, 168, 137, 0.12) 0%, rgba(58, 168, 137, 0.06) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.contact-label {
    font-size: 13px;
    color: #7a8a9a;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.contact-email-link {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
}

.contact-email-link:hover {
    color: #3aa889;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3aa889 0%, #2d8a6f 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(58, 168, 137, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-contact:hover {
    background: linear-gradient(135deg, #2d8a6f 0%, #247a5f 100%);
    box-shadow: 0 6px 24px rgba(58, 168, 137, 0.4);
    transform: translateY(-2px);
}

.btn-contact svg {
    transition: transform 0.3s ease;
}

.btn-contact:hover svg {
    transform: translateX(4px);
}

/* Footer */
.footer {
    padding: 36px 0;
    background: linear-gradient(180deg, #1e2d3d 0%, #1a2332 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 168, 137, 0.3), transparent);
}

.footer-text {
    text-align: center;
    color: #8a9aaa;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .company-name {
        font-size: 16px;
    }
    
    .nav {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-hover-panel {
        display: none;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 36px;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 16px;
        text-align: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .services {
        padding: 70px 0 80px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 36px 28px;
    }
    
    .contact-info {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-email-link {
        font-size: 18px;
    }
    
    .btn-contact {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 30px;
        text-align: center;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 28px;
        font-size: 15px;
    }
}
