@font-face {
  font-family: "MyFont";
  src: url("../fonts/BPG.ttf?v=1") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html, body { font-family: "MyFont", sans-serif !important; }
*, *::before, *::after { font-family: inherit; }



/* ========== Base / Variables ========== */
:root{
  --text: #0f1418;
  --muted: #5f6b76;
  --pill-bg: rgba(255,255,255,0.92);
  --pill-shadow: 0 4px 24px rgba(0,0,0,0.08);
  --primary: #132934;
  --primary-hover: #0f2330;
  --radius-pill: 999px;
  --header-h: 95px;

  --card-bg:#fff;
  --card-br:28px;
  --card-shadow:0 6px 18px rgba(0,0,0,.08);
  --card-shadow-hover:0 10px 28px rgba(0,0,0,.12);
  --brand:#2f556b;
  --title:#3d5560;
  --page-bg:#f1f2f3;

  --bg: #efefef;
  --ink: #0f1418;
  --accent: #5a8db3;
  --shadow: 0 10px 24px rgba(0,0,0,.08);

  --footer-bg: #233a48;
  --footer-ink: #c9d3db;
  --footer-muted: #8fa2af;
  --footer-sep: rgba(255,255,255,0.12);
}


/* ========== Fonts: TBC Contractica ========== */
/* Place your font files in /fonts. Paths below are relative to this CSS file */


*{box-sizing:border-box}
html,body{height:100%}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  background: #f1f2f3;          /* keep white under hero */
  font-family: "MyFont", sans-serif;
  padding-top: 0;            /* we handle header gap in .hero */
}

/* --------------------------------------- header-------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 22px;
  background: transparent; /* desktop default */
  /* we'll override background on mobile in @media */
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* logo | nav | right side */
  align-items: center;
  gap: 16px;
}

/* --- brand / logo --- */
.brand img {
  height: 59px;
  display: block;
}

/* --- center pill nav (desktop only) --- */
.nav-pill {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 12px 28px;           
  line-height: 1;
  background: var(--pill-bg);
  border-radius: var(--radius-pill);
  box-shadow: var(--pill-shadow);
  backdrop-filter: blur(8px);
}



.nav-link {
  text-decoration: none;
  color: #20262c;
  font-weight: 500;
  white-space: nowrap;
  font-family: inherit;
  font-size: 16px;

  padding: 5px 9px;                 /* space inside box */
  border-radius: 999px;              /* rounded pill shape */
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-link:hover {
  background: #e5e5e5;               /* light gray hover background */
  border-color: #a9a9a9;             /* slightly darker on hover */
  opacity: 1;                        /* keep text visible */
}

/* --- right side: contact button + burger holder --- */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}


/* contact button (desktop) */
.btn-primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 18px;
  background: var(--primary);
  color:#fff;
  text-decoration:none;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(19,41,52,0.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 16px;
}

.btn-primary:hover {
  background: #2f4d63; /* or pick another shade */
  box-shadow: 0 6px 20px rgba(19,41,52,0.18); /* same as normal */
  transform: none; /* no motion */
}



/* --- hamburger button (mobile only) --- */
.menu-toggle {
  display: none; /* hidden on desktop */
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.8);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.menu-toggle:active {
  transform: scale(0.96);
}

/* --- mobile dropdown menu (hidden by default) --- */
.mobile-menu {
  position: absolute;

  left: 0;
  right: 0;

  background: rgba(255,255,255,0.97);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  border-radius: 0 0 20px 20px;

  display: none;              /* hidden by default */
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  gap: 16px;
  z-index: 40;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  font-size: 16px;
  color: #20262c;
  text-decoration: none;
  font-weight: 500;
}

.mobile-link.highlight {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(19,41,52,0.18);
  font-weight: 500;
}
.mobile-link.highlight:active {
  background: var(--primary-hover);
}

/* ========== RESPONSIVE BEHAVIOR ========== */

@media (max-width: 760px){

  /* header layout becomes 2 cols: logo | right side */
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  /* hide desktop nav in the center */
  .nav-pill {
    display: none;
  }

  /* hide the desktop contact pill button on the right */
  .btn-contact {
    display: none;
  }

  /* show burger */
  .menu-toggle {
    display: block;
  }

  /* push burger to the far right */
  .header-right {
    justify-content: flex-end;
    width: 100%;
  }

  /* mobile header needs a solid-ish background */
  .site-header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
}

/* small tweak for very small screens */
@media (max-width: 520px){
  .brand img{
    height: 40px;
  }
  .menu-toggle{
    font-size: 24px;
    padding: 6px 10px;
  }
}


/* ---------------------------------------hero-------------------------------------------------- */
.hero{
  position: relative;
  width: 100%;
  height: 100vh;          /* fill full screen */
  max-height: 100vh;
  overflow: clip;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  display: grid;
  align-items: end;
  justify-items: start;
}

.hero-content {
  position: relative;
  z-index: 2;       /* above overlay */
  max-width: 1200px;
  width: 100%;
  padding: clamp(12px, 2vw, 24px);
  color: #0f1418;
  margin: 0 auto;
  padding-left: 38px;

}

.hero-bg{
  position: absolute;
  inset: 0;
  background: url("/assets/main/background.jpg") center/cover no-repeat;
  opacity: .9;
  z-index: 0;
}



.hero { position: relative; }

.hero-title{
  margin: 0 0 6px 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.03rem;
  font-weight: 700;
  color: #000000;
  font-size: 30px;

}

.hero-subtitle{
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 20px;
}



/* ========== Responsive ========== */
@media (max-width: 980px){
  .header-inner{
    grid-template-columns: auto 1fr auto;
  }
  .nav-pill{
    gap: 18px;
    padding: 10px 18px;
  }
}

@media (max-width: 760px){
  .nav-pill{
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 16px;
    padding: 10px 16px;
    max-width: min(92vw, 560px);
  }
  .brand img{ height: 24px; }
}

@media (max-width: 520px){
  .nav-link{ font-size: 14px; }
  .btn-primary{ padding: 9px 16px; }
}


/* Main card */
.about-card{
  width: min(1240px, 92vw);
  margin: 0 auto;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1.1fr 1fr;    /* image / text */
  gap: clamp(20px, 3vw, 46px);
  padding: clamp(18px, 3.2vw, 48px);
  position: relative;
  overflow: hidden;
}

/* soft rounded underlay (bottom edge) */
.about-card::after{
  content:"";
  position:absolute;
  left: 56px;
  right: 56px;
  bottom: -38px;                       /* pushes it below the card */
  height: 84px;
  background: #f4f4f4;                 /* slightly darker than white */
  border-radius: 22px 22px 30px 30px;
  filter: blur(2px);
  z-index: -1;
}

/* ---------------------------------------ჩვენს შესახება-------------------------------------------------- */


.section-with-bg {
  background: #f1f2f3;
  padding: clamp(60px, 8vw, 100px) 0;
  display: flex;
  justify-content: center;
}

/* The unified white card that holds image + text */
.about-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 5vw, 80px);
  padding: clamp(24px, 3vw, 40px);
  width: 90%;
  max-width: 1300px;
  transition: box-shadow 0.3s ease;
}

.about-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

/* The photo inside the card */
.about-photo {
  flex: 1 1 50%;
  width: 50%;
  border-radius: 20px;
  height: auto;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    max-height: 360px;
  object-fit: cover;
}

/* The text block inside the card */
.about-text {
  flex: 1 1 50%;
  color: #3d5560;
}

.about-text-2 {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.about-text h2 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid #d4dde4;
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* Responsive: stack vertically on smaller screens */
@media (max-width: 900px) {
  .about-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .about-photo {
    max-width: 460px;
    width: 100%;
    margin-bottom: 24px;
  }

  .about-text {
    max-width: 640px;
    margin: 0 auto;
  }
}

/* --------------------------------------- სერვისები --------------------------------------------------- */


#services {
  scroll-margin-top: 200px; /* adjust depending on your header height */
}

/* SERVICES SECTION */
.services-section {
  background: #f1f2f3;
  padding: clamp(40px, 4vw, 60px) 0 clamp(56px, 4vw, 72px);
  margin-top: 0;
  text-align: center;
}

/* Wrapper just for horizontal centering and max-width */
.services-shell {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/* Section title */
.sec-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 3vw, 35px);
  font-size: 20px;
  font-weight: 700;
  color: #3d5560;
  margin: 0 0 clamp(24px, 5vw, 40px);
  line-height: 1.2;
  width: 100%;
  padding-right: 5%; /* ✅ move text left — adjust between 3%–10% */
}

.sec-title::before {
  content: "";
  flex: 1;
  height: clamp(1px, 0.2vw, 8px);
  background: #aeb9c0;
  border-radius: 15px;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 1fr));
  gap: 15px;
  justify-content: center;
}

/* CARD */
.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  background: #fff;
  border-radius: 28px;
  padding: 28px 32px;

  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 125px; /* use min-height instead of fixed height */
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.svc-text {
  font-size: 15px;
  font-weight: 600;
  color: #1f2b33;
  line-height: 1.35;
  text-align: left;
}

.svc-icon {
  width: 60px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  opacity: .9;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1400px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(200px, 1fr));
  }
}
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
  }
}
@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .svc-text {
    font-size: 14px;
  }
}
@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .service-card {
    justify-content: space-between;
  }
}

/* --------------------------------------- პროექტები --------------------------------------------------- */

.hero2-content {
  position: relative;
  z-index: 2;       /* above overlay */
  max-width: 1000px;
  width: 100%;
  padding: clamp(12px, 2vw, 24px);
  color: #0f1418;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.hero2-title{
  margin: 0 0 6px 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.03rem;
  font-weight: 700;
  color: #3d5560;
  font-size: 20px;

}
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 7px;
  background: var(--primary);
  color:#fff;
  text-decoration:none;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(19,41,52,0.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 14.5px;
}
.btn-secondary:hover {
  background: #2f4d63; /* or pick another shade */
  box-shadow: 0 6px 20px rgba(19,4ს1,52,0.18); /* same as normal */
  transform: none; /* no motion */
}


*{ box-sizing: border-box; }


/* Section shell */
.projects-section{ 
  background:#f1f2f3; 
  padding: 40px 0 16px;
}
.projects-shell{
  max-width: 1350px;  /* main content width */
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* Top arrows (centered like your mock) */
/* Wrapper stays similar */
/* ===== arrows container ===== */
.proj-arrows {
  display: flex;
  justify-content: flex-end;   /* arrows aligned right */
  gap: 40px;                   /* space between arrows */
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

/* ===== base arrow line ===== */
.proj-arrow {
  position: relative;
  width: 180px;        /* visible horizontal line length */
  height: 2px;         /* visible line thickness */
  background: #b8c9d9; /* line color */
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
  opacity: 0.7;
}

.proj-arrow:hover {
  opacity: 1;
}

/* ===== bigger clickable hitbox =====
   this is invisible, just for easier clicking */
.proj-arrow::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: transparent;
  cursor: pointer;      /* show pointer anywhere in this zone */
}

/* ===== LEFT arrowhead ===== */
.proj-arrow.left::before {
  content: "";
  position: absolute;
  left: 0;              /* draw arrowhead on the LEFT edge of the line */
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #b8c9d9;  /* triangle pointing left */
}

/* ===== RIGHT arrowhead ===== */
.proj-arrow.right::before {
  content: "";
  position: absolute;
  right: 0;             /* draw arrowhead on the RIGHT edge of the line */
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #b8c9d9;   /* triangle pointing right */
}

/* ===== mobile: even bigger tap targets ===== */
@media (max-width: 768px) {
  .proj-arrow::after {
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
  }
}


/* Viewport + track */
.proj-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.proj-track {
  display: flex;
  gap: 32px;            /* this is what JS reads */
  will-change: transform;
  transition: transform .45s ease;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Card */
.proj-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

/* Image */
.proj-media{
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  background: #ddd;          /* change/remove if needed */
  overflow: hidden;
}
.proj-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Number + texts */
.proj-meta{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  padding: 16px 0 0;         /* ✅ no side or bottom background */
  align-items: start;
  margin: 0;
  background: transparent;   /* ✅ removed white bg */
}

.proj-num{
  font-size: 54px;
  line-height: .9;
  font-weight: 400;
  color: #0f1418;
  margin: -5px 0 0;
}

.proj-title{
  margin: -5px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f1418;
}

.proj-desc{
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 0;
}

/* Remove any leftover space from wrappers */
.proj-track,
.proj-viewport,
.projects-shell,
.projects-section {
  padding-bottom: 0;
  margin-bottom: 0;
}



/* Dots */
.proj-dots{
  margin-top: 18px;
  margin-bottom: 16px;   /* was 80px */
  display: flex;
  gap: 10px;
  justify-content: center;
}

.proj-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9cdd2;
  opacity: .9;
  cursor: pointer;

}
.proj-dot.is-active{
  background: #445e70;
}

.proj-link {
  display: block;
  text-decoration: none;
  color: inherit;      /* keeps text color */
  transition: transform .2s ease, box-shadow .2s ease;
}



/* ——— Responsive: 3 / 2 / 1 per view ——— */
@media (max-width: 1200px){
  .proj-title{ font-size: 22px; }
}
@media (max-width: 992px){
  .proj-num{ font-size: 46px; }
}
@media (max-width: 820px){
  .proj-num{ font-size: 42px; }
  .proj-title{ font-size: 20px; }
}
@media (max-width: 640px){
  .projects-shell{ padding: 0 16px; }
  .proj-track{ gap: 20px; }
  .proj-num{ font-size: 38px; }
}
/* ======================= PARTNERS SECTION ======================= */

.partners-section {
  background: #f1f2f3;
  padding: clamp(40px, 5vw, 70px) 0 60px;
  display: flex;
  justify-content: center;
}

.partners-shell {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/* გამოვიყენებთ შენს .sec-title კლასს, მაგრამ პარტნიორებისთვის მოვათავსოთ მალევე მარცხნივ */
.partners-section .sec-title {
  justify-content: flex-start;  /* არ იყოს მარჯვნივ მიჭრილი */
  padding-right: 0;
  margin-bottom: 28px;
}

/* ლოგოების ბადე */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
}

/* თითოეული პარტნიორის ბარათი */
.partner-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ლოგოები */
.partner-logo {
  max-width: 130px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partner-card:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* მობილურზე ცოტა უფრო კომპაქტური */
@media (max-width: 600px) {
  .partners-grid {
    gap: 16px;
  }

  .partner-card {
    padding: 14px 18px;
  }

  .partner-logo {
    max-width: 110px;
  }
}



/* -----------------------------------------       footer --------------------------------------------------------- */


.site-footer {
  position: relative;
  background: var(--footer-bg);    /* dark bluish */
  color: var(--footer-ink);        /* light text */
  padding: 26px 0 48px;
}

.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* top nav row */
.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(20px,6vw,56px);
  margin: 6px 0 18px;
}

.footer-menu a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: .02em;
  line-height: 1.3;
  white-space: nowrap;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--footer-ink);
  outline: none;
}

/* horizontal separator */
.footer-sep {
  border: none;
  border-top: 1px solid var(--footer-sep);
  margin: 14px 0;
}

/* contact row */
.footer-contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px,8vw,120px);
  padding: 10px 0;
  flex-wrap: wrap;
}

.contact {
  color: var(--footer-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.3;
}

.contact:hover,
.contact:focus {
  color: #fff;
}

/* socials row (centered + button-like) */
.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 30px 0;
}

/* social link (visual button wrapper) */
.social {
  width: 44px;                 /* button size */
  height: 44px;
  border-radius: 10px;         /* rounded rectangle — change to 50% for circle */
  display: inline-grid;
  place-items: center;
  background: transparent;     /* if you want a filled bg, set a color here */
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: none;
  outline: none;
  border: none;
  cursor: pointer;
}

/* icon inside the button */
.social img {
  width: 32px;
  height: 32px;
  display: block;
  pointer-events: none; /* ensures clicks hit the anchor, not the img */
}

/* hover & focus states (makes it feel like a real button) */
.social:hover,
.social:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  background-color: rgba(255,255,255,0.04);
}

/* visible focus ring for keyboard users */
.social:focus {
  box-shadow: 0 0 0 3px rgba(100,150,200,0.18);
  border-radius: 10px;
}

/* icon hover effect (slight brighten/scale) */
.social:hover img {
  transform: scale(1.06);
  filter: none;
}


/* bottom-left brand logo */
.footer-brand {
  position: absolute;
  left: 26px;
  bottom: -10px;
  display: inline-block;
}
.footer-brand img {
  height: 48px; /* desktop size */
  width: auto;
}


.icon1 {
  width: 35px;
  height: auto;
}


/* responsive tweaks */
@media (max-width: 720px) {
  .footer-menu {
    gap: 24px;
    font-size: 15px;
  }

  .footer-contacts {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-brand {
    position: static;
    margin: 24px auto 0;
    display: flex;
    justify-content: center;
  }

  .footer-brand img {
    height: 48px;
  }
}

/* -----------------------------------------პროექტების გვერდი----------------------------------------------------------*/

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


/* Outer frame (full page width area) */
.page-frame {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  background:#f1f2f3;
  padding-bottom: 80px;
  padding-top: 200px;
}

/* Inner content wrapper that aligns everything */
.projects-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 64px);
  padding-right: clamp(16px, 4vw, 64px);
}

/* Filters row (category nav) */
.filters-row {
  position: relative;
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  font-size: 14px;
  line-height: 1.2;
  color: #0f1418;
}

.filter-item {
  position: relative;
  cursor: pointer;
  color: #0f1418;
  padding-bottom: 6px;
  transition: color 0.2s ease;
}

.filter-item.active {
  font-weight: 600;
  color: #0f1418;
}

.filter-item::after {
  content: none;
}


.filter-item.active::after {
  width: 100%;
}

.filters-underline {
  position: absolute;
  left: 0;
  top: 100%;
  height: 2px;
  background: #0f1418;
  transition: all 0.3s ease;
  border-radius: 2px;
}


/* Page title under filters */
.projects-title {
  font-size: clamp(24px, 1.2vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  color: #3d5560;
  margin-bottom: 24px;
  text-align: left;
}

/* Content row: holds the grid scrolling region */
.content-row {
  height: 70vh;         /* visible window for desktop */
  overflow: hidden;     /* page itself won't scroll here */
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px,1fr));
  gap: 24px;
  height: 100%;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
}

/* Scrollbar styling (webkit only) */
.cards-grid::-webkit-scrollbar {
  width: 6px;
}
.cards-grid::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}
.cards-grid::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Card */
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 260px;             /* card height now controlled here */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 300px;
}


.card-link.is-hidden {
  display: none;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Card image (optional) */
.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Card text block */
.card-content {
  padding: 20px 20px 24px;
  flex: 1;
}

.card-content h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #0f1418;
  margin-bottom: 12px;
}

.card-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #2a2a2a;
  word-break: break-word;
}



.card-link {
  text-decoration: none;
  color: inherit;
  display: block;           /* makes the <a> behave like a block so grid gap works */
}

.card-link .card {
  cursor: pointer;
}



/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Medium screens (tablets / small laptops) */
@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(260px,1fr));
    max-height: none;
    overflow-y: visible;   /* allow normal page scroll */
  }

  .content-row {
    height: auto;
    overflow: visible;
  }

  .projects-title {
    margin-top: 8px;
    margin-bottom: 20px;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .filters-list {
    font-size: 13px;
    gap: 12px 16px;
  }

  .projects-title {
    font-size: 22px;
    text-align: left;
  }
}


/* -----------------------------------------პროექტების გვერდი----------------------------------------------------------*/
@media (max-width: 760px) {
  .brand img {
    height: 50px;          /* adjust as needed (default was ~59px) */
    width: auto;
  }
}



/* -----------------------------------------კონტაქტის გვერდი----------------------------------------------------------*/
/* ===================== CONTACT SECTION ===================== */

.contact-section {
  position: relative;

  /* Make it fill almost the whole screen height */
  min-height: 100vh; /* full viewport height */

  /* space around card */
  padding: clamp(60px, 6vw, 100px) 0 clamp(80px, 8vw, 140px);

  display: flex;
  justify-content: center;
  align-items: flex-start;

  /* background image like hero */
  background-color: #f1f2f3;
  background-image: url("/assets/main/background.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}


/* Optional soft overlay to fade background */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);

  pointer-events: none;
  z-index: 0;
}

/* Content wrapper */
.contact-shell {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

/* Card */
.contact-card {
  width: min(100%, 800px);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  margin-top: 80px;
}

/* Top info row */
.contact-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #0f1418;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Map area */
.contact-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Footer label */
.contact-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 14px 24px 18px;
  display: flex;
  justify-content: flex-end;
}

.contact-link {
  color: #0f1418;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;

}

.contact-link:hover {
  color: #2f556b;           /* your brand accent */
  text-decoration: underline;
}


/* Responsive tweaks */
@media (max-width: 800px) {
  .contact-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-footer {
    justify-content: center;
  }
}

html, body {
  overflow-x: hidden;   /* prevents sideways scroll */
  width: 100%;
}

.icon-mail {
  width: 40px;
  height: auto;

}


/* ---------------------------------------პროექტების გვერდი ცალკე-------------------------------------------------- */


.PJS-with-bg {
  background: #f1f2f3;
  padding: clamp(60px, 8vw, 100px) 0;
  display: flex;
  justify-content: center;
}

/* The unified white card that holds image + text */
.PJS-about-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 5vw, 80px);
  padding: clamp(24px, 3vw, 40px);
  height: 550px;
  width: 90%;
  max-width: 1300px;
  transition: box-shadow 0.3s ease;
}

.PJS-about-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

/* The photo inside the card */
.PJS-about-photo {
  flex: 1 1 50%;
  width: 50%;
  border-radius: 20px;
  height: 450px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  object-fit: cover;
}

/* Responsive: stack vertically on smaller screens */
@media (max-width: 900px) {
  .PJS-about-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .PJS-about-photo {
    max-width: 460px;
    width: 100%;
    margin-bottom: 24px;
  }
}




/* ---------------------------------------------------- კარიერა ------------------------------------------------------------------- */

/* ===== CAREER PAGE ===== */

.career-page {
  background: #f1f2f3;
  padding: clamp(100px, 12vh, 160px) 0 80px;
}

.career-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* Hero */
.career-hero {
  text-align: left;
  margin-bottom: 48px;
}

.career-title {
  font-size: clamp(24px, 1.2vw, 28px);
  margin-bottom: 12px;
  color: #3d5560;
}

.career-subtitle {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a4f55;
  margin-bottom: 20px;
}

.career-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #20262c;           /* შეცვალე შენს primary ფერზე */
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.career-cta:hover {
  background: #15191e;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* secondary button style */
.career-cta.secondary {
  background: #ffffff;
  color: #20262c;
  border: 1px solid #d2d6da;
}

.career-cta.secondary:hover {
  background: #f5f6f7;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Section titles */
.section-title {
  font-size: clamp(24px, 1.2vw, 28px);
  margin-bottom: 16px;
  color: #3d5560;
}

.section-intro {
  font-size: 14px;
  color: #4a4f55;
  margin-bottom: 20px;
}

/* Benefits */
.career-benefits {
  margin-bottom: 56px;
}

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

.benefit-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.benefit-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #0f1418;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #4a4f55;
}

/* Jobs list */
.career-openings {
  margin-bottom: 56px;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.job-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  border: 1px solid #e4e7eb;
}

.job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.job-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f1418;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: #f1f4ff;
  color: #1f3fad;
}

.job-tag-intern {
  background: #fff9e6;
  color: #9a6b00;
}

.job-meta {
  font-size: 13px;
  color: #6a7077;
  margin-bottom: 10px;
}

.job-divider {
  margin: 0 6px;
}

.job-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #4a4f55;
  margin-bottom: 12px;
}

.job-apply {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #20262c;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d2d6da;
  background: #f8f9fa;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.job-apply:hover {
  background: #eef1f4;
  border-color: #c2c8cf;
  transform: translateY(-1px);
}

/* Open application block */
.career-open-application {
  margin-top: 16px;
}

.open-app-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.open-app-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #0f1418;
}

.open-app-card p {
  font-size: 14px;
  color: #4a4f55;
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .career-page {
    padding-top: 120px;
  }

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

  .job-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ---------------------------------------------------- BIM PAGE ------------------------------------------------------------------- */

/* BIM uses same outer layout as .career-page + .career-inner.
   Here .bim-page is the inner wrapper inside .career-inner. */

.bim-page {
  /* Optional tiny extra spacing inside the career-inner wrapper */
  padding-top: 8px;
  padding-bottom: 8px;
}

/* ===============================
   BIM HERO SECTION
================================== */

.bim-hero {
  margin-bottom: 60px;
}

.bim-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: center;
}

/* H1 — same visual style as career titles */
.bim-hero-text h1 {
  font-size: clamp(24px, 1.2vw, 28px); /* same as .career-title */
  margin-bottom: 12px;
  color: #3d5560;
  font-weight: 600;
}

/* Hero subtitle – same text size as main content */
.bim-hero-text .lead {
  font-size: 15px;            /* same as career-subtitle */
  color: var(--muted);
  line-height: 1.6;
}

/* Hero side card */
.bim-hero-card {
  background: var(--card-bg);
  border-radius: var(--card-br);
  box-shadow: var(--card-shadow);
  padding: 24px 24px 20px;
}



.bim-hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bim-hero-card li {
  font-size: 14px;
  margin-bottom: 8px;
}

/* ===============================
   UNIVERSAL BIM H2 (career-title style)
================================== */

.bim-section h2,
.bim-hero-card h2 {
  font-size: clamp(24px, 1.2vw, 28px); /* same as .career-title & .section-title */
  margin-bottom: 12px;
  color: #3d5560;
  font-weight: 600;
}

/* ===============================
   BIM SECTIONS
================================== */

.bim-section {
  padding: 40px 0;
}

.bim-section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.bim-section-alt {
  background: #f5f6f7;
  border-radius: 28px;
  padding: 40px 24px;
  margin: 20px 0;
}

/* main text same size as career content */
.bim-section p {
  font-size: 15px;           /* same as .career-subtitle / benefit text */
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}

/* TWO COLUMNS */
.bim-two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

/* ===============================
   HIGHLIGHT BOX
================================== */

.bim-highlight-box {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  padding: 20px 22px;
}

.bim-highlight-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #3d5560;
}

.bim-highlight-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bim-highlight-box li {
  font-size: 14px;
  margin-bottom: 8px;
}

/* ===============================
   METRICS
================================== */

.bim-metrics {
  display: grid;
  gap: 12px;
}

.metric-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 14px 16px;
}

.metric-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 14px;
  font-weight: 500;
}

/* ===============================
   RESPONSIVE
================================== */

@media (max-width: 900px) {

  .bim-hero-inner,
  .bim-two-cols {
    grid-template-columns: 1fr;
  }

  .bim-section-alt {
    padding: 28px 18px;
  }

  /* career-page already shrinks top padding on small screens,
     so we don't need heavy changes here */
}
