* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text: #111;
  --muted: #6b7280;
  --accent-yellow: #f6d44f;
  --card-java: #c97a2d;
  /* orange/brown */
  --card-web: #79c968;
  /* green */
  --card-python: #3e2f86;
  /* deep purple */
  --white: #fff;
}
/* Body setup */
body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background-color: #fff;
  color: #333;
  overflow-x: hidden; /* prevent horizontal scroll */
}


/* Headings adjust */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  word-wrap: break-word;
}

/* Responsive text */
p {
  word-wrap: break-word;
}

/* Navigation fix */
nav {
  width: 100%;
  overflow-x: auto;
}

/* Utility classes */

@media (min-width: 1200px) {
  .\`,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1300px;
  }
}

.hide-overflow {
  overflow: hidden !important;
}
.full-width {
  width: 100% !important;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.5rem;
  }
  p {
    font-size: 0.95rem;
  }
}

/* Header Section */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
}
.header-logo {
  height: auto;
  width: 260;
}

.navbar {
  padding: 1rem 2rem;
  background: transparent;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  margin: 0 10px;
}


.navbar-toggler {
  background: #fff;
  border: 1px solid #fff;
}
.navbar-toggler-icon {
  background-image: url("../assests/images/menu\ \(4\).png");
}

.home-btn{
  color: #fff !important;
  font-weight: 600;
}
/* header responsive css */
@media only screen and (max-width: 786px) {
  .header-logo {
    height: auto;
    width: 160px;
  }
  .navbar {
    padding: 14px 5px;
  }
}
@media only screen and (max-width: 1020px) {
  .nav-link {
    color: #000000 !important;
  }
}

/* ===== Hero Section ===== */
/* ===== Hero Section ===== */
.hero-section {
  background: linear-gradient(135deg, #b74358, #f24b75);
  color: #fff;
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}


/* Background image layer */
.hero-section::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assests/images/Vector.png") center/cover no-repeat;
  z-index: 0;
  opacity: 0.3; /* adjust if needed */
}

.hero-box {
  background: linear-gradient(135deg,#B74358, #812939);
  border-radius: 14px;
  padding: 45px 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #fff;
}

.hero-title {
  font-family: Ubuntu ,sans-serif;
  text-align: center;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #fff;
}

.hero-subtitle {
  text-align: center;
  color: #fddc58;
  font-size: 16px;
  margin-bottom: 35px;
  font-family: "Poppins", sans-serif;
}

/* Role Buttons */
.role-btn-group {
  gap: 15px !important; /* adds space between buttons */
}

.role-btn {
  flex: 1 1 calc(33.33% - 10px);
  background: #222;
  color: #fff;
  font-size: 15px;
  padding: 18px 10px;
  border-radius: 8px;
  transition: all 0.3s;
  border: 2px solid transparent;
  text-align: center;
}

.role-btn i {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
}

.role-btn.active {
  border: 4px solid #f6d44f;
  background: #111;
  color: #f6d44f;
}

.role-btn:hover {
  background: #333;
}

@media (max-width: 768px) {
  .role-btn {
    flex: 1 1 100%;
  }
}

/* Form Fields */
.form-input {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

/* Sign In Button */
.sign-btn {
    background-color: #f24b75;
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 10px 35px;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sign-btn i {
    font-size: 18px;
    color: #fff;
}

.sign-btn:hover {
    background-color: #ff5d85;
    transform: translateY(-2px);
}

/* Wrapper for input and icon */
.input-group-custom {
  position: relative;
}

/* Icon default state (white) */
.input-icon {
  position: absolute;
  top: 65%;
  left: 20px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
  pointer-events: none;
}

/* Input style */
.form-input {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  padding-left: 45px; /* Space for icon */
  transition: border-color 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* ✅ When input is focused — icon and border turn red */
.input-group-custom input:focus + .input-icon {
  color: #ff4b5c; /* red icon */
}

.input-group-custom input:focus {
  border-color: #ff4b5c; /* red border */
}

/* ✅ When input has text — icon stays red */
.input-group-custom input:not(:placeholder-shown) + .input-icon {
  color: #ff4b5c;
}

/* Forgot Password */
.forgot-text {
  color: #fff;
  font-size: 14px;
}

.forgot-link {
  color: #f6d44f;
  font-weight: 600;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-section {
    text-align: center;
    padding: 100px 20px 60px;
  }

  .hero-box {
    margin-top: 40px;
  }
}


/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(
    180deg,
    #b74358,
    #f24b75
  ); /* background color / image */
  padding: 40px 20px;
  border-radius: 10px;
  margin: 100px auto;
  max-width: 1140px; /* limit width */
}

.newsletter-box {
  color: #fff;
}

.newsletter-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-subtitle {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* Input */
.newsletter-form .form-control {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 15px;
  font-size: 15px;
  border-radius: 0; /* reset BS */
}

/* Button */
.btn-subscribe {
  background: #f29f05;
  color: #fff;
  font-weight: 600;
  padding: 12px 25px;
  border: none;
  border-radius: 0; /* reset BS */
  transition: 0.3s ease;
  cursor: pointer;
}

.btn-subscribe:hover {
  background: #e68900;
}

/* Responsive */
@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: 10px;
  }

  .newsletter-form .form-control {
    border-bottom: 1px solid #ddd;
    width: 100%;
  }

  .btn-subscribe {
    width: 100%;
    border-radius: 0 0 10px 10px;
  }
  .newsletter-section {
    margin: 70px 15px;
    padding: 40px 10px;
  }
  .newsletter-title {
    font-size: 35px;
  }
}

/* Footer */
.footer {
  background: #fff;
  padding: 40px 20px 20px;
  color: #333;
  border-top: 1px solid #eee;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #e91e63;
}

/* App Buttons */
.app-btn:hover {
  transition: 0.3s;
}

/* Social Icons */
.social-icons a img {
  margin: 15px 5px 40px 5px;
}

/* Links */
.footer-links h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  margin-bottom: 5px;
}
.footer-links ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}
.footer-links ul li a:hover {
  color: #e91e63;
}

/* Bottom Section */
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 40px;
}

.footer-credit {
  text-align: right;
}

.footer-credit p {
  margin: 2px 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 20px !important;
    text-align: center;
  }
  .footer-logo img {
    height: 40px;
    margin-bottom: 15px;
  }
  .footer-bottom {
    justify-content: center;
  }
  .footer-credit {
    text-align: center;
  }
}
