* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: "Vazirmatn", sans-serif;

    background:
    linear-gradient(
        to bottom,
        #eef5ff,
        #f8fbff
    );

    direction: rtl;

    overflow-x: hidden;

    color: #132238;
}



/* ===== HEADER ===== */

.header {

    position: relative;

    min-height: 70vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 5px 20px;

    overflow: hidden;

    background:
    linear-gradient(
        135deg,
        #041f35,
        #0d5b84,
        #0aa67a
    );
}

.header::before {

    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,0.12),
        transparent 70%
    );

    top: -300px;
    right: -200px;
}

.header-overlay {

    position: absolute;
    inset: 0;

    background:
    linear-gradient(
        rgba(255,255,255,0.02),
        rgba(255,255,255,0.01)
    );

    backdrop-filter: blur(2px);
}

.header-content {

    position: relative;
    z-index: 2;

    max-width: 850px;
}

.top-badge {

    display: inline-block;

    padding: 10px 22px;

    border-radius: 40px;

    margin-bottom: 25px;

    background:
    rgba(255,255,255,0.12);

    border:
    1px solid rgba(255,255,255,0.18);

    color: white;

    font-size: 14px;

    backdrop-filter: blur(10px);
}

.header h1 {

    font-size: 64px;

    color: white;

    margin-bottom: 20px;

    font-weight: 800;

    line-height: 1.4;
}

.header h1 span {

    display: block;

    font-size: 24px;

    color: #d6efff;

    margin-top: 10px;

    font-weight: 400;
}

.header p {

    color: rgba(255,255,255,0.9);

    font-size: 18px;

    line-height: 2.2;

    margin-bottom: 40px;
}



/* ===== BUTTONS ===== */

.buttons {

    display: flex;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;
}

.btn {

    padding: 15px 28px;

    border-radius: 50px;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    transition: 0.35s;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.15);
}

.btn:hover {

    transform:
    translateY(-6px)
    scale(1.03);
}

.btn.primary {

    background:
    linear-gradient(
        135deg,
        #00c6ff,
        #0072ff
    );

    color: white;
}

.btn.secondary {

    background:
    linear-gradient(
        135deg,
        #ffe259,
        #ffa751
    );

    color: #222;
}

.btn.third {

    background:
    linear-gradient(
        135deg,
        #4cff78,
        #00c851
    );

    color: #133019;
}



/* ===== HERO ===== */

.hero-section {

    padding: 5px 10px 20px;
}

.hero {

    position: relative;

    max-width: 950px;

    margin: auto;
}

.hero-img {

    width: 100%;

    border-radius: 35px;

    box-shadow:
    0 25px 60px rgba(0,0,0,0.18);

    border:
    6px solid rgba(255,255,255,0.5);
}



/* ===== MAIN INVISIBLE LINK ===== */

.main-logo-link {

    position: absolute;

    top: 60%;
    left: 3%;

    width: 94%;
    height: 23%;

    z-index: 5;

    border-radius: 40px;
}



/* ===== PINS ===== */

.pin {

    position: absolute;

    transform: translate(-50%, -50%);

    transition: 0.35s;

    border-radius: 25px;
}

.pin img {

    width: 10vw;
    height: 20vh;

    object-fit: cover;

}

.pin:hover {

    transform:
    translate(-50%, -50%)
    scale(1.12);
}



/* ===== TOOLTIPS ===== */

.tooltip,
.smart-link::after,
.main-logo-link::after {

    position: absolute;

    background:
    rgba(15,25,40,0.95);

    color: white;

    padding: 12px 18px;

    border-radius: 15px;

    font-size: 13px;

    white-space: nowrap;

    opacity: 0;

    pointer-events: none;

    transition: 0.35s;

    box-shadow:
    0 15px 30px rgba(0,0,0,0.25);
}

.smart-link::after,
.main-logo-link::after {

    content: attr(data-tooltip);

    bottom: 120%;
    right: 50%;

    transform:
    translateX(50%)
    translateY(10px);
}

.smart-link::before,
.main-logo-link::before {

    content: "";

    position: absolute;

    width: 15px;
    height: 15px;

    background:
    rgba(15,25,40,0.95);

    transform:
    rotate(45deg);

    bottom: 110%;
    right: 50%;

    margin-right: -7px;

    opacity: 0;

    transition: 0.35s;
}

.smart-link:hover::after,
.smart-link:hover::before,
.main-logo-link:hover::after,
.main-logo-link:hover::before {

    opacity: 1;

    transform:
    translateX(50%)
    translateY(0);
}

.pin .tooltip {

    bottom: 110%;
    left: 50%;

    transform:
    translateX(-50%)
    translateY(10px);
}

.pin:hover .tooltip {

    opacity: 1;

    transform:
    translateX(-50%)
    translateY(0);
}


.pin-check img {

    width: 11vw;
    height: 21vh;
}

.pin-internet img {

    width: 23vw;
    height: 33vh;
}

.pin-light img {

    width: 11vw;
    height: 21vh;
}

.pin-phone img {

    width: 16vw;
    height: 28vh;
}

/* ===== PIN POSITIONS ===== */

.pin-check {

    top: 43%;
    left: 37%;
}

.pin-internet {

    top: 23%;
    left: 50%;
}

.pin-light {

    top: 43%;
    left: 63%;
}

.pin-phone {
    top: 45%;
    left: 50%;
}

/* ===== SERVICES ===== */

.services-section {

    padding: 40px 20px 90px;
}

.section-title {

    text-align: center;

    margin-bottom: 45px;
}

.section-title h2 {

    font-size: 42px;

    margin-bottom: 15px;

    color: #08213a;
}

.section-title p {

    color: #506070;

    font-size: 17px;
}



/* ===== GRID ===== */

.smart-links {

    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

    gap: 28px;
}



/* ===== CARD ===== */

.smart-link {

    position: relative;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 28px;

    border-radius: 30px;

    text-decoration: none;

    overflow: hidden;

    transition: 0.4s;

    background:
    rgba(255,255,255,0.75);

    backdrop-filter: blur(14px);

    border:
    1px solid rgba(255,255,255,0.5);

    box-shadow:
    0 15px 35px rgba(0,0,0,0.08);
}

.smart-link::selection {
    background: transparent;
}

.smart-link:hover {

    transform:
    translateY(-10px)
    scale(1.02);

    box-shadow:
    0 25px 45px rgba(0,0,0,0.14);
}



/* ===== ICON ===== */

.icon-box {

    min-width: 95px;
    min-height: 95px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 28px;

    background:
    linear-gradient(
        135deg,
        #e9f6ff,
        #d7fff0
    );

    box-shadow:
    inset 0 2px 10px rgba(255,255,255,0.8),
    0 10px 20px rgba(0,0,0,0.08);
}

.skills {

    width: 72px;
    height: 72px;

    object-fit: cover;

    border-radius: 20px;
}



/* ===== TEXT ===== */

.service-content h3 {

    font-size: 28px;

    margin-bottom: 8px;

    color: #0a2140;
}

.service-content span {

    font-size: 15px;

    color: #587089;

    line-height: 1.8;
}



/* ===== FOOTER ===== */

.footer {

    background:
    linear-gradient(
        135deg,
        #04152d,
        #07285d,
        #031430
    );

    color: rgba(255,255,255,0.9);

    padding: 70px 20px;

    display: flex;

    justify-content: space-around;

    flex-wrap: wrap;

    gap: 40px;
}

.footer-section {

    max-width: 450px;
}

.footer h3 {

    font-size: 28px;

    margin-bottom: 20px;
}

.footer p {

    line-height: 2.2;

    font-size: 15px;
}



/* ===== FORM ===== */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-top: 20px;
}

.contact-form input {

    padding: 15px;

    border-radius: 14px;

    border: none;

    outline: none;

    font-family: inherit;

    font-size: 14px;
}

.contact-form button {

    padding: 16px;

    border: none;

    border-radius: 14px;

    font-family: inherit;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    color: white;

    background:
    linear-gradient(
        135deg,
        #00c6ff,
        #0072ff
    );

    transition: 0.35s;
}

.contact-form button:hover {

    transform: translateY(-3px);
}

.location {

    margin-top: 20px;

    opacity: 0.85;
}



/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .header h1 {

        font-size: 42px;
    }

    .header h1 span {

        font-size: 18px;
    }

    .header p {

        font-size: 15px;
    }

    .pin img {

        width: 90px;
        height: 90px;
    }

    .section-title h2 {

        font-size: 32px;
    }

    .smart-link {

        padding: 20px;
    }

    .icon-box {

        min-width: 75px;
        min-height: 75px;
    }

    .skills {

        width: 55px;
        height: 55px;
    }

    .service-content h3 {

        font-size: 22px;
    }

}