:root{
    --cyan: #17a2b8;
    --color-primary: #1a2454;
      --color-primary-variant: #ab840f;
      --color-black: #000;
      --color-dark: #0C1334;
      --color-white: #fff;
      --color-light: rgba(4, 9, 30,0.7);
      --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 
  }
  * {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
  }
  a {
    text-decoration: none;
    
  }
  ul{
    list-style: none;
  }
  html,body{
    font-family: "Jost", sans-serif;
    height: 100%;
  }
  /*- NAVBAR-*/
  .navbar{
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--color-primary);
    z-index: 100000;
  }
  .navbar a{
    position: relative;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    color: var(--color-primary-variant);
    transition: 0.6s ease;
  }
  .navbar a:hover{
    color: var(--cyan);
    transition: all 0.3s ease;
  }
  .nav-link{
    position: relative;
    list-style: none;
    font-weight: 500px;
    display: flex;
    align-items: center;
    transition: 0.6s;
  }
  .nav-link li{
    position: relative;
    margin: 0 30px;
  }
  .active{
    border-bottom: 2px solid var(--color-primary-variant);
  }
  header {
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(rgba(4, 9, 30,0.7),rgba(4, 9, 30,0.7)),url(gallery/frontpage.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .header-content{
    margin-bottom: 150px;
    color: white;
    text-align: center;
  }
  .header-content h1{
    font-size: 7vmin;
    margin-top: 50px;
    margin-bottom: 10px;
  }
  .header-content h3{
    font-size: 3vmin;
  }
  .line{
    width: 150px;
    height: 4px;
    background: var(--color-primary-variant);
    margin: 10px auto;
    border-radius: 5px;
  }
  .ctn{
    padding: 8px 15px;
    background-color: #ab840f;
    border-radius: 30px;
    color: #fff;
  }
  .ctn:hover{
    color: var(--color-primary-variant);
    background-color: var(--color-primary);
    transition: all 0.3s ease;
  }
  .menu-btn{
    position: absolute;
    color: white;
    top: 30px;
    right: 30px;
    width: 40px;
    cursor: pointer;
    display: none;
  }
  /*mobile*/
  @media only screen and (max-width:850px){
    .menu-btn{
      display: block;
    }
    .navbar{
      padding: 0px 5px;
      height: 115px;
    }
    .logo{
      position: absolute;
      top: 30px;
      left: 30px;
    }
    .nav-link{
      flex-direction: column;
      width: 100px;
      height: 100vh;
      justify-content: center;
      background-color: var(--color-primary);
      margin-top: -900px;
      transition: all 0.8s ease;
    }
    
    .mobile-menu{
      margin-top: 0px;
      border-bottom-right-radius: 10%;
    }
    .nav-link li{
      margin: 30px auto;
    }
    .navbar.sticky{
      padding: 0px 5px;
      height: 120px;
    }
  }
   /* ======= List ======= */
   .row {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Enables wrapping */
    justify-content: center; /* Ensures alignment */
    gap: 10px; /* Adds spacing between columns */
  }
  
  /* Default: 4x1 layout */
  .column {
    width: calc(25% - 10px);
    padding: 10px;
  }
  
  /* Switch to 2x2 at 1200px */
  @media screen and (max-width: 1200px) {
    .column {
      width: calc(50% - 10px); /* 2 columns per row */
    }
  }
  
  /* Switch to 1x4 at 800px */
  @media screen and (max-width: 800px) {
    .column {
      width: 100%; /* Full width for each card */
    }
  
    /* Stack image & text vertically */
    .container {
      flex-direction: column;
      text-align: center;
    }
  
    .text {
      padding-left: 0;
      padding-top: 10px;
      max-width: 100%;
      text-align: center;
    }
  }
  
  /* Card styling */
  .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 16px;
    text-align: center;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover transition */
  }
  
  /* Hover effect for the card */
  .card:hover {
    transform: translateY(-10px); /* Lifts the card */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Darker, deeper shadow */
  }
  
  /* Image + text container */
  .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }
  
  /* Image styling */
  .container.img {
    width: 250px;
    height: 250px;

  }
  
  /* Text styling */
  .container.text {
    font-size: 12px;
    padding-left: 20px;
    text-align: left;
    max-width: calc(100% - 170px);
    word-wrap: break-word;
    transition: color 0.3s ease; /* Smooth color change */
  }
  
  /* Text color change on hover */
  .card:hover .text h3 {
    color: #3498db; /* Blue color on hover */
  }
  /*== About==*/
  .text{
    padding: 20vh 30vh;
    margin-bottom: -20vh;
    text-align: center;
  }
  .text h1, h4{
    font-weight: 800px;
    text-align: justify;
  }
  /*mobile*/
  @media only screen and (max-width:850px){
  .text{
    padding: 100px 22px;}
  }
  /*==Slider== */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
    /* ======================== project ========================= */

  .project{
    width: 90%;
     margin: auto;
     text-align: center;
     padding-top: 100px;
     padding-bottom: 10px;
   }
   .project h4{
    text-align: justify;
   }
   .project h2{
    text-align: center;
   }
  
  /* ======================== Contact ========================= */

  .contact-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 65vh;
    padding-bottom: 60vh;
  }
  
  .contact-wrapper {
    display: flex;
    flex-direction: row;
    width: 65%;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
  }
  
  .contact-left, .contact-right {
    flex: 1; 
    padding: 80px;
  }
  
  .contact-left {
    background-color: var(--color-primary);
  }
  
  .contact-info h3 {
    font-size: 28px; 
    color: whitesmoke;
    margin-bottom: 20px;
  }
  
  .contact-info p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: whitesmoke;
    margin: 5px 0; 
  }
  
  .contact-info strong {
    font-weight: 600;
    display: block; 
    margin-bottom: 3px; 
  }
  
  
  .contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-left-title h2 {
    font-weight: 800;
    color: var(--color-primary-variant);
    font-size: 40px;
    margin-bottom: 5px;
  }
  
  .contact-left-title hr {
    border: none;
    width: 120px;
    height: 5px;
    background-color: var(--color-primary-variant);
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .contact-inputs {
    font-family: "Jost", sans-serif;
    width: 100%; 
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: var(--color-dark);
    border-radius: 50px;
    background-color: #dfdfdf;
  }
  
  .contact-right textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
  }
  
  .contact-inputs:focus {
    border: 2px solid var(--color-primary-variant);
  }
  
  .contact-inputs::placeholder {
    color: var(--color-primary);
  }
  
  .contact-right button {
    font-family: "Jost", sans-serif;
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: white;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: var(--color-primary);
    cursor: pointer;
  }
  
  @media (max-width: 800px) {
    .contact-container{
      padding-top: 90vh;
      padding-bottom: 90vh;
    }
    .contact-wrapper {
      flex-direction: column;
    }
  
    .contact-left, .contact-right {
      width: 100%;
      padding: 20px;
    }
  }
    
  

  /* ======================== Footer ========================= */
  footer {
    width: 100%;
    background-color: var(--color-primary);
    margin-top: 8rem;
    padding: 5rem 2rem; 
    font-size: 0.9rem;
    color: var(--color-primary-variant);
  }
  
  footer .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    max-width: 1200px; 
    margin: 0 auto; 
  }
  
  footer .container h4 {
    color: var(--color-primary-variant);
    margin-bottom: 1.6rem;
  }
  
  footer .copyright {
    text-align: center;
    margin-top: 4rem;
    padding: 1.2rem 0;
    color: var(--color-primary-variant);
    border-top: 1px solid var(--color-white);
  }
  
  /* Responsive Footer Styling */
  @media (max-width: 850px) {
    footer .container {
      grid-template-columns: repeat(2, 1fr); 
      gap: 2rem; 
    }
  }
  
  @media (max-width: 500px) {
    footer .container {
      grid-template-columns: 1fr; 
      gap: 2rem; 
      padding: 0 1rem; 
    }
  
    footer .copyright {
      margin-top: 2rem; 
    }
  }
  #loader{
    background: #ffff url(gallery/animation3.gif) no-repeat center center;
    background-size: 8%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100;
  }
  @media (max-width: 650px) {
    #loader{
      background-size:  #ffff url(gallery/animation3.gif) no-repeat center center;
      background-size: 8%;
      height: 100vh;
      width: 100%;
      position: fixed;
      z-index: 100;
    }
  }
  