:root {
    --primary-color: #fec503;
    /* Asosiy sariq - quyosh rangi */
    --secondary-color: #fdc603;
    /* Ikkilamchi sariq */
    --accent-color: #d78900;
    /* To'q oltin/orange */
    --dark-color: #1e293b;
    /* Qora matn (SUN yozuvi kabi) */
    --light-color: #f8fafc;
    /* Och fon */

    /* Gradientlar */
    --gradient-1: linear-gradient(135deg, #fec503 0%, #d78900 100%);
    --gradient-2: linear-gradient(135deg, #d78900 0%, #fdc603 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: Inter;
    font-display: swap;
    src: url(../fonts/Inter-Medium.woff2) format("woff2"), url(../fonts/Inter-Medium.woff) format("woff");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: proximanova_regular;
    font-display: swap;
    src: url(../fonts/proximanova_regular.woff2) format("woff2"), url(../fonts/proximanova_regular.woff) format("woff");
    font-weight: 400;
    font-style: normal
}
body {
    font-family: "proximanova_regular", sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: .25rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 150px;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero {
    background: var(--gradient-1);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

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

.hero h1 {
 
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {

    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn-hero {
    background: white;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.hero-feature i {
    font-size: 2rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-title p {
    color: #64748b;
    font-size: 1.1rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-card i {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.about-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.about-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.95;
}

.portfolio-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(20px);
    transition: all 0.3s ease 0.15s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--light-color);
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    height: 50px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h4 {
    margin: 0;
    color: var(--dark-color);
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.service-price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #64748b;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: #10b981;
    margin-right: 0.8rem;
}

.btn-service {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    color: white;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: white;
}

.review-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
}

.review-info h5 {
    margin: 0;
    color: var(--dark-color);
}

.review-stars {
    color: #fbbf24;
}

.review-text {
    color: #64748b;
    line-height: 1.7;
    font-style: italic;
}

.review-date {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-color);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: white;
    color: var(--dark-color);
    font-weight: 600;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-1);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    color: #64748b;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-info {
    background: var(--gradient-1);
    padding: 3rem;
    border-radius: 15px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contact-item h5 {
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
}

.contact-form {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 15px;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
}

.btn-submit {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.our-works__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.our-works__btn {
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    padding: 0 40px
}

.our-works__main {
    display: -ms-grid;
    display: grid;

    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 32px
}

.our-works__footer {
    display: none
}

.work-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px
}

.work-item__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    position: relative;
    aspect-ratio: 650/500;
    object-fit: cover;
    position: relative;
    background: #f2f2f2;
    border-radius: 8px
}

.work-item__wrapper img {
    width: 100%;
    aspect-ratio: 650/500;
    object-fit: contain
}

.work-item__wrapper img:nth-child(2) {
    position: absolute
}

.work-item__circle {
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s
}

.work-item__circle svg path {
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s
}

.work-item__circle:hover {
    background-color: #848382
}

.work-item__circle:hover svg path {
    stroke: #fff
}

.work-item__circle:active {
    background-color: #f3faff
}

.work-item__circle:active svg path {
    stroke: rgb(0 0 0 / .85)
}

.work-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

@media (max-width:568px) {
    .work-item {
        max-width: 100%
    }
}

.work-item .work-item__name {
    text-align: left;
    width: 100%
}

.work-item__wrapper {
    display: grid;
    place-content: center;
    position: relative;
    overflow: hidden;
    --position: 50%;
    width: 100%
}

.image-container {
    max-width: 800px;
    max-height: 90vh;
    background: #f2f2f2;
    width: 100%;
    height: 100%
}

.image-compare {
    display: block;
    overflow: hidden;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    height: 100%
}

.image-compare,
.image-compare *,
.image-compare *:before,
.image-compare *:after {
    box-sizing: border-box
}

.image-compare img {
    display: block;
    width: 100%
}

.image-compare figure {
    display: block;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%
}

.image-compare figure.image-compare-before img {
    margin: 0 0 0 auto
}

.image-compare figure.image-compare-after,
.image-compare figure.image-compare-after img {
    bottom: 0;
    position: absolute;
    top: 0;
    transform-origin: 0 0;
    width: 100%
}

.image-compare figure.image-compare-after.image-compare-after,
.image-compare figure.image-compare-after img.image-compare-after {
    transform: translateX(100%);
    background-color: #f2f2f2;
    mask-image: url(../images/mask-png.png);
    -webkit-mask-image: url(../images/mask-png.png);
    mask-position: top left;
    -webkit-mask-position: top left;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-size: cover;
    left: -6%
}
.image-compare figure.image-compare-after.image-compare-after img,
.image-compare figure.image-compare-after img.image-compare-after img {
    transform: translateX(-100%);
    left: 6%
}

.image-compare .image-compare-handle {
    bottom: 0;
    cursor: pointer;
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    transform: translateX(50%);
    transform-origin: 0 0;
    transition: opacity 300ms;
    width: 200%
}

.image-compare .image-compare-handle:before {
    background-color: #D7D7D7;
    bottom: 0;
    content: "";
    cursor: pointer;
    display: block;
    left: 55%;
    position: absolute;
    top: 0;
    transform: translateX(-50%) scaleY(1);
    transform-origin: center;
    transition: transform 300ms;
    width: 10.25em;
    mask-image: url(../images/mask-line-png.png);
    -webkit-mask-image: url(../images/mask-line-png.png);
    mask-position: top;
    -webkit-mask-position: top;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain
}

@media (max-width:568px) {
    .image-compare .image-compare-handle:before {}
}

.image-compare .image-compare-handle:after {
    background-color: #fff;
    border: .25em solid #fff;
    border-radius: 50%;
    content: "";
    cursor: pointer;
    display: block;
    height: 48px;
    left: 50%;
    opacity: 1;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) scale(1);
    transform-origin: center;
    transition: opacity 300ms, transform 300ms;
    width: 49px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='28' height='14' viewBox='0 0 28 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7 1L1 7L7 13' stroke='black' stroke-opacity='0.85' stroke-width='1.03464'/%3e%3cpath d='M21 1L27 7L21 13' stroke='black' stroke-opacity='0.85' stroke-width='1.03464'/%3e%3c/svg%3e")
}

.image-compare .image-compare-handle.active:before {
    transform: translateX(-50%) scaleY(1)
}

.image-compare .image-compare-handle.active:after {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1)
}


/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.scroll-top.active {
    display: flex;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
.mil-bg-a-1 {
    background-color: #fec502;
}
a {
    text-decoration: inherit;
    color: inherit;
}
.mil-btn {
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 700;
    font-family: "Outfit", sans-serif;
    font-size: .9rem;
    white-space: nowrap;
    cursor: pointer;
    padding: 0 4rem;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 7rem;
    padding: 0 4rem;
    -webkit-transition: 0.4s 
cubic-bezier(0, 0, 0.3642, 1);
    transition: 0.4s 
cubic-bezier(0, 0, 0.3642, 1);
}
.br-10{
    border-radius: 10px;
}
.serv-image{
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px 15px 0 0;
    height: 300px;
}
.mil-br-xl {
    border-radius: 10rem;
}
.mil-m-4 {
    color: #fff;
}
.mil-btn.mil-lg.mil-icon-btn {
    padding: 0 1rem;
}
.mil-btn.mil-lg {
    height: 4.5rem;
}
.mil-bg-m-1 {
    background-color: #323842 !important;
}
.mil-btn i {
    width: 3rem;
    height: 3rem;
    margin-left: 1rem;
    border-radius: 50%;
    font-size: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.phone-call.mil-btn i {
    margin-right: .45rem;
    margin-left: 0;
}
.btn-primary{
    background-color: #dda20b;
    border-radius: 30px;
    border: none;
    padding: 1rem;
}
.btn-primary:hover{
    background-color: #c3a14b;
}
/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .mil-btn.mil-lg.mil-icon-btn{
        margin-bottom: 2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .service-card{
        padding: 1rem;
    }
    .serv-image{
        height: 200px;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    .our-works__main {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

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