﻿* {
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --text-color: #2c3e50;
    --bg-color: #ffffff;
    --bg-light: #ecf0f1;
    --bg-dark: #2c3e50;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: calc(1.375rem + 1.5vw); }
h2 { font-size: calc(1.325rem + .9vw); }
h3 { font-size: calc(1.3rem + .6vw); }
h4 { font-size: calc(1.275rem + .3vw); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-top: 0; margin-bottom: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover { color: #c0392b; opacity: 0.8; }

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

.container {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-3 { flex: 0 0 auto; width: 25%; }

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.fixed-top { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }

.navbar-brand {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.15s ease-in-out;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.125rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url('../imgmain/imgkrea2.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.8) 0%, rgba(52, 152, 219, 0.8) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-title {
    font-size: calc(2rem + 3vw);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: calc(1.1rem + 0.5vw);
    color: white;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.btn-outline-light {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
}

.btn-outline-light:hover {
    color: var(--primary-color);
    background-color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: #fff;
}

.btn-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--text-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.bg-light { background-color: var(--bg-light) !important; }
.bg-dark { background-color: var(--bg-dark) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }

.bg-gradient {
    background-image: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,0)) !important;
}

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-light { color: #adb5bd !important; }
.text-muted { color: #6c757d !important; }
.text-white { color: #fff !important; }

.bg-opacity-10 { --bs-bg-opacity: 0.1; }
.bg-opacity-20 { --bs-bg-opacity: 0.2; }
.bg-opacity-75 { --bs-bg-opacity: 0.75; }

.shadow { box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important; }

.rounded-4 { border-radius: 0.75rem !important; }
.rounded-5 { border-radius: 1rem !important; }
.rounded-circle { border-radius: 50% !important; }

.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-15 { padding-top: 3.75rem !important; padding-bottom: 3.75rem !important; }

.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.p-10 { padding: 2.5rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-15 { margin-bottom: 3.75rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 0.75rem !important; }
.me-4 { margin-right: 1rem !important; }
.ms-auto { margin-left: auto !important; }

.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }

.display-4 { font-size: calc(1.475rem + 2.7vw); font-weight: 700; line-height: 1.2; }
.display-5 { font-size: calc(1.425rem + 2.1vw); font-weight: 700; line-height: 1.2; }

.fs-1 { font-size: 1.5rem !important; }
.fs-2 { font-size: 1.375rem !important; }
.fs-3 { font-size: 1.25rem !important; }
.fs-4 { font-size: 1.125rem !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }
.opacity-95 { opacity: 0.95; }

.object-fit-cover { object-fit: cover; }

.form-control, .form-select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: rgba(255,255,255,0.9);
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25);
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.25rem;
    vertical-align: top;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.25);
    appearance: none;
    border-radius: 0.25rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    transition: transform 0.3s ease;
}

.contact-info .bg-primary,
.contact-info .bg-success {
    transition: transform 0.3s ease;
}

.contact-info .d-flex:hover .bg-primary,
.contact-info .d-flex:hover .bg-success {
    transform: scale(1.1);
}

@media (min-width: 576px) {
    .container { max-width: 540px; }
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
    .navbar-expand-lg .navbar-nav { flex-direction: row; }
    .navbar-expand-lg .navbar-nav .nav-link { padding-right: 1rem; padding-left: 1rem; }
    .navbar-expand-lg .navbar-toggler { display: none; }
    .py-lg-24 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
    .py-lg-25 { padding-top: 6.25rem !important; padding-bottom: 6.25rem !important; }
    .p-lg-15 { padding: 3.75rem !important; }
    .mb-lg-0 { margin-bottom: 0 !important; }
    .text-lg-start { text-align: left !important; }
    .text-lg-end { text-align: right !important; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
    .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
    .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }
    .order-lg-1 { order: 1 !important; }
    .order-lg-2 { order: 2 !important; }
    .ps-lg-8 { padding-left: 2rem !important; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
    .col-xl-6 { flex: 0 0 auto; width: 50%; }
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .display-4 { font-size: 3.5rem; }
    .display-5 { font-size: 3rem; }
}

@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

.g-4 > * { padding: 1rem; }
.g-6 > * { padding: 1.5rem; }
.g-8 > * { padding: 2rem; }

.overflow-hidden { overflow: hidden; }

.sticky-top { position: sticky; top: 0; z-index: 1020; }

.text-decoration-none { text-decoration: none !important; }

.footer-links a { margin-right: 1rem; }
.footer-links a:hover { text-decoration: underline; }

.mx-auto{
    margin:0 auto;
}

body{
    overflow-x: hidden;
}