* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d6d;
    --header-bg: #000000;
    --accent-color: #d4af37;
    --text-dark: #111827;
    --text-light: #6b7280;
    --white: #ffffff;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Service detail page base */
.service-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.service-header .title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.service-header .subtitle {
    margin-top: 10px;
    color: #e2e8f0;
}

.breadcrumb {
    margin-top: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.service-wrap {
    padding: var(--spacing-lg) 0;
}

.service-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.service-content {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: var(--spacing-lg);
}

.service-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-content p,
.service-content li {
    color: var(--text-light);
}

.service-content .lead {
    font-size: 1.0625rem;
    color: #475569;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 10px 0 20px;
    list-style: none;
    padding-left: 0;
}
.feature-list li {
    position: relative;
    padding-left: 28px;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}

.info-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 14px 16px;
    border-radius: 6px;
    margin: 14px 0 22px;
}

.process-steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}
.process-steps li {
    counter-increment: step;
    margin-bottom: 10px;
    position: relative;
    padding-left: 36px;
}
.process-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.service-card {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: var(--spacing-md);
}

.service-cta {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-weight: 700;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    background: #f8f9fa;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 600;
}

.faq-a {
    display: none;
    padding: 14px 16px;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

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

.header {
    background: var(--header-bg);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-left,
.nav-right {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-left li a,
.nav-right li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-left li a:hover,
.nav-right li a:hover {
    color: var(--accent-color);
}

.logo {
    text-align: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Logo image support */
.logo-img {
    height: 36px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.footer .logo-img,
.footer-logo-img {
    height: 28px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 1px, 1px);
    white-space: nowrap;
    border: 0;
}

.logo-enqo {
    color: var(--white);
}

.logo-group {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.hamburger:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    border-top: 1px solid #333;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    padding: 12px;
    transition: color 0.3s;
    min-height: 44px;
}

.mobile-nav ul li a:hover {
    color: var(--accent-color);
}

.hero {
    margin-top: 60px;
    background: var(--primary-color);
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-layout {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.central-logo-text {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1;
}

.central-logo-enqo {
    color: var(--white);
    display: block;
}

.central-logo-group {
    color: var(--accent-color);
    display: block;
    margin-top: -10px;
}

.service-btn {
    position: absolute;
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    white-space: nowrap;
    min-height: 44px;
    line-height: 1.5;
    width: 360px;
    text-align: center;
    z-index: 11;
}

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

.service-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.btn-muhasibatliq {
    top: calc(10% + 20px);
    left: 50%;
    transform: translateX(-50%);
}

.btn-anbar {
    top: 35%;
    left: 5%;
}

.btn-gomruk {
    top: 50%;
    left: 2%;
}

.btn-website {
    bottom: 25%;
    left: 5%;
}

.btn-sigorta {
    top: 35%;
    right: 5%;
}

.btn-beynelxalq {
    top: 50%;
    right: 2%;
}

.btn-konsalting {
    bottom: 25%;
    right: 5%;
}

.about {
    padding: var(--spacing-lg) 0;
    background: #f8f9fa;
}

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

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

.about-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.testimonials {
    padding: var(--spacing-lg) 0;
    background: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: #f8f9fa;
    padding: var(--spacing-lg);
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.testimonial-author h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.partners {
    padding: var(--spacing-lg) 0;
    background: #f8f9fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
    align-items: center;
}

.partner-logo {
    padding: var(--spacing-lg);
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    text-align: center;
    transition: border-color 0.2s;
}

.partner-logo:hover {
    border-color: var(--primary-color);
}

.partner-logo h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
}

.contact {
    padding: var(--spacing-lg) 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.125rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 1rem;
}

.whatsapp-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s;
    min-height: 44px;
    line-height: 1.5;
}

.whatsapp-btn:hover {
    background: #20BA5A;
}

.whatsapp-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.contact-form {
    background: #f8f9fa;
    padding: var(--spacing-lg);
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    min-height: 44px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 0;
    border-color: var(--primary-color);
}

.contact-form button {
    padding: 14px 32px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    min-height: 44px;
}

.contact-form button:hover {
    background: #15394f;
}

.contact-form button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.footer {
    background: var(--header-bg);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (min-width: 992px) {
    .mobile-nav {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .central-logo-text {
        font-size: 4rem;
    }
    
    .service-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .nav-left,
    .nav-right {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .navbar {
        padding: 0 20px;
    }
    
    .central-logo-text {
        font-size: 3rem;
    }
    
    .services-layout {
        min-height: 800px;
    }
    
    .service-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .btn-muhasibatliq {
        top: 5%;
    }
    
    .btn-anbar {
        top: 25%;
        left: 3%;
    }
    
    .btn-gomruk {
        top: 45%;
        left: 2%;
    }
    
    .btn-website {
        bottom: 15%;
        left: 3%;
    }
    
    .btn-sigorta {
        top: 25%;
        right: 3%;
    }
    
    .btn-beynelxalq {
        top: 45%;
        right: 2%;
    }
    
    .btn-konsalting {
        bottom: 15%;
        right: 3%;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .central-logo-text {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .services-layout {
        min-height: 700px;
    }
    
    .service-btn {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .central-logo-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .service-btn {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

/* Ultra-small devices: simplify hero layout for better usability */
@media (max-width: 600px) {
    .hero {
        padding: 40px 16px;
    }

    .services-layout {
        min-height: unset;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .central-logo {
        position: static;
        transform: none;
        margin-bottom: 12px;
    }

    .service-btn {
        position: static;
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    /* Reset absolute placements that were set for larger screens */
    .btn-muhasibatliq,
    .btn-anbar,
    .btn-gomruk,
    .btn-website,
    .btn-sigorta,
    .btn-beynelxalq,
    .btn-konsalting {
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }
}