* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* background-color: #000; */
}

body {
  font-family: sans-serif;
  background-color: #000;
}

/* Hide default cursor globally */
/* body, * {
  cursor: none !important;
} */

/* The white dot */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: yellow;
  border-radius: 50%;
  border-color: black;
  pointer-events: none; 
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: background-color 0.2s ease;
}


/* Preloader styles */
    #preloader {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background-color: black;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    /* Responsive GIF size */
    #preloader img {
      width: 20vw;       /* 20% of viewport width */
      max-width: 150px;  /* max size */
      min-width: 80px;   /* min size */
      height: auto;
    }

    /* Fade out */
    #preloader.fade-out {
      opacity: 0;
      transition: opacity 0.5s ease;
      pointer-events: none;
    }

   

/* Header */
/* Dot */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px; /* Increase font size */
  text-align: left; /* Align content to the left */
}

.menu-list li {
  margin-bottom: 10px;
}

.menu-list li a,
.menu-list li button {
  text-decoration: none;
  font-size: 18px;
  color: black;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.submenu {
  display: none; /* Hidden by default */
  margin-left: 20px; /* Add left margin to submenu */
 
  padding-left: 20px;
}

.dropdown.active .submenu {
  display: block;
}
.animated-text {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin-left: -10px;
  position: relative;
  margin-top: 5px;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: white;
  border-radius: 50%;
  margin-left: 0px;

  animation: blink 1.5s infinite;
  vertical-align: middle;
}

.changing-text {
  font-size: 18px;
  margin-left: 3px;

}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.main-header {
  width: 100%;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.171);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  font-family: 'Raleway', sans-serif;
}

/* .left-section {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  margin-right: 10px;
} */
.left-section {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-wrapper {
  width: 200px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.logo-text {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: transparent;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 25px;
  font-weight: 500;
}

.profile-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

/* NavBar */
.navbar {
  display: flex;
  gap: 30px;
  align-items: center;
  position: relative;
}

/* Wrapper for hover area */
.services-wrapper {
  position: relative;
}

/* Caret icon */
.services-link .caret {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* Panel full width */
.services-panel {
  position: fixed;
  top: 55px;
  left: 0;
 background-color: white;
  width: 100vw;
  background: white;
  display: none;
  padding: 40px 80px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  justify-content: space-between;
}


/* Panel Layout */
.services-panel .left-content {
  width: 25%;
}

.services-panel .left-content ul {
  list-style: none;
  padding: 0;
}

.services-panel .left-content li {
  margin-bottom: 25px;
  font-size: 24px;
   background-color: white;
  font-weight: 600;
  color: #000;
}

/* Right Content (Cards) */
.services-panel .right-content {
  background-color: white;
  width: 70%;
  display: flex;
  gap: 30px;
}
.right-content .card
{
  height: 250px;
}

.services-panel .card {
  width: 50%;
  border-radius: 14px;
  overflow: hidden;
}

.services-panel .card img {
  width: 100%;
  height: auto;
  display: block;
  
  border-radius: 14px;
}

.services-panel .card p {
  font-size: 14px;
  margin-top: 12px;
  color: #333;
}

.left-content ul {
  background-color: white;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  /* gap: 25px; */
}

.left-content li {
  font-size: 24px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.left-content li a {
   color: black;
  background-color: white;
  text-decoration: none;
  color: inherit;
}

/* When hovering on any li, others turn grey */
.left-content ul:hover li {
  color: black;
}

/* Keep the hovered one black */
.left-content ul li:hover {
  /* color: black; */
  color: blue;
}

.services-link {
  display: inline-flex;
  align-items: center;
  color: white;
  /* or your text color */
  text-decoration: none;
  gap: 4px;
  /* spacing between Services and ^ */
}

.services-link .caret {
  display: inline-block;
  font-size: 25px;
  line-height: 1;
  transition: transform 0.3s ease, margin-left 0.3s ease;
  margin-top: 5px;
  /* optional fine-tuning */
}

.arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  /* ▼ default */
  transition: transform 0.3s ease;
  margin-left: 8px;
  font-size: 20px;
  color: white;
}


.services-link:hover .arrow {
  transform: rotate(-135deg);
}

/* MOBILE ONLY VISIBILITY */
.mobile-nav-wrapper {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav-wrapper {
    display: block;
  }

  .main-header>.left-section,
  .main-header>.right-section {
    display: none;
  }

  .logo-img {
    width: 120px;
    height: auto;
    object-fit: cover;
    margin-right: 10px;
  }
}


.top-bar {
  height: 90px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgb(0, 0, 0);
  z-index: 1001;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.left-section {
  display: flex;
  align-items: center;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hamburger {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.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(6px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-menu.open {
  right: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.menu-header .left-section {
  flex-grow: 1;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list>li {
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 0;
}

.menu-list a,
.menu-list button {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 0;
}

.submenu {
  font-family: 'Raleway', sans-serif;
  display: none;
  list-style: none;
  padding-left: 16px;
  margin-top: 10px;
}

.submenu li {
  padding: 6px 0;
  background-color: white;
  color: black;

}
    .contact-button {
      margin-top: 24px;
      text-align: center;
    }

    .contact-button a {
      display: inline-block;
      background: black;
      color: white;
      padding: 12px 24px;
      border-radius: 80px;
      text-decoration: none;
      font-weight: bold;
    }





/* BLOGS */
.grid-container {
  background-color: black;
  display: grid;
  grid-template-areas:
    "hot-take hot-take discover"
    "hot-take hot-take imagine"
    "innovate think create";
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 40px; /* row gap and column gap */
  max-width: 1350px;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 50px;
  padding: 10px;
  font-family: sans-serif;
  color: yellow;
  overflow: hidden;
}

.card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  /* Glowy white border */
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  display: block; /* ensure full clickable area */
  text-decoration: none; /* remove underline */
  color: inherit; /* inherit text color */
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: transparent;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 40px;
  background-color: transparent;
  color: white;
  font-family: 'Days One', sans-serif;
  letter-spacing: 3px;
  line-height: 1.4;
  
}

/* Assign images and grid areas */
.hot-take {
  grid-area: hot-take;
  height: calc(180px * 2 + 50px); /* match two cards + gap */
  background-size: 600px auto;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #faed7b;
}
.discover {
  grid-area: discover;
  -webkit-text-stroke: 1px white;
  background-size: 400px auto;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgb(172, 245, 255);
}
.imagine {
  grid-area: imagine;
  background-size: 400px auto;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgb(207, 252, 178);
}
/* .innovate {
  grid-area: innovate;
  background-size: 400px auto;
  background-position: center;
  background-repeat: no-repeat;
  background-color: lavender              ;
} */
 .innovate {
  grid-area: innovate;
}
.think {
  grid-area: think;
}
.create {
  grid-area: create;
}

@media (max-width: 768px) {
  .grid-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 80px;
    max-width: 350px;
  }

  .card {
    height: 200px; /* optional adjustment for mobile */
  }

  .label{
    font-size: 30px;
  }

  .hot-take {
    height: 412px; /* 2 cards + gap */
    background-size: 300px auto;
  }

  .discover{
     background-size: 400px auto;
  }

  .imagine{
     background-size: 300px auto;
  }
}

/* Our Secret Sauce */
.flip-section {
  background-color: #000;
  padding: 2rem;
  max-width: 1400px;
  margin: auto;
  overflow: hidden;
}

.flip-heading {
  color: white;
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.card-wrapper {
  perspective: 1000px;
  height: 360px;
  transition: transform 0.3s ease;
}

.card-wrapper:hover {
  transform: translateY(30px);
}

.flip-card {
  width: 100%;
  height: 100%;
}

.flip-card .card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.flip-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.idea-title-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  font-size: 1.25rem;
  padding: 1rem;
  font-weight: bold;
}

.card-back {
  background: white;
  color: black;
  padding: 1.5rem;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.next-button {
  background-color: #000;
  border-radius: 12px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.next-button:hover {
  transform: translateY(10px);
}

.next-button img {
  max-width: 70%;
  max-height: 70%;
}

/* FOOTER */
/* ===== FOOTER BASE STYLING ===== */
.footer {
  background-color: #000; /* Black background */
  color: #fff;
  padding: 50px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1300px;
  width: 100%;
  gap: 200px;
}

/* ===== CONTACT FORM STYLING ===== */
.contact-form-wrapper {
  background-color: #fff5e9;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 5px 5px 0 #3b82f6; /* Blue shadow */
  max-width: 400px;
  flex: 1;
}

.contact-form{
    background-color: transparent;
}

.contact-form h2 {
  color: #000;
  margin-bottom: 20px;
  font-size: 22px;
  background-color: transparent;
}

.contact-form .form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  background-color: transparent;
}

.contact-form input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background-color: #ddd;
  margin-bottom: 15px;
  font-size: 14px;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

/* ===== FOOTER LINKS SECTION ===== */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  flex: 2;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #f0f0f0;
  text-align: left;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== ICON STYLING ===== */
.icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
}

/* ===== BRANDING AND SOCIAL ICONS ===== */
.footer-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
}

.footer-brand p {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    justify-items: center;
    gap: 30px 90px; /* row-gap: 15px, column-gap: 30px */
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .contact-form-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-logo{
    align-items: center;
  }
}
/* Responsive Flip Grid for Mobile Devices */
@media (max-width: 768px) {
  .flip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .card-wrapper {
    height: 300px;
  }

  .flip-heading {
    font-size: 30px;
    text-align: center;
  }

  .next-button {
    height: 300px;
  }

  .idea-title-overlay {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .card-back {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
}


