* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}
.logo-icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    width: 44px;
    height: 44px;
}
.logo-icon span {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: 2px solid #2982f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}
.logo-text { color: #fff; }
.logo-text span { color: #28a745; }
.main-nav a {
    color: #fff;
    margin-left: 32px;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #28a745, #2982f6);
    transition: width 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}
.main-nav a:hover,
.main-nav a.active {
    color: #28a745;
}

/* Hero / page banner */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 140px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') center/cover;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { 
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}
.hero p { 
    font-size: 20px;
    max-width: 650px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.page-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.page-banner h1 { 
    position: relative; 
    z-index: 1; 
    font-size: 44px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sections */
section { padding: 90px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 { 
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-title p { 
    color: #666;
    margin-top: 10px;
    font-size: 17px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-flex {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}
.about-flex img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.about-flex .col { flex: 1 1 400px; }
.about-flex h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.about-flex p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.card {
    background: #fff;
    padding: 36px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}
.card h3 {
    margin-bottom: 12px;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 600;
}
.card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: auto;
}
.card .btn {
    margin-top: 20px;
}

.team-member img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.testimonial {
    background: #f7f8fa;
    padding: 25px;
    border-radius: 6px;
}
.testimonial img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #2982f6 0%, #1a6fd8 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(41, 130, 246, 0.3);
}
.btn:hover { 
    background: linear-gradient(135deg, #1a6fd8 0%, #155bb8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 130, 246, 0.4);
}

/* Contact form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2982f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(41, 130, 246, 0.1);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button {
    border: none;
    cursor: pointer;
}
.form-message {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-weight: 500;
}
.form-message.success { 
    background: linear-gradient(135deg, #d9f7e5 0%, #c3e6cb 100%);
    color: #157347;
    border: 1px solid #b8e0c2;
}
.form-message.error { 
    background: linear-gradient(135deg, #fde2e2 0%, #f5c6cb 100%);
    color: #b02a2a;
    border: 1px solid #f1b0b7;
}

/* Human verification checkbox */
.human-verification {
    margin: 24px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #2982f6;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
}
.checkbox-label input[type="checkbox"]:hover {
    background-color: #e8f4ff;
}
.checkbox-label input[type="checkbox"]:checked {
    background-color: #28a745;
    border-color: #28a745;
}
.checkbox-label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkmark-draw 1s ease-out;
}

@keyframes checkmark-draw {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
        transform: rotate(45deg) scale(0);
    }
    30% {
        width: 0;
        height: 0;
        opacity: 1;
        transform: rotate(45deg) scale(0.5);
    }
    60% {
        width: 6px;
        height: 6px;
        opacity: 1;
        transform: rotate(45deg) scale(0.8);
    }
    100% {
        width: 6px;
        height: 12px;
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}
.label-text {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding-top: 60px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 24px 40px;
}
.footer-col { flex: 1 1 250px; }
.footer-col h3 { 
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #28a745;
}
.footer-col a, .footer-col p { 
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-size: 15px;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: #28a745;
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 16px; }
    .main-nav a { margin: 8px 12px; font-size: 14px; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 17px; }
    .section-title h2 { font-size: 30px; }
    .about-flex { flex-direction: column; }
    .about-flex img { width: 100%; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .container { padding: 0 16px; }
    .card { padding: 24px; }
}

/* Services Tabs */
.services-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    justify-content: center;
}
.tab-btn {
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn:hover {
    background: #e9ecef;
    border-color: #2982f6;
}
.tab-btn.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #28a745;
    color: #fff;
}
.tab-content {
    min-height: 400px;
}
.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}
.tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.service-detail {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}
.service-text {
    flex: 1 1 500px;
}
.service-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.service-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}
.service-image {
    flex: 1 1 400px;
    min-height: 300px;
}
.service-image img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    display: block;
}

@media (max-width: 768px) {
    .services-tabs {
        gap: 6px;
    }
    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    .service-detail {
        flex-direction: column;
    }
    .service-text,
    .service-image {
        flex: 1 1 100%;
    }
    .service-text h2 {
        font-size: 28px;
    }
}
