/* ==== Usman: Welcome page==== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --accent: #10b981;
  --accent-hover: #059669;
  --border: #e5e7eb;
  --footer-bg: #1f2937;
  --footer-text: #f3f4f6;
}

body {
  
  font-family: Arial, sans-serif;
  background-color:var(--bg-primary);
  color: var(--text);
  transition: background-color 0.3s, color 0.3s;
  line-height: 1.6;
}


/* Usman:  NAVBAR STYLING*/
.navbar {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  background-color: #ffffff;
  padding: 10px 40px;
  border-top-left-radius: 35px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px; 
}
.nav-left h1 {
  font-size: 1.5rem;
  color: #111827;
  font-weight: 700;
  margin: 0;
}

.nav-left .logo {
  background-color: black;
  height: 40px;
  width: 40px;
  border-radius: 50%;
}


.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex: 1; 
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #18272F;                
  position: relative;            
  text-decoration: none;        
  font-weight: 500;              
  transition: color 0.3s ease-in-out;
}

.nav-links li a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 4px;
  background-color: #10B981;
  bottom: -3px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.nav-links li a:hover::before {
  transform-origin: left;        
  transform: scaleX(1);          
}

.nav-links li a:hover {
  color: #10B981; 
}


.nav-right {
  width: 80px; 
  display: flex;
  justify-content: flex-end;
}

.theme-toggle {
  background: #10B981;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}


.theme-toggle:hover {
  background: #059669;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
  }
  .nav-right {
    align-self: flex-end;
  }
}



/*Usman : Welcome Section*/

.welcome-section{
  background-color:#10b981;
  background-image: linear-gradient(to right, #c5f0d7, #a1e7b1, #10B981);
  text-align: center;
  padding: 96px 32px;
  border-bottom-right-radius: 35px;
  
}

.welcome-content h1{
  font-size: 4rem;
  color: #111827;
  margin-bottom: 20px;
}


.welcome-content p{
  color: #4b5563;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.butn{
  background-color:#10B981;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;

}

.butn:hover{
  background-color: #059669;
}

.welcome-section {
  animation: fadeIn 1s ease;
}

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

/* usman : Featured Section */

.container{
  display: flex;
  justify-content: center;
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}


.card{
  text-align: left;
  background-color: rgb(240, 239, 239);
  border-radius: 40px;
  height: 400px;
  width:-10px;
  box-shadow: #4b5563;
  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3,p{
  padding: 0px 20px;
}
.card:hover{
   transform: translateY(-10px);
   transition: transform 0.3s ease-in-out;
   box-shadow:grey;
}

.icon{
  border-radius: 40px;
  background-color:#10B981;
  background-image: linear-gradient(to right, #539970, #72ad80, #b6c7c1);
  display: flex;
  align-items: center;
  justify-content: center ;
  font-size: 3rem;
  margin-bottom: 1rem;
  height: 200px;
}

.line{
  width: 120px; 
  height: 5px; 
  border-radius: 10px; 
  margin: 10px auto 30px auto; 
  background: linear-gradient(90deg, #10B981, #3B82F6);
}

/* ABout on home page */
.about{
  align-content: center;
  padding: 10px 10px;
}

.about-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.3em;
  background-color: rgb(240, 239, 239);
  border-radius: 10px;
  height: auto;
  padding: 25px;
  gap: 20px;
  
}

.about-btn{
  background-color: #10B981;  
  color: white;               
  text-decoration: none;      
  padding: 10px 20px;          
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;      
  transition: background-color 0.3s;
}

.about-btn:hover{
  background-color: #0c9a6a;
}

/* footer */
.footer{
  background-color:#1f2937;
  color: white;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  padding: 50px 10px 10px 10px;
  height: 70px;
  display: flex;
  justify-content: center;
}

.a{
  color: white;
  text-decoration: none;
}



/* End of usman section*/
/* next on page.css */






























/*====Maaz====
  events=====*/

  
  h1{

    text-align: center;
    color:#111827;
    margin: 20px ;
  }
  .line{
    width: 120px;
    height: 5px;
    background: linear-gradient(#059669 11%,#10B981 56%,#10b981 33%);
    margin: 0 auto 60px;
  }
  div.mycontainer {
  
  width:100%;
  overflow:auto;
  margin-top: 30px;
}
.e1{

  width:30%;  
  float: left;
  margin:10px;
  height:200px;
   margin-top: -20px;
    
}


.e2{
  
  width:30%;  
  float: left;
  margin:10px;
  height:250px;
   margin-top: -20px;
}

.e3{
  
  width:30%;  
  float: left;
  margin: 10px;
  height:250px;
  margin-top: -20px;

}
.he{
    background-color: #10b981;
    background-image: linear-gradient(to right, #c5f0d7, #a1e7b1, #10B981);
    
}
h2{
  text-align: center;
}
.border{

  border-left-style: solid;
  border-left-width: 5px;
  border-left-color: #10B981; 
    padding: 10px;
    margin-top: -20px; 
}

.e1:hover{
  transition: 0.5s ease;
  font-size: large;
  height: auto;
}
.e2:hover{ 
  font-size: large;
  height: auto;
transition: 0.5s ease;
}
.e3:hover{
  font-size: large;
  height: auto;
  transition: 0.5s ease;
}



/*====Maaz====
  Directory=====*/
  .d{ 
  float: left;
  margin:10px;
  height: 250px;
   box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.1);
   border-radius: 20px;
   
  } 
 
   .h3color{
   text-align: center;
       color: #059669;

   }
  .d:hover{
    transition: 0.5s ease;
  
  font-size: large;
  height: auto; 
  }
  .buisnessdescription{
    text-align: center;
  }
  .subscript{
    font-size: smaller;
    text-align: center;
  }
  @media  (max-width: 455px)  {
    .e1{
      
      margin: auto;   
      padding: auto;
    }
     .e2{
      padding: auto;
     
      margin: auto;  
    }
     .e3{
      margin: auto;
      padding: auto;
      
    }
    .d{
      height: fit-content;
    }

    
  }





























  /* ==== Hammad : Contact Page==== */
  
  h2{
        transition: transform 0.2s ease;

  }
  h2:hover{
    cursor: pointer;
    color: #5483f1;
    text-shadow: 0 0 10px rgba(109, 164, 215, 0.6);
    transform: scale(1.2);
  }

  .main1{
    display:flex;
    justify-content: center;
    gap:50px;
    max-width: 1100px;
    margin:50px auto;
    padding: 20px;
  }
  .info{
     animation: fadeIn 2s ease;
    width: 600px;
    background-color: lab(73.2% -49.06 13.19);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 100 100px 100px rgba(9, 9, 9, 9);
    flex: 0 0 450px;
  }

  .followus{
    margin-top: 10%;
  }
  .hyperlink{
            transition: transform 0.2s ease;
  }
  .logocontain {
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
   align-items: center;
   width: 60%;
  margin: 50px auto;
}
.logo1{
   height: 40px;
  width: auto;
  
}
  .hyperlink:hover{
    cursor: pointer;
    transform: scale(1.1);

  }

  .feedback{
    animation: fadeIn 2s ease;
    border-radius:16px;
  }
  .feedbackform{
    animation: fadeIn 4s ease;
    gap:15px;
    display:flex;
    flex-direction: column;
    width: 600px;
    border-radius: 16px;
    padding: 50px;
    flex: 1 1 0%;
  }
  input {
      padding: 12px;
      border-radius: 8px;
      border: 1px solid #d0d0d5;
      font-size: 15px;
      outline: none;
      width: 80%;
    }
    select{
       padding: 12px;
      border-radius: 8px;
      border: 1px solid #d0d0d5;
      font-size: 15px;
      outline: none;
      width: 85%;
    }
    textarea{
       padding: 40px;
      border-radius: 8px;
      border: 1px solid #d0d0d5;
      font-size: 15px;
      outline: none;
      width: 80%;
    }
    input:focus, select:focus, textarea:focus {
      border-color: #59ff6f;
      box-shadow: 0 0 3px #72ff5950;
    }
  .button1{
    margin-top: 20px;
      background: linear-gradient(to right, #25f28b, #05f575);
      color: #fff;
      border: none;
      padding: 12px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.3s;
    }
    .button1:hover {
      opacity: 0.9;
    }

.map{
  
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

iframe{
  width: 100%;
  height: 500px;
  border-radius: 40px ;
  margin-bottom: -50px ;
}
@media  (max-width: 600px)  {
  .main1{
    display:flex;
    flex-direction: column;
    justify-content: center;
  }
  .info{
    max-width: 250px;
  }
  .feedbackform{
    max-width: 250px;
  }
}
    
    /*==== End of Contact page==== */

    /* ==== Hammad : resource page==== */
    .mytabs{
      display:flex;
      flex-wrap: wrap;
      justify-content:center;
    }
    .wholetab{
       animation: fadeIn 2s ease;
      display:flex;
    justify-content: center;
    gap:50px;
    max-width: 1100px;
    margin:50px auto;
    padding: 20px;
    order: 1;
    display: none;
    }
    .item{
      margin:20px;
      padding: 10px;
      border-radius: 30px;
      transition: transform 0.2s ease;
border-left: 4px solid #02b375;
    }
    .item:hover{
      cursor: pointer;
    color: #0f9a59;
    text-shadow: 0 0 10px rgba(109, 215, 137, 0.6);
    transform: scale(1.1);
    }
    .mytabs input[type="radio"]
  {
    display: none;
  }
  .mytabs label{
    color:rgb(119, 76, 228);
 transition: transform 0.2s ease;
    border-radius: 30px;
    height: 20px;
    margin:20px;
    padding: 25px;
    background-color: lab(73.2% -49.06 13.19);
    font-weight: bold;
  }
  .mytabs label:hover{
    cursor: pointer;
    transform: scale(1.1);
  }

  
  .mytabs input[type="radio"]:checked + label+ .wholetab {
    display:flex;
  }

  .mytabs input[type="radio"]:checked + label {
    background-color: white;
  }
    
@media  (max-width: 600px)  {
  
  .wholetab{
    display:flex;
    flex-direction: column;
    display: none;
    gap:0px;
  }
}
  /*==== End of resource page==== */





















  /* Usman: Do not touch these
  these are the parts that come after naviagtion mean to say title*/
  .top{
  background-color:#10b981;
  background-image: linear-gradient(to right, #c5f0d7, #a1e7b1, #10B981);
  text-align: center;
  padding: 96px 32px;
  border-bottom-right-radius: 35px;
}

.top h1{
  font-size: 4rem;
  color: #111827;
  margin-bottom: 20px;
}

.top{
  animation: fadeIn 1s ease;
}