html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Roboto Bold */
@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/static/Roboto-Bold.woff2') format('woff2'),
       url('../assets/fonts/Roboto/static/Roboto-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* Roboto Italic */
@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto/static/Roboto-Italic.woff2') format('woff2'),
       url('../assets/fonts/Roboto/static/Roboto-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}

body {
  font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700; /* bold headings */
}

p, span, li {
  font-weight: 400; /* normal text */
}



/* Make header fixed at top but initially visible */
#mainHeader {
  height: 100px;           /* adjust this to your desired strip height */
  background-color: #ffffff;
  display: flex;
  align-items: center;     /* vertically centers content */
  width: 100%;
  position: relative;      /* or fixed if you want it fixed */
  z-index: 1000;
  padding: 0 2rem;         /* horizontal padding only */
}

#mainHeader img {
  height: 60px;            /* logo size, adjust as needed */
  width: auto;             /* keep aspect ratio */
}

body {
  margin: 0;
}

/* Logo always moves down with scroll */
#logo {
  position: relative; /* will adjust dynamically via JS */
  transition: transform 0.3s ease;
}

/* Dark Mode Toggle SVG styling - common */
#darkModeToggle img {
  width: 30px;
  height: 30px;
  transition: filter 0.3s ease;
}

/* Dark mode: white icon */
body.dark-mode #darkModeToggle img {
  filter: brightness(0) invert(1); /* makes black SVG white */
}

/* Light mode: black icon */
body.light-mode #darkModeToggle img {
  filter: brightness(0) invert(0); /* black icon */
}

/* Optional hover effect */
#darkModeToggle:hover img {
  filter: brightness(0) invert(0.8) sepia(0.2) saturate(2);
}


/* Hero section background */
.hero-section {
  min-height: 70vh;               /* ensures at least 70% of viewport height */
  height: auto;                   /* allow it to grow if content is taller */
  background-image: url('../assets/images/hero-background.avif');
  background-size: cover;         /* stretch and crop to cover entire area */
  background-position: center;    /* always center the image */
  background-repeat: no-repeat;
  display: flex;                  /* center content inside */
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Full overlay purple box covering entire hero */
.hero-box-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;                  /* overlay covers entire hero-section */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(111, 66, 193, 0.7);
  padding: 1rem;                 /* some breathing room on small screens */
  box-sizing: border-box;
}

.hero-box-text {
  background-color: #5d468a;
  padding: 2rem 3rem;
  font-size: 6rem;               /* large on desktop */
  line-height: 1.1;
  border-radius: 0.5rem;
  display: inline-block;
  text-align: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  animation: flipOpen 1s ease-out forwards;
}

/* Responsive font for smaller screens */
@media (max-width: 992px) {
  .hero-box-text {
    font-size: 3rem;
    padding: 1.5rem 2rem;
  }
}

@media (max-width: 576px) {
  .hero-box-text {
    font-size: 2rem;
    padding: 1rem 1.5rem;
  }
}

/* Keyframes for flip */
@keyframes flipOpen {
  0% {
    transform: rotateX(-90deg);
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.features-section .feature-box {
  background-color: #fff; /* white background */
  border-radius: 0.5rem;  /* rounded corners */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-section .feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* optional hover effect */
}

.features-section h3 {
  color: #000000; /* dark purple for headings */
}

.features-section p {
  color: #2b2828;
  margin-top: 0.5rem;
}

/* Hidden by default */
/* Hidden by default */
.feature-box {
  opacity: 0;
  transform: translateY(50px); /* start slightly lower */
  transition: all 1.2s ease-out; /* slow, smooth animation */
}

/* Show when in view */
.feature-box.show {
  opacity: 1;
  transform: translateY(0);
  background-color: rgb(255, 255, 255);
}

/* Optional: staggered delays for each box */
.feature-box:nth-child(1) { transition-delay: 0.2s; }
.feature-box:nth-child(2) { transition-delay: 0.4s; }
.feature-box:nth-child(3) { transition-delay: 0.6s; }
.feature-box:nth-child(4) { transition-delay: 0.8s; }


/* Section background acting as canvas */
.bg-canvas-section {
  position: relative;
  min-height: 70vh; /* height of the section */
  background-image: url('../assets/images/section-2-bg.jpg'); /* <-- replace with your image path */
  background-size: cover;      /* ensures image covers entire section */
  background-position: center; /* centers the image */
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;         /* vertically centers the cards */
  padding: 12rem 0;             /* top and bottom spacing */
}

/* Translucent cards floating on background */
.translucent-card {
  background-color: rgba(255, 255, 255, 0.8); /* semi-transparent white */
  border-radius: 0.5rem;
  padding: 50rem 30rem;
  min-height: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.translucent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.translucent-card h3 {
  color: #36006F; /* dark purple for headings */
  font-size: 2rem;
  
}

.translucent-card p {
  color: #252525;
  font-size: large;
}

.footer-strip {
  background-color: #f8f9fa; /* light white/grey strip */
  color: #333;
  font-size: 0.9rem;
  border-top: 1px solid #e0e0e0;
}

.footer-strip {
  background-color: #f8f9fa; /* light white/grey strip */
  color: #6c757d;
  font-size: 0.9rem;
  border-top: 1px solid #e0e0e0;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* space between icons */
  margin-bottom: 0.5rem;
}

.footer-icon img {
  width: 24px;       /* adjust size */
  height: 24px;
  filter: brightness(0) saturate(100%) invert(50%); /* makes black icons grey */
  transition: filter 0.3s ease;
}

.footer-icon:hover img {
  filter: brightness(0) saturate(100%) invert(23%) sepia(68%) saturate(600%) hue-rotate(245deg) brightness(95%) contrast(85%);
}

