@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --primary-color: #2887ff;
  --primary-color-dark: #2476da;
  --text-dark: #0a0a0a;
  --text-light: #737373;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
}

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

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 5px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  text-align: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

.nav_logo {
  height: 150px;
  width: 150px;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  background-image: url("assets/join.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  

}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

/* Navbar Styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: transparent; /* Dark background for the header */
}

#navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  padding: 0.8rem 0;
}

.nav_logo {
  height: 150px;
  width: 150px;  
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #fff1a6;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background-color: #fff1a6;
  color: #354730;
  padding: 0.75rem 1.5rem;
  border: 1px solid #858585;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.join-network {
  background-color: transparent;
  border: 2px solid #fff1a6;
  color: #fff1a6;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.join-network:hover {
  background-color: #fff1a6;
  color: #354730;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  box-shadow: 0 8px 16px #354730;
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  background-color: transparent;
}

.dropdown-content a {
  color: #fff1a6;
  padding: 0.8rem 1rem;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #fff1a6;
  color: #354730;
  opacity: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 150vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding-top: 80px;
    background: url('assets/Building.png') no-repeat center center/cover;
}

.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: brightness(0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero-text {
    font-size: 16px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.tagline {
    font-style: italic;
    font-weight: 500;
    font-size: 2rem;
}

/* Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
  border: 1px solid #fff1a6;
  border-radius: 5px;
  padding: 5px;
}

.hamburger:hover {
  color: #fff1a6;
  background-color: #354730;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #fff1a6;
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media screen and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .nav-links {
    gap: 1rem;
  }
}

@media screen and (max-width: 768px) {

  .header{
    position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #354730;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background-color: #354730; /* Background color for mobile menu */
    box-shadow: 0 8px 16px #354730;
    z-index: 10;
    
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    background-color: #354730; /* Background color for dropdown in mobile */
    box-shadow: none;
  }

  .dropdown-content a {
    color: #fff1a6;
  }

  .join-network {
    display: block;
    margin-top: 1rem;
    text-align: center;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 2px solid #fff1a6;
    color: #fff1a6;
  }

  .join-network:hover {
    background-color: #fff1a6;
    color: #354730;
  }

  .hamburger {
    display: block;
  }

  .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(7px, -6px);
  }
}

/* join our portal 1st section starts here  */

.Join_hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: white;
    margin-top: 15rem;

}

/* Background Image */
.Join_hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/second.png');
    background-size: cover;
    background-position: center;
    filter: brightness(50%);
    z-index: -1;

}

/* Hero Content */
.Join_hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;


}

.Join_subheading {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 10px;
}

.Join_main-heading {
    font-size: 32px;
    font-weight: 600;
    margin: 10px 0;

}

.Join_description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;

}

/* Button */
.Join_btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 2px solid #fff1a6;
    color: #fff1a6;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin-top: 10px;
}

.Join_btn:hover {
    background-color: #fff1a6;
    color: #354730;
    border: 2px solid #354730;
    transform: scale(1.1);
    transition: all 0.3s ease;

}
/* join our portal 1st section ends here */

/* second section  starts of join our portal */

.portal-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    min-height: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.228);
  backdrop-filter: blur(10px);
  margin-top: 2rem;

}
.portal-image img {
    width: 400px;
    height: auto;
    border-radius: 10px;

}
.portal-content {
    max-width: 500px;

}
.portal-content h2 {
    font-size: 24px;
    color:  #354730;
    margin-bottom: 20px;

}
.portal-content ul {
    list-style: none;
    margin: 0 auto;

    padding: 0;

}
.portal-content ul li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    align-items: center;

}
.portal-content ul li::before {
    content: "✔";
    color:  #354730;
    margin-right: 10px;

}

@media (max-width: 768px) {
  .portal-section {
      flex-direction: column;
      text-align: center;
      gap: 20px;
      padding: 15px;
  }

  .portal-image img {
      width: 100%; /* Make the image responsive */
      max-width: 300px; /* Restrict maximum width */
  }

  .portal-content {
      max-width: 100%; /* Allow content to take full width */
  }

  .portal-content h2 {
      font-size: 20px;
  }

  .portal-content ul li {
      font-size: 14px;
  }
}


/* second section  ends of join our portal */

/* third section  starts of join our portal */

.Form_container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(201, 169, 97, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(201, 169, 97, 0.1), transparent);
    pointer-events: none;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.form-main {
    text-align: center;
    margin-bottom: 40px;
}

.form-main h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #C9A961, #F4E4BC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.form-main p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    color: #C9A961;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 45px 15px 15px;
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #000000;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #C9A961;
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #C9A961;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.form-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.form-group input:focus ~ .form-icon,
.form-group select:focus ~ .form-icon,
.form-group textarea:focus ~ .form-icon {
    color: #C9A961;
}

.profile-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.profile-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-card input[type="checkbox"] {
    display: none;
}

.profile-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    height: 120px;
}

.profile-card label i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.profile-card label span {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.profile-card:hover label {
    border-color: #C9A961;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.2);
    transform: translateY(-5px);
}

.profile-card:hover label i,
.profile-card:hover label span {
    color: #C9A961;
}

.profile-card input[type="checkbox"]:checked + label {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.2), rgba(244, 228, 188, 0.1));
    border-color: #C9A961;
    box-shadow: 0 0 30px rgba(201, 169, 97, 0.4);
}

.profile-card input[type="checkbox"]:checked + label i,
.profile-card input[type="checkbox"]:checked + label span {
    color: #F4E4BC;
}

.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.upload-area:hover {
    border-color: #C9A961;
    background: rgba(201, 169, 97, 0.05);
}

.upload-content h3 {
    color: #C9A961;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.upload-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.upload-icon {
    font-size: 3rem;
    color: #C9A961;
    margin-bottom: 20px;
}

.upload-btn {
    background: linear-gradient(135deg, #C9A961, #F4E4BC);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 169, 97, 0.3);
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid rgba(40, 167, 69, 0.3);
    border-radius: 12px;
    padding: 20px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-icon {
    font-size: 2rem;
    color: #28a745;
}

.file-info {
    flex: 1;
    text-align: left;
}

.file-name {
    display: block;
    font-weight: 600;
    color: #ffffff;
}

.file-size {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.success-icon {
    color: #28a745;
    font-size: 1.5rem;
}

.remove-file {
    background: rgba(220, 53, 69, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #dc3545;
    transition: all 0.3s ease;
}

.remove-file:hover {
    background: rgba(220, 53, 69, 0.4);
}

.upload-error {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    padding: 15px;
    color: #dc3545;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #C9A961, #F4E4BC);
    color: #000;
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(201, 169, 97, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.success-message {
    text-align: center;
    padding: 60px 40px;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon-large {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-content h2 {
    color: #C9A961;
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

.dynamic-fields {
    margin-top: 20px;
}

.dynamic-fields .form-group {
    animation: slideIn 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .form-wrapper {
        padding: 20px;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-cards {
        grid-template-columns: 1fr;
    }
    
    .upload-area {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 1.8rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .submit-btn {
        font-size: 1.1rem;
        padding: 16px 25px;
    }
}

/* third section  ends of join our portal */

/* whatsapp plugin section starts from here */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}


.whatsapp-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  bottom: 10px;
  background-color: white;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #000000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.whatsapp-tooltip:after {
  content: '';
  position: absolute;
  right: -10px;
  bottom: 15px;
  border-width: 10px 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

.whatsapp-container:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

.whatsapp-container:hover .whatsapp-button {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Demo page styling */
.demo-content {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}

.demo-text {
  font-size: 24px;
  color: #333;
  text-align: center;
}

/* whatsapp plugin section ends here */

   /*  Footer section starts from here */

   .footer {
    background-color: #354730;
    color: #ffffff;
    padding: 40px 0 20px;
    overflow-x: hidden;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff1a6;
    cursor: pointer; /* Added cursor pointer for mobile toggle */
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff1a6;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #fff1a6;
    font-size: 12px;
    color: #fff1a6; 
    padding: 2rem;
    line-height: 1.6;
}

.social-icons {
    margin-bottom: 15px;
}

.social-icon {
    display: inline-block;
    margin: 0 10px;
    color: #fff1a6;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-column ul {
        display: none;
    }
}
.back-to-top {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -15px; /* Adjust as needed */
  background-color: #fff1a6;
  color: #354730;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: #ffffff;
  color: #354730;
}

.footer-bottom {
  position: relative;
  text-align: center;
  margin-top: 20px;
  padding-top: 40px; /* Increased padding for spacing */
  border-top: 1px solid #fff1a6;
  font-size: 12px;
  color: #fff1a6; 
  padding: 2rem;
  line-height: 1.6;
}


/* Footer section ends here */