/* ==========================================================================
   1. General Reset & Variables
   ========================================================================== */

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

:root{

    /* Background */

    --bg-color:hsl(270, 100%, 0%);

    /* Glass */

    --glass-bg:rgba(255, 255, 255, 0.027);
    --glass-border:rgba(10, 4, 0, 0.08);

    /* Text */

    --text-main:#F5F5F7;
    --text-muted:#9A9AA3;

    /* Accent */

    --accent:#4F8CFF;

    --transition:.35s ease;

}

html{
    scroll-behavior:smooth;
}

body {
    min-height: 100vh;
    background: var(--bg-color);
    color: var(--text-main);

    /* აქ შევცვალეთ ფონტი Noto Sans Georgian-ით */
    font-family: 'Noto Sans Georgian', 'Segoe UI', -apple-system, sans-serif;

    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html, body {
    overflow-x: hidden;
}

/* როცა ენა ქართულია, ტექსტის ზომას და შორის მანძილს ვაბალანსებთ */
html[lang="ka"] body {
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

html[lang="ka"] h1, 
html[lang="ka"] h2, 
html[lang="ka"] h3 {
    letter-spacing: normal;
}

main{

    max-width:1400px;

    margin:auto;

}


#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* უზრუნველყოფს, რომ ტილომ არ დაბლოკოს ღილაკებზე დაჭერა */
}

header, main {
    position: relative;
    z-index: 10; /* ეს უზრუნველყოფს, რომ მთელი კონტენტი ანიმაციის წინ იყოს მობილურშიც და კომპიუტერშიც */
}

/* ==========================================================================
   2. Navbar
   ========================================================================== */

.navbar{

    position:sticky;

    top:0;

    z-index:1000;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 50px;

    background:var(--glass-bg);

    backdrop-filter:blur(10px);

    -webkit-backdrop-filter:blur(10px);

    border-bottom:1px solid var(--glass-border);

    transition:
    background .35s ease,
    backdrop-filter .35s ease;

}

.logo{

    font-size:1.25rem;

    font-weight:700;

    letter-spacing:.5px;

}

.nav-links ul{

    display:flex;

    gap:30px;

    list-style:none;

}

.nav-links a{

    color:var(--text-main);

    text-decoration:none;

    transition:color var(--transition);

}

.nav-links a:hover{

    color:var(--accent);

}

/* ენის ღილაკის პოზიციონირება */
.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 20px; /* აშორებს მენიუს ლინკებს */
    align-self: center; /* სვამს ზუსტად შუაში სიმაღლეზე */
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--accent);
    color: white;
}


/* ==========================================================================
   3. About
   ========================================================================== */

.glass-card{

    display:flex;

    align-items:center;

    gap:35px;

    max-width:760px;

    margin:60px auto;

    padding:45px;

    background:var(--glass-bg);

    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);

    border:1px solid var(--glass-border);

    border-radius:24px;

    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        background-color .35s ease,
        border-color .35s ease;

    will-change:transform;

}

.glass-card:hover{

    transform:translateY(-4px) scale(1.01);

    background:rgba(255,255,255,.18);

    border-color:rgba(255,255,255,.20);

}

.profile-img{

    width:150px;

    height:150px;

    border-radius:18px;

    object-fit:cover;

    border:2px solid var(--glass-border);

    transition:
        transform .45s ease,
        border-color .35s ease;

}

.profile-img:hover{

    transform:scale(1.05);

    border-color:var(--accent);

}

.profile-text h1{

    margin-bottom:10px;

    font-size:2rem;

}

.profile-text p{

    color:var(--text-muted);

}

/* ==========================================================================
   4. Services
   ========================================================================== */

.services-container{

    display:flex;

    justify-content:center;

    gap:30px;

    flex-wrap:wrap;

    max-width:1100px;

    margin:auto;

    padding:60px 20px;

}

.service-box{

    flex:1 1 320px;

    max-width:420px;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    padding:45px;

    border-radius:24px;

    background:var(--glass-bg);

    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);

    border:1px solid var(--glass-border);

    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        background-color .35s ease,
        border-color .35s ease;

    will-change:transform;

    cursor:pointer;

}

.service-box:hover{

    transform:translateY(-4px) scale(1.01);

}

.icon{

    width:48px !important;

    height:48px !important;

    margin-bottom:20px;

    color:var(--accent);

}

.service-box h3{

    margin-bottom:12px;

}

.service-box p{

    color:var(--text-muted);

}



/* ==========================================================================
   5. Web Development - Hero
   ========================================================================== */

.hero{
    min-height:calc(100vh - 80px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:80px;
}

.hero-text{
    max-width:760px;
}

.badge{
    display:inline-block;
    margin-bottom:20px;
    padding:8px 18px;
    border-radius:999px;
    background:var(--glass-bg);
    border:1px solid var(--glass-border);
}

.hero h1{
    font-size:4rem;
    line-height:1.1;
    margin-bottom:25px;
}

.hero p{
    color:var(--text-muted);
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.primary-btn,


.secondary-btn{
    padding:15px 32px;
    border-radius:14px;
    text-decoration:none;
    transition:.35s;
}

.primary-btn{
    background:var(--accent);
    color:white;
}

.primary-btn:hover{
    transform:translateY(-4px);
}

.secondary-btn{
    border:1px solid var(--glass-border);
    color:white;
}

.secondary-btn:hover{
    background:var(--glass-bg);
}

.back-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:35px;
    color:white;
    text-decoration:none;
}

.service-link{
    display:block;
    color:inherit;
    text-decoration:none;
}




/* ==========================================================================
   6. web development - Pricing Section
   ========================================================================== */

.pricing-section{

    padding:100px 50px;

}

.section-title{

    text-align:center;

    max-width:700px;

    margin:0 auto 60px;

}

.section-title span{

    color:var(--accent);

    font-weight:600;

}

.section-title h2{

    margin:15px 0;

    font-size:2.8rem;

}

.section-title p{

    color:var(--muted);

}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* minmax არ მისცემს ტექსტს ბარათის გაწელვის უფლებას */
    gap: 20px;
    width: 100%;
}

.pricing-card{

    position:relative;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    padding:35px;

    border-radius:24px;

    background:var(--glass-bg);

    border:1px solid var(--glass-border);

    backdrop-filter:blur(18px);

    transition:.35s;

}

.pricing-card:hover{

    transform:translateY(-8px);

    border-color:var(--accent);

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

.pricing-card.featured {
    border: 2px solid var(--accent); /* 2px სისქე უფრო კარგად გამოაჩენს ჩარჩოს */
}

.popular-badge {
    position: absolute;
    top: -15px; /* -15px აიტანს წარწერას ზუსტად ჩარჩოს ხაზზე */
    right: 40px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-size: .8rem;
    z-index: 10; /* უზრუნველყოფს, რომ წარწერა სხვა ელემენტების უკან არ დაიმალოს */
}

.card-header{

    margin-bottom:25px;

}

.card-header h3{

    font-size:1.7rem;

    margin-bottom:8px;

}

.card-header p{

    color:var(--muted);

}

.card-section{

    margin-bottom:25px;

}

.card-section h4{

    margin-bottom:12px;

}

.card-section ul{

    list-style:none;

}

.card-section li{

    margin-bottom:10px;

    color:var(--muted);

}

.card-section li::before{

    content:"✓";

    color:var(--accent);

    margin-right:10px;

}

.price{

    margin-top:auto;

}

.price span{

    display:block;

    color:var(--muted);

    margin-bottom:5px;

}

.price strong {
    font-size: 1.25rem; /* 2rem-ის ნაცვლად, რომ გრძელი სიტყვა არ გაიჭედოს */
    line-height: 1.3;
    display: block;
    word-break: break-word; /* აზღვევს ტექსტს ბარათიდან გაქცევისგან */
}

.details-btn{

    margin-top:25px;

    width:100%;

    padding:15px;

    border:none;

    border-radius:14px;

    background:var(--accent);

    color:white;

    cursor:pointer;

    transition:.3s;

}

.details-btn:hover{

    transform:translateY(-4px);

}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* ბარათმა სიმაღლე თანაბრად რომ შეავსოს დიდ ეკრანზე */
}

.toggle-icon {
    display: none; /* კომპიუტერში ჩამოსაშლელი ისარი არ გვჭირდება და ვმალავთ */
}





/* ==========================================================================
    7. Consultation Page Styles
   ========================================================================== */

.consult-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 120px 20px 40px; /* ზედა დაშორება მენიუს გამო */
}

.consult-box {
    flex-direction: column;
    max-width: 800px;
    width: 100%;
    padding: 40px;
    text-align: left;
}

.consult-back {
    margin-bottom: 30px;
    align-self: flex-start;
}

.consult-header {
    margin-bottom: 40px;
}

.consult-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.consult-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid var(--glass-border);
}

.faq-title {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.faq-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.faq-item h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-action {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.contact-action h3 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-method:hover {
    color: var(--accent);
}

/* მობილურისთვის (ჩააგდე @media (max-width: 768px)-ის შიგნით სადმე) */
@media (max-width: 768px) {
    .consult-box {
        padding: 30px 20px;
    }
    .consult-header h2 {
        font-size: 2rem;
    }
}


/* ==========================================================================
    8. Modal / Pop-up Styles
   ========================================================================== */

/* Modal Overlay - ფარავს მთელ ეკრანს */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* დამალვის კლასი */
.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* მთავარი კონტეინერი (Pop-up ფანჯარა) */
/* მთავარი კონტეინერი */
.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 90%;
    max-width: 1000px; /* გაიზარდა სიგანე 700px-დან 1000px-მდე */
    max-height: 90vh;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
    transition: transform 0.3s ease;
    
    /* ვმალავთ სქროლბარს ვიზუალურად, მაგრამ სქროლვა იმუშავებს თუ მაინც დაგჭირდა */
    scrollbar-width: none; /* Firefox */
}

.modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* შიდა განლაგება */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr; /* მობილურზე ერთ სვეტად */
    gap: 25px;
    margin-top: 20px;
    text-align: left;
}

/* დახურვის (X) ღილაკი */
.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    color: var(--text-main);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s, transform 0.2s;
}

.close-modal-btn:hover {
    background-color: var(--accent);
    transform: scale(1.1);
}

/* Modal-ის შიდა დიზაინი (JS-ით ჩასმული კოდისთვის) */
.modal-body h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-body h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--accent);
}

.modal-body ul {
    list-style-type: none;
    margin-bottom: 25px;
}

.modal-body ul li {
    margin-bottom: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.modal-body ul li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 10px;
    font-weight: bold;
}

.modal-section h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

/* ფუნქციების ბარათები */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.2s ease, background 0.2s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.feature-icon {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 2px;
}

.feature-text strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.feature-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ნაბიჯ-ნაბიჯ პროცესი */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-num {
    background: var(--accent);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.step p strong {
    color: var(--text-main);
}

/* Modal Free Consultation CTA Box */
.modal-cta-box {
    margin-top: 35px;
    padding: 25px;
    background: rgba(79, 140, 255, 0.08); /* ლურჯი ფერის მსუბუქი ფონი */
    border: 1px solid rgba(79, 140, 255, 0.3); /* აქცენტის ფერის ჩარჩო */
    border-radius: 16px;
    text-align: center;
}

.modal-cta-box h4 {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.modal-cta-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.modal-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.modal-cta-btn:hover {
    transform: translateY(-3px);
    background: #3a75e6;
}


/* ==========================================================================
   9. Contact Page Styles (cont.html)
   ========================================================================== */

.contact-page-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 50px 20px;
}

.contact-container {
    max-width: 1100px;
    width: 100%;
}

.contact-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* ფორმის მხარე ოდნავ უფრო ფართოა */
    gap: 40px;
    margin-top: 20px;
}

.glass-card-style {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 45px;
}

/* --- Left Side: Info --- */
.contact-info-side h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-info-side h2 span {
    color: var(--text-muted);
    font-size: 2rem;
}

.contact-info-side p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.direct-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 45px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: var(--transition);
}

.info-row:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    transition: var(--transition);
}

.info-row:hover .info-icon {
    background: var(--accent);
    color: white;
}

/* --- Social Circles --- */
.social-title {
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px !important;
}

.circle-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.circle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.circle-btn:hover {
    transform: translateY(-5px);
    color: white;
}

.circle-btn.viber:hover { background: #7360f2; border-color: #7360f2; }
.circle-btn.linkedin:hover { background: #0077b5; border-color: #0077b5; }
.circle-btn.instagram:hover { background: #e1306c; border-color: #e1306c; }
.circle-btn.behance:hover { background: #1769ff; border-color: #1769ff; }
.circle-btn.fiverr:hover { background: #00b22d; border-color: #00b22d; }

/* --- Right Side: Form --- */
.contact-form-side h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 5px;
}

.input-group input,
.input-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(79, 140, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #3a75e6;
    transform: translateY(-3px);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .contact-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-side h2 {
        font-size: 2.2rem;
    }
    
    .contact-info-side h2 span {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .glass-card-style {
        padding: 30px 20px;
    }
}


/* ==========================================================================
   10. Testimonials Slider (მარცხნივ მოძრავი კარუსელი)
   ========================================================================== */

.testimonials-container {
    margin-top: 5rem;
    padding-bottom: 3rem;
    text-align: center;
    width: 100%;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-main);
    letter-spacing: 1px;
}

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.slider-track {
    display: flex;
    gap: 2rem;
    /* 14 ბარათი (7 ორიგინალი + 7 დუბლიკატი) */
    /* 1 ბარათი = 400px, დამატებული gap (32px) = 432px */
    width: calc(432px * 14); 
    /* დრო გავზარდეთ 40 წამამდე, რადგან მეტი ბარათია და სწრაფად არ ჩაიქროლოს */
    animation: scrollSlider 40s linear infinite; 
}


.slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

/* ეს კლასი ორჯერ გეწერა და ერთი წავშალოთ, დავტოვოთ მხოლოდ ეს განახლებული ვერსია */
.slider-track {
    display: flex;
    gap: 16px; 
    width: max-content; 
    animation: scrollSlider 40s linear infinite; 
}

.slider:hover .slider-track {
    animation-play-state: paused;
}

/* ბარათის ვიზუალი */
/* ბარათის ვიზუალი */
.testimonial-card {
    width: 400px;
    flex-shrink: 0; /* არ აძლევს ბარათს შეკუმშვის საშუალებას */
    box-sizing: border-box; /* პადინგი არ ზრდის ბარათის საერთო სიგანეს */
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 140, 255, 0.1);
}

/* ვარსკვლავები და ბრჭყალები */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

/* ვარსკვლავების კონტეინერი */
.stars {
    display: flex;
    gap: 4px;
}

/* ვარსკვლავების სრულად გაფერადება (უკვე svg ტეგზე ვმოქმედებთ) */
.stars svg {
    width: 18px;
    height: 18px;
    color: #FFD700; /* ვარსკვლავის კონტურის (border) ფერი */
    fill: #FFD700;  /* ვარსკვლავის შიგთავსის ფერი */
}

/* ცარიელი ვარსკვლავი 4-ვარსკვლავიანი შეფასებისთვის */
.stars svg.empty-star {
    fill: transparent; /* შიგთავსი ქრება და რჩება მხოლოდ ოქროსფერი კონტური */
}

.quote-icon {
    color: var(--glass-border);
    width: 32px;
    height: 32px;
    opacity: 0.3;
}

/* მთავარი ტექსტი */
.testimonial-card p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* კლიენტის ინფორმაცია და ავატარი */
.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.client-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #8a2be2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.client-details h4 {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.client-details span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ანიმაციის მანძილიც უნდა განახლდეს ახალი სიგანის მიხედვით */
@keyframes scrollSlider {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        /* გადაადგილდება ზუსტად -2912px-ით და მერე შეუმჩნევლად იწყება თავიდან */
        transform: translateX(-1624px); 
    }
}

/* ==========================================================================
   12. Footer Styles
   ========================================================================== */

.glass-footer {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .glass-footer {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
        text-align: center;
        border-radius: 16px;
    }

    .footer-nav {
        gap: 15px;
    }
}

/* ==========================================================================
   Under Construction Service Card Styles
   ========================================================================== */

.service-box.under-construction {
    position: relative;
    opacity: 0.75;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-box.under-construction:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.construction-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 0, 0, 0);
    border: 1px solid rgba(255, 0, 0, 0.952);
    color: #ff0000;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==========================================================================
  13. transitions and animations
   ========================================================================== */

   .lang-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--accent);
    color: white;
}



/* ==========================================================================
   Responsive
   ========================================================================== */


@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }

    .pricing-card {
        padding: 30px 25px;
    }
}


@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile Fixes */
    .navbar {
        padding: 12px 15px; 
    }

    .logo {
        font-size: 1rem; 
        flex-shrink: 0;
    }

    .nav-links ul {
        display: flex;
        flex-direction: row; 
        gap: 8px; 
        align-items: center;
    }

    .nav-links a {
        font-size: 0.75rem; 
        white-space: nowrap; /* კრძალავს ტექსტის 2 ხაზად გადატეხას */
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    /* About / Profile Section Fixes */
    .glass-card {
        flex-direction: column;
        text-align: center;
        width: 92%;
        padding: 35px 20px;
    }

    .profile-img {
        width: 120px;
        height: 120px;
        aspect-ratio: 1 / 1; /* ინარჩუნებს სწორ კვადრატულ ფორმას */
        object-fit: cover;
    }

    /* Services */
    .services-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 40px 15px;
    }
    
    .service-link {
        width: 100%;
        display: flex;
    }

    .service-box {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 210px;
        padding: 25px 20px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
    }

    .service-box h3 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .service-box p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }

    .service-box .icon {
        width: 38px !important;
        height: 38px !important;
        margin-bottom: 12px !important;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

    /* Pricing */
    .pricing-section {
        padding: 70px 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pricing-card {
        width: 100%;
        padding: 25px;
        border-radius: 20px;
    }

    /* Pricing Accordion */
    .card-header.toggle-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        cursor: pointer;
    }

    .toggle-icon {
        display: block;
        color: var(--accent);
        transition: transform 0.3s ease;
    }

    .card-body {
        display: none;
        margin-top: 20px;
    }

    .pricing-card.active .card-body {
        display: flex;
    }

    .pricing-card.active .toggle-icon {
        transform: rotate(180deg);
    }

    .pricing-card.active .card-header.toggle-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--glass-border);
    }

    .card-header h3 {
        font-size: 1.5rem;
    }

    .card-header p {
        font-size: .95rem;
    }

    .card-section {
        margin-bottom: 20px;
    }

    .card-section h4 {
        font-size: 1rem;
    }

    .card-section li {
        font-size: .95rem;
        line-height: 1.6;
    }

    .price {
        margin-top: 20px;
    }

    .price strong {
        font-size: 1.8rem;
    }

    .details-btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }

    /* Modal Mobile Optimization */
    .modal-content {
        position: relative !important;
        width: 95% !important;
        max-height: 85vh !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: rgba(12, 16, 26, 0.95) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .modal-content h2, 
    .modal-body {
        padding: 20px !important;
    }

    .modal-body {
        overflow-y: auto !important;
        flex: 1 !important;
    }

    .close-modal-btn {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 99999 !important;
        background: rgba(0, 0, 0, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        width: 36px !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fff !important;
    }

    .modal-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .modal-section {
        padding: 12px !important;
    }

    .feature-item,
    .step {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }

    .modal-cta-btn, 
    .modal-content .primary-btn {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Testimonials Slider მობილურისთვის */
    .testimonials-container {
        overflow: hidden;
    }

    .testimonial-card {
        width: 280px !important;
        padding: 1.2rem !important;
    }

    .testimonial-card p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }

    .testimonials-container .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        max-width: 100% !important;
        padding: 0 20px !important;
        margin: 0 auto 40px auto !important;
    }

    .section-title h2 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .section-title p {
        font-size: 0.95rem !important;
        padding: 0 10px;
    }
}

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

    .logo {
        font-size: 0.85rem;
    }

    .nav-links ul {
        gap: 5px;
    }

    .nav-links a {
        font-size: 0.68rem;
    }

    .lang-btn {
        padding: 3px 6px;
        font-size: 0.65rem;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .pricing-card {
        padding: 20px;
    }

    .popular-badge {
        top: 15px;
        right: 15px;
        padding: 5px 10px;
        font-size: .7rem;
    }

    .card-header h3 {
        font-size: 1.3rem;
    }

    .price strong {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   Desktop Optimizations (Min-width)
   ========================================================================== */

@media (min-width: 800px) {
    .modal-grid {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }
    
    .modal-cta-box {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .modal-content {
        max-width: 1250px;
        padding: 30px 40px;
    }

    .modal-grid {
        grid-template-columns: 1.1fr 1fr;
        column-gap: 50px;
        row-gap: 15px;
        margin-top: 10px;
    }

    .modal-section h3 {
        margin-bottom: 12px;
        font-size: 1.2rem;
        padding-bottom: 5px;
    }

    .feature-list,
    .process-steps {
        gap: 8px;
    }

    .feature-item,
    .step {
        padding: 10px 15px;
    }

    .feature-icon {
        font-size: 1.1rem;
    }

    .feature-text strong {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .feature-text p,
    .step p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .step-num {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }

    .modal-cta-box {
        grid-column: 1 / -1;
        margin-top: 10px;
        padding: 15px 20px;
    }

    .modal-cta-box h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .modal-cta-box p {
        margin-bottom: 12px;
        font-size: 0.85rem;
    }

    .modal-cta-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}