@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-gradient: linear-gradient(135deg, #7040a7ff, #4b2c7c);
  --secondary-color: #028897;
  --accent-color: #ffcc00;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #ffffff;
  --white: #ffffff;
}
h3 {
  font-size: 1.3rem;
}

.role-btn__text {
  position: relative;
  top: -2px;
  /* adjust value as needed */
}


body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* background image fixed through scroll */
  background: url("photo/bgindex.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed; /* 👈 ensures image stays and covers the entire scroll area */
}

/* Header Styles */
.header {
  background: var(--primary-gradient);
  padding: 0 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  
}

.header.scrolled {
  padding: 5px 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
}

.header img {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
}

.header.scrolled img {
  width: 50px;
  height: 50px;
}

.logo-text {
    color: var(--white);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

/* Navigation */
nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 0;
  position: relative;
  transition: all 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links {
  transform: translateY(-1px);
}

.cta-link {
  background: linear-gradient(135deg, #ffcc00, #ff9900, #9b5d01); /* warm gold gradient */
  border: none;
  border-radius: 30px; /* soft pill shape */
  color: var(--white) !important;
  padding: 0.6rem 1.2rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;

  /* 3D-style base shadow */
  box-shadow: 0 3px 0 #5e3e00;

  /* shifted text shadow to the left */
  text-shadow:
    -2px -1px 0 rgba(94, 62, 0, 0.4),
    -1px  0px 0 rgba(94, 62, 0, 0.3),
    -2px  1px 0 rgba(94, 62, 0, 0.25);
}



/* Lift slightly on hover */
.cta-link:hover {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 #5e3e00;
}

/* Pressed look */
.cta-link:active {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #5e3e00,
    0 3px 5px rgba(0, 0, 0, 0.25);
}

/* Remove default pseudo after */
.cta-link::after {
  display: none;
}


.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero-section {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center; 
  align-items: center;
  padding: 4rem 2rem;

  /* background: url("photo/bgindex.png") no-repeat center center;
  background-size: cover; */

  text-align: center;
  overflow: hidden;
}

.hero-section .container {
  position: relative;
  z-index: 2; /* keep text above video */
}

h1 {
    color: #FF9800;
    font-size: 4rem;
    font-weight: 800;
    margin-left: 2rem;
    text-align: left;
    width: 50%;
    text-shadow: 5px 0 0 #8a560b;
    letter-spacing: 5px;
}

.hero-image {
  max-width: 100%;
  animation: floatUpDown 2s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-60px);
  }
}

.role-btn {
  background: var(--primary-gradient);
  color: #fff; /* fallback */
  text-decoration: none;
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(2, 136, 151, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Text gradient animation */
.role-btn__text {
  background-image: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 50%,
    #ff8800 100%
  );
  background-size: 200% 100%;
  background-position: left;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position 0.6s linear;
}

/* Icon keeps its normal color */
.role-btn i {
  color: #fff;
  transition: color 0.3s ease;
}

.role-btn:hover {
  transform: translateX(3px);
  box-shadow: 0 6px 20px rgba(2, 136, 151, 0.4);
}

.role-btn:hover .role-btn__text {
  background-position: left; /* sweep left → right */
}

.role-btn:hover i {
  color: #00ffff; /* optional: make icon match hover color */
}

.scroll {
    width: 965px;
  height: 5%;
  position: absolute;
  background-color: #6d5843;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* higher = on top */
}

.handle {
  width: 1000px;
  height: 2%;
  border-radius: 15px;
  position: absolute;
  background-color: #514132;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* lower = behind */
}



/* Content Sections */
.section-container {
      margin: 3rem auto;
    max-width: 900px;
  padding: 5rem 2rem;
  margin: 0 auto;
  background-color: #fcdcbc70;
  background: url("photo/scroll.png") no-repeat center center;
  background-size: cover;
  
}

.section-title {
  color: #3F51B5;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.section-content {
  background: linear-gradient(
    to right,
    rgba(202, 231, 97, 0.31),
    rgba(202, 231, 97, 0.027)
  );
  color:white
  
}
p {
    margin: 1rem;
}

/* Slider Styles */
.slider-container {
  margin: 3rem auto;
  position: relative;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.slider-wrapper {
  overflow: hidden;
  border-radius: 12px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.slider-button {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-button:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin: 1.5rem;
  gap: 0.5rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: var(--white);
  transform: scale(1.2);
}

/* Highlight Box */
.highlight-box {
  background: var(--white);
  /* Rounded only on the right side */
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;

  /* Remove left radius */
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
box-shadow: 8px 8px 1px rgba(0, 0, 0, 0.08);  padding: 3rem;
  margin: 3rem auto;
  max-width: 900px;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(to bottom, #cbe761, #017856);
  /* Keep edges sharp */
  border-radius: 0;
}

.highlight-title {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.highlight-text {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.highlight-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.highlight-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.highlight-ending {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: var(--secondary-color);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #ddd;
}

/* Image with Caption */
.image-container {
  text-align: center;
  margin: 4rem auto;
  max-width: 900px;
}

.styled-image {
  width: 100%;
  border-radius: 12px;
box-shadow: 8px 8px 1px rgba(0, 0, 0, 0.08);}

.image-caption {
  font-style: italic;
  color: #666;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Footer */
.footer {
background: var(--primary-gradient);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-logo {
  width: 80px;
  margin-bottom: 5px;
}
.logo-footer-container {
  display: flex;
  align-items: center; /* vertically align logo and text */
  gap: 0.8rem; /* spacing between logo and text */
}

.footer-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-link {
  color: white;
  font-size: 20px;
  margin: 0 10px;
  text-decoration: none;
  transition: transform 0.3s;
}

.social-link:hover {
  transform: scale(1.2);
  color: #ff9901; /* example hover color */
}


.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
@media (max-width: 992px) {
    .header {
        padding: 1rem 2rem;
    }
}