body {
font-family: "Poppins", sans-serif;
background-color: #383838;
margin: 0px;
cursor: ;
}
::selection {
background-color: #ccc;
color: #fff;
}
::-moz-selection {
background-color: #ccc;
color: #fff;
}
.more {
display: none;
margin-bottom: 0px;
}
.fade-out {
opacity: 0;
transition: opacity 1s;
}
img,
object,
video {
max-width: 100%;
min-width: 100%;
-webkit-user-drag: none;
overflow: hidden;
}
a {
text-decoration: none;
font-weight: 300;
color: #d1d3d4;
}
a:hover {
text-decoration: underline;
color: #d1d3d4;
}
.button {
font-family: "Poppins", sans-serif;
background: #6f7e81;
color: #d1d3d4;
border: 2px solid #6f7e81;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1.0em;
border-radius: 100px;
cursor: pointer;
}
.button:hover {
background: #3a3b41;
color: #d1d3d4;
}
.button2 {
font-family: "Poppins", sans-serif;
background: #d1d3d4;
color: #3a3b41;
border: 2px solid #6f7e81;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1.0em;
border-radius: 100px;
cursor: pointer;
}
.button2:hover {
background: #3a3b41;
color: #d1d3d4;
}
/*   headings  */
h1 {
margin-left: 0;
margin-top: 0;
margin-bottom: 0.2em;
text-align: left;
color: #d1d3d4;
letter-spacing: 0.0em;
font-size: 1.8em;
line-height: 1.1;
font-weight: 500;
background-color: #;
font-style: ;
text-transform: ;
}
/*  parags */
h2 {
margin-left: 0;
margin-top: 0;
margin-bottom: 0.5em;
text-align: left;
color: #d1d3d4;
letter-spacing: 0.0em;
font-size: 1.0em;
line-height: 1.2em;
font-weight: 300;
background-color: #;
font-style: ;
text-transform: ;
}
/*  email */
h3 {
margin-left: 0;
margin-top: 0;
margin-bottom: 0em;
text-align: left;
padding-left: 0%;
padding-right: 0%;
color: #dedcd3;
letter-spacing: 0.0em;
font-size: 1.0em;
font-weight: 300;
background-color: #;
font-style: ;
text-transform: ;
}
/* copyright */
h4 {
margin-left: 0;
margin-top: 0;
margin-bottom: 0.0em;
text-align: left;
color: #d1d3d4;
letter-spacing: 0.0em;
font-size: 0.8em;
line-height: 1.2em;
font-weight: 200;
background-color: #;
font-style: ;
text-transform: ;
}
/* testimonials */
h5 {
margin-left: 0;
margin-top: 0;
margin-bottom: 0.5em;
text-align: center;
color: #d1d3d4;
letter-spacing: 0.0em;
font-size: 1.0em;
line-height: 1.2em;
font-weight: 300;
background-color: #;
font-style: ;
text-transform: ;
}
/*  menu ins */
h6 {
margin-left: 0;
margin-top: 0;
margin-bottom: 0;
text-align: center;
color: #dedcd3;
letter-spacing: 0.0em;
font-size: 1.8em;
line-height: 1.3em;
font-weight: 300;
background-color: #;
font-style: ;
text-transform: ;
}
#main {
float: left;
width: 100%;
background-color: #;
opacity: 0;
transition: opacity 0.5s ease-in;
}
/* Preloader styles */
#preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 10px; /* Adjust the height of the loading bar */
background-color: #d1d1d1; /* Gray loading bar color */
z-index: 9999;
}
#progress-bar {
width: 15%;
height: 100%;
background-color: #383838; /* White progress bar color */
transition: width 0.3s ease-in-out;
}
#wiggle {
position: fixed;
z-index: -1;
width: 60%;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
#logo {
position: fixed;
z-index: 5;
width: 6em;
float: left;
margin-left: 30px;
margin-right: 0px;
margin-top: 30px;
margin-bottom: 0px;
background-color: #;
}
#homel {
width: 40%;
float: left;
margin-top: 150px;
margin-left: 30px;
margin-right: 0%;
background-color: #;
}
#infol {
width: 60%;
float: left;
margin-top: 150px;
margin-left: 30px;
margin-right: 0%;
background-color: #;
}
#infof {
width: 96%;
float: left;
margin-top: 150px;
margin-left: 2%;
margin-right: 0%;
background-color: #;
}
#infopic {
width: 100%;
float: left;
margin-top: 5px;
margin-bottom: 5px;
border-radius: 10px;
overflow: hidden;
background-color: #;
}
#infoc {
width: 80%;
float: left;
padding-left: 2%;
padding-right: 2%;
padding-top: 2%;
padding-bottom: 2%;
margin-left: 10%;
margin-right: 10%;
margin-bottom: 20px;
border-radius: 5px;
background-color: #3a3b41;
box-sizing: border-box; /* Ensures padding is included in the width */
}
#infol2 {
width: 90%;
float: left;
margin-top: 120px;
margin-left: 30px;
margin-right: 20%;
background-color: #;
}
#infolo {
width: 90%;
float: left;
margin-top: 0px;
margin-left: 30px;
margin-right: 20%;
background-color: #;
}
#infoloimg {
margin-top: 3%;
width: 30%;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
#full {
width: 100%;
float: left;
margin-top: 2%;
border-radius: 5px;
overflow: hidden;
}
#prof {
max-width: 500px%;
float: left;
margin-top: 2%;
border-radius: 5px;
overflow: hidden;
}
#infobot {
  width: calc(100% - 60px); /* 100% width minus 30px on each side */
  float: left;
  margin-top: 1%;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 20%;
}
/* Gallery Grid */
#gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.gallery-item {
    width: 100%;
    height: 0;
    padding-top: 100%; /* Square aspect ratio */
    position: relative;
    overflow: hidden;
}
.gallery-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop to square */
    transform: translate(-50%, -50%); /* Center the image */
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    will-change: transform; /* Optimizes the scaling */
}
/* Hover effect to scale the image */
.gallery-item img:hover {
    transform: translate(-50%, -50%) scale(1.05); /* Keep the center position while scaling */
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(58, 59, 65, 0.97);
    overflow: auto;
    padding-top: 60px;
}
/* Add margin/padding to the modal-content */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%; /* Maximum width */
    max-height: 90%; /* Maximum height */
    object-fit: contain; /* Ensure the image scales proportionally */
    padding: 20px; /* Add padding to ensure the image doesn't touch the edges */
    box-sizing: border-box; /* Ensures padding is included in the size calculation */
}
/* Custom Close Button */
.close {
    position: absolute;
    top: 30px;  /* Adjust as needed */
    right: 30px;  /* Adjust as needed */
    width: 3em;  /* Set the size of your close button */
    height: 3em;  /* Set the size of your close button */
    background-image: url('images/bergx.svg'); /* Replace with your image path */
    background-size: contain;  /* Make the image fit within the button area */
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 10; /* Ensure the close button stays above the image */
}
.close:hover,
.close:focus {
    opacity: 0.7;  /* Optional: Add hover effect to make it more interactive */
}
/* Navigation Buttons */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Adjust button size */
    height: 50px; /* Adjust button size */
    background-color: transparent; /* Remove any background color */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}
/* Custom images for buttons */
.prev { 
    left: 20px; 
    background-image: url('images/prev.svg'); /* Replace with your image path */
}
.next { 
    right: 20px; 
    background-image: url('images/next.svg'); /* Replace with your image path */
}
.modal-nav:hover {
    opacity: 0.7;
}
#tabin {
position: fixed;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 90vh;
width: 90%;
left: 50%; /* Center horizontally */
transform: translateX(-50%); /* Center horizontally */
}
#bergnav {
position: fixed;
z-index: 4;
width: 100%;
margin-left: 0%;
margin-right: 0%;
margin-top: 0%;
margin-bottom: 0%;
padding-top: 0%;
background-color: #;
opacity: 1;
}
#menu {
width: 100%;
min-height: 100%;
padding-bottom: 1%;
float: right;
background-color: #;
}
/* berg size */
#menuico {
position: relative;
z-index: 5;
width: 3em;
float: right;
margin-left: 0%;
margin-right: 30px;
margin-top: 30px;
margin-bottom: 0px;
background-color: #;
cursor: pointer;
}
/* manu in colour */
#menuin {
width: 100%;
height: 100vh;
background-color: #383838;
}
.fade-div {
position: fixed;
top: 0;
left: 0;
width: 100%; /* Set the desired width */
height: 100%; /* Set the desired height */
background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
z-index: -1;
}
#hero {
  position: fixed;
  z-index: -2;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
#hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1); /* Initial scale */
  transition: opacity 1s ease-in-out, transform 7s ease-in-out; /* Smooth scaling transition */
}
/* Ensure the first image starts visible */
#hero img:first-child {
  opacity: 1;
  transform: scale(1); /* Slightly scale up the first image */
}
#container {
width: 100%;
position: relative;
}
#bl {
display: inline;
position: fixed;
bottom: 30px;
left: 30px;
width: 80%;
z-index: 5;
}
#br {
position: fixed;
bottom: 30px;
right: 30px;
width: 2.5em;
z-index: 5;
}
#box1 {
width: 100%;
height: 1px;
margin-left: 0;
margin-right: 0;
margin-top: 2%;
margin-bottom: 2%;
float: left;
background-color: #EFEFE5;
}
#null {
width: 100%;
float: left;
background-color: #;
}
#gap1 {
width: 100%;
height: 1%;
float: left;
background-color: #;
}
#gap2 {
width: 100%;
height: 2%;
float: left;
background-color: #;
}
#gap5 {
width: 100%;
height: 7%;
float: left;
background-color: #;
}
#gap10 {
width: 100%;
height: 10%;
float: left;
background-color: #;
}
#gap20 {
width: 100%;
height: 20%;
float: left;
background-color: #;
}
#gap50 {
width: 100%;
height: 50%;
float: left;
background-color: #;
}
#gap100 {
width: 100%;
height: 100%;
float: left;
background-color: #;
}
html {
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ Two per row on large screens */
  gap: 16px;
  align-items: start;
}

.grid-gallery figure {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.grid-gallery img {
  display: block;
  width: 100%;
  height: auto;         /* keeps natural proportions */
  object-fit: contain;  /* no cropping */
}

.grid-gallery figcaption {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 10px 12px 12px;
  color: #0c2233;
}

@media screen and (max-width: 650px)
{


  .grid-gallery {
    grid-template-columns: 1fr; /* ✅ One per row on mobile */
    gap: 14px;
  }
  .grid-gallery figcaption {
    font-size: 0.9rem;
  }
/*  menu ins */
h6 {
font-size: 1.2em;
}
#homel {
width: 90%;
float: left;
margin-top: 120px;
margin-left: 5%;
margin-right: 5%;
}
#infoc {
width: 95%;
float: left;
padding-left: 2%;
padding-right: 2%;
padding-top: 2%;
padding-bottom: 2%;
margin-left: 2.5%;
margin-right: 2.5%;
margin-bottom: 20px;
border-radius: 5px;
background-color: #3a3b41;
box-sizing: border-box; /* Ensures padding is included in the width */
}
#infol {
width: 90%;
float: left;
margin-top: 120px;
margin-left: 5%;
margin-right: 5%;
}
#infoloimg {
margin-top: 5%;
width: 50%;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
#prof {
width: 100%;
float: left;
margin-top: 2%;
border-radius: 5px;
overflow: hidden;
}
#infobot {
width: 90%;
float: left;
margin-top: 2%;
margin-left: 5%;
margin-right: 5%;
}

}
