:root {
  --primary: #03a84e;
  --secondary: rgb(31, 31, 31);
  --background: #fffaf4;
  --button: #03a84e;
  --button-dark: #00813a;
  --light: #f0f0f0;
  --dark: #303030;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
b {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

h4,
h5,
h6 {
  font-family: "Bricolage Grotesque", sans-serif;
}

p,
span,
li,
label,
input {
  font-family: "Bricolage Grotesque", sans-serif;
}

textarea,
input {
  padding: 10px;
}

body {
  font-size: 16px;
  color: var(--dark);
  background-color: var(--light);
}

a {
  color: white;
  text-decoration: none;
}

/* img {
  height: 100px;
  width: 100px;
} */

.flex {
  display: flex;
  gap: 20px;
}

.flex-1 {
  flex: 1;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.flex-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px;
  max-width: 1200px;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  background-color: var(--button);
  color: white;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--button-dark);
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

/* Navbar  */
.nav-inner {
  background-color: var(--secondary);
  padding: 10px 30px;
  justify-content: space-between;
  color: white;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.nav-left img {
  width: 40px;
  border-radius: 50%;
}

.nav-right ul li {
  list-style: none;
  display: inline-block;
  margin: 0 15px;
  position: relative;
}

.nav-right ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
}

.nav-right ul li a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary));
  transition: width 0.3s ease;
}

.nav-right ul li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--background);
  border-radius: 3px;
  transition: 0.3s;
}

/* section 1 */

.hero-sec {
  display: flex;
  height: 30vh !important;
  justify-content: center;
  align-items: center;
}

.contact-card {
  width: 60%;
}

.contact-card a {
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0.3px 0.4px 5px black;
  border: 1px solid black;
  width: 100%;
  transition: 0.3s ease;
}

.contact-card h2 {
  color: var(--dark);
}

.contact-card a:hover {
  transform: scale(1.05);
}

.hero-sec-content {
  text-align: start !important;
  align-items: start !important;
}

.hero-sec-content a {
  color: var(--primary);
}

.sec1 {
  background: url(../images/page.jpg) center/cover no-repeat;
  height: 95vh;
}

.slide1-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--secondary);
  border-radius: 20px;
}

.slide {
  display: none;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: grid;
}

.slide-left {
  text-align: center;
  color: white;
  padding: 40px;
}

.slide-right {
  height: 400px;
}

.slide-right img {
  width: 100%;
  height: 100%;
}

/* Section 2 */
.sec2-card {
  box-shadow: 2px 2px 10px black;
  border-radius: 10px;
  text-align: center;
  justify-content: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--background);
  height: 100%;
}

.sec2-content {
  padding: 0px 20px 20px 20px;
}

.sec2-card img {
  width: 100%;
  height: 200px;
  border-radius: 10px 10px 0px 0px;
}

.sec2-card:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 20px black;
}

/* section 3  */
.sec3 {
  background: url(../images/page.jpg) center/cover no-repeat;
}

.sec3-content ul {
    text-align: start;
    margin-left: 10px;
}

.sec3-cards {
  width: 100%;
}

.sec3-card a {
  color: var(--dark);
}

.sec3-card a:hover {
  color: var(--button-dark);
}

.sec3-card u {
  text-decoration-color: var(--button-dark);
}

/* section 4 */
.sec4 {
  position: relative;
  overflow: hidden;
  /* padding: 20px 0; */
}

.sec4-slide-container {
  position: relative;
  overflow: hidden;
}

.sec4-slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
  gap: 20px;

  align-items: stretch;
}

.sec4-slide {
  min-width: calc(97% / 3);
  box-sizing: border-box;
  padding: 10px;
  height: auto;
}

.sec2-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.3s;
}

.sec2-card:hover {
  transform: translateY(-5px);
}

/* Arrows */
.sec4-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.sec4-controls button {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 5px 15px 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.sec4-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Dots */
.sec4-dots {
  text-align: center;
  margin-top: 15px;
}

.sec4-dots button {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #bbb;
  border: none;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.sec4-dots button.active {
  background: #333;
}

/* Responsive */
@media (max-width: 992px) {
  .sec4-slide {
    min-width: calc(100% / 2);
    align-items: stretch;
  }
}
@media (max-width: 600px) {
  .sec4-slide {
    min-width: 100%;
  }
  .sec4-controls {
    display: none;
  }
}

/* Section 6  */
.sec6-right {
  width: 100%;
  height: 100%;
}

.sec6-right img {
  width: 100%;
  height: 100%;
  max-height: 658px;
  object-fit: cover; /* keeps image proportional while filling the area */
  display: block; /* removes extra bottom space from inline images */
  border-radius: 10px; /* optional, for smooth corners */
}

.sec6 button {
  width: 100%;
}

/* Footer  */
.footer {
  background-color: var(--dark);
  color: white;
}
.footer-left {
  width: 100%;
}

.footer-up {
  padding: 15px;
  border-radius: 20px;
  background-color: #474747;
}

.footer-center,
.footer-right {
  text-align: right;
}

.footer-links li {
  list-style: none;
  margin-bottom: 10px;
  transition: 0.3s ease;
}

.footer a:hover {
  color: var(--primary);
}

/* 📱 Mobile Devices (up to 767px) */
@media (max-width: 767px) {
  body {
    font-size: 14px;
    text-align: center;
  }
  .container {
    padding: 30px 10px;
  }

  h1 {
    font-size: 20px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(1, 1fr);
  }

  .slide {
    grid-template-columns: repeat(1, 1fr);
  }

  .slide-left {
    padding: 20px 20px 0px 20px;
  }

  .slide-right {
    height: 310px;
  }

  .slide-right img {
    height: 100%;
  }
  .nav-right {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--background);
    width: 100%;
    height: 50vh;
    z-index: 999;
    display: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* transform: translateX(100%); */
    transition: transform 0.3s ease-in-out;
  }

  .nav-right.active {
    display: block;
  }

  .nav-left h2 {
    display: none;
  }

  .nav-right ul {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    height: 100%;
    text-align: center;
    justify-content: center;
  }

  .nav-right ul li a {
    font-size: 20px;
    color: var(--dark);
  }

  .hamburger {
    display: flex;
  }

  /* Animate hamburger when active */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .sec6-right {
    height: 350px;
  }

  .sec6-left h2 {
    font-size: 19px;
  }

  .form6-field {
    text-align: start;
    gap: 10px;
  }

  .footer-down {
    flex-direction: column;
    text-align: start;
  }

  .footer-down h2 {
    display: block;
  }

  .footer-center,
  .footer-right {
    text-align: start;
  }

  .contact-card {
    flex-direction: column;
    width: 100%;
  }
}

/* 📲 Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  body {
    font-size: 16px;
  }
  .container {
    padding: 20px;
  }
}
