/* --- GLOBAL VARIABLES (Ranglar va Fontlar) --- */
:root {
    /* HIPA Brand Colors */
    --primary-color: #FFD700; /* Sariq logotip rangi */
    --primary-dark: #E6C200;  /* To'qroq sariq */
    --text-dark: #1A1A1A;     /* Asosiy matn */
    --text-light: #666666;    /* Ikkilamchi matn */
    --bg-light: #F9FAFB;      /* Oqish fon */
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-yellow: 0 10px 25px -5px rgba(255, 215, 0, 0.4);

    /* Fonts & Sizes */
    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
    --header-height: 120px;
    --transition: all 0.3s ease;
}

/* --- RESET & BASIC SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- REUSABLE COMPONENTS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    box-shadow: var(--shadow-yellow);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

.full-width { width: 100%; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }

.section-header { margin-bottom: 60px; }
.section-subtitle {
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}
.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.section-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    padding: 20px;
}
.loader-logo {
    max-width: 100%;
    height: auto;
    width: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}
.loader-line {
    width: 0;
    height: 4px;
    background: var(--primary-color);
    animation: loadLine 1.5s ease-in-out forwards;
    max-width: 100%;
}
@keyframes loadLine { to { width: 100%; } }

/* --- HEADER --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.scrolled {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    height: 100px;
}
header.scrolled .logo-box img {
    height: 120px;
    max-height: 120px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    height: 100px;
    margin-left: -20px; /* leftga yaqinlashtirish - container ga tegib turadi */
}
.logo-box {
    display: flex;
    align-items: center;
    height: 100%;
}
.logo-box img {
    height: 150px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-links ul { 
    display: flex; 
    gap: 30px; 
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    font-size: 15px;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}
.nav-actions .btn {
    white-space: nowrap;
    font-size: 15px;
    padding: 12px 28px;
}
.phone-btn { font-weight: 600; color: var(--text-dark); }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger .bar { width: 25px; height: 3px; background: var(--text-dark); transition: var(--transition); }

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 200px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.hero-text { flex: 1; z-index: 2; }
.badge {
    background: #FFF9C4;
    color: #FBC02D;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}
.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -2px;
}
.hero-text .highlight {
    position: relative;
    z-index: 1;
}
.hero-text .highlight::before {
    content: '';
    position: absolute;
    bottom: 5px; left: 0;
    width: 100%; height: 20px;
    background: var(--primary-color);
    opacity: 0.6;
    z-index: -1;
    transform: skewX(-15deg);
}
.hero-text p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 20px; margin-bottom: 50px; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}
.stat-item h3 { font-size: 32px; font-weight: 800; }
.stat-item p { font-size: 14px; color: var(--text-light); text-transform: uppercase; }
.stat-divider { width: 1px; height: 50px; background: var(--border-color); }

.hero-image { flex: 1; position: relative; }
.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 10px solid #fff;
}
.floating-card {
    position: absolute;
    background: #fff;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
    max-width: 200px;
}
.card-1 { bottom: 30px; left: -20px; }
.card-2 { top: 40px; right: -20px; animation-delay: 2s; }
.floating-card i { font-size: 24px; color: var(--primary-color); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- PARTNERS --- */
.partners-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.partners-title { 
    text-align: center; 
    color: var(--text-light); 
    margin-bottom: 40px; 
    font-size: 14px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.partners-slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.partners-slider {
    display: flex;
    gap: 50px;
    align-items: center;
    animation: slidePartners 30s linear infinite;
    width: fit-content;
}
@keyframes slidePartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partner-logo { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: var(--transition);
    padding: 25px 40px;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    min-width: 200px;
    height: 100px;
    position: relative;
    overflow: hidden;
}
.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}
.partner-logo:hover { 
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #fff 0%, #FFFBE6 100%);
}
.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* --- ABOUT SECTION (YANGILANGAN: 2 Rasm) --- */
.section { padding: 80px 0; }
.row { display: flex; gap: 60px; }
.align-center { align-items: center; }

/* Rasm konteyneri */
.about-images-wrapper {
    flex: 1;
    position: relative;
    height: 450px; /* Balandlik berish shart */
    min-height: 300px;
}
.img-main {
    width: 80%;
    border-radius: 20px;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
    height: 350px;
}
.img-secondary {
    width: 60%;
    border-radius: 20px;
    object-fit: cover;
    position: absolute;
    bottom: 0; right: 0;
    z-index: 2;
    border: 8px solid #fff; /* Oq ramka ajratib turish uchun */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    height: 250px;
}

/* 15+ Yillik tajriba stili */
.year__badge {
    position: absolute;
    bottom: 40px; left: -20px;
    background: #111;
    color: #fff;
    padding: 18px 20px;
    border-radius: 15px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    flex-wrap: wrap;
    max-width: calc(100% - 40px);
}
.year__badge .year {
    font-size: 32px; 
    font-weight: 800; 
    color: var(--primary-color);
}
.year__badge .text { font-size: 14px; line-height: 1.2; font-weight: 600; }

.col-text { flex: 1; }
.section-subtitle { color: #d4b106; font-weight: 700; font-size: 13px; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.check-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check-list i { color: var(--primary-dark); }

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.icon-box {
    width: 60px; height: 60px;
    background: #FFFBE6;
    color: #D4B106;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
}
.service-card h3 { font-size: 22px; margin-bottom: 15px; }
.service-card p { color: var(--text-light); margin-bottom: 25px; }
.read-more {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.read-more:hover { gap: 12px; color: var(--primary-dark); }

/* --- SERVICE MODAL --- */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-modal.active {
    display: flex;
    opacity: 1;
}
.service-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1;
}
.service-modal-content {
    position: relative;
    z-index: 2;
    background: var(--bg-white);
    border-radius: 25px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
    padding: 50px 40px 40px;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.service-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}
.service-modal-close:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    transform: rotate(90deg);
}
.service-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}
.service-modal-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
}
.service-modal-body {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 17px;
}
.service-modal-body p {
    margin-bottom: 20px;
}
.service-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}
.service-modal-body ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    margin-bottom: 10px;
}
.service-modal-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 16px;
}
.service-modal-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 15px;
}
.service-modal-footer {
    margin-top: 40px;
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}
.service-modal-footer .btn {
    padding: 16px 40px;
    font-size: 17px;
}

/* --- STATS SECTION --- */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: var(--text-dark);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.stat-box {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.stat-box:hover::before {
    transform: scaleX(1);
}
.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.25);
    border-color: var(--primary-color);
}
.stat-box h2 {
    font-size: 64px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--text-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1;
    letter-spacing: -2px;
}
.stat-box p {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- PRICING SECTION --- */
#pricing {
    background: var(--bg-light);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}
.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    background: linear-gradient(135deg, #fff 0%, #FFFBE6 100%);
    transform: scale(1.05);
}
.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}
.pricing-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-align: center;
}
.price {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}
.price span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 5px;
}
.price.text-yellow {
    color: var(--primary-dark);
}
.pricing-card .features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}
.pricing-card .features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}
.pricing-card .features li:last-child {
    border-bottom: none;
}
.pricing-card .features li i {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
}
.pricing-card .btn {
    margin-top: auto;
}

/* --- FAQ ACCORDION --- */
.col-faq {
    flex: 1;
}
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.accordion-item {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 0;
    transition: var(--transition);
    overflow: hidden;
}
.accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.15);
}
.accordion-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 25px 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}
.accordion-header:hover {
    color: var(--primary-dark);
}
.accordion-header i {
    font-size: 16px;
    color: var(--primary-color);
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFBE6;
    flex-shrink: 0;
}
.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: var(--text-dark);
}
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-light);
    padding: 0 30px;
}
.accordion-body p {
    line-height: 1.8;
    font-size: 16px;
}
.accordion-item.active .accordion-body { 
    max-height: 300px; 
    padding: 0 30px 25px 30px; 
}

/* --- CONTACT --- */
.contact-wrapper {
    display: flex;
    gap: 60px;
    background: #fff;
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}
.contact-info { flex: 1; }
.contact-form-box { 
    flex: 1;
    transition: var(--transition);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.info-item .icon {
    width: 50px; height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 22px;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}
.social-links a i {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}
.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    border-color: var(--primary-color);
}
.social-links a:hover::before {
    opacity: 1;
}
.social-links a:hover i {
    color: var(--text-dark);
}
.social-links a[href*="telegram"]:hover i {
    color: #0088cc;
}
.social-links a[href*="instagram"]:hover i {
    color: #E4405F;
}
.social-links a[href*="facebook"]:hover i {
    color: #1877F2;
}
.social-links a[href*="linkedin"]:hover i {
    color: #0077B5;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}
.form-group input[readonly] {
    background-color: var(--bg-light);
    cursor: not-allowed;
    color: var(--text-dark);
}
.form-group select {
    cursor: pointer;
}

/* --- FOOTER --- */
footer {
    background: #111;
    color: #fff;
    padding: 80px 0 30px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 20px; display: block; }
.footer-col h4 { font-size: 18px; margin-bottom: 25px; color: var(--primary-color); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #999; }
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }

.subscribe-form {
    display: flex;
    margin-top: 20px;
}
.subscribe-form input {
    flex: 1;
    padding: 12px;
    border-radius: 6px 0 0 6px;
    border: none;
    background: #222;
    color: #fff;
}
.subscribe-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: #666;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .container { max-width: 100%; padding: 0 30px; }
    .section { padding: 70px 0; }
    .hero-text h1 { font-size: 56px; }
    .section-title { font-size: 38px; }
    .row { gap: 50px; }
}

@media (max-width: 1024px) {
    header { height: 100px; }
    .logo-box img { height: 120px; max-width: 250px; }
    .hero-section { padding-top: 180px; padding-bottom: 80px; }
    .hero-text h1 { font-size: 48px; }
    .hero-text p { font-size: 18px; }
    .nav-links ul { gap: 20px; }
    .nav-actions .btn { padding: 10px 20px; font-size: 14px; }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .pricing-card.featured { transform: scale(1.02); }
    .contact-wrapper { flex-direction: column; padding: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .stat-box h2 { font-size: 52px; }
    .partner-logo { 
        padding: 20px 30px; 
        min-width: 180px; 
        height: 90px;
    }
    .partner-logo img {
        max-height: 50px;
    }
    .partners-slider { gap: 40px; }
    
    /* About Section Responsive */
    .row { flex-direction: column; gap: 40px; }
    .about-images-wrapper {
        height: 400px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    .img-main {
        width: 75%;
        height: 300px;
    }
    .img-secondary {
        width: 55%;
        height: 220px;
        border: 6px solid #fff;
    }
    .year__badge {
        bottom: 30px;
        left: -15px;
        padding: 15px 18px;
    }
    .year__badge .year { font-size: 28px; }
    .year__badge .text { font-size: 13px; }
    .col-text { width: 100%; text-align: center; }
    .section-title { font-size: 32px; }
    .section-desc { margin: 0 auto; }
    
    /* Preloader Responsive */
    .loader-content { max-width: 250px; }
    .loader-logo { width: 150px; }
}

@media (max-width: 768px) {
    header { height: 90px; }
    header.scrolled { height: 80px; }
    .navbar { gap: 15px; }
    .logo { margin-left: -15px; height: 80px; }
    .logo-box img { height: 100px; max-width: 200px; }
    header.scrolled .logo-box img { height: 90px; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
        z-index: 999;
    }
    .nav-links.active { right: 0; }
    .nav-links ul { 
        flex-direction: column; 
        text-align: center; 
        gap: 20px;
        width: 100%;
    }
    .hamburger { display: flex; }
    .sm-hidden { display: none !important; }
    .mobile-close { 
        display: block; 
        position: absolute; 
        top: 20px; 
        right: 20px; 
        font-size: 24px;
        cursor: pointer;
        color: var(--text-dark);
    }
    
    .hero-section { padding-top: 150px; padding-bottom: 60px; }
    .hero-content { flex-direction: column-reverse; text-align: center; gap: 30px; }
    .hero-text h1 { font-size: 36px; line-height: 1.2; }
    .hero-text p { font-size: 16px; margin-bottom: 30px; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; gap: 15px; }
    .hero-buttons .btn { padding: 12px 24px; font-size: 14px; }
    .hero-stats { justify-content: center; gap: 20px; }
    .stat-item h3 { font-size: 28px; }
    .stat-item p { font-size: 12px; }
    .stat-divider { height: 40px; }
    .image-wrapper { border: 6px solid #fff; border-radius: 20px; }
    .floating-card {
        padding: 12px 18px;
        border-radius: 12px;
        gap: 10px;
        max-width: 160px;
    }
    .floating-card i { font-size: 20px; }
    .floating-card span, .floating-card strong { font-size: 12px; }
    .card-1 { bottom: 15px; left: -10px; }
    .card-2 { top: 20px; right: -10px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-box { padding: 25px 20px; }
    .stat-box h2 { font-size: 42px; }
    .stat-box p { font-size: 14px; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .accordion-header { padding: 20px 25px; font-size: 16px; }
    .accordion-body { padding: 0 25px; }
    .accordion-item.active .accordion-body { padding: 0 25px 20px 25px; }
    .partners-title { margin-bottom: 30px; font-size: 12px; }
    .service-modal-content {
        padding: 40px 30px 30px;
        max-height: 95vh;
    }
    .service-modal-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 25px;
    }
    .service-modal-content h2 {
        font-size: 26px;
        margin-bottom: 25px;
    }
    .service-modal-body {
        font-size: 16px;
    }
    .service-modal-body h3 {
        font-size: 20px;
        margin: 25px 0 12px;
    }
    .service-modal-footer {
        margin-top: 30px;
        padding-top: 25px;
    }
    .partner-logo { 
        padding: 15px 25px; 
        min-width: 150px; 
        height: 80px;
    }
    .partner-logo img {
        max-height: 40px;
    }
    .partners-slider { gap: 30px; }
    .partners-slider-wrapper {
        mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    }
    
    /* About Section Mobile */
    .section { padding: 60px 0; }
    .row { flex-direction: column; gap: 30px; }
    .about-images-wrapper {
        height: 350px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .img-main {
        width: 70%;
        height: 250px;
    }
    .img-secondary {
        width: 50%;
        height: 180px;
        border: 5px solid #fff;
    }
    .year__badge {
        bottom: 20px;
        left: 10px;
        padding: 12px 15px;
        transform: scale(0.9);
    }
    .year__badge .year { font-size: 24px; }
    .year__badge .text { font-size: 12px; }
    .col-text { width: 100%; text-align: center; }
    .section-title { font-size: 28px; margin-bottom: 15px; }
    .section-desc { font-size: 16px; margin: 0 auto 20px; }
    .check-list { text-align: left; display: inline-block; }
    .check-list li { font-size: 15px; }
    
    /* Preloader Mobile */
    .loader-content { max-width: 200px; padding: 15px; }
    .loader-logo { width: 120px; margin-bottom: 15px; }
    .loader-line { height: 3px; }
    
    /* Services Grid Mobile */
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 30px 25px; }
    
    /* Contact Mobile */
    .contact-wrapper { padding: 30px 20px; gap: 30px; }
    .info-item { flex-direction: column; text-align: center; gap: 10px; }
    .social-links { justify-content: center; }
    
    /* Section Headers Mobile */
    .section-header { margin-bottom: 40px; }
    .section-subtitle { font-size: 12px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    header { height: 80px; }
    .logo-box img { height: 80px; max-width: 150px; }
    header.scrolled { height: 70px; }
    header.scrolled .logo-box img { height: 70px; }
    
    .hero-section { padding-top: 120px; padding-bottom: 50px; }
    .hero-text h1 { font-size: 28px; }
    .hero-text p { font-size: 15px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .stat-divider { display: none; }
    .image-wrapper { border: 4px solid #fff; border-radius: 15px; }
    .floating-card {
        padding: 10px 15px;
        border-radius: 10px;
        gap: 8px;
        max-width: 140px;
        font-size: 11px;
    }
    .floating-card i { font-size: 18px; }
    .floating-card span, .floating-card strong { font-size: 11px; }
    .card-1 { bottom: 10px; left: -5px; }
    .card-2 { top: 15px; right: -5px; }
    
    .section { padding: 50px 0; }
    .section-title { font-size: 24px; }
    .section-desc { font-size: 15px; }
    
    /* About Section Small Mobile */
    .about-images-wrapper {
        height: 300px;
    }
    .img-main {
        width: 65%;
        height: 220px;
    }
    .img-secondary {
        width: 45%;
        height: 150px;
        border: 4px solid #fff;
    }
    .year__badge {
        bottom: 15px;
        left: 5px;
        padding: 10px 12px;
        transform: scale(0.85);
    }
    .year__badge .year { font-size: 20px; }
    .year__badge .text { font-size: 11px; }
    
    /* Preloader Small Mobile */
    .loader-content { max-width: 150px; }
    .loader-logo { width: 100px; }
    
    /* Stats Mobile */
    .stats-grid { grid-template-columns: 1fr; gap: 15px; }
    .stat-box { padding: 20px 15px; }
    .stat-box h2 { font-size: 36px; }
    
    /* Pricing Mobile */
    .pricing-card { padding: 30px 20px; }
    .price { font-size: 40px; }
    
    /* Contact Small Mobile */
    .contact-wrapper { padding: 25px 15px; }
    .form-group input, .form-group select, .form-group textarea {
        padding: 12px;
        font-size: 15px;
    }
    
    /* Footer Small Mobile */
    .footer-top { gap: 25px; }
    .subscribe-form { flex-direction: column; }
    .subscribe-form input { border-radius: 6px; margin-bottom: 10px; }
    .subscribe-form button { border-radius: 6px; width: 100%; }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section { padding-top: 160px; }
    .hero-text h1 { font-size: 44px; }
    .about-images-wrapper { height: 380px; }
    .img-main { height: 300px; }
    .img-secondary { height: 200px; }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 320px) {
    .container { padding: 0 10px; }
    
    .hero-text h1 { font-size: 24px; }
    .hero-text p { font-size: 14px; }
    
    .section-title { font-size: 22px; }
    .section-desc { font-size: 14px; }
    
    /* About Section Extra Small */
    .about-images-wrapper {
        height: 250px;
    }
    .img-main {
        width: 60%;
        height: 180px;
    }
    .img-secondary {
        width: 40%;
        height: 120px;
        border: 3px solid #fff;
    }
    .year__badge {
        bottom: 10px;
        left: 0;
        padding: 8px 10px;
        transform: scale(0.75);
    }
    .year__badge .year { font-size: 18px; }
    .year__badge .text { font-size: 10px; }
    
    /* Preloader Extra Small */
    .loader-content { max-width: 120px; }
    .loader-logo { width: 80px; }
    
    /* Service Cards Extra Small */
    .service-card { padding: 25px 15px; }
    .icon-box { width: 50px; height: 50px; font-size: 20px; }
    
    /* Stats Extra Small */
    .stat-box h2 { font-size: 32px; }
    .stat-box p { font-size: 12px; }
    
    /* Floating Cards Extra Small */
    .floating-card {
        padding: 8px 12px;
        max-width: 120px;
        font-size: 10px;
    }
    .floating-card i { font-size: 16px; }
}

