:root {
    --main-color:#c60000; 
    --second-color:#003366;
    --font-family: 'Calibri', sans-serif;

  }
 /* Section Header */
 .section-header {
    text-align: center;
    margin: 2rem 0;
  }

  .divider {
    width: 10%;
    height: 5px;
     background-color:var(--main-color); 
    margin: 0 auto;
    border: none;
    animation: expand 0.5s ease-out;
    margin-top: 1%;

  
  }

  .section-title {
     margin-top: 6%;
    font-family: 'Sansation';
    font-size:50px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 0.67;
    letter-spacing: normal;
    text-align: center;
    color: #222;

    
  }


  @media (max-width: 1024px) {
    .section-title {
      font-size: 48px;
    }
  }
  
  @media (max-width: 768px) {
    .section-title {
      font-size: 36px;
      line-height: 1.2;
    }
  }
  
  @media (max-width: 480px) {
    .section-title {
      font-size: 28px;
      line-height: 1.5;
    
    }
  }
  

  @keyframes expand {
    from { width: 0%; }
    to { width: 80%; }
  }



/* Container to center the cards */
.card-container {


    display: flex;
    flex-wrap: wrap;
    justify-content: center;
 
    padding: 2rem 1rem;
    list-style: none;
  }
  
  /* Style for each feature card */
  .feature-card {
    background-color: #fff;
    

    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    padding: 20px;
    width:401px ; /* Full width for small screens */
    max-width: 450px; /* Maximum width of each card */
    
   
    text-align: center;
    transform: translateY(0);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure space between content and button */
    height: 290px; /* Fixed height for the cards */
  }

 

  
  /* Hover effect on cards */
  .feature-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
  }
  
  /* Styling for card titles (h2) */
  .feature-card h2 {
    font-family: var(--font-family);
    font-size: 1.2rem;
    color: var(--second-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* Paragraph inside the feature card */
  .feature-card p {
    font-family: var(--font-family);
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow the paragraph to grow and take up available space */
  }
  
  /* Button styles */
  .info-button {
    background-color: var(--second-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Ensures the button stays at the bottom of the card */
  }
  
  .info-button a {
    color: #fff;
    text-decoration: none;
  }
  
  .info-button:hover {
    background-color:var(--main-color);
  }
  
  /* Animations */
  .animated {
    animation: fadeInUp 1s ease-in-out;
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive design */
  @media (max-width: 768px) {
    .card-container {
      gap: 15px;
    }
  
    .feature-card {
      flex-direction: column;
      text-align: center;
      width: 100%; /* Allow full width on smaller screens */
    }
  
  
    
  /* Card icon (background image) - Make it square */
  .card-icon {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
  }

  @media (min-width: 768px) {
    .feature-card {
      width: 22%; /* 4 cards per row on larger screens */
    }
  }
  
  
    .feature-card h2 {
      font-size: 1.2rem;
    }
  
    .feature-card p {
      font-size: 0.9rem;
    }
  }
  
  




















  .feature-card2 {
    background-color: #fff;
    

    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    padding: 20px;
    width:401px ; /* Full width for small screens */
    max-width: 450px; /* Maximum width of each card */
    
   
    text-align: center;
    transform: translateY(0);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Or center */
    gap: 1rem; /* Adjust this value */
    height: 290px; /* Fixed height for the cards */
   
  }
  
  /* Hover effect */
  .feature-card2:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
  }
  
  /* Icon container */
  .card-icon {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }
  
  /* Card title */
  .feature-card2 h2 {
    font-family: var(--font-family);
    font-size: 1.2rem;
    color: var(--second-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* Card text */
  .feature-card2 p {
    font-family: var(--font-family);
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
  }
  
  /* Responsive */
  @media (min-width: 768px) {
    .feature-card2 {
      width: 22%; /* fit 4 cards per row */
    }
  
    .feature-card2 h2 {
      font-size: 1.2rem;
    }
  
    .feature-card2 p {
      font-size: 0.95rem;
    }
  }
  .feature-card2:focus {
    outline: none;
  }
  .feature-card2 *:focus {
    outline: none;
    box-shadow: none;
  }
  





  




/* 
.sectiontitlet {
    background: #1286A8;
    color: #000;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    margin-right: auto;
    width: 100%;
  }
  
  .sectiontitlet h2 {
    margin: 0;
    padding: 10px;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1.5px;
    padding-left: 5%;
  }
  
  .sectiontitlet hr {
    display: block;
    border: none;
    height: 3px;
    background-color: #1286A8;
    margin: 0;
    animation-name: line-show;
    animation-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.795, 0, 0.165, 1);
  }
  
  @media only screen and (min-width: 600px) {
    .sectiontitlet {
      justify-content: center;
    }
  } */
  
  /* Article */
  article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
    width: 25%;
    border-top-right-radius: 50%;
    height: 400px;
  }
  
  article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
  }
  
  article h2 {
    font-size: 1.2rem;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 600;
    color: #0B374D;
    letter-spacing: 1.5px;
    font-family: "Noto Sans KR", sans-serif;
    margin-left: 20%;
  }
  
  figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  
  article img {
    max-width: 100%;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
  }
  
  .article-body {
    padding: 24px;
    background: #eee;
    border-top-left-radius: 50%;
    position: absolute;
    bottom: 0;
    box-shadow: -3px -3px 20px 5px #f5f5f5;
  }
  
  .article-body p {
    font-size: 1rem;
  }
  
  article a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #28666e;
  }
  
  article a:focus {
    outline: 1px dotted #28666e;
  }
  
  article a .icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-left: 5px;
    transform: translateX(var(--link-icon-translate));
    opacity: var(--link-icon-opacity);
    transition: all 0.3s;
  }
  
  article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  }
  
  /* Articles Container */
  .cati {
    margin: 0;
    padding: 48px 0;
    font-family: "Figtree", sans-serif;
    font-size: 1.2rem;
    line-height: 1.6rem;
    background: #eee;
    min-height: 80vh;
  }
  
  .articles {
    display: flex;
    max-width: 90%;
    margin-inline: auto;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }
  
  @media screen and (max-width: 960px) {
    .articles {
      display: grid;
    }
  
    article {
      width: 100%;
      border-top-right-radius: 10px;
      height: auto;
    }
  
    .article-body p {
      display: none;
    }
  
    .article-body {
      position: relative;
      border-top-left-radius: 0;
    }
  }
  
  @container card (min-width: 380px) {
    .article-wrapper {
      display: grid;
      grid-template-columns: 100px 1fr;
      gap: 16px;
    }
    .article-body {
      padding-left: 0;
    }
    figure {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    figure img {
      height: 100%;
      aspect-ratio: 1;
      object-fit: cover;
    }
  }
  
  /* Box Styling */
  .container {
    position: relative;
    width: 100%;
    display: flex;
    /* justify-content: center; */
    /* margin: 2rem auto; */
    transform-style: preserve-3d;
    perspective: 500px;
    z-index: 2000; /* ensures it stays above other elements */
   
   
 
  }
  
  .container .box {
    position: relative;
    width: 20%;
    height: 275px;
    background: #000;
    transition: 0.5s;
    transform-style: preserve-3d;
    overflow: hidden;
    margin-right: 15px;
    margin-top: 45px;
    cursor: pointer;
    border-radius: 16px;
  }
  
  .container .box:hover {
    transform: rotateY(0deg) scale(1.25);
    z-index: 1;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
  }
  
  .container .box .imgBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .container .box .imgBx:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.027), #000);
    z-index: 1;
    opacity: 1;
    transition: 0.5s;
    mix-blend-mode: multiply;
  }
  
  .container .box .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .container .box .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    padding: 20px;
    align-items: flex-end;
    box-sizing: border-box;
  }
  
  .container .box .content h2 {
    color: #fff;
    transition: 0.5s;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 20px;
    transform: translateY(0);
    transition-delay: 0.3s;
  }
  
  .container .box .content p {
    color: #fff;
    transition: 0.5s;
    font-size: 14px;
    transform: translateY(200px);
    transition-delay: 0.4s;
  }
  
  .container .box .content .phone-number {
    display: none;
    color: #fff;
    font-size: 16px;
    transform: translateY(200px);
    transition: 0.5s;
  }
  
  @media (max-width: 600px) {
    .container {
      flex-direction: column;
    }
  
    .container .box {
      width: 90%;
      margin-left: 5%;
    }
  
    .container .box:hover {
      transform: rotateY(0deg) scale(1);
    }
  
    .container .box .imgBx:before {
      opacity: 1;
    }
  
    .container .box .content h2 {
      transform: translateY(0);
    }
  
    .container .box .content .phone-number {
      display: block;
      transform: translateY(0);
    }
  }
  