/* --- 1. ფონტების იმპორტი --- */
@font-face {
    font-family: 'HelveticaWorld';
    src: url('Linotype - Helvetica Neue World 55 Roman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaWorld';
    src: url('Linotype - Helvetica Neue World 75 Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary-dark: #144272;
    --primary-blue: #3177C6;
    --mist: #E3EDF6;
    --white: #FFFFFF;
    --accent-gold: #C9A44A;
    --accent-cyan: #00C2A8;
    --text-main: #F5F7FB;
    --text-muted: #B7C2D9;
    --max-width: 1280px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, #1F4E8A 0, #081326 45%, #030711 100%);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea,
select {
    -webkit-user-select: text;
    user-select: text;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
    pointer-events: none;
}

a img {
    pointer-events: auto;
}

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

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(120deg, rgba(8, 19, 38, 0.98), rgba(9, 24, 54, 0.98));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-contact-info a:hover {
    color: var(--text-main);
}

.logo-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 2px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 194, 168, 0.2);
    transition: 0.3s;
    height: 55px;
    width: 55px;
    overflow: hidden;
    flex-shrink: 0;
}

.main-logo-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.logo-wrap a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 194, 168, 0.4);
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: bold;
    white-space: nowrap;
}

nav a {
    position: relative;
    padding-bottom: 4px;
    transition: 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
    transition: width 0.25s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--text-main);
}

.btn {
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), #2563eb);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 194, 168, 0.3);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 194, 168, 0.6);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 194, 168, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 194, 168, 0.2);
    color: #fff;
}

.lang-toggle {
    font-size: 12px;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* HERO */
.hero {
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-cyan);
    margin-bottom: 14px;
    font-weight: bold;
}

.hero-title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 16px;
    color: #fff;
}

.hero-sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 22px;
    text-align: center;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.hero-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(circle at 0% 0%, rgba(0, 194, 168, 0.12), transparent 55%), rgba(15, 23, 42, 0.9);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.hero-card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.hero-card-title {
    font-size: 20px;
    font-weight: bold;
    margin: 8px 0;
    color: #fff;
}

.hero-card-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.hero-tag-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.hero-tag {
    font-size: 12px;
    border-radius: 20px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    transition: 0.3s;
    cursor: pointer;
}

.hero-tag:hover {
    border-color: var(--accent-cyan);
    color: #fff;
    background: rgba(0, 194, 168, 0.1);
}

/* SECTIONS */
section {
    padding: 80px 0;
    position: relative;
    scroll-margin-top: 140px;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    font-size: 12px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 12px;
    font-weight: bold;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #fff;
}

.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

/* --- GRIDS (FLEXBOX FIX FOR EQUAL HEIGHT & CENTERING) --- */
.services-grid,
.projects-grid,
.news-grid,
.team-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 80px;
}

/* CARDS */
.service-card,
.project-card,
.news-card,
.team-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    height: 100%;
    /* Ensures equal height in flex row */
    text-decoration: none;

    /* Flex Sizing */
    flex: 0 1 350px;
    /* Grow: 0, Shrink: 1, Basis: 350px */
    width: 100%;
    /* Fallback for mobile */
    min-width: 280px;
}

.service-card {
    padding: 24px;
    background: linear-gradient(145deg, rgba(20, 30, 48, 0.8), rgba(36, 59, 85, 0.4));
    min-height: 420px;
}

.team-card {
    padding: 30px 20px;
    text-align: center;
    justify-content: center;
    align-items: center;
    /* Center content in team card */
}

.service-card:hover,
.project-card:hover,
.news-card:hover,
.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Card Contents */
.service-code {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    text-transform: uppercase;
    background: rgba(0, 194, 168, 0.1);
    width: fit-content;
    padding: 4px 8px;
    border-radius: 4px;
}

.service-name,
.project-title,
.news-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.service-text,
.project-desc,
.news-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
    /* Pushes footer down */
    line-height: 1.6;
      text-align: justify;
    text-justify: inter-word; /* რომ სიტყვები ლამაზად განაწილდეს */
}


.service-foot {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
text-align: justify;
    text-justify: inter-word; /* რომ სიტყვები ლამაზად განაწილდეს */
}

.service-icon {
    font-size: 42px;
    color: #00C2A8;
    margin-bottom: 25px;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 10px rgba(0, 194, 168, 0.3));
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    color: #fff;
}

.read-more-btn {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: #00C2A8;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: 0.3s;
}

.service-card:hover .read-more-btn {
    opacity: 1;
    gap: 12px;
}

.team-name {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 6px;
}

.team-role {
    font-size: 12px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    font-weight: bold;
}

/* --- IMAGE FIXES (OBJECT-FIT & PROPORTION) --- */
.project-img-wrap {
    height: 220px;
    /* Fixed height for container */
    overflow: hidden;
    width: 100%;
}

/* CRITICAL FIX: Ensures images are not distorted */
.project-img,
.news-card img,
.team-card img {
    width: 100%;
    height: 220px;
    /* Fixed height */
    object-fit: cover !important;
    /* Ensures image covers area without distortion */
    transition: 0.6s;
}

/* Team Image Specifics */
.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.project-content,
.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tags span,
.news-date {
    font-size: 10px;
    text-transform: uppercase;
    background: var(--primary-dark);
    color: var(--accent-cyan);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

.news-link {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: bold;
    text-transform: uppercase;
    margin-top: auto;
}

/* PARTNERS */
.partners-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.partner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 25px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    cursor: pointer;
    min-width: 160px;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.partner-card img {
    max-height: 45px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: 0.3s;
}

.partner-card:hover img {
    filter: grayscale(0%) opacity(1);
}

/* CONTACT */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 30px;
    align-items: stretch;
}

.contact-card {
    border-radius: var(--radius-lg);
    background: rgba(20, 30, 48, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.contact-grid-2 {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

/* --- FORM STYLES (UPDATED FOR MOBILE) --- */
.input,
.textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    margin-bottom: 12px;
    font-family: inherit;

    /* Mobile Fixes */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Custom Arrow for Select */
select.input {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    background-color: #0f172a;
    /* Dark background for mobile */
}

select.input option {
    background-color: #0f172a;
    color: #fff;
    padding: 10px;
}

.input:focus,
.textarea:focus {
    border-color: var(--accent-cyan);
    background: rgba(0, 0, 0, 0.5);
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
    height: 200px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    position: relative;
    height: 100%;
}

.map-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    color: #000;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 10;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.column-title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    padding-left: 0;
}

.contact-col {
    display: flex;
    flex-direction: column;
}

/* INNER PAGES */
.page-header {
    padding: 120px 0 60px;
    background: radial-gradient(circle at top right, #144272 0%, #030711 100%);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.detail-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}

.detail-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.detail-content ul {
    list-style: none;
    margin-top: 15px;
}

.detail-content li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: #fff;
    font-size: 14px;
}

.detail-content li::before {
    content: "✓";
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.detail-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.2);
    width: 100%;
    height: auto;
}

/* FOOTER & EXTRAS */
footer {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    background: radial-gradient(circle at top, #111827, #020617 60%);
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 20px;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.1s;
}

.fade-in.delay-2 {
    animation-delay: 0.2s;
}

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

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* MEDIA QUERIES */
@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid.reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 960px) {
    .header-center {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .header-contact-info {
        display: none;
    }
}

@media (max-width: 768px) {

    /* Flexbox Fallback for Mobile */
    .service-card,
    .project-card,
    .news-card,
    .team-card {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .maps-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Popup Fixes */
    .modal-content {
        width: 90% !important;
        max-width: 90% !important;
        padding: 25px 20px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        margin-top: 10px;
    }

    #modalIcon {
        font-size: 32px !important;
    }

    #modalTitle {
        font-size: 20px !important;
    }

    #modalDesc {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    #modalDesc li {
        padding-left: 20px !important;
        font-size: 14px !important;
    }

    #modalDesc li::before {
        font-size: 18px !important;
        top: -4px !important;
    }

    #closeModal {
        top: 10px !important;
        right: 15px !important;
        font-size: 28px !important;
        padding: 10px !important;
        z-index: 100;
        color: #fff !important;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #modalVideoContainer {
        margin-bottom: 15px !important;
    }

    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
    }
}

/* --- SHARE BUTTON STYLES --- */
.news-card {
    position: relative;
}

.share-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.share-btn:hover {
    background: var(--accent-cyan);
    color: #fff;
    border-color: var(--accent-cyan);
    transform: scale(1.1);
}

.news-content {
    padding-bottom: 10px;
}

/* --- MOBILE MENU --- */
.hamburger {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

@media (max-width: 960px) {
    .hamburger {
        display: block;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(15px);
    /* CRITICAL Z-INDEX FIX FOR INNER PAGES */
    z-index: 999999 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.mobile-menu-overlay.active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links a:hover {
    color: var(--accent-cyan);
}

/* --- BACK TO TOP BUTTON --- */
#back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    width: 50px;
    height: 50px;
    background: rgba(0, 194, 168, 0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 5px 15px rgba(0, 194, 168, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#back-to-top:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 194, 168, 0.4);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- MODAL STYLES --- */
#serviceModal,
#promoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

#serviceModal.active,
#promoModal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content,
.promo-content {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    max-height: 90vh;
    overflow-y: auto;
}

#serviceModal.active .modal-content,
#promoModal.active .promo-content {
    transform: scale(1);
}

#closeModal,
#closePromoModal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: 0.3s;
}

#closeModal:hover,
#closePromoModal:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00C2A8;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 14px;
}

.modal-btn:hover {
    background: #009e89;
    transform: translateY(-2px);
}

/* --- MODAL SHARE BUTTONS --- */
.modal-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.share-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.share-icon:hover {
    transform: translateY(-3px);
}

.share-icon.fb:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.share-icon.li:hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

.share-icon.cp:hover {
    background: #00C2A8;
    border-color: #00C2A8;
}

/* --- MODAL DESCRIPTION STYLING --- */
#modalDesc {
    font-size: 15px;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 30px;
    margin-top: 15px;
}

#modalDesc p {
    margin-bottom: 15px;
}

#modalDesc ul {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    max-width: 100%;
}

#modalDesc li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #fff;
}

#modalDesc li::before {
    content: "•";
    color: #00C2A8;
    font-weight: bold;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -6px;
    line-height: 1;
}

/* --- SERVICES TABS --- */
.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #00C2A8;
    border-color: #00C2A8;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 194, 168, 0.4);
}

.tab-btn i {
    font-size: 14px;
}

/* --- SKELETON LOADING ANIMATION --- */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 12px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    height: 300px;
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-img {
    height: 180px;
    width: 100%;
    border-radius: 12px;
}

.skeleton-text {
    height: 20px;
    width: 80%;
    border-radius: 4px;
}

.skeleton-text-sm {
    height: 15px;
    width: 60%;
    border-radius: 4px;
}

/* --- VISUAL POLISH (SCROLL & SELECTION) --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
    border: 2px solid #020617;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: #00C2A8;
}

::selection {
    background: rgba(0, 194, 168, 0.3);
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 194, 168, 0.5);
}
/* --- URGENT FIXES (START) --- */

/* 1. სურათების პროპორცია (News, Projects, Team) */
.project-img, 
.news-card img, 
.team-card img {
    width: 100% !important;
    height: 220px !important; /* ფიქსირებული სიმაღლე */
    object-fit: cover !important; /* სურათი არ გაიწელება, ჩაჯდება ჩარჩოში */
}

/* Team-ის სურათი მრგვალი უნდა იყოს */
.team-card img {
    width: 250px !important;
    height: 250px !important;
    border-radius: 50% !important;
    margin: 0 auto 15px auto !important; /* ცენტრირება */
}

/* 2. ბარათების თანაბარი სიმაღლე და ცენტრირება */
.services-grid,
.projects-grid,
.news-grid,
.team-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* "ობოლი" ბარათი ცენტრში */
    gap: 30px !important;
}

.service-card,
.project-card,
.news-card,
.team-card {
    height: auto !important; /* Flexbox მიხედავს სიმაღლეს */
    flex: 0 1 350px !important; /* ბარათის ოპტიმალური ზომა */
    width: 100%;
    min-width: 280px;
}

/* 3. მობილური მენიუს Z-Index (რომ არ დაიმალოს) */
.mobile-menu-overlay {
    z-index: 2147483647 !important; /* ბრაუზერის მაქსიმალური ლიმიტი */
    position: fixed !important;
    top: 0;
    left: 0;
}

/* 4. მობილური ფორმა (Select ისარი და ფონი) */
select.input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: #0f172a !important; /* მუქი ფონი */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1em !important;
    padding-right: 2.5rem !important;
}

/* --- URGENT FIXES (END) --- */
/* =========================================
   🚑 EMERGENCY FIX: NEWS & CARDS (FINAL)
   ========================================= */

/* 1. კონტეინერის გასწორება */
#news-container, 
.news-grid, 
.projects-grid, 
.team-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 40px !important;
    align-items: stretch !important; /* აუცილებელია ტოლი სიმაღლისთვის */
}

/* 2. Wrapper-ის გასწორება (ეს იყო მთავარი პრობლემა!) */
.news-card-wrapper {
    display: flex !important;
    flex: 0 1 350px !important; /* ბარათის სიგანე */
    min-width: 280px !important;
    margin: 0 !important; /* ზედმეტი დაშორებების მოშორება */
}

/* 3. თვითონ ბარათის გაწელვა */
.news-card, 
.project-card, 
.team-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important; /* ბოლომდე გაიშალოს wrapper-ში */
    background: rgba(15, 23, 42, 0.6) !important; /* ფონის გარანტია */
    border-radius: 24px !important;
    overflow: hidden !important;
}

/* 4. სურათების ფიქსაცია (რომ არ გაიწელოს) */
.news-card img, 
.project-img, 
.project-card img {
    width: 100% !important;
    height: 220px !important; /* ფიქსირებული სიმაღლე */
    object-fit: cover !important; /* არ დაამახინჯებს ფოტოს */
    flex-shrink: 0 !important; /* არ შეიკუმშება */
}

/* 5. ტექსტის ნაწილის გაწელვა (ღილაკი სულ ქვემოთ) */
.news-content, 
.project-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px !important;
}

.news-link, 
.read-more-btn {
    margin-top: auto !important; /* ღილაკი ჩავიდეს ძირში */
    display: inline-block !important;
}

/* 6. მობილური მენიუს ფენა (Z-Index) */
.mobile-menu-overlay {
    z-index: 9999999 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
/* =========================================
   🎯 FINAL FIX: PROJECTS ONLY
   ========================================= */

/* 1. პროექტების ბარათი (ლინკი) */
.project-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 1 350px !important;
    min-width: 280px !important;
    height: auto !important; /* Flexbox გაწელავს */
    background: rgba(15, 23, 42, 0.6) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

/* 2. სურათის კონტეინერი (ეს იყო პრობლემა!) */
.project-img-wrap {
    width: 100% !important;
    height: 220px !important; /* ფიქსირებული სიმაღლე */
    flex-shrink: 0 !important; /* არ შეიკუმშოს */
    overflow: hidden !important;
}

/* 3. თვითონ სურათი */
.project-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* პროპორცია */
}

/* 4. ტექსტის ნაწილი */
.project-content {
    flex-grow: 1 !important; /* გაიწელოს ბოლომდე */
    display: flex !important;
    flex-direction: column !important;
    padding: 24px !important;
    height: 100% !important;
}
/* --- EMERGENCY FIX: IMAGE ASPECT RATIO --- */

/* გუნდის სურათები */
.team-card img,
.team-member-img {
    width: 100%;
    height: 400px;
    /* ან რაც უწერია ახლა ფიქსირებული სიმაღლე */
    object-fit: cover !important;
    /* <-- ეს არის მთავარი გამოსწორება */
    object-position: center top;
    /* რომ სახეები არ მოიჭრას */
}

/* პროექტების და სიახლეების სურათები */
.project-card img,
.news-card img {
    width: 100%;
    height: 220px;
    /* შეცვალოს იმ სიმაღლით, რაც ახლა უწერია */
    object-fit: cover !important;
    /* <-- ეს აუცილებელია! */
}
/* --- 3. მობილური მენიუს იძულებითი გამოჩენა --- */
@media (max-width: 960px) {

    /* ჰედერის ეფექტის გათიშვა */
    header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #081326 !important;
        z-index: 1000 !important;
    }

    /* მენიუს ფენა */
    .mobile-menu-overlay {
        z-index: 2147483647 !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(11, 17, 32, 0.98) !important;
    }

    /* ლინკების გამოჩენა */
    .mobile-nav-links a {
        opacity: 1 !important;
        transform: none !important;
        color: #fff !important;
        display: block !important;
    }
}
/* --- PROJECT TAGS: CENTERED & ALIVE --- */
.project-services-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* ცენტრში */
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* თაგების ვიზუალი - ვაბრუნებთ ფერებს და ეფექტებს */
.project-services-row .hero-tag {
    font-size: 10px !important;
    cursor: pointer !important;
    padding: 5px 12px !important;
    
    /* ფერები როგორც ზედა თაგებზე */
    background: rgba(20, 66, 114, 0.8) !important; /* primary-dark */
    color: #00C2A8 !important; /* accent-cyan */
    border: 1px solid rgba(0, 194, 168, 0.3) !important;
    
    border-radius: 20px !important;
    cursor: pointer !important; /* ხელი გამოჩნდეს */
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    font-weight: bold;
}

/* Hover ეფექტი - რომ "მოძრავი" იყოს */
.project-services-row .hero-tag:hover {
    transform: translateY(-3px); /* ზემოთ აიწევს */
    box-shadow: 0 5px 15px rgba(0, 194, 168, 0.3); /* განათდება */
    background: #00C2A8 !important;
    color: #fff !important;
}
/* --- TOP TAGS SPACING --- */
.project-tags {
    margin-bottom: 15px !important; /* დაშორება სათაურამდე */
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* --- TOP TAGS ANIMATION --- */
.project-tags span {
    transition: all 0.3s ease !important;
    cursor: default; /* ან pointer, თუ დაკლიკვადი გინდა */
    display: inline-block; /* რომ ტრანსფორმაციამ იმუშაოს */
}

.project-tags span:hover {
    transform: translateY(-3px); /* ზემოთ აწევა */
    box-shadow: 0 5px 15px rgba(0, 194, 168, 0.4); /* განათება */
    background: #00C2A8 !important; /* ფერის გამკვეთრება */
    color: #fff !important;
}
/* --- PROMO VIDEO UNMUTE BUTTON --- */
#promoUnmuteBtn {
    position: absolute;
    top: 15px;
    right: 15px; /* დახურვის ღილაკის გვერდით */
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

#promoUnmuteBtn:hover {
    background: #00C2A8;
    border-color: #00C2A8;
    transform: scale(1.1);
}

/* ვიდეოს კონტეინერი რომ ღილაკი დაიტიოს */
#promoMedia {
    position: relative;
}
/* --- PROMO CLOSE BUTTON FIX --- */
#closePromoModal {
    z-index: 100 !important; /* ვიდეოზე მაღლა */
    background: rgba(0, 0, 0, 0.5); /* ფონი, რომ გამოჩნდეს */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: 10px;
}

#closePromoModal:hover {
    background: #ef4444; /* წითელი ჰოვერზე */
    color: white;
}
/* --- MODAL RICH CONTENT STYLING --- */
#modalDesc h4 {
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0, 194, 168, 0.2);
    padding-bottom: 5px;
    display: inline-block;
}

#modalDesc strong {
    color: #fff;
}
/* --- REMOVE DEFAULT BULLETS IN MODAL --- */
#modalDesc ul {
    list-style: none !important; /* აქრობს თეთრ წერტილებს */
    padding-left: 0 !important;
}

#modalDesc li {
    position: relative;
    padding-left: 20px; /* ადგილი ჩვენი მწვანე წერტილისთვის */
    margin-bottom: 8px;
}

/* ჩვენი მწვანე წერტილი (თუ უკვე არ გაქვს) */
#modalDesc li::before {
    content: "•";
    color: #00C2A8; /* HIT Teal */
    font-weight: bold;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -6px;
    line-height: 1;
}
.clickable-tag {
    cursor: pointer !important; /* აიძულებს "ხელის" გამოჩენას */
}
/* --- PARTNERS GRID RE-ENGINEERING (CENTRALIZED) --- */

.partners-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* ეს აცენტრებს ბოლო ხაზს */
    gap: 20px !important;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    /* დესკტოპზე 4 ცალი რომ დაეტიოს */
    flex: 0 1 calc(25% - 20px); 
    min-width: 200px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: 0.3s;
}

/* პლანშეტზე (3 ცალი ხაზზე) */
@media (max-width: 1024px) {
    .partner-card {
        flex: 0 1 calc(33.33% - 20px);
    }
}

/* მობილურზე (2 ცალი ხაზზე) */
@media (max-width: 768px) {
    .partner-card {
        flex: 0 1 calc(50% - 20px);
        min-width: 140px; /* რომ პატარა ტელეფონებზე არ გაიჭედოს */
        height: 70px; /* მობილურზე ოდნავ დავაპატარაოთ სიმაღლე */
    }
    
    .partner-card img {
        max-height: 35px; /* ლოგოც დავაპატარაოთ */
    }
}

/* ძალიან პატარა ტელეფონებისთვის */
@media (max-width: 400px) {
    .partner-card {
        flex: 0 1 100%; /* სათითაოდ დალაგდნენ */
    }
}
/* --- PARTNER TOOLTIPS --- */

.partner-card {
    position: relative; /* აუცილებელია მინიშნების პოზიციონირებისთვის */
}

/* მინიშნების სტილი */
.partner-card::after {
    content: attr(data-label); /* იღებს ტექსტს HTML-ის data-label-იდან */
    position: absolute;
    bottom: -10px; /* თავიდან ოდნავ დაბლაა */
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-cyan); /* HIT Teal ფერი */
    color: #020617; /* მუქი ტექსტი კონტრასტისთვის */
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 194, 168, 0.4);
    pointer-events: none; /* რომ მაუსს ხელი არ შეუშალოს */
    z-index: 100;
}

/* პატარა ისარი მინიშნების თავზე */
.partner-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--accent-cyan);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

/* გამოჩენის ეფექტი ჰოვერზე */
.partner-card:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -35px; /* ამოიწევა ზემოთ */
}

.partner-card:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: -5px;
}