
:root {
    
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-hover: #4f46e5;
    --border-color: rgba(255, 255, 255, 0.1);
    
    
    --nav-height: 70px;
    --container-max-width: 1200px;
    --border-radius: 12px;
    
    
    --transition-speed: 0.3s;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}


.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1100px;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}


.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 1rem;
}

.nav-logo img {
  height: 36px;             
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.nav-logo img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}


@media (max-width: 768px) {
  .nav-logo img {
    height: 28px;
  }
}


.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    width: 100%;
}

.nav-lang {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition-speed);
    font-family: 'Poppins', sans-serif;
}

.lang-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.lang-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-speed);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}


.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}


.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-skills h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--accent-primary);
}

.skill-item {
    margin-bottom: 25px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
}

.skill-bar {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    transition: width 1s ease-out;
    animation: progressAnimation 1.5s ease-out;
}

@keyframes progressAnimation {
    from { width: 0; }
}


.projects {
    padding: 100px 0;
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-primary);
}

.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-tags {
    display: flex;
    gap: 10px;
    padding: 20px 20px 0;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-title {
    padding: 15px 20px 10px;
    font-size: 1.4rem;
    font-weight: 600;
}

.project-description {
    padding: 0 20px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    margin: 0 20px 20px;
    color: var(--accent-primary);
    font-weight: 600;
    transition: color var(--transition-speed);
}

.project-link:hover {
    color: var(--accent-hover);
}


.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-social h3,
.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.social-link:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.8rem;
    color: var(--accent-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: block;
}

.form-message.loading {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--accent-primary);
    display: block;
}


.footer {
    padding: 40px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color var(--transition-speed);
}

.footer-social a:hover {
    color: var(--accent-primary);
}


@media (max-width: 768px) {
    
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
    }
    
    .nav-container {
        padding: 12px 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 400px;
        flex-direction: column;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: var(--border-radius);
        border: 1px solid var(--border-color);
        gap: 15px;
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-speed);
    }
    
    .nav-menu.active {
        opacity: 1;
        pointer-events: all;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-lang {
        gap: 5px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    
    .footer .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-logo a {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

}



.reviews {
    padding: 4rem 0;
    background: #050816;
    color: #f5f5f5;
}

.reviews .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.reviews-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviews-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.review-slide {
    min-width: 100%;
    opacity: 0;
    transform: translateX(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    display: none;
}

.review-slide--active {
    opacity: 1;
    transform: translateX(0);
    display: block;
}



.review-card {
    background: #0b1020;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-logo-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-meta {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 600;
    margin: 0;
}

.review-company {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}



.review-text-short {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;

    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.review-more-btn {
    align-self: flex-start;
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
    color: #60a5fa;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.review-more-btn::after {
    content: "↗";
    font-size: 0.8rem;
}



.reviews-arrow {
    border: none;
    outline: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.reviews-arrow:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.reviews-arrow:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
    box-shadow: none;
}



.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.6);
    border: none;
    padding: 0;
    cursor: pointer;
    transition:
        background 0.2s ease,
        width 0.2s ease,
        transform 0.2s ease;
}

.reviews-dot--active {
    width: 20px;
    background: #60a5fa;
    transform: translateY(-1px);
}



.review-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
}

.review-modal--open {
    display: flex;
}

.review-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.review-modal__content {
    position: relative;
    margin: auto;
    max-width: 640px;
    width: calc(100% - 2rem);
    max-height: 80vh;
    background: #020617;
    border-radius: 1.25rem;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: #e5e7eb;
    overflow: hidden;
}

.review-modal__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-modal__logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #020617;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-modal__meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.review-modal__name {
    font-weight: 600;
    margin: 0;
}

.review-modal__company {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.review-modal__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-y: auto;
    padding-right: 0.25rem;
}


.review-modal__text::-webkit-scrollbar {
    width: 6px;
}

.review-modal__text::-webkit-scrollbar-track {
    background: transparent;
}

.review-modal__text::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

.review-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.8rem;
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
    color: #9ca3af;
    font-size: 1.25rem;
    padding: 0.25rem;
    border-radius: 999px;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}

.review-modal__close:hover {
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    transform: rotate(3deg);
}



@media (max-width: 768px) {
    .reviews {
        padding: 3rem 0;
    }

    .reviews-slider-wrapper {
        gap: 0.5rem;
    }

    .reviews-arrow {
        width: 2rem;
        height: 2rem;
        font-size: 1.2rem;
    }

    .review-card {
        padding: 1.25rem 1.3rem;
    }

    .review-modal__content {
        padding: 1.5rem 1.5rem 1.25rem;
        max-height: 85vh;
    }
}

.colabs-card {
  margin: 0 auto;
  margin-top: 40px;
  background: var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 40px;
  display: flex;
  align-items: stretch;
  gap: 40px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  max-width: 1000px; 
}

.colabs-content {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.colabs-heading {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
}

.colabs-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.colabs-btn {
  margin-top: 10px;
  align-self: flex-start;
}

.colabs-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.colabs-image img {
  width: 100%;
  height: auto;       
  object-fit: contain; 
  display: block;
  transform: none;     
  transition: transform var(--transition-speed);
}

.colabs-card:hover .colabs-image img {
  transform: scale(1.02);
    
}



@media (max-width: 900px) {
  .colabs-card {
    flex-direction: column;
    padding: 28px 22px;
    gap: 24px;
  }

  .colabs-image {
    order: -1; 
    max-height: 260px;
  }

  .colabs-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-tertiary);
}


::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border-radius: 999px;
  border: 2px solid var(--bg-tertiary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--accent-hover),
    var(--accent-secondary)
  );
}






