/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Global Styles */
:root {
    --primary-color: #fbcd2b;
    --dark-color: #000000;
    --light-color: #ffffff;
    --gray-light: #f4f4f4;
    --gray-dark: #333333;
    --transition: all 0.3s ease;
}
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    animation: slideshow 20s infinite ease-in-out;
    opacity: 0.8;
}

@keyframes slideshow {
    0% {
        background-image: url('backgroundphoto.jpeg');
    }
    33% {
        background-image: url('backgroundphoto1.jpeg');
    }
    66% {
        background-image: url('backgroundphoto2.jpeg');
    }
    100% {
        background-image: url('backgroundphoto.jpeg');
    }
}

.hero-content {
    z-index: 1;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
/* Teams Section */
.teams {
    text-align: center;
    padding: 50px;
    background: #fbcd2b;
}

.teams h2 {
    color: black;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.team-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.team-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.team-card p {
    margin-top: 10px;
    font-weight: bold;
}

.team-card:hover {
    transform: scale(1.05);
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 1000;
    border-radius: 10px;
}

.popup-content {
    position: relative;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}


body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 4rem 0;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--light-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.logo {

  display: flex;
   align-items: center
   size flex-end;
   height: 60px; /* Set this to your desired logo height */
    width: auto;
}
.login-page {
  background: #fbcd2b;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
}

.login-container h2 {
  margin-bottom: 1.5rem;
}

.login-container input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-container button {
  width: 100%;
  padding: 10px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.login-container button:hover {
  background-color: #333;
}

.error-msg {
  color: red;
  margin-top: 10px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--light-color);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.login-btn, .signup-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    transition: var(--transition);
}

.login-btn {
    background-color: transparent;
    color: var(--light-color);
    border: 1px solid var(--primary-color);
}

.signup-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.login-btn:hover, .signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 1.7rem;
    margin-bottom: 2.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

/* Typewriter effect styles */
.typewriter {
  overflow: hidden;
  border-right: 0.15em solid #fff; /* The cursor */
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.15em;
  animation:
    typing 3.5s steps(40, end),
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #fff; }
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Section */
.about-section {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text, .about-image {
    flex: 1;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Why Section */
.why-section {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.why-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
}

/* Teams Section */
.teams-section {
    background-color: var(--gray-light);
    text-align: center;
}

.teams-section h2 {
    margin-bottom: 3rem;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-image {
    height: 200px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-card h3 {
    padding: 1.5rem;
    background-color: var(--dark-color);
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Team Modal */
.team-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--light-color);
    margin: 5% auto;
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.5s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    color: var(--dark-color);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
}

.modal-body h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.team-info {
    display: flex;
    gap: 2rem;
}

.team-profile {
    flex: 1;
}

.team-profile img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-details {
    flex: 2;
}

.team-details h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.team-details ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

.team-details li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .about-content {
        flex-direction: column;
    }

    .team-info {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        height: calc(100vh - 70px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .auth-buttons {
        flex-direction: column;
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .modal-content {
        width: 95%;
    }
}

@media screen and (max-width: 576px) {
    .container {
        width: 95%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}
/* Popup Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    text-align: center;
}

.close {
    color: red;
    float: right;
    font-size: 24px;
    cursor: pointer;
}
.team-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 30px 20px;
    overflow-y: auto;
    animation: fadeIn 0.4s ease-in-out;
}

.team-popup-container {
    background: #fff;
    max-width: 1000px;
    width: 100%;
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
}

.team-popup-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}
/* Match the popup image size with the team card images */
#team-photo {
    width: 600px;   /* Or match your team card image size */
    height: 300px;  /* Keep it square or adjust based on design */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.team-popup-content h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
    color: #111;
}

.team-popup-content img {
    display: block;
    max-width: 100%;
    margin: 0 auto 20px;
    border-radius: 12px;
}

.team-popup-content p {
    text-align: justify;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Add these media queries to your existing Styles.css file */

/* Mobile navigation styles */
@media screen and (max-width: 768px) {
    /* Navigation menu mobile styles */
    .nav-container {
        padding: 10px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff; /* Keep your existing background color */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .auth-buttons {
        display: flex;
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }

    .auth-buttons a {
        margin: 5px 0;
        text-align: center;
    }

    /* Show hamburger menu */
    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero section adjustments */
    .hero-content h1 {
        font-size: 1.8rem;
    }

    /* Typewriter effect doesn't work well on mobile */
    .typewriter {
        white-space: normal;
        animation: none;
        border-right: none;
    }

    /* About section adjustments */
    .about-content {
        flex-direction: column;
    }

    /* Team section adjustments */
    .team-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
}
.menu-toggle {
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 25px;
    width: 30px;
}

.menu-toggle .bar {
    height: 4px;
    width: 100%;
    background-color: #fff;
    margin: 3px 0;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Smaller mobile devices */
@media screen and (max-width: 480px) {
    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .team-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .team-card img {
        height: 120px;
    }

    /* Adjust feature cards for small screens */
    .features {
        grid-template-columns: 1fr;
    }

    /* Make popup more mobile friendly */
    .popup-content {
      background-color: #fff;
      margin: 0;
      padding: 20px;
      border-radius: 10px;
      width: 100vw;
      height: 100vh;
      box-sizing: border-box;
      position: relative;
      text-align: center;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }

  .popup-content img {
      max-width: 90%;
      height: auto;
      margin-bottom: 20px;
  }

  .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      color: #333;
      cursor: pointer;
      z-index: 2;
  }
  @media (max-width: 768px) {
      .popup-content {
          width: 100vw;
          height: 100vh;
          border-radius: 0;
      }
  }

}
