:root {
    --dark-blue: #0d1a2f;
    --teal: #008080;
    --gold: #ffd700;
    --light-cream: #fdfaf5;
}

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

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--dark-blue);
    color: var(--light-cream);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

#welcome {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

#welcome .hero-logo {
    width: clamp(100px, 20vw, 150px);
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

#welcome h1 {
    font-family: 'Lalezar', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: popIn 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.5s;
    margin-bottom: 20px;
}

.main-button {
    font-family: 'Lalezar', cursive;
    background: linear-gradient(45deg, #ffa500, var(--gold));
    color: #333;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.main-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

.section {
    padding: 60px 20px;
    background-color: rgba(13, 26, 47, 0.8);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

#welcome {
    background-color: transparent;
    border-top: none;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-family: 'Lalezar';
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--gold);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 4px;
}

.interactive-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s;
    padding: 20px;
    color: var(--light-cream);
}

.interactive-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.interactive-card h3 {
    color: var(--gold);
}

.video-container video {
    width: 100%;
    border-radius: 15px;
    max-height: 400px;
    object-fit: cover;
}

#iranMap svg path {
    stroke: rgba(255, 215, 0, 0.5);
    stroke-width: 0.5px;
    transition: fill 0.3s, transform 0.3s;
    cursor: pointer;
}

#iranMap svg path:hover {
    transform: scale(1.05);
    fill: rgba(255, 215, 0, 0.7);
    filter: drop-shadow(0px 0px 8px var(--gold));
}

#provinceInfoContainer {
    min-height: 300px;
}

.province-info h3 {
    font-family: 'Lalezar';
    color: var(--gold);
    text-align: center;
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 5vw, 1.8rem);
}

.info-item {
    text-align: center;
    margin-bottom: 15px;
}

.info-item i {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.info-item .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.info-item p {
    margin: 0;
    color: #ccc;
}

.info-item .color-total {
    color: #4caf50;
}

.info-item .color-boys {
    color: #2196f3;
}

.info-item .color-girls {
    color: #f44336;
}









.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

#actions .swiper-slide {
    width: 80%;
    max-width: 450px;
}

#actions .swiper-container {
    padding: 20px 0;
}

footer {
    background-color: transparent;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-section h4 {
    font-family: 'Lalezar';
    color: var(--gold);
}

.footer-section a {
    color: var(--light-cream);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: var(--gold);
    transform: translateX(-5px);
}

.footer-logo {
    width: 20px;
    height: 20px;
    filter: grayscale(100%) brightness(200%);
    transition: filter 0.3s;
    border-radius: 4px;
}

.footer-section a:hover .footer-logo {
    filter: grayscale(0%) brightness(100%);
}

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

@media (max-width: 991px) {
    #iranMap .row {
        flex-direction: column;
    }

    #mapWrapper {
        max-width: 100%;
        margin: 0 auto 20px;
    }

    #mapWrapper svg {
        max-width: 100%;
        height: auto;
    }

    #provinceInfoContainer {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {

    body,
    html {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    #welcome {
        min-height: 80vh;
        padding: 30px 15px;
    }

    #welcome .hero-logo {
        width: 100px;
        margin-bottom: 20px;
    }

    #welcome h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
        margin-bottom: 20px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
    }

    .main-button {
        width: 100%;
        padding: 12px 25px;
        font-size: 1.2rem;
    }

    .section {
        padding: 40px 15px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }

    .interactive-card {
        padding: 15px;
    }

    .interactive-card h3 {
        font-size: 1.4rem;
    }

    #teaser .row {
        flex-direction: column-reverse;
    }

    .video-container {
        margin-bottom: 20px;
    }

    .video-container video {
        max-height: 250px;
        object-fit: contain;
    }

    #actions .swiper-slide {
        width: 90%;
        max-width: 320px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    footer .row {
        text-align: center;
    }

    footer .footer-section {
        margin-bottom: 25px;
    }

    footer .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    footer .footer-section ul {
        padding: 0;
    }

    footer .footer-section a {
        justify-content: center;
        font-size: 0.9rem;
    }

    #particles-js {
        opacity: 0.5;
    }

    #iranMap svg path {
        stroke-width: 1px;
    }

    a,
    button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    #mapWrapper svg {
        max-height: 350px;
    }

    .province-info h3 {
        font-size: 1.4rem;
    }

    .info-item {
        margin-bottom: 15px;
    }

    .info-item .stat-number {
        font-size: 1.6rem;
    }

    .info-item i {
        font-size: 1.2rem;
    }

    .list-group-item {
        font-size: 0.85rem;
        padding: 10px 8px;
    }

    body {
        font-size: 13px;
    }

    p {
        line-height: 1.5;
    }

    .swal2-popup {
        width: 90%;
        padding: 15px;
    }

    .swal2-html-container {
        font-size: 0.85rem;
    }

    .form-check {
        padding-right: 20px;
    }

    .form-check-input {
        margin-left: 0.5rem;
    }
}

@media (hover: none) {
    .interactive-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    #iranMap svg path:hover {
        transform: none;
    }
}



.newLogo {
    padding-bottom: 10px;
    margin-bottom: 2%;
    height: 150px;
    width: 200px;
}

@media (max-width: 600px) {
    .font-mobile {
        font-size: 3.2rem !important;
    }

    .font-mobile2 {
        font-size: 1.2rem !important;
        line-height: 1.6;
        padding: 16px;
    }

    .newLogo {
        height: 100px;
        width: 130px;
    }
}


.btn-aparat2-gold {
    position: relative;
    background: linear-gradient(135deg, #d4af37 0%, #b8941e 50%, #d4af37 100%);
    border: 2px solid rgba(184, 148, 30, 0.5);
    padding: 10px 28px;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    border-radius: 10px;
    box-shadow:
        0 4px 12px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-aparat2-gold::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.btn-aparat2-gold:hover::before {
    left: 100%;
}

.btn-aparat2-gold:hover {
    background: linear-gradient(135deg, #c9a332 0%, #aa8a1a 50%, #c9a332 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 6px 20px rgba(212, 175, 55, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 163, 50, 0.7);
    color: #fff;
}

.btn-aparat2-gold:active {
    transform: translateY(0) scale(0.97);
    box-shadow:
        0 2px 8px rgba(212, 175, 55, 0.5),
        inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-aparat2-gold::after {
    content: '◆';
    position: absolute;
    left: 12px;
    font-size: 10px;
    opacity: 0.7;
    transform: scale(0.8);
    transition: all 0.4s ease;
    color: rgba(255, 255, 255, 0.8);
}

.btn-aparat2-gold:hover::after {
    opacity: 1;
    transform: scale(1) rotate(45deg);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}