/* Font Face for Artegra Sans Extended Alt */
@font-face {
    font-family: 'Artegra Sans Extended Alt';
    src: url('fonts/ArtegraSansExtendedAlt-Bold.woff2') format('woff2'),
         url('fonts/ArtegraSansExtendedAlt-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Artegra Sans Extended Alt';
    src: url('fonts/ArtegraSansExtendedAlt-Regular.woff2') format('woff2'),
         url('fonts/ArtegraSansExtendedAlt-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --primary-color: #E31E71;
    --secondary-color: #49133F;
    --brand-gradient: linear-gradient(135deg, #E31E71 0%, #a01f65 40%, #49133F 100%);
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --background-light: #ffffff;
    --background-dark: #f8f9fa;
    --border-radius: 16px;
    --border-radius-large: 22px;
    --shadow-soft: 0 4px 20px rgba(227, 30, 113, 0.1);
    --shadow-medium: 0 8px 30px rgba(227, 30, 113, 0.15);
    --shadow-strong: 0 12px 40px rgba(227, 30, 113, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Artegra Sans Extended Alt', 'Antonio', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    word-break: keep-all;     /* so‘z bo‘linmaydi */
    overflow-wrap: normal;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Artegra Sans Extended Alt', 'Antonio', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(227, 30, 113, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo img {
    height: 90px;
    width: auto;
    transition: var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: 'Artegra Sans Extended Alt', 'Antonio', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--brand-gradient);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1{
    font-size: 45px;
}

.hero-title {
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 48px;
    opacity: 0.9;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Artegra Sans Extended Alt', 'Antonio', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Styles */
section {
    padding: 130px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-primary);
}

/* Services Section */
.services {
    background: var(--background-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 30px;
}

.service-card p {
    color: var(--text-secondary);
}

/* Catalog Section */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-card {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.catalog-image {
    height: 200px;
    background: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-image {
    font-family: 'Artegra Sans Extended Alt', 'Antonio', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    padding: 20px;
}

.catalog-card:hover .catalog-image {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.catalog-card h3 {
    padding: 24px 24px 12px;
    color: var(--text-primary);
}

.catalog-card p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
}

/* Projects Section */
.projects {
    background: var(--background-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-image {
    height: 250px;
    background: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
}

/* Tahrirlangan CSS kodi */
.partners-wrapper {
  overflow: hidden;
  width: 100%;
}

.partners-carousel {
  display: flex;
  gap: 40px;
  will-change: transform;
  padding-top: 10px;
}

.partner-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-logo {
  width: 160px;
  height: 100px;
  background: white;
  border: 2px solid rgba(227, 30, 113, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.partner-logo img {
  width: 165%;
  height: 165%;
  object-fit: contain;
}

.partner-name {
  margin-top: 5px;
  font-family: 'Artegra Sans Extended Alt', 'Antonio', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 21px;
}

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

/* Mobil uchun moslashtirish */
@media (max-width: 770px) {
  .partners-carousel {
    gap: 20px;
  }
  .partner-logo {
    width: 130px;
    height: 80px;
  }
  .partner-name {
    font-size: 16px;
  }
}



/* How We Work Section */
.how-we-work {
    background: var(--background-dark);
}

.work-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
}

.work-step {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

.work-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Artegra Sans Extended Alt', 'Antonio', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 20px auto 24px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.work-step h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.work-step p {
    color: var(--text-secondary);
}

.work-step h3,
.work-step p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(227, 30, 113, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 24px;
    margin: 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 24px;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
}

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-stat {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.about-stat .stat-number {
    font-family: 'Artegra Sans Extended Alt', 'Antonio', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.about-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Section */
.contact {
    background: var(--background-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-soft);
}

.contact-form h3 {
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(227, 30, 113, 0.1);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    transition: var(--transition);
}

.footer-logo img:hover {
    transform: scale(1.05);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-soft);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 30px;
    }

    .services-grid,
    .catalog-grid,
    .projects-grid,
    .work-steps {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partners-carousel {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .nav-logo img {
        height: 85px;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .hero-logo-watermark img {
        max-width: 250px;
    }

    .service-card h3 {
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    section {
        padding: 60px 0;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        margin-top: 50px;
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .service-card,
    .catalog-card,
    .project-card,
    .work-step,
    .contact-form {
        padding: 20px;
    }

    .contact-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .nav-logo img {
        height: 80px;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .hero-logo-watermark img {
        max-width: 200px;
    }

    .service-card h3 {
        font-size: 25px;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

/* Smooth Scrolling Enhancement */
html {
    scroll-padding-top: 80px;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    /*outline: 2px solid var(--primary-color);*/
    outline-offset: 2px;
    outline: none;
    box-shadow: none;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    section {
        padding: 40px 0;
    }
} 

.hero-logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.hero-logo-watermark img {
    width: 100%;
    height: auto;
    max-width: 400px;
}

.catalog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.catalog-card:hover .catalog-image img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.project-image:hover .project-image img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.project-info h3{
    font-size: 20px;
}