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

body {
    background: #8360c3;
    background: -webkit-linear-gradient(to right, #2ebf91, #8360c3);
    background: linear-gradient(to right, #2ebf91, #8360c3);
    overflow-x: hidden;
    overflow-y: overlay;
}

/** header hissəsi */
header {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px 20px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: relative;
    margin-bottom: 50px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

h1 {
    font-size: 2.2rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    flex-shrink: 1;
}

.main-nav {
    display: block;
    width: 100%;
    margin-top: 15px;
    order: 1;
}

ul.nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.nav-item {
    margin: 0 8px 10px 8px;
}

.nav-link {
    font-size: 1.1rem;
    text-decoration: none;
    color: white;
    padding: 0.7rem 0.8rem;
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    color: aqua;
    text-decoration: none;
}

.nav-item.active .nav-link {
    color: aqua;
    font-weight: bold;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: aqua;
    transition: width 0.3s ease-out;
}

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

@keyframes slideDownBackground {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 255, 255, 0.2);
    z-index: -1;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
    opacity: 0;
}

.nav-item.active .nav-link::before,
.nav-link:hover::before {
    transform: translateY(0);
    opacity: 1;
}

a {
    color: white;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

/** hamburger menu hissəsi */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    padding-top: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mobile-nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    text-decoration: none;
    color: red;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mobile-nav .close-btn:hover {
    color: darkred;
    text-shadow: 0 0 10px rgba(255, 0, 0, 1);
}

.mobile-nav ul.mobile-menu-list {
    list-style: none;
    padding: 0;
    width: 100%;
}

.mobile-nav ul.mobile-menu-list .nav-item {
    margin: 15px 0;
}

.mobile-nav ul.mobile-menu-list .nav-link {
    font-size: 1.5rem;
    color: white;
    padding: 10px 0;
    display: block;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-20px) translateZ(0);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    will-change: opacity, transform;
}

.mobile-nav.is-open .mobile-menu-list .nav-link.animate-in {
    opacity: 1;
    transform: translateX(0) translateZ(0);
    transition-delay: var(--animation-delay);
}

.mobile-nav ul.mobile-menu-list .nav-link:hover {
    color: #00ffff;
    background-color: rgba(0, 255, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    border-radius: 5px;
}

/** main hissəsi */
.difference-benefits-section {
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1200px;
    text-align: justify;
}

.difference-benefits-section h2 {
    text-align: center;
    color: #8360c3;
    margin-bottom: 40px;
    font-size: 2.8em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 15px;
}

.difference-benefits-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2ebf91, #8360c3);
    border-radius: 2px;
}

.section-content {
    padding: 0 40px;
}

.section-content h2 {
    color: #2ebf91;
    margin-top: 40px;
    margin-bottom: 25px;
    font-size: 2em;
    border-bottom: 2px solid rgba(46, 191, 145, 0.3);
    padding-bottom: 12px;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.05);
}

.section-content p {
    margin-bottom: 18px;
    font-size: 1.15em;
    color: #444;
    line-height: 1.7;
}

.section-content a {
    color: #8360c3;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.section-content a:hover {
    color: #2ebf91;
    text-decoration: underline;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.benefit-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #2ebf91, #8360c3);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.benefit-item:hover::before {
    transform: translateX(0);
}

.benefit-item i {
    font-size: 3.5em;
    color: #8360c3;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.benefit-item:hover i {
    color: #2ebf91;
}

.benefit-item h4 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.4em;
}

.benefit-item p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

.gains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gain-category {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #2ebf91;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gain-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-left-color: #8360c3;
}

.gain-category h4 {
    color: #8360c3;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.7em;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed rgba(131, 96, 195, 0.3);
    padding-bottom: 10px;
}

.gain-category h4 i {
    margin-right: 12px;
    font-size: 1.3em;
    color: #2ebf91;
}

.gain-category ul {
    list-style: none;
    padding: 0;
}

.gain-category ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
    color: #555;
    line-height: 1.4;
    word-spacing: -1.5px;
    letter-spacing: -0.2px;
    white-space: normal;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}

.gain-category ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #28a745;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2em;
}

/** footer hissəsi */
footer {
    width: 100%;
    padding: 40px 20px;
    color: white;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    min-width: 250px;
    margin: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.footer-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cccccc;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #00ffff;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #00ffff;
}

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

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

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #00ffff;
    transform: translateX(5px);
}

.footer-contact p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: #00ffff;
    font-size: 1.1rem;
}

.sosial-media {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.sosial-media a {
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.sosial-media img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sosial-media img:hover {
    border-color: red;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    transform: scale(1.1);
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #cccccc;
}

/** yuxarı çıx hissəsi */
.go-upstairs {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    background: linear-gradient(45deg, #FF007F, #FF7F00);
    color: white;
    border-radius: 25px;
    width: 150px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 0 15px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    text-align: center;
    line-height: 1.2;
}

.go-upstairs::before {
    content: none;
}

.go-upstairs:hover {
    background: linear-gradient(45deg, #FF7F00, #FF007F);
    transform: translateY(-7px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.go-upstairs:active {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}

/** Responsivlik: Media Queries */

/* 1449px */
@media screen and (max-width: 1449px) {

    .menu-items {
        right: -100%;
    }

    .hamburger-icon {
        display: block;
    }

    .desktop-menu {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        position: static;
        transform: none;
        margin-left: auto;
        order: 2;
    }

}

/* 1439px */
@media (max-width: 1439px) {

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        flex-wrap: nowrap;
    }

    .logo {
        width: 70px;
        height: 70px;
        margin-right: 10px;
    }

    h1 {
        font-size: 1.8rem;
        flex-grow: 1;
    }

    h2 {
        font-size: 1.6rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        text-align: center;
        flex-basis: calc(100% - 70px);
        order: 1;
        line-height: 1.2;
        margin-top: 5px;
        margin-bottom: 5px;
        padding: 0 5px;
    }

}

/* 768px */
@media (max-width: 768px) {

    .difference-benefits-section {
        padding: 20px 0;
        margin: 20px 10px;
    }

    h2 {
        font-size: 1.5rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        text-align: center;
        flex-basis: calc(100% - 75px);
        order: 1;
        line-height: 1.2;
        margin-top: 5px;
        margin-bottom: 5px;
        padding: 0 5px;
    }

    .difference-benefits-section h2 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }

    .section-content {
        padding: 0 20px;
    }

    .section-content h2 {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .section-content p {
        font-size: 1em;
    }

    .benefits-grid,
    .gains-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item,
    .gain-category {
        padding: 25px;
    }

    .benefit-item i {
        font-size: 3em;
    }

    .gain-category h4 {
        font-size: 1.5em;
    }

    .gain-category ul li {
        font-size: 1em;
    }

    p,
    .info-text,
    .section-description {
        /* 1. Bütün məcburi düzləndirmələri və boşluqları sıfırlayırıq */
        text-align: left !important;
        letter-spacing: normal !important;
        word-spacing: 0 !important;

        /* 2. Sözlərin sətir sonunda pərakəndə qalmaması üçün seliqəli keçid */
        word-break: normal !important;
        overflow-wrap: break-word !important;

        /* 3. Oxunulabilirliyi artırmaq üçün sətir hündürlüyü */
        line-height: 1.5;

        /* 4. Əgər kənarlara çox yapışırsa, bir az boşluq verək */
        padding-left: 5px;
        padding-right: 5px;
    }

    .go-upstairs {
        width: 120px;
        height: 48px;
        font-size: 15px;
        bottom: 20px;
        right: 20px;
        border-radius: 20px;
    }

    footer {
        padding-top: 20px;
    }
}

/* 576px */
@media (max-width: 576px) {

    .logo {
        width: 60px;
        height: 60px;
        margin-right: 8px;
    }

    h2 {
        font-size: 1.5rem;
        min-width: 0;
    }

    .mobile-nav ul.mobile-menu-list .nav-link {
        font-size: 1.2rem;
    }

    .sosial-media img {
        width: 45px;
        height: 45px;
        margin: 0 5px;
    }

    .go-upstairs {
        width: 100px;
        height: 42px;
        right: 15px;
        bottom: 15px;
        font-size: 13px;
        border-radius: 18px;
        padding: 0 10px;
    }

}

/* 480px */
@media (max-width: 480px) {

    .logo {
        width: 60px;
        height: 60px;
        margin-right: 8px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .mobile-nav ul.mobile-menu-list .nav-link {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.2rem;
        flex-basis: calc(100% - 60px);
        text-align: center;
    }

    .difference-benefits-section h2 {
        font-size: 1.6em;
        margin-bottom: 20px;
        letter-spacing: -0.5px;
        padding: 0 10px;
        word-break: break-word;
        line-height: 1.2;
    }

    .difference-benefits-section h2::after {
        width: 60px;
        height: 3px;
    }

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

    .section-content h2 {
        font-size: 1.4em;
        margin-top: 25px;
    }

    .benefit-item {
        padding: 20px;
    }

    .benefit-item i {
        font-size: 2.5em;
    }

    .benefit-item h4 {
        font-size: 1.2em;
    }

    .gain-category {
        padding: 20px;
    }

    .gain-category h4 {
        font-size: 1.3em;
    }

    .gain-category ul li {
        font-size: 0.95em;
        padding-left: 25px;
    }

    .gain-category ul li::before {
        font-size: 1.1em;
        top: 0px;
    }

    .sosial-media img {
        width: 45px;
        height: 45px;
        margin: 0 5px;
    }

    .go-upstairs {
        width: 90px;
        height: 38px;
        font-size: 12px;
        bottom: 12px;
        right: 12px;
        border-radius: 16px;
        padding: 0 8px;
    }

}