@import url("../font/font.css");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  border: 0;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
/*radio buttons*/
input[type="radio"] {
    margin-top: -2px;
    appearance: none;
    background-color: #fff;
    padding: 0;
    width: 12px; 
    height: 12px;
    border-radius: 50%;
    border: 2px solid #989898;
    position: relative;
    cursor: pointer;
}

input[type="radio"]::before {
    content: "";
    width: 4px; 
    height: 4px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

input[type="radio"]:checked {
    background-color: #163964;
    border: none;
}

input[type="radio"]:checked::before {
    opacity: 1;
}

/*navbar*/
.nav-link {
    font-size: 13px;
    font-family: "NotoSansGeorgianRegular";
}

body {
    background: #fff;
}

.user-profile {
    display: flex;
    gap: 14px;
}

.user-register {
    background: #2a59cb;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    border: 1px solid #2a59cb;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font-family: "NotoSansGeorgianRegular";
}

.user-register:hover {
    background: none;
    color: #2a59cb;
}

.user-signin {
    padding: 4px 8px;
    background: none;
    color: #2a59cb;
    border-radius: 4px;
    border: 1px solid #2a59cb;
    font-family: "NotoSansGeorgianRegular";
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.user-signin:hover {
    background: #2a59cb;
    color: #fff;
}

.user-profile li a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.icon-style {
    font-size: 20px;
    line-height: normal;
}

/* Define the shape and color of the hamburger lines */
.navbar-toggler span {
    display: block;
    background-color: #4f4f4f;
    height: 3px;
    width: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
    left: 0;
    opacity: 1;
    transition: all 0.35s ease-out;
    transform-origin: center left;
    border-radius: 30%;
}

    /* top line needs a little padding */
    .navbar-toggler span:nth-child(1) {
        margin-top: 0.3em;
    }

    /* top line rotates 45 degrees clockwise and moves up and in a bit to close the center of the X in the center of the button */
    .navbar-toggler:not(.collapsed) span:nth-child(1) {
        transform: translate(15%, -33%) rotate(45deg);
    }
    /* center line goes transparent */
    .navbar-toggler:not(.collapsed) span:nth-child(2) {
        opacity: 0;
    }
    /* bottom line rotates 45 degrees counter clockwise, in, and down a bit to close the center of the X in the center of the button  */
    .navbar-toggler:not(.collapsed) span:nth-child(3) {
        transform: translate(15%, 33%) rotate(-45deg) ;
    }

    /**
    * Animate collapse open into hamburger menu
    */

    /* top line moves back to initial position and rotates back to 0 degrees */
    .navbar-toggler span:nth-child(1) {
        transform: translate(0%, 0%) rotate(0deg) ;
    }
    /* middle line goes back to regular color and opacity */
    .navbar-toggler span:nth-child(2) {
        opacity: 1;
    }
    /* bottom line goes back to initial position and rotates back to 0 degrees */
    .navbar-toggler span:nth-child(3) {
        transform: translate(0%, 0%) rotate(0deg) ;
    }



    /*hero-section*/
    .hero-section {
      margin-top: 140px;
      background: #fff;
      border: 1px solid rgba(217, 217, 217, 0.5);
      padding: 32px;
      border-radius: 8px;
    }

    .hero-section h1 {
      font-size: 32px;
      color: #303030;
      font-family: "NotoSansGeorgianBold";
      margin-bottom: 32px;
      -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
    }

    .hero-section p {
      color: #303030;
      font-size: 16px;
      font-family: "NotoSansGeorgianRegular";
      line-height: 24px;
    }

    /*b-image-section*/
    .b-image-section {
      margin-top: 80px; 
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .b-image-card {
      position: relative;
      width: 100%;
      border-radius: 8px;
    }

/* DIFFERENT BACKGROUNDS */
.b-image-card:nth-child(1) .b-image-card-text {
  background: rgba(42, 89, 203, 1);
}

.b-image-card:nth-child(2) .b-image-card-text {
  background: rgba(0, 136, 63, 1);
}

    .b-image-car-img {
  width: 100%;
  height: 468px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.6s ease;
    }

.b-image-card-text {
  position: absolute;
  left: 64px;
  bottom: 64px;
  right: 64px;
  padding: 24px;
  min-height: 170px;
  border-radius: 12px;
  color: #fff;
  transition: all 0.5s ease;
  z-index: 2;
}


    .b-image-card-text h2 {
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #FCFCFC;
      font-family: "NotoSansGeorgianBold";
      -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
      font-size: 24px;
      margin-bottom: 24px;
    }

    .b-image-card-text h2 span {
      font-size: 28px;
    }

    .b-image-card-text p {
      color: #FCFCFC;
      font-size: 16px;
      font-family: "NotoSansGeorgianRegular";
      line-height: 24px;
    }


    .b-image-card:hover .b-image-card-text {
      left: 0;
      bottom: 0;
      right: 0;
      top: 0;
      padding: 64px;
      padding-top: 170px;
    }

    /* OPTIONAL smoother text fade-in */
    .b-image-card .b-image-card-text h2,
    .b-image-card .b-image-card-text p {
      transition: all 0.4s ease;
    }


      /*cards*/

      .cards-header-text {
        margin: 88px 0px 48px 0px;
      }
      
      .cards-header-text .subtitle {
        display: inline-flex;
        font-size: 14px;
        color: #1e1e1e;
        margin-bottom: 8px;
        font-family: "NotoSansGeorgianRegular";
        background: rgba(42, 89, 203, 0.25);
        padding: 4px 8px;
        -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
      }
      
      .cards-header-text .main-title {
        font-size: 24px;
        color: #000; 
        margin: 0;
        line-height: 1.3;
        font-family: "NotoSansGeorgianBold";
        -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
      }

      
      .cards-wrapper {
        display: flex;
        height: 420px;
        margin: 60px auto;
        gap: 16px;
        overflow: hidden;
      }
      
      .card {
        position: relative;
        overflow: hidden;
        transition: flex 0.4s ease;
        cursor: pointer;
        flex: 2;
      }
      

      .cards-wrapper:hover .card {
        flex: 1;
      }
      
      .cards-wrapper .card:hover {
        flex: 2;
      }
      
      /* სურათები */
      .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
        display: block;
      }
      
      /* შავი overlay */
      .card::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
      }
      
      /* ტექსტი overlay-ის თავზე */
      .card-content {
        position: absolute;
        bottom: 28px;
        left: 28px;
        color: white;
        z-index: 2;
        max-width: 90%;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
        pointer-events: none;
      }
      
      .card-content h3 {
        margin: 0 0 10px 0;
        font-size: 22px;
        font-weight: bold;
        font-family: "NotoSansGeorgianRegular";
        -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
      }
      
      .card-content p {
        margin: 0;
        font-size: 15px;
        line-height: 1.4;
        font-family: "NotoSansGeorgianRegular";
      }
      
     
      /*ამზომველების სექცია*/
      .certified-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        margin: 108px 0px;
        border: 1px solid rgba(117, 117, 117, 0.25);
        padding: 32px;
        border-radius: 8px;
      }
  
      .certified-text {
        max-width: 1200px;
      }
  
      .certified-text h2 {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 20px;
        color: #000;
        font-family: "NotoSansGeorgianRegular";
        -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
      }
  
      .certified-text p {
        font-size: 16px;
        line-height: 1.6;
        color: #000;
        font-family: "NotoSansGeorgianRegular";
      }
  
      .certified-text a {
        display: inline-block;
        margin-top: 24px;
        color: #2a59cb;
        font-weight: 500;
        font-size: 16px;
        font-family: "NotoSansGeorgianRegular";
      }
  
  
      .certified-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
        transition: all 0.4s ease;
        cursor: pointer;
      }
  
      .certified-item {
        background-color: #f9f9f9;
        padding: 16px 24px;
        width: 320px;
        transform-origin: left;
        transition: transform 0.4s ease;
        border: 1px solid #ddd;
        font-family: "NotoSansGeorgianRegular";
      }
  
      .certified-item span {
        color: #B3B3B3;
        font-family: "NotoSansGeorgianRegular";
        -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
      }

      /* საწყისი გადახრები */
      .certified-item:nth-child(1) { transform: rotate(3deg); }
      .certified-item:nth-child(2) { transform: rotate(-3deg); }
      .certified-item:nth-child(3) { transform: rotate(4deg); }
      .certified-item:nth-child(4) { transform: rotate(-3deg); }
  
      /* ჰოვერზე გასწორება */
      .certified-list:hover .certified-item {
        transform: rotate(0deg);
      }
  
      /* რესპონსივისთვის */
      @media (max-width: 768px) {
        .certified-section {
          flex-direction: column;
          padding: 40px 24px;
          align-items: flex-start;
        }
  
        .certified-list {
          align-items: center;
        }
      }

     

      /*how-it-works*/
      .how-it-works {
        margin-top: 108px;
      }

      .hiw-text {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 88px;
      }

      .hiw-text h2 {
        color: #000;
        font-family: 'NotoSansGeorgianBold';
        -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
        font-size: 24px;
      }

      .hiw-text p {
        color: #1e1e1e;
        font-family: 'NotoSansGeorgianRegular';
        font-size: 14px;
        margin-bottom: 8px;
        background: #CFF7D3;
        border-radius: 2px;
        padding: 8px;
        -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
      }

      .hiw-text a {
        color: #2a59cb;
        font-family: 'NotoSansGeorgianMedium';
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
      }


    .hiw-sec {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: space-between;
      margin-bottom: 208px;
    }

.hiw-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1; 
    transition: transform 0.2s ease-in-out;
    border: 1px solid rgba(178, 178, 178, 0.25);
    position: relative;
  overflow: hidden;
}


.hiw-card svg {
  width: 80px; 
  height: 80px;
  margin-bottom: 20px;
  color: #4CAF50;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.7);
  transition: all 0.4s ease-in-out;
}


.hiw-card:nth-child(1) svg { color: #4285F4; }
.hiw-card:nth-child(2) svg { color: #4CAF50; }
.hiw-card:nth-child(3) svg { color: #777; }

.hiw-card:hover svg {
  opacity: 1;
  transform: scale(1);
  visibility: visible; 
}

.hiw-card h2 {
    font-size: 20px;
    color: #757575;
    margin-bottom: 15px;
    font-family: 'NotoSansGeorgianBold';
    -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
}

.hiw-card p {
    font-size: 14px;
    color: #1e1e1e;
    line-height: 1.6;
    font-family: 'NotoSansGeorgianRegular';
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hiw-card {
        padding: 25px;
        min-width: unset; 
        max-width: 80%;
    }

    .hiw-sec {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hiw-card {
        padding: 20px;
        width: 90%; 
    }

    .hiw-card h2 {
        font-size: 20px;
    }

    .hiw-card p {
        font-size: 15px;
    }
}

/*-------------------------------------------------------*/

.faq-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px; 
  background: #fff;
  flex-wrap: wrap; 
  padding-bottom: 24px;
}

.faq-section .l-section {
  flex: 1;             
  min-width: 280px;   
}

.faq-section .l-section:first-child {
  flex: 1;            
  max-width: 30%;      
}

.faq-section .l-section:last-child {
  flex: 2;            
  max-width: 70%;      
}

.faq-label {
  display: inline-flex;
  background: rgba(42, 89, 203, 0.25);
  color: #1e1e1e;
  font-weight: 600;
  font-size: 14px;
  padding: 4px 8px;
  margin-bottom: 10px;
  font-family: 'NotoSansGeorgianRegular';
  -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
}

.faq-title {
  font-size: 24px;
  color: #1e1e1e;
  font-family: 'NotoSansGeorgianBold';
  -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
}

.accordion-header {
  background: #f5f5f5;
  padding: 16px;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0!important;
  background: transparent;
  margin: 0px;
}

.accordion-button {
  background: transparent;
  color: #1E1E1E;
  font-weight: 700;
  font-size: 18px;
  box-shadow: none !important;
  border: none;
  position: relative;
  transition: color 0.2s ease;
  font-family: 'NotoSansGeorgianBold';
  -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
}


.accordion-button::after {
  content: "\276F";
  font-size: 24px;
  color: #303030;
  position: absolute;
  right: 0; 
  top: 50%;
  transform: translateY(-50%) rotate(270deg);
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: translateY(-50%) rotate(90deg); 
}


.accordion-body {
  background: #f5f5f5;
  padding: 20px 16px;
  border-radius: 0px;
  color: #1e1e1e;
  font-size: 14px;
  line-height: 1.6;
  margin: 0px!important;
  font-family: 'NotoSansGeorgianRegular';
}

.accordion-body a {
  color: #2a59cb;
  text-decoration: none;
  font-weight: bold;
}

.accordion-body a:hover {
  text-decoration: underline;
}


.accordion-button::before {
  display: none !important;
}

/*--------------------------------------------------------------*/

/*footer-full*/
.footer-full {
  background: #f5f5f5;
  border-top: 2px solid rgba(178, 178, 178, 0.5);
  padding: 64px 0px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid #000;
  padding: 32px;
}

.copyright {

font-family: 'NotoSansGeorgianMedium';
-moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
}

.footer-rules {
  display: flex;
  font-family: 'NotoSansGeorgianMedium';
  -moz-font-feature-settings: 'case'; -webkit-font-feature-settings: 'case'; font-feature-settings: 'case' on;
  text-decoration: underline;
  gap:16px;
}

.footer-rules a {
  color: #2a59cb;
}

.nav-item {
    color: #333;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease-out;
}
