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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d3436;
    background: #f5f6fa;
}

/* Konteyner */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Sarlavhalar */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #2d3436;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Men haqimda seksiyasi */
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    color: #2d3436;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.section-subtitle {
    color: #3498db;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-text {
    color: #2d3436;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Statistika */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #3498db;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    color: #2d3436;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ko'nikmalar */
.skills-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.skills-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2d3436;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    color: #2d3436;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.skill-percentage {
    color: #3498db;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

.skill-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, #3498db, #2ecc71);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .skills-container h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* Loyihalar seksiyasi */
.projects-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

/* Loyiha kartochkasi */
.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Loyiha rasmi */
.project-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* Loyiha overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 41, 46, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Loyiha havolalari */
.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #2d3436;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: #2d3436;
    color: white;
    transform: translateY(-5px);
}

/* Loyiha kontenti */
.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    color: #2d3436;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-content p {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Teglar */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.project-tags span {
    padding: 0.5rem 1rem;
    background: #f1f2f6;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #3498db;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-tags span:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .project-content h3 {
        font-size: 1.3rem;
    }

    .project-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Ko'nikmalar */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.skill-bar {
    height: 8px;
    background: #dfe6e9;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, #3498db, #2ecc71);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Kontakt seksiyasi */
.contact-section {
    padding: 100px 0;
    background: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* Kontakt ma'lumotlari */
.contact-info {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3498db;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
}
.info-content h3 {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #636e72;
    font-size: 1rem;
}

/* Ijtimoiy tarmoq havolalari */
.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #2d3436;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.telegram:hover {
    background: #0088cc;
    color: white;
    transform: translateY(-5px);
}

.social-link.instagram:hover {
    background: #e4405f;
    color: white;
    transform: translateY(-5px);
}

.social-link.linkedin:hover {
    background: #0077B5;
    color: white;
    transform: translateY(-5px);
}

.social-link.github:hover {
    background: #24292e;
    color: white;
    transform: translateY(-5px);
}

.social-link.youtube:hover {
    background: #FF0000;
    color: white;
    transform: translateY(-5px);
}

/* Hover effektida ikonka ranglari */
.social-link:hover i.fa-youtube { color: white; }
.social-link:hover i.fa-linkedin-in { color: white; }
.social-link:hover i.fa-instagram { color: white; }
.social-link:hover i.fa-github { color: white; }
.social-link:hover i.fa-telegram { color: white; }

/* Kontakt forma */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: #3498db;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .info-item {
        padding: 1rem;
    }
}

/* Ijtimoiy tarmoqlar */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #2d3436;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Har bir ijtimoiy tarmoq uchun hover effektlari */
.social-icon.youtube:hover {
    background: #FF0000;
    color: white;
    transform: translateY(-5px);
}

.social-icon.instagram:hover {
    background: #e4405f;
    color: white;
    transform: translateY(-5px);
}

.social-icon.linkedin:hover {
    background: #0077B5;
    color: white;
    transform: translateY(-5px);
}

.social-icon.github:hover {
    background: #24292e;
    color: white;
    transform: translateY(-5px);
}

.social-icon.telegram:hover {
    background: #0088cc;
    color: white;
    transform: translateY(-5px);
}

/* Hover effektida ikonka ranglari */
.social-icon:hover i.fa-youtube { color: white; }
.social-icon:hover i.fa-linkedin-in { color: white; }
.social-icon:hover i.fa-instagram { color: white; }
.social-icon:hover i.fa-github { color: white; }
.social-icon:hover i.fa-telegram { color: white; }

/* Responsive dizayn */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    
    .about-intro .highlight {
        font-size: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f6fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(52, 152, 219, 0.1) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.hero-title {
    margin-top: 60px;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    display: block;
    color: #3498db;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #636e72;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    outline: none;
}

.btn-primary {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    border: 2px solid #3498db;
    color: #3498db;
    background: transparent;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #2d3436;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-icon:hover i.fa-youtube { color: #FF0000; }
.social-icon:hover i.fa-linkedin { color: #0077b5; }
.social-icon:hover i.fa-instagram { color: #e4405f; }
.social-icon:hover i.fa-github { color: #171515; }

/* Responsive dizayn */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .highlight {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        padding: 0 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 1100;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #2d3436;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* Mobil menu tugmasi */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #2d3436;
    transition: all 0.3s ease;
}

/* Scroll bo'lganda navbar */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive dizayn */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 2rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 30%;
    }
}

/* Ijtimoiy tarmoq ikonkalari */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #2d3436;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Har bir ijtimoiy tarmoq uchun hover effektlari */
.social-icon.youtube:hover {
    background: #FF0000;
    color: white;
    transform: translateY(-5px);
}

.social-icon.instagram:hover {
    background: #e4405f;
    color: white;
    transform: translateY(-5px);
}

.social-icon.linkedin:hover {
    background: #0077B5;
    color: white;
    transform: translateY(-5px);
}

.social-icon.github:hover {
    background: #24292e;
    color: white;
    transform: translateY(-5px);
}

.social-icon.telegram:hover {
    background: #0088cc;
    color: white;
    transform: translateY(-5px);
}

/* Hover effektida ikonka ranglari */
.social-icon:hover i.fa-youtube { color: white; }
.social-icon:hover i.fa-linkedin-in { color: white; }
.social-icon:hover i.fa-instagram { color: white; }
.social-icon:hover i.fa-github { color: white; }
.social-icon:hover i.fa-telegram { color: white; }

/* Hero bo'limi uchun ijtimoiy tarmoq ikonkalari */
.hero-section .social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    justify-content: center;
}

.hero-section .social-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3436;
    font-size: 1.6rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section .social-icons {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-section .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Ijtimoiy tarmoq ikonkalari uchun hover effektlari */
.social-icon.telegram:hover {
    background: #0088cc;  /* Telegram ning rangi */
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}

.social-icon.github:hover {
    background: #24292e;  /* GitHub ning rangi */
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(36, 41, 46, 0.3);
}

.social-icon.youtube:hover {
    background: #FF0000;  /* YouTube ning rangi */
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

/* Kontakt bo'limi uchun maxsus hover effektlari */
.contact-section .social-icon.telegram:hover {
    background: #0088cc;
    color: white;
    transform: translateY(-5px);
}

.contact-section .social-icon.github:hover {
    background: #24292e;
    color: white;
    transform: translateY(-5px);
}

.contact-section .social-icon.youtube:hover {
    background: #FF0000;
    color: white;
    transform: translateY(-5px);
}

/* Modal stili */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 700px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFade 0.4s;
}

.close {
    position: absolute;
    right: 1.25rem;
    top: 1rem;
    font-size: 1.75rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover { color: #000; }

.modal-title {
    margin-bottom: 1.25rem;
    color: #333;
    font-size: 1.625rem;
    font-weight: 700;
    text-align: center;
}

.modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.modal-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.modal-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.modal-link:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

@keyframes modalFade {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.25rem;
    }
    
    .modal-title { font-size: 1.375rem; }
}

.contact-link {
    color: #636e72;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3498db;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    display: flex;
    gap: 0.5rem;
}

.circle {
    width: 1rem;
    height: 1rem;
    background: #3498db;
    border-radius: 50%;
    animation: bounce 0.5s ease-in-out infinite;
}

.circle:nth-child(2) {
    animation-delay: 0.1s;
}

.circle:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}