html, body {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --primary: #1D4E63;
    --accent: #bfa36f;
    --text-main: #1D4E63;
    --text-light: #6b7280;
    --text-white: #fff;
    --bg-soft: #f4f6f8;
    --white: #ffffff;
    --transition: all 0.65s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.7;
}

.navbar {
    position: fixed;
    width: 100%;
    height: 96px;
    padding: 0 6%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(29, 78, 99, 0.95);
    align-items: center;
}


.navbar.scrolled {
    background: rgba(12, 43, 58, 0.98);

    backdrop-filter: blur(12px);
    height: 84px;
}

.nav-container {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.logo img {
    height: 70%;
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 42px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.navbar.scrolled .nav-links a {
    color: var(--white);
}

.nav-links a {
    position: relative;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-links a.active {
    color: var(--accent) !important;
    opacity: 1;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: var(--accent);
}

.nav-cta {
    padding: 10px 22px;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    font-size: 0.7rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--primary) !important;
}

.hero {
    height: 100vh;
    background: url(src/img/bg_section_2.png) center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 29, 42, .75), rgba(11, 29, 42, .4));

}

.hero-content {
    position: relative;
    max-width: 760px;
    padding: 0 20px;
    color: #07131d;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 7vw, 5.2rem);
    line-height: 1.05;
    color: #07131d;
}

.hero p {
    margin-top: 20px;
    font-size: 1rem;
    opacity: .85;
    color: #07131d;
}

.hero-actions {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary,
.btn-outline {
    padding: 16px 38px;
    font-weight: 500;
    border-radius: 2px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-outline {
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-contact-section {
    border: 1px solid var(--accent);
    color: var(--accent);

}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.mission-section {
    padding: 160px 10%;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.tag {
    color: var(--accent);
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 600;
}

.innerText {
    color: var(--text-light);
}
.borderlineBox {
    padding: 10px 22px;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    font-size: 0.7rem;
    letter-spacing: 1px;
    transition: var(--transition);
    text-decoration-color: #9f8656;
}
.mission-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    margin: 20px 0;
}

.mission-text p {
    max-width: 520px;
    color: var(--text-light);
}

.mission-image img {
    width: 100%;
    border-radius: 10px;
}

.impact-section {
    padding: 140px 10%;
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.impact-list {
    max-width: 900px;
    margin: auto;
}

.impact-item {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.impact-item span {
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--accent);
    opacity: .25;
}

.impact-item h3 {
    margin-top: -10px;
    font-family: 'Inter', sans-serif;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.contact-section {
    padding: 160px 10%;
    background: var(--primary);
    color: var(--white);
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    margin: 20px 0;
}

.contact-text p {
    opacity: 0.8;
    max-width: 420px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 0;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form button {
    margin-top: 20px;
    align-self: flex-start;
    padding: 14px 36px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    opacity: 0.85;
}

section {
    scroll-margin-top: 120px;
    position: relative;
}

.section-enter {
    opacity: 0;
    transform: translateY(60px);
}

.section-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero {
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: inherit;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transform: translateY(var(--parallax-bg, 0));
    transition: transform 0.05s linear;
    z-index: 0;
}

.hero-overlay,
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    will-change: transform, opacity;
}

.hero::before {
    transform: translateY(var(--parallax-bg, 0));
    transition: transform 0.05s linear;
}

.scene-dark {
    background: linear-gradient(to bottom,
            #1D4E63,
            #07131d
        );
    color: var(--white);
}

.scene-soft {
    background: linear-gradient(to top,
            #ffffff,
            #ffffff);
}

.scene-dark,
.scene-soft {
    padding: 160px 10%;
}

.scene-dark p,
.scene-dark h2,
.scene-dark h3 {
    color: var(--white);
}

.solutions-section {
    padding: 180px 10%;
}

.solutions-header {
    max-width: 600px;
    margin-bottom: 120px;
}

.solutions-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    margin: 20px 0;
}

.solutions-header p {
    color: var(--text-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
    margin-top: 100px;
}

.solution-img {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 100%;
    transition: transform 0.6s ease;
}

.solution-img {
    position: relative;
    overflow: hidden;
}
.solution-img {
    position: relative;
    overflow: hidden;
}

.solution-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(11, 29, 42, 0.45) 0%,
            rgba(11, 29, 42, 0.25) 25%,
            rgba(11, 29, 42, 0.05) 45%,
            transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.solution-overlay {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 20px;
    z-index: 2;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}


.solution-overlay h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.solution-overlay p {
    font-size: 0.7rem;
    opacity: 0.85;
}

.solution-img:hover::before {
    opacity: 1;
}

.solution-img:hover .solution-overlay {
    opacity: 1;
}


.solution-overlay h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.solution-overlay p {
    font-size: 0.8rem;
    opacity: 0.85;
}

.solution-img:hover::after {
    opacity: 1;
}

.solution-img:hover .solution-overlay {
    opacity: 1;
    transform: translateY(0);
}

.solution-img:hover img {
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 24px;
    }

    .solution-img {
        grid-column: auto !important;
        grid-row: auto !important;
        aspect-ratio: 4 / 3;
    }

    .solution-img img {
        object-fit: cover;
    }
}


@media (max-width: 640px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-img {
        aspect-ratio: 3 / 2;
    }
}

.solution-img:nth-child(1) {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
}

.solution-img:nth-child(2) {
    grid-column: 7 / 13;
    grid-row: 1 / 3;
}

.solution-img:nth-child(3) {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
}

.solution-img:nth-child(4) {
    grid-column: 5 / 9;
    grid-row: 3 / 4;
}

.solution-img:nth-child(5) {
    grid-column: 9 / 13;
    grid-row: 3 / 4;
}


/* ABOUT CARDS — Corporate layout */
.about-cards {

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;

  width: 100%;
  max-width: 1100px;
  margin: 48px 0 0;  
  padding: 0;
}

/* Card base */
.about-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 18px 18px;
  border-radius: 16px;
  text-decoration: none;

  /* corporate glass */
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);

  min-width: 0;

  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  will-change: transform;
}
/* Icon (left) */
.about-card .card-no {
  position: static;       
  flex: 0 0 auto;

  width: 42px;
  height: 42px;
  border-radius: 12px;

  display: grid;
  place-items: center;

  background: rgba(191, 163, 111, 0.16);
  border: 1px solid rgba(191, 163, 111, 0.35);

  font-size: 18px;
  line-height: 1;
  opacity: 1;
}

.about-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #9f8656;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}
.about-card:hover::after {
  transform: translateX(4px);
  color: rgba(255, 255, 255, 0.9);
}
.card-no {
    position: absolute;
    top: 2px;
    left: 10px;
    font-size: 1.75rem;
    color: var(--accent);
    opacity: 0.6;
}

/* Title */
.about-card h4 {
  flex: 1 1 auto;
  min-width: 0;

  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #ffffff;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.about-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(191, 163, 111, 0.35), 0 16px 34px rgba(0, 0, 0, 0.24);
  border-color: rgba(191, 163, 111, 0.6);
}

.about-cards.reveal {
  transform: none;
}

.about-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.4px;
}


@media (max-width: 1024px) {
  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }
}
/* 640 altı: 1 kolon */
@media (max-width: 640px) {
  .about-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}
@media (max-width: 640px) {

  .about-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .about-card h4 {
    white-space: normal;      
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
  }

  .about-card::after {
    display: none;           
  }
}
@media (max-width: 900px) and (min-width: 641px) {
  .about-card h4 {
    font-size: 0.95rem;      
    letter-spacing: 0.1px;
    white-space: nowrap;
    overflow: visible;        
    text-overflow: unset;
  }
}
.about-split {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 80px;
}

.about-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    margin: 12px 0 14px;
}

.about-col p {
    color: var(--text-light);
    max-width: 420px;
    line-height: 1.7;
}

.about-divider {
    width: 1px;
    height: 160px;
    background: rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: left;
    }

    .about-divider {
        width: 100%;
        height: 1px;
        background: rgba(0, 0, 0, 0.12);
    }

    .about-col p {
        max-width: 100%;
    }
}
.contact-section {
    background: var(--primary);
    color: var(--white);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-text h2 {
    font-size: 3rem;
    margin: 20px 0;
}

.contact-text p {
    opacity: 0.8;
    max-width: 420px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 0;
    color: var(--white);
}

.contact-form button {
    margin-top: 20px;
    align-self: flex-start;
    padding: 14px 36px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    cursor: pointer;
}
.contact-divider {
    max-width: 1100px;
    height: 1px;
    margin: 120px auto;
    background: rgba(255, 255, 255, 0.15);
}
.contact-map-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: center;
}

.map-embed {
    position: relative;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: none;
}

.map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(11, 29, 42, 0.75);
    border: 1px solid rgba(191, 163, 111, 0.35);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    z-index: 5;
    pointer-events: none;
}

.map-pin {
    top: 52%;
}

@media (max-width: 900px) {

    .contact-container,
    .contact-map-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-divider {
        margin: 80px auto;
    }

    .map-embed {
        height: 320px;
    }
}

.solution-cards {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    position: relative;
    min-height: 120px;
    padding: 36px 28px;
    background: linear-gradient(to bottom, #2c4f63, #1a3546);
    border-radius: 18px;
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform .35s ease, box-shadow .35s ease;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
    overflow: hidden;
}


.solution-card h4 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .35);
}

.solution-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width .35s ease;
}

.solution-card:hover::after {
    width: 42%;
}

@media (max-width: 1024px) {
    .solution-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .solution-cards {
        grid-template-columns: 1fr;
    }
}

.solutions-hero {
    padding: 160px 10% 140px;
    text-align: center;
}

.solutions-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.solutions-hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    margin: 24px 0;
}

.solutions-hero p {
    opacity: .85;
    line-height: 1.8;
}

.solutions-detail {
    padding: 160px 10%;
}

.solutions-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
}

.solutions-menu ul {
    list-style: none;
}

.solutions-menu li {
    padding: 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 8px;
    background: rgba(29, 78, 99, 0.06);
    transition: background .3s ease;
}

.solutions-menu li:hover {
    background: rgba(29, 78, 99, 0.12);
}

.solutions-menu li.active {
    background: var(--primary);
    color: var(--white);
}

.solutions-content h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.solution-features {
    margin-top: 30px;
    list-style: none;
}

.solution-features li {
    margin-bottom: 12px;
    color: var(--text-light);
}

@media (max-width: 900px) {
    .solutions-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.solution-media {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .12);
}

.solution-media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.solution-table {
    margin-top: 40px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
}

.solution-table table {
    width: 100%;
    border-collapse: collapse;
}

.solution-table th,
.solution-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.85rem;
}

.solution-table th {
    background: rgba(29, 78, 99, .08);
    width: 30%;
    font-weight: 500;
}

.solution-table tr:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.scroll-down-btn {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    cursor: pointer;
    text-align: center;
    z-index: 10;
    user-select: none;
}

.scroll-down-btn .scroll-text {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    font-weight: 400;
}

.scroll-down-btn .scroll-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scroll-down-btn .chevron {
    display: block;
}

.scroll-down-btn .chevron path {
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 28;
    stroke-dashoffset: 28;

    animation: chevronDraw 1.6s ease-in-out infinite;
}
.scroll-down-btn:hover .scroll-text {
    color: #ffffff;
}

.scroll-down-btn:hover .chevron path {
    stroke: #ffffff;
}

@keyframes chevronDraw {
    0% {
        opacity: 0;
        transform: translateY(-6px);
        stroke-dashoffset: 28;
    }

    30% {
        opacity: 1;
    }

    55% {
        stroke-dashoffset: 0;
    }

    80% {
        opacity: 0;
        transform: translateY(10px);
        stroke-dashoffset: 0;
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
        stroke-dashoffset: 28;
    }
}


.anchor {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 38px;
    color: #ffffff;
    line-height: 1;
    z-index: 2;
    animation: anchorFloat 1.0s ease-in-out infinite;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4),
        0 3px 6px rgba(0, 0, 0, 0.6);
}

@keyframes anchorFloat {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 4px);
    }

    100% {
        transform: translate(-50%, 0);
    }
}

@keyframes flow {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

.scroll-down-btn:hover::before {
    background: #1D4E63;
    box-shadow: 0 0 12px rgba(191, 163, 111, 0.45);
}

.scroll-down-btn:hover::before {
    background: linear-gradient(180deg,
            #e2cc9c 0%,
            #c6ab74 55%,
            #9f8656 100%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -2px 0 rgba(0, 0, 0, 0.35),
        0 14px 28px rgba(0, 0, 0, 0.45);
}

.homehero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url("src/img/bg_section_2.png") center/cover no-repeat;
    overflow: hidden;
    
}

.homehero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 18, 28, 0.85) 0%,
            rgba(5, 18, 28, 0.65) 45%,
            rgba(5, 18, 28, 0.85) 100%);
    z-index: 1;
}

.homehero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 40px;
}

.homehero-content h2 {
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 12px;
}

.homehero-content h2 i {
    font-style: normal;
    color: var(--accent);
}

.homehero-content p {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 560px;
}

.homehero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-home {
    background: var(--accent);
    color: #ffffff;
    padding: 14px 34px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-home:hover {
    background: #d6bf8a;
    transform: translateY(-2px);
}

.btn-outline-home {
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-home:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}
.btn-outline-footer {
    border: 1.5px solid var(--text-white);
    color: #bfa36f;
    padding: 14px 32px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-footer:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
}
.homereveal {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp 0.9s ease forwards;
}

.reveal:nth-child(1) {
    animation-delay: 0.1s;
}

.reveal:nth-child(2) {
    animation-delay: 0.25s;
}

.reveal:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.35s ease;
}

@media (max-width: 1024px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 96px;
        left: 0;
        width: 100%;
        height: calc(100vh - 96px);
        background: rgba(12, 43, 58, 0.98);
        backdrop-filter: blur(14px);

        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;

        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.45s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 19, 29, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 999;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #fff;
    width: min(1100px, 92vw);
    max-height: 92vh;
    border-radius: 16px;
    padding: 32px;
    overflow-y: auto; 
    position: relative;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.team-card {
     background: #ffffff;
    border-radius: 12px;
    padding: clamp(12px, 3vw, 16px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
    text-align: center;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}
.team-card img {
    width: clamp(80px, 40%, 120px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin-bottom: 6px;
    filter: grayscale(100%);
    object-fit: cover;
}
.team-card h4 {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 2px;
}

.team-card .role {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    color: #777;
    margin-bottom: 10px;
}

.contact-list li {
    font-size: clamp(0.7rem, 2.3vw, 0.8rem);
}


.contact-list li {
    font-size: .8rem;
    margin-bottom: 6px;
}
@media (max-width: 768px) {
    .modal-container {
        padding: 20px;
        border-radius: 12px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 420px) {
    .team-card {
        padding: 12px;
    }

    .contact-list li {
        line-height: 1.4;
    }
}

.modal-mission {
    max-width: 720px;
    text-align: left;
}

.mission-content {
    padding: 20px 10px 10px;
}

.mission-icon {
    display: inline-block;
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 12px;
}

.mission-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.mission-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    max-width: 560px;
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
}

.site-footer h4,
.site-footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-brand p {
    max-width: 380px;
    line-height: 1.6;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer a:hover {
    color: #ffffff;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    padding: 14px 20px;
    font-size: 0.75rem;
    color: #94a3b8;
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}
#scrollTopBtn {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 48px;
  height: 48px;

  background: rgba(29, 78, 99, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(191, 163, 111, 0.35);
  border-radius: 14px;

  display: grid;
  place-items: center;
  cursor: pointer;

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;

  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    background 0.3s ease;

  z-index: 1200;
}
#scrollTopBtn svg path {
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scrollTopBtn:hover {
  background: var(--accent);
}

@media (max-width: 768px) {
  #scrollTopBtn {
    right: 20px;
    bottom: 20px;
  }
}
#scrollTopBtn svg {
  width: 20px;
  height: 20px;
}

#scrollTopBtn svg path,
#scrollTopBtn svg line,
#scrollTopBtn svg circle {
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
#scrollTopBtn:hover svg {
  animation: anchorFloat 1.4s ease-in-out infinite;
}

@keyframes anchorFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
.solution-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
}

.solution-text {
  margin-top: 8px;
  font-size: 16px;
  color: var(--text-main);
}

.solution-image img {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

.engineering-accordion {
  border-top: 1px solid #e3e7ec;
}

.accordion-item {
  border-bottom: 1px solid #e3e7ec;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-header i {
  width: 10px;
  height: 10px;
  border-right: 2px solid #1f2f3d;
  border-bottom: 2px solid #1f2f3d;
  transform: rotate(45deg);
  transition: 0.3s;
}

.accordion-item.active .accordion-header i {
  transform: rotate(-135deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body p {
  padding-bottom: 18px;
  line-height: 1.7;
  font-size: 15px;
  color: #4a5a68;
}
.lang-switcher {
  margin-left: 28px;
  display: flex;
  align-items: center;
}

#langBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(191,163,111,0.45);
  color: var(--text-white);
  font-size: 0.7rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .3s ease;
}

#langBtn:hover {
  background: rgba(191,163,111,0.2);
}
/* ------------------------- References ---------------------------- */
#references{
    padding: 160px 10%;
}

/* Section arkaplan */
.scene-softreference{
    background:
        radial-gradient(
            1200px 320px at 50% 0%,
            rgba(29, 78, 99, 0.14),
            transparent 55%
        ),
        linear-gradient(
            180deg,
            var(--bg-soft) 0%,
            #eef2f5 100%
        );
}

/* Slider konteyner */
.references-slider{
    width: min(1200px, 92%);
    margin: 0 auto;
    overflow: hidden;
}

/* Hizalama */
.references-slider .swiper-wrapper{
    align-items: center;
}

/* Slide */
.references-slider .swiper-slide{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
     min-width: 0;
}

/* Logo kartı */
.references-slider .swiper-slide img{
    height: 100px;
    width: 200px;
    max-width: 200px;

    background: #cbd5e1;
    border: 1px solid rgba(30, 30, 31, 0.2);
    border-radius: 16px;
    padding: 11px 13px;

    opacity: 0.95;
    filter: grayscale(50%);
    box-shadow: 0 12px 26px rgba(0,0,0,0.1);

    transition: all .25s ease;
}

.references-slider .swiper-slide img:hover{
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 36px rgba(0,0,0,0.15);
}


/* =========================
   SOLUTIONS – VISUAL GALLERY
========================= */

.accordion-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 28px;
}

/* Tek görsel kart */
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f6f8;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

/* Görsel */
.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

/* Hover */
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.16);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Caption (opsiyonel) */
.gallery-item::after {
  content: attr(data-title);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #ffffff;
  opacity: 0;
  transition: opacity .3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Tablet */
@media (max-width: 900px) {
  .accordion-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item img {
    height: 150px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .accordion-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 180px;
  }
}
/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 29, 0.85);
  backdrop-filter: blur(6px);
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

/* Close */
.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.85;
}

.lightbox-close:hover {
  opacity: 1;
}

/* Navigation */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(191,163,111,0.45);
  color: #fff;
  font-size: 40px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .25s ease;
}

.lightbox-nav:hover {
  background: rgba(191,163,111,0.35);
}

.lightbox-nav.prev {
  left: -72px;
}

.lightbox-nav.next {
  right: -72px;
}

/* Mobile */
@media (max-width: 640px) {
  .lightbox-nav {
    display: none;
  }

  .lightbox-close {
    top: -40px;
  }
}
/* hbb */
