/* styling for the entire website */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #00264d;
  color: white;
}

/* styling for the navbar */
.navbar {
  position: fixed;        /* Make it stick */
  top: 0;                 /* Stick to the top */
  left: 0;
  width: 100%;            /* Full width */
  z-index: 999;           /* Stay above other content */
  background-color: #00264d; /* Keep background solid while scrolling */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
}
.logo {
  width: 100px;
  height: 100px;
  /* font-size: 1.8em;
  font-weight: bold; */
}

.nav-links a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
}

.signup {
  background-color: white;
  color: #00264d;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

/* styling the hook */
.hook {
  margin-top: 100px; /* Adjust depending on navbar height */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 50px;
  position: relative;
}

.hook-text {
  max-width: 50%;
}

.hook-text h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.hook-text p {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.6em;
}

.hook-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-left: 30px;
}

/* styling the stats */
.stats {
  position: absolute;
  bottom: -40px;
  left: 50px;
  background-color: #92d3a0;
  color: #00264d;
  padding: 20px 30px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.stats p {
  margin-bottom: 10px;
}

.stats h2 {
  font-size: 2em;
}

/* styling the head, subhead, and information */
.head, .subhead, .information {
  text-align: center;
}

.head, .subhead {
  font-weight: bold;
}

.head {
  font-size: 3em;
}

.subhead {
  font-size: 2em;
}



/* styling the card */
.cards-container {
  display: flex;              /* horizontal layout */
  flex-wrap: wrap;            /* wrap to new line */
  gap: 24px;                   /* space between cards */
  padding: 32px 48px;          /* space from edges of window */
  box-sizing: border-box;
  justify-content: flex-start; /* align from left */
  align-items: flex-start;
}

/* === Card styling === */
.card {
  position: relative;
  flex: 0 0 250px;             /* fixed width in flex layout */
  width: 250px;
  height: 300px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  z-index: 1;
}

.card:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.card svg {
  width: 48px;
  fill: #333;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover svg {
  scale: 0;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* === Card content overlay === */
.card__content {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover .card__content {
  opacity: 1;
}

.card__title {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 700;
}

.card__description {
  margin: 10px 0 0;
  font-size: 14px;
  color: #777;
  line-height: 1.4;
}

/* === Scrollable text section === */
.card__scrollable {
  max-height: 150px; 
  color: #777;
  overflow-y: auto; 
  padding-right: 8px;

  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
}

.card__scrollable::-webkit-scrollbar {
  width: 0; /* hidden by default */
}

.card__scrollable:hover::-webkit-scrollbar {
  width: 6px; /* show on hover */
}

.card__scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.card__scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 3px;
}

/* Copyright - 2025 gharsh11032000 (Harsh Gupta) 

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */


.imglogo {
  width: 200px;
  height: 200px;
}

.links {
  color: inherit;
}