 * {
     box-sizing: border-box;
 }

 img,
 video {
     max-width: 100%;
     height: auto;
 }

 :root {
     --surface-bg:
         radial-gradient(110% 120% at 100% 0%, rgba(37, 141, 169, 0.24) 0%, rgba(20, 29, 38, 0) 48%),
         linear-gradient(145deg, rgba(15, 21, 28, 0.94) 0%, rgba(11, 15, 21, 0.9) 100%);
     --surface-border: 1px solid rgba(150, 211, 220, 0.22);
     --surface-shadow: 0 12px 32px rgba(0, 0, 0, 0.33);
     --surface-muted: rgba(221, 241, 247, 0.78);
     --section-max-width: 1040px;
     --section-padding: clamp(12px, 1.7vw, 18px);
     --section-gap: clamp(12px, 1.7vw, 18px);
 }

 body {
     font-family: Arial, sans-serif;
     margin: 0;
     padding: 0;
     background-color: #0f1418;
     background-image:
         radial-gradient(140% 75% at 50% 0%, rgba(24, 74, 84, 0.34) 0%, rgba(12, 21, 30, 0.08) 50%, rgba(8, 12, 18, 0.7) 100%),
         linear-gradient(180deg, rgba(7, 13, 20, 0.28) 0%, rgba(7, 13, 20, 0.78) 100%),
         url('img/back1.jpg');
     background-repeat: no-repeat;
     background-size: auto, auto, cover;
     background-position: center top, center, center;
     background-attachment: fixed;
     background-blend-mode: soft-light, multiply, normal;
     min-height: 100vh;
     overflow-x: hidden;
     position: relative;
     z-index: 0;
     isolation: isolate;
 }

 body.menu-open {
     overflow: hidden;
 }

 body::before {
     content: "";
     position: fixed;
     inset: 0;
     pointer-events: none;
     z-index: -1;
     background:
         radial-gradient(65% 45% at 20% 14%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 80%),
         radial-gradient(55% 35% at 84% 22%, rgba(243, 188, 93, 0.13) 0%, rgba(243, 188, 93, 0) 82%),
         radial-gradient(85% 70% at 50% 100%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 74%);
     mix-blend-mode: soft-light;
     opacity: 0.7;
 }

 .navbar {
     background: var(--surface-bg);
     border-bottom: var(--surface-border);
     box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
     display: flex;
     align-items: center;
     padding: 10px 20px;
     position: fixed;
     width: 100%;
     top: 0;
     left: 0;
     z-index: 1000;
     transition: transform 0.3s ease;
 }

 .navbar.hidden {
     transform: translateY(-100%);
 }

 .logo {
     width: 60px;
     height: 60px;
     border-radius: 10px;
     object-fit: cover;
 }

 .logol {
     width: 265px;
     height: 120px;
     border-radius: 25px;
     object-fit: cover;
 }

 .nav-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     width: 100%;
 }

 .nav-left,
 .nav-right {
     display: flex;
     gap: 10px;
 }

 .site-name {
     font-size: 1.5rem;
     font-weight: bold;
     color: white;
     text-align: center;
     flex-grow: 1;
     margin: 0 20px;
     white-space: nowrap;
     opacity: 0;
     transform: translateY(4px);
     clip-path: inset(0 50% 0 50%);
     -webkit-clip-path: inset(0 50% 0 50%);
     animation: siteNameReveal 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
     will-change: clip-path, opacity, transform;
 }

 .nav-button {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 8px 15px;
     background: rgba(20, 27, 36, 0.78);
     color: white;
     border: 1px solid rgba(146, 199, 211, 0.36);
     border-radius: 5px;
     text-decoration: none;
     font-size: 1rem;
     transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
 }

 .nav-button:hover {
     background-color: #e74c3c;
     /* Red on hover */
 }

 .nav-button:nth-child(2):hover {
     background-color: #3498db;
     /* Blue on hover */
 }

 .nav-button:nth-child(3):hover {
     background-color: #2ecc71;
     /* Green on hover */
 }

 .nav-button:nth-child(4):hover {
     background-color: #f1c40f;
     /* Yellow on hover */
 }

 .nav-button:nth-child(5):hover {
     background-color: #9b59b6;
     /* Purple on hover */
 }

 .nav-button:nth-child(6):hover {
     background-color: #e67e22;
     /* Orange on hover */
 }

 .nav-button i {
     margin-right: 5px;
 }

 .auth-combo {
     display: inline-flex;
     align-items: stretch;
     border-radius: 999px;
     overflow: hidden;
     border: 1px solid rgba(255, 255, 255, 0.2);
     background: rgba(20, 30, 35, 0.75);
     box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
 }

 .auth-link {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     padding: 8px 16px;
     color: #eef6f6;
     text-decoration: none;
     font-size: 0.95rem;
     font-weight: 600;
     letter-spacing: 0.2px;
     transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
 }

 .auth-link:first-child {
     background: linear-gradient(135deg, #19b5b5 0%, #0a6d6d 100%);
 }

 .auth-link:last-child {
     background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
 }

 .auth-link+.auth-link {
     border-left: 1px solid rgba(255, 255, 255, 0.15);
 }

 .auth-link:hover {
     transform: translateY(-1px);
     filter: brightness(1.08);
 }

 .auth-link:active {
     transform: translateY(0);
     opacity: 0.95;
 }

 .mobile-auth {
     width: 80%;
     flex-direction: column;
     border-radius: 14px;
 }

 .mobile-auth .auth-link {
     justify-content: center;
     width: 100%;
 }

 .mobile-auth .auth-link+.auth-link {
     border-left: none;
     border-top: 1px solid rgba(255, 255, 255, 0.15);
 }

 .menu-toggle {
     display: none;
     background: none;
     border: none;
     font-size: 1.8rem;
     color: white;
     cursor: pointer;
     padding: 5px;
     transition: transform 0.3s ease;
 }

 .menu-toggle.open .fa-bars {
     display: none;
 }

 .menu-toggle.open .fa-times {
     display: inline;
 }

 .menu-toggle .fa-times {
     display: none;
 }

 .menu-toggle:hover {
     transform: rotate(90deg);
 }

 .mobile-menu {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(145deg, rgba(10, 16, 22, 0.98) 0%, rgba(8, 12, 18, 0.96) 100%);
     transform: translateY(-100%);
     opacity: 0;
     z-index: 1001;
     transition: transform 0.5s ease-in-out, opacity 0.3s ease;
 }

 .mobile-menu.active {
     transform: translateY(0);
     opacity: 1;
     pointer-events: auto;
 }

 .mobile-menu .nav-button {
     width: 80%;
     margin: 10px 0;
     font-size: 1.2rem;
 }

 .notification {
     position: fixed;
     top: 80px;
     right: 20px;
     background: var(--surface-bg);
     border: var(--surface-border);
     color: white;
     padding: 15px;
     border-radius: 5px;
     box-shadow: var(--surface-shadow);
     z-index: 1001;
     display: none;
 }

 .notification a {
     color: #1da1f2;
     text-decoration: none;
 }

 .notification a:hover {
     text-decoration: underline;
 }

 .content-wrapper {
     padding: 76px 12px 14px;
     width: 100%;
     min-height: 100vh;
 }

 .section-title {
     color: darkcyan;
     font-size: clamp(1.3rem, 2vw, 1.62rem);
     font-weight: bold;
     text-align: center;
     margin-bottom: 14px;
 }

 .welcome-section {
     max-width: var(--section-max-width);
     margin: 14px auto;
     padding: var(--section-padding);
     background: var(--surface-bg);
     border: var(--surface-border);
     border-radius: 15px;
     box-shadow: var(--surface-shadow);
     color: white;
     text-align: center;
 }

 .welcome-section h1 {
     font-size: 1.5rem;
     margin-bottom: 15px;
     font-weight: bold;
 }

 .welcome-section p {
     font-size: 1rem;
     line-height: 1.5;
     margin: 0;
 }

 .notifications-section {
     max-width: var(--section-max-width);
     margin: 14px auto;
     padding: var(--section-padding);
     background: var(--surface-bg);
     border: var(--surface-border);
     border-radius: 15px;
     box-shadow: var(--surface-shadow);
     color: white;
 }

 .notification-item {
     padding: 10px;
     margin: 10px 0;
     border-radius: 10px;
 }

 .notification-item.pending {
     background-color: orange;
 }

 .notification-item.approved {
     background-color: green;
 }

 .notification-item.rejected {
     background-color: gray;
 }

 .container {
     max-width: var(--section-max-width);
     margin: 14px auto;
     padding: var(--section-padding);
     display: flex;
     gap: var(--section-gap);
     justify-content: center;
     flex-wrap: wrap;
 }

 .about-layout {
     display: grid;
     grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
     align-items: start;
 }

 .about-layout > .section-title {
     grid-column: 1 / -1;
     margin-bottom: 8px;
 }

 .about-layout > .sidebar,
 .about-layout > .content {
     width: 100%;
     min-width: 0;
     max-width: none;
 }

 .sidebar,
 .content {
     background: var(--surface-bg);
     border: var(--surface-border);
     border-radius: 15px;
     padding: clamp(12px, 1.5vw, 16px);
     box-shadow: var(--surface-shadow);
     color: #fff;
 }

 .sidebar {
     flex: 1;
     min-width: 250px;
     max-width: 280px;
 }

 .content {
     flex: 2;
     min-width: 300px;
 }

 .about-compact .box-title {
     margin-bottom: 8px;
     font-size: 1rem;
     padding: 4px 9px;
 }

 .about-compact .about-lead {
     margin-bottom: 8px;
 }

 .about-compact .about-icon-list {
     margin-bottom: 8px;
 }

 .about-sidebar-compact .logol {
     margin-bottom: 8px;
 }

 .about-meta-list {
     list-style: none;
     margin: 0 0 8px;
     padding: 0;
     display: grid;
     gap: 6px;
 }

 .about-meta-list li {
     margin: 0;
     display: inline-flex;
     align-items: center;
     gap: 7px;
     font-size: 0.9rem;
     line-height: 1.28;
     padding: 6px 8px;
     border-radius: 9px;
     border: 1px solid rgba(146, 199, 211, 0.22);
     background: rgba(19, 30, 38, 0.5);
 }

 .about-meta-list li i {
     color: #8fe9f4;
     width: 16px;
     text-align: center;
     flex: 0 0 16px;
 }

 .about-side-note {
     margin: 0 0 8px;
     display: inline-flex;
     align-items: flex-start;
     gap: 7px;
     font-size: 0.88rem;
     line-height: 1.3;
     color: rgba(225, 238, 244, 0.88);
 }

 .about-side-note i {
     color: #8fe9f4;
     margin-top: 2px;
 }

 .about-sidebar-compact .ceo-socials {
     margin-top: 8px;
 }

 .about-sidebar-compact .ceo-socials h4 {
     margin-bottom: 6px;
     display: inline-flex;
     align-items: center;
     gap: 7px;
     font-size: 0.95rem;
 }

 .about-sidebar-compact .ceo-socials a {
     margin: 3px 0;
     font-size: 0.92rem;
 }

 .box-title {
     background: rgba(20, 27, 36, 0.78);
     border: 1px solid rgba(146, 199, 211, 0.36);
     padding: 5px 10px;
     border-radius: 10px;
     display: inline-block;
     margin-bottom: 15px;
     font-weight: bold;
     font-size: 1.1rem;
 }

 .box-title i {
     margin-right: 6px;
     color: #8fe9f4;
 }

 .about-lead {
     margin: 0 0 10px;
     font-size: 0.92rem;
     line-height: 1.38;
 }

 .about-icon-list {
     list-style: none;
     margin: 0 0 10px;
     padding: 0;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 8px 10px;
 }

 .about-icon-list li {
     margin: 0;
     font-size: 0.88rem;
     line-height: 1.3;
     display: inline-flex;
     align-items: center;
     gap: 7px;
     padding: 7px 8px;
     border-radius: 9px;
     background: rgba(19, 30, 38, 0.55);
     border: 1px solid rgba(146, 199, 211, 0.22);
 }

 .about-icon-list li i {
     color: #8fe9f4;
     width: 16px;
     text-align: center;
     flex: 0 0 16px;
 }

 .about-badges {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 8px;
 }

 .about-badges span {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     font-size: 0.82rem;
     line-height: 1.2;
     padding: 7px 8px;
     border-radius: 999px;
     border: 1px solid rgba(146, 199, 211, 0.26);
     background: rgba(21, 31, 39, 0.6);
     white-space: nowrap;
 }

 .about-badges span i {
     color: #8fe9f4;
 }

 ul {
     padding-left: 20px;
 }

 ul li {
     margin: 8px 0;
     font-size: 0.95rem;
 }

 .ceo-socials {
     margin-top: 15px;
 }

 .ceo-socials h4 {
     font-size: 1rem;
     margin-bottom: 10px;
 }

 .ceo-socials a {
     color: #1da1f2;
     text-decoration: none;
     display: flex;
     align-items: center;
     margin: 5px 0;
     font-size: 0.95rem;
     transition: color 0.3s ease;
 }

 .ceo-socials a i {
     margin-right: 8px;
 }

 .ceo-socials a:hover {
     color: #fff;
 }

 .cards-section {
     max-width: var(--section-max-width);
     margin: 14px auto;
     padding: var(--section-padding);
     display: flex;
     gap: var(--section-gap);
     justify-content: center;
     flex-wrap: wrap;
 }

 .card {
     position: relative;
     width: 200px;
     height: 270px;
     border-radius: 15px;
     box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
     border: 1px solid rgba(255, 255, 255, 0.2);
     transition: transform 0.4s ease, box-shadow 0.4s ease;
     overflow: hidden;
 }

 .card:hover {
     transform: translateY(-15px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
 }

 .card img {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 0;
 }

 .card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.4);
     z-index: 1;
     border-radius: 15px;
 }

 .card .content {
     position: absolute;
     bottom: 15px;
     left: 10px;
     right: 0;
     z-index: 2;
     text-align: left;
     color: white;
     padding: 10px;
     opacity: 0;
     transition: opacity 0.6s ease;
     max-width: 90%;
 }

 .card:hover .content {
     opacity: 1;
 }

 .card .content .title {
     font-size: 1rem;
     font-weight: 600;
     text-transform: uppercase;
     margin: 0 0 6px;
     line-height: 1.2;
     letter-spacing: 0.05em;
     white-space: normal;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .card .content .title span {
     font-size: 0.75rem;
     font-weight: 300;
     display: block;
     margin-top: 4px;
     white-space: normal;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .sci {
     display: flex;
     gap: 10px;
     list-style: none;
     padding: 0;
     margin: 10px 0 0;
     justify-content: flex-start;
 }

 .sci li a {
     display: flex;
     justify-content: center;
     align-items: center;
     width: 32px;
     height: 32px;
     background: rgba(0, 0, 0, 0.5);
     border-radius: 6px;
     color: rgba(255, 255, 253, 0.8);
     text-decoration: none;
     transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
 }

 .sci li a:hover {
     color: white;
     background: rgba(0, 0, 0, 0.7);
     transform: scale(1.1);
 }

 .sci li a i {
     font-size: 1.2rem;
 }

 .services-section {
     max-width: var(--section-max-width);
     margin: 14px auto;
     padding: var(--section-padding);
 }

 .services-header {
     margin-bottom: 14px;
 }

 .services-header .section-title {
     margin-bottom: 6px;
 }

 .services-grid {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 14px;
 }

 .service-card {
     position: relative;
     background: linear-gradient(165deg, rgba(40, 47, 58, 0.95) 0%, rgba(23, 28, 36, 0.96) 100%);
     border-radius: 16px;
     padding: 14px;
     border: 1px solid rgba(154, 211, 221, 0.2);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
     color: #fff;
     transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
 }

 .service-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 14px 26px rgba(0, 0, 0, 0.34);
     border-color: rgba(141, 211, 224, 0.46);
 }

 .service-icon {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 12px;
     background: rgba(20, 27, 36, 0.75);
     border: 1px solid rgba(146, 199, 211, 0.36);
     color: #8fe9f4;
     font-size: 1.05rem;
 }

 .service-card h3 {
     margin: 0 0 10px;
     font-size: 1.02rem;
     color: #e8f7fb;
 }

 .service-card p {
     margin: 0;
     font-size: 0.92rem;
     line-height: 1.5;
     color: rgba(240, 248, 251, 0.9);
 }

 .team-section {
     max-width: var(--section-max-width);
     margin: 14px auto;
     padding: var(--section-padding);
     border-radius: 22px;
     background: var(--surface-bg);
     border: var(--surface-border);
     box-shadow: var(--surface-shadow);
 }

 .team-grid {
     display: grid;
     grid-template-columns: repeat(4, minmax(0, 1fr));
     gap: 14px;
 }

.team-card {
    position: relative;
    height: 290px;
    background-color: #20242a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    color: #fff;
    isolation: isolate;
    outline: none;
    transform: translateY(0);
    transition: transform 0.62s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.62s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 70% at 70% 120%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.45;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.team-page {
    position: absolute;
    inset: 0;
    z-index: 2;
    transform: translateX(0) scale(1);
    transform-origin: center;
    filter: brightness(1) saturate(1);
    transition: transform 0.95s cubic-bezier(0.22, 0.7, 0.2, 1), filter 0.95s ease;
    will-change: transform, filter;
}

.team-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.14) 38%, rgba(0, 0, 0, 0.62) 100%);
    opacity: 0.28;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.75s ease;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform 1s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.team-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 14px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(180deg, rgba(8, 12, 18, 0) 0%, rgba(8, 12, 18, 0.78) 48%, rgba(8, 12, 18, 0.96) 100%);
    transform: translateY(34px);
    opacity: 0;
    filter: blur(3px);
    transition: transform 0.78s cubic-bezier(0.22, 0.7, 0.2, 1), opacity 0.58s ease, filter 0.78s ease;
}

.team-info>* {
    position: relative;
    z-index: 1;
 }

.team-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 40%);
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.team-info h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    line-height: 1.2;
}

.team-role {
    margin: 0 0 8px;
    color: #8fe9f4;
    font-weight: 600;
}

.team-info p {
    margin: 0 0 6px;
     font-size: 0.92rem;
     line-height: 1.4;
 }

.team-card:hover,
.team-card:focus-visible,
.team-card:active {
    transform: translateY(-8px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.46);
}

.team-card:hover .team-page,
.team-card:focus-visible .team-page,
.team-card:active .team-page {
    transform: translateX(-22%) scale(1.04);
    filter: brightness(0.76) saturate(0.88);
}

.team-card:hover .team-page::before,
.team-card:focus-visible .team-page::before,
.team-card:active .team-page::before {
    opacity: 0.88;
}

.team-card:hover .team-photo,
.team-card:focus-visible .team-photo,
.team-card:active .team-photo {
    transform: scale(1.12);
}

.team-card:hover .team-info,
.team-card:focus-visible .team-info,
.team-card:active .team-info {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
}

.team-card:hover .team-info::before,
.team-card:focus-visible .team-info::before,
.team-card:active .team-info::before {
    opacity: 0.3;
}

.team-card:hover::after,
.team-card:focus-visible::after,
.team-card:active::after {
    opacity: 0.75;
}

 .projects-section {
     max-width: var(--section-max-width);
     margin: 14px auto;
     padding: var(--section-padding);
     border-radius: 22px;
     background: var(--surface-bg);
     border: var(--surface-border);
     box-shadow: var(--surface-shadow);
 }

 .projects-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     grid-template-rows: repeat(2, auto);
     gap: 14px;
 }

 .project-item img {
     width: 100%;
     height: 170px;
     object-fit: cover;
     border-radius: 10px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease;
 }

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

.reviews-section {
    max-width: var(--section-max-width);
    margin: 14px auto;
    padding: var(--section-padding);
}

.clients-section {
    border-radius: 22px;
    background: var(--surface-bg);
    border: var(--surface-border);
    box-shadow: var(--surface-shadow);
}

.reviews-header {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: 14px 18px;
    align-items: center;
    margin-bottom: 14px;
}

.clients-heading {
    min-width: 0;
}

.clients-subtitle {
    margin: 4px 0 0;
    color: var(--surface-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.average-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20, 27, 36, 0.75);
    border: 1px solid rgba(255, 214, 96, 0.3);
    color: #f5f8fb;
    font-size: 1rem;
    white-space: nowrap;
}

.average-rating .stars {
    color: #ffd700;
}

.rating-filter {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(20, 27, 36, 0.78);
    color: #fff;
    border: 1px solid rgba(146, 199, 211, 0.36);
    outline: none;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.review-item {
    position: relative;
    background: linear-gradient(165deg, rgba(40, 47, 58, 0.95) 0%, rgba(23, 28, 36, 0.96) 100%);
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(154, 211, 221, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    color: #fff;
    min-width: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.review-item[data-slider-clone="1"] {
    pointer-events: none;
}

.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.34);
    border-color: rgba(141, 211, 224, 0.46);
}

.review-item.new {
    border-color: rgba(91, 219, 140, 0.75);
}

.review-item .client-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e8f7fb;
}

.review-item .rating {
    color: #ffd700;
    margin-bottom: 10px;
}

.review-item .review-text {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 10px;
    color: rgba(240, 248, 251, 0.9);
}

.review-item .review-date,
.review-item .reply-date {
    font-size: 0.84rem;
    color: rgba(185, 202, 214, 0.9);
}

.review-item .reply-section {
    margin-top: 12px;
    background: rgba(34, 42, 52, 0.92);
    padding: 10px;
    border-radius: 8px;
}

.review-item .reply-section textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    background: rgba(65, 74, 86, 0.85);
    color: #fff;
    border: 1px solid rgba(137, 184, 202, 0.32);
    border-radius: 6px;
}

.review-item .reply-section button {
    padding: 7px 12px;
    background: linear-gradient(135deg, #1d9a8f 0%, #157066 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.review-item .reply-section button:hover {
    filter: brightness(1.08);
}

.review-item .reply {
    margin-top: 10px;
    font-style: italic;
    color: rgba(207, 229, 238, 0.92);
}

.load-more {
    display: block;
    margin: 16px auto 0;
    padding: 10px 18px;
    border: 1px solid rgba(134, 197, 208, 0.42);
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(26, 146, 166, 0.35) 0%, rgba(18, 93, 114, 0.35) 100%);
    color: #ecf7fb;
    text-decoration: none;
    text-align: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.load-more:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

 .load-more.loading::after {
     content: '';
     display: inline-block;
     width: 16px;
     height: 16px;
     border: 2px solid white;
     border-top: 2px solid transparent;
     border-radius: 50%;
     animation: spin 0.8s linear infinite;
     margin-left: 10px;
     vertical-align: middle;
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }

 @keyframes siteNameReveal {
     to {
         opacity: 1;
         transform: translateY(0);
         clip-path: inset(0 0 0 0);
         -webkit-clip-path: inset(0 0 0 0);
     }
 }

 @media (prefers-reduced-motion: reduce) {
     .site-name {
         animation: none;
         opacity: 1;
         transform: none;
         clip-path: inset(0 0 0 0);
         -webkit-clip-path: inset(0 0 0 0);
     }
 }

 .creator-section {
     max-width: var(--section-max-width);
     margin: 14px auto;
     padding: 12px;
     background: var(--surface-bg);
     border: var(--surface-border);
     color: #fff;
     text-align: center;
     font-size: 0.9rem;
     border-radius: 20px;
     box-shadow: var(--surface-shadow);
 }

 .creator-section a {
     color: #1da1f2;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .creator-section a:hover {
     color: #fff;
 }

 .site-footer {
     max-width: var(--section-max-width);
     margin: 14px auto;
     background: var(--surface-bg);
     border: var(--surface-border);
     color: #d9ecf1;
     padding: 18px 12px;
     border-radius: 20px;
     min-height: 0;
     box-shadow: var(--surface-shadow);
 }

 .footer-container {
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     max-width: 980px;
     margin: 0 auto;
     gap: 16px;
 }

 .footer-socials,
 .footer-contacts {
     flex: 1 1 300px;
     margin: 0;
 }

 .footer-socials h4,
 .footer-contacts h4 {
     font-size: 1.2rem;
     margin: 6px 0 8px;
 }

 .footer-socials a {
     color: #fff;
     font-size: 1.5rem;
     margin-right: 15px;
     transition: color 0.3s, transform 0.3s;
 }

 .footer-socials a:hover {
     color: #1da1f2;
     transform: scale(1.2);
 }

 .footer-contacts p {
     margin: 4px 0;
     font-size: 0.95rem;
     line-height: 1.35;
 }

 .footer-contacts a {
     color: inherit;
     text-decoration: none;
     display: inline-block;
 }

 .footer-contacts i {
     margin-right: 8px;
     color: #1da1f2;
 }

@media (max-width: 1024px) {
    :root {
        --section-max-width: 920px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

     .team-card {
         height: 260px;
     }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid > :last-child:nth-child(odd),
    .team-grid > :last-child:nth-child(odd),
    .projects-grid > :last-child:nth-child(odd),
    .reviews-list > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .review-item {
        min-width: 0;
    }

    .nav-container {
        flex-wrap: wrap;
    }
 }

 @media (max-width: 768px) {
     body {
         background-attachment: scroll;
         background-position: center top, center, 58% center;
     }

     .content-wrapper {
         padding-left: 10px;
         padding-right: 10px;
         padding-bottom: 12px;
     }

     .navbar {
         padding: 10px 15px;
         flex-direction: column;
         align-items: flex-start;
     }

     .logo {
         width: 50px;
         height: 50px;
     }

     .site-name {
         font-size: 1.2rem;
         margin: 10px 0;
         width: 100%;
         text-align: center;
     }

     .nav-left,
     .nav-right {
         display: none;
     }

     .menu-toggle {
         display: block;
         position: absolute;
         top: 10px;
         right: 15px;
     }

     .mobile-menu {
         display: flex;
     }

     .welcome-section,
     .notifications-section {
         padding: 12px;
     }

     .welcome-section h1 {
         font-size: 1.3rem;
     }

     .welcome-section p {
         font-size: 0.9rem;
     }

     .section-title {
         font-size: 1.5rem;
     }

     .container {
         flex-direction: column;
         padding: 12px;
     }

     .about-layout {
         display: grid;
         grid-template-columns: minmax(145px, 0.9fr) minmax(0, 1.1fr);
         gap: 8px;
         padding: 10px;
     }

     .about-layout > .section-title {
         margin-bottom: 4px;
     }

     .about-layout > .sidebar,
     .about-layout > .content {
         width: 100%;
         min-width: 0;
     }

     .team-section {
         padding: 12px;
     }

     .team-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 12px;
     }

     .team-card {
         height: 240px;
     }

     .sidebar,
     .content {
         width: 100%;
         min-width: unset;
     }

     .logol {
         width: min(220px, 100%);
         height: auto;
         border-radius: 16px;
     }

     .cards-section {
         flex-direction: column;
         align-items: center;
         gap: 14px;
     }

     .card {
         width: 168px;
         height: 236px;
     }

     .projects-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 12px;
     }

     .project-item img {
         height: 138px;
     }

    .services-section {
        padding: 14px;
    }

    .clients-section {
        padding: 14px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-list {
        display: flex;
        grid-template-columns: none;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 2px 2px 8px;
        scrollbar-width: thin;
    }

    .review-item {
        max-width: none;
        flex: 0 0 min(84%, 320px);
        padding: 12px;
        scroll-snap-align: start;
    }

    .reviews-list::-webkit-scrollbar {
        height: 5px;
    }

    .reviews-list::-webkit-scrollbar-thumb {
        background: rgba(129, 195, 209, 0.45);
        border-radius: 999px;
    }

    .reviews-list > :last-child:nth-child(odd) {
        grid-column: auto;
    }

    .creator-section {
        font-size: 0.85rem;
    }

    .reviews-header {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: stretch;
    }

    .average-rating {
        justify-self: start;
    }

    .rating-filter {
        width: 100%;
    }

     .notification {
         top: 60px;
         right: 10px;
         padding: 10px;
         font-size: 0.9rem;
     }

     .footer-container {
         flex-direction: column;
         align-items: center;
         text-align: center;
         gap: 6px;
     }

     .footer-socials,
     .footer-contacts {
         flex: 1 1 100%;
     }

     .footer-socials h4,
     .footer-contacts h4 {
         margin: 4px 0 6px;
     }

     .footer-socials a {
         margin-right: 8px;
     }

     .footer-contacts p {
         margin: 1px 0;
         line-height: 1.25;
     }
 }

 @media (max-width: 600px) {

     .content-wrapper {
         padding-left: 8px;
         padding-right: 8px;
     }

     .welcome-section,
     .notifications-section {
         padding: 10px;
     }

     .welcome-section h1 {
         font-size: 1.2rem;
     }

     .welcome-section p {
         font-size: 0.85rem;
     }

     .section-title {
         font-size: 1.22rem;
     }

    .logol {
        width: min(200px, 100%);
        border-radius: 14px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .service-card {
        padding: 10px;
        border-radius: 12px;
    }

    .service-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
        font-size: 0.88rem;
    }

    .service-card h3 {
        margin: 0 0 6px;
        font-size: 0.95rem;
    }

    .service-card p {
        font-size: 0.84rem;
        line-height: 1.35;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .team-card {
        height: 228px;
    }

    .clients-section {
        padding: 12px;
    }

    .container {
        padding: 10px;
        gap: 10px;
    }

    .about-layout {
        grid-template-columns: minmax(130px, 0.88fr) minmax(0, 1.12fr);
        gap: 8px;
        padding: 8px;
    }

    .about-layout > .section-title {
        margin-bottom: 2px;
    }

    .sidebar {
        min-width: 0;
        max-width: none;
    }

    .content {
        min-width: 0;
    }

    .content p,
    .content li {
        font-size: 0.9rem;
        line-height: 1.36;
    }

    .about-compact .box-title {
        font-size: 0.9rem;
        padding: 4px 8px;
        margin-bottom: 6px;
    }

    .about-meta-list {
        gap: 5px;
        margin-bottom: 7px;
    }

    .about-meta-list li {
        font-size: 0.82rem;
        padding: 5px 7px;
    }

    .about-side-note {
        font-size: 0.8rem;
        line-height: 1.25;
        margin-bottom: 7px;
    }

    .about-sidebar-compact .ceo-socials h4 {
        font-size: 0.86rem;
    }

    .about-sidebar-compact .ceo-socials a {
        font-size: 0.84rem;
    }

    .about-lead {
        font-size: 0.86rem;
        line-height: 1.32;
        margin-bottom: 8px;
    }

    .about-icon-list {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 8px;
    }

    .about-icon-list li {
        font-size: 0.82rem;
        padding: 6px 7px;
    }

    .about-badges {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .about-badges span {
        font-size: 0.74rem;
        padding: 6px 7px;
    }

     .footer-container {
         flex-direction: column;
         align-items: center;
         text-align: center;
         border-radius: 24px;
     }

     .footer-socials a {
         font-size: 1.2rem;
     }

     .footer-contacts p {
         font-size: 0.9rem;
     }

     .box-title {
         font-size: 1rem;
     }

     ul li {
         font-size: 0.9rem;
     }

     .card {
         width: 150px;
         height: 220px;
     }

     .card .content .title {
         font-size: 0.9rem;
     }

     .card .content .title span {
         font-size: 0.7rem;
     }

     .sci li a {
         width: 28px;
         height: 28px;
     }

     .sci li a i {
         font-size: 1.1rem;
     }

     .project-item img {
         height: 130px;
     }

     .review-item .client-name {
         font-size: 0.95rem;
     }

     .review-item .review-text {
         font-size: 0.84rem;
         line-height: 1.35;
     }

     .review-item .reply-section textarea {
         font-size: 0.9rem;
     }

     .review-item .reply-section button {
         font-size: 0.9rem;
     }

     .review-item .reply-date {
         font-size: 0.8rem;
     }

     .creator-section {
         font-size: 0.8rem;
     }

     .average-rating {
         font-size: 1.1rem;
     }
 }

 @media (max-width: 400px) {
     .navbar {
         padding: 8px 10px;
     }

     .logo {
         width: 40px;
         height: 40px;
     }

     .site-name {
         font-size: 1rem;
     }

     .welcome-section,
     .notifications-section {
         padding: 10px;
     }

     .welcome-section h1 {
         font-size: 1.1rem;
     }

     .welcome-section p {
         font-size: 0.8rem;
     }

     .section-title {
         font-size: 1.14rem;
     }

     .services-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 8px;
     }

     .service-card {
         padding: 9px;
     }

     .service-card h3 {
         font-size: 0.88rem;
     }

     .service-card p {
         font-size: 0.78rem;
         line-height: 1.3;
     }

     .team-grid {
         gap: 8px;
     }

     .team-card {
         height: 208px;
     }

     .projects-grid {
         gap: 8px;
     }

     .reviews-list {
         gap: 8px;
     }

     .review-item {
         padding: 10px;
     }

     .card {
         width: 132px;
         height: 198px;
     }

     .card .content .title {
         font-size: 0.8rem;
     }

     .card .content .title span {
         font-size: 0.65rem;
     }

     .sci li a {
         width: 26px;
         height: 26px;
     }

     .sci li a i {
         font-size: 1rem;
     }

     .project-item img {
         height: 120px;
     }

     .creator-section {
         font-size: 0.75rem;
     }

     .average-rating {
         font-size: 1rem;
     }

     .notification {
         top: 50px;
         right: 5px;
         padding: 8px;
         font-size: 0.8rem;
     }
 }
