*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body{
    background: #080808;
    color: #ffff
}
#header{
    width: 100%;
    height: 100vh;
    background-image: url(background.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo{
    width: 75px;
    height: 75px;

}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #ffff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #bbff7c;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 20%;
    font-size: 30px;
    color: #F8F9FA
}
.header-text p{
    font-size: 20px;
    
}
.header-text h1{
    font-size: 70px;
    margin-top: 20px;
}
.header-text h1 span{
    color: #FFD700;
    text-shadow: 2px 2px;
}
.header-text p span{
    color: #000000;
    text-shadow: 1px 1px;
    
}
.header-text p span.green-text {
  color: rgb(142, 255, 81) !important;
}

.headerr-text{
  font-size: 30px;
  color: white;
  margin-top: 5%;
}

.headerr-text h1 span{
  color: #FFD700;
}
.headerr-text h2 {
  font-size: 30px;
}
.headerr-text h2 span{
  color: #FFD700;
}
.headerr-text h2 b span{
  color: #00ff15;
}
/* SOCIAL MEDIA BUTTONS */
.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px; 
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 10px;
    
}

.social-links {
    display: flex;
    justify-content: left; 
    align-items: center;
    margin-top: 20px; 
    gap: 15px; 
}
.social-links a {
    display: inline-block;
}

  .fa:hover {
      opacity: 0.7;
  }
/* about me */

#about{
    padding: 80px 0;
    color: #ffffff;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
    color: 
}

.sub-title{
    font-size: 80px;
    font-weight: 600;
    color: #ffa500;
    font-style: bold;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
    color: #ff6f61;
    font-style: bold;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    font-size: 30px;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff4d01;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 50%
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span{
    color: #ff4d01;
    font-size: 25px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
.tab-contents ul li span.highlight {
    color: #ffa500; 
    font-weight: bold;
    font-size: large;
}
.large-text{
    font-size: 2em;
    font-weight: bold;
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
/*social media icons*/
fa {
    padding: 20px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
  }
  
  .fa:hover {
      opacity: 0.7;
  }
  
  .fa-facebook {
    background: #3B5998;
    color: white;
  }
  
  .fa-twitter {
    background: #55ACEE;
    color: white;
  }
  
  .fa-google {
    background: #dd4b39;
    color: white;
  }
  
  .fa-linkedin {
    background: #007bb5;
    color: white;
  }
  
  .fa-youtube {
    background: #bb0000;
    color: white;
  }
  
  .fa-instagram {
    background: #125688;
    color: white;
  }
  
  .fa-pinterest {
    background: #cb2027;
    color: white;
  }
  
  .fa-snapchat-ghost {
    background: #fffc00;
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  }
  
  .fa-skype {
    background: #00aff0;
    color: white;
  }
  
  .fa-android {
    background: #a4c639;
    color: white;
  }
  
  .fa-dribbble {
    background: #ea4c89;
    color: white;
  }
  
  .fa-vimeo {
    background: #45bbff;
    color: white;
  }
  
  .fa-tumblr {
    background: #2c4762;
    color: white;
  }
  
  .fa-vine {
    background: #00b489;
    color: white;
  }
  
  .fa-foursquare {
    background: #45bbff;
    color: white;
  }
  
  .fa-stumbleupon {
    background: #eb4924;
    color: white;
  }
  
  .fa-flickr {
    background: #f40083;
    color: white;
  }
  
  .fa-yahoo {
    background: #430297;
    color: white;
  }
  
  .fa-soundcloud {
    background: #ff5500;
    color: white;
  }
  
  .fa-reddit {
    background: #ff5700;
    color: white;
  }
  
  .fa-rss {
    background: #ff6600;
    color: white;
  }
/* projects */

#header2{
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-color: black;
}
#header3 {
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #0d1117, #161b22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sub-title2{
    font-size: 80px;
    font-weight: 600;
    color: #ffffff;
    font-style: bold;
    text-align: center;
}
/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Lora:wght@400&family=Merriweather:wght@400&display=swap');

.sub-title3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  font-style: bold;
  text-align: left;
  font-family: 'Poppins', sans-serif; /* Modern and clean */
  letter-spacing: 1px; /* Optional: Adds slight spacing for a more refined look */
  line-height: 1.5; /* Ensures good readability */
}

.sub-title3 h3 span{
  font-size: 20px;
  font-weight: 600;
  color: #00ff2a;
  font-style: bold;
  text-align: left;
}

/* contact */
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ffa500;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover{
    background: #ff004f;
}
.btn.btn2{
    display: inline-block;
    background: #ffa500;
}
.contact-left {
    flex-basis: 35%;
}
.contact-right {
    flex-basis: 60%;
}
.contact-left p {
    margin-top: 30px;
}
.contact-left p i{
  color: #ff4d01;
  margin-right: 15px;
  font-size: 25px;
}
.social-icons{
  margin-top: 30px;
}
.social-icons a{
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ff4d01;
  display: inline-block;
  transition: transform 0.5s;
}
.social-icons a:hover{
  color: #ffa500;
  transform: translateY(-5px);

}
.contact-right form{
  width: 100%;
}
form input, form textarea{
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}
form .btn2{
  padding: 14px 60px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}
.copyright{
  width: 100%;
  text-align: center;
  padding: 25px 0;
  background: #040404;
  font-weight: 300;
  margin-top: 20px;
}

/*-----screen for iphone samsung*/
nav .fa-solid{
  display: none;
}

@media only screen and (max-width: 600px){
    #header{
      background-image: url(phone-background.png)
    }
    #header2{
      background-image: url(phone-background2.png)
    }
    .header-text{
      margin-top: 100%;
      font-size: 16px;
    }
    .header-text h1{
      font-size: 30px;
    }
    nav .fa-solid{
      display: block;
      font-size: 25px;
    }
    nav ul{
      background: #1fff78;
      position: fixed;
      top: 0;
      right: -200px;
      width: 200px;
      height: 100vh;
      padding-top: 50px;
      z-index: 2;
      transition: right 0.5s;
    }
    nav ul li{
      display: block;
      margin: 25px;
    }
    nav ul .fa-solid{
      position: absolute;
      top: 25px;
      left: 25px;
      cursor: pointer;
    }
    .sub-title{
      font-size: 40px;
    }
    .about-col-1, .about-col-2{
      flex-basis: 100%;
    }
    .about-col-1{
      margin-bottom: 25px;
    }
    .about-col-2{
      font-size: 12px;
    }
    .tab-links{
      font-size: 12px;
      margin-right: 18px;
    }
    .contact-left, .contact-right{
      flex-basis: 100%;
    }
    .copyright{
      font-size: 14px;
    }
}
#msg{
  color: #61b752;
  margin-top: -40px;
  display: block;
}

body {
  background-color: black; /* Keep your dark theme */
  color: white; /* Text color */
  font-family: Arial, sans-serif;
}

form {
  width: 300px;
  margin: auto;
  padding: 20px;
  background-color: #222; /* Dark grey background */
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.2);
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

input[type="text"], 
input[type="email"] {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: white;
}


input[type="radio"] {
  margin-right: 5px;
}

button {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  border: none;
  background-color: green;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: darkgreen;
}
fieldset {
  border: none;
  margin-top: 10px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 10px; /* Adjusts spacing between radio options */
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
}
/* Layout container */
/* Chatbot Section */
#chatbot-section {
  text-align: left;
  background: #0d1117;
  padding: 50px 20px;
}

/* Chatbot Container */
#chatbot-container {
  width: 100%;
  margin: auto;
  background: #1a1d23;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Chatbot Frame */
#chatbot-container iframe {
  width: 100%;
  height: 600px; /* Increase height */
  min-height: 500px;
  border-radius: 10px;
}


/* qaaba */

body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #f4f4f4;
}

h2 {
  margin-top: 20px;
}

.compass {
  width: 150px;
  height: 150px;
  border: 100px solid #ffffff;
  border-radius: 50%;
  margin: 20px auto;
  position: relative;
}

.needle {
  width: 8px;
  height: 70px;
  background: rgb(64, 255, 0);
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(0deg);
  transition: transform 1s ease-in-out;

}
#headerr{
  width: 100%;
  height: 100vh;
  background-image: url(kaaba.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.center-container {
  height: 100vh; /* Full height of the viewport */
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute; /* Prevent affecting other content */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Perfect center */
  width: 80vw; /* Adjust width */
  max-width: 900px; /* Prevent extreme width */
}

.rectangle-box {
  margin-top: 150px;
  width: 100%; /* Full width of container */
  height: 150px; /* More height */
  background-color: #4CAF50;
  color: white;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px; /* Bigger text */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Video container to style the space under the text */
.video-container {
    margin-top: 0; /* Remove the margin-top or adjust it to control spacing */
    text-align: center; /* Center the video */
    padding: 0; /* Remove extra padding */
}


/* General Reset */
* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 600px) {
  /* Header adjustments */
  #headerr {
      background-image: url(phone-background.png);
      background-size: cover;
      background-position: center;
  }
  
  #header2 {
      background-image: url(phone-background2.png);
  }

  /* Logo and Navigation */
  nav .logo {
      width: 50px; /* Smaller logo on mobile */
      height: 50px;
  }

  nav ul {
      background: #1fff78;
      position: fixed;
      top: 0;
      right: -200px;
      width: 200px;
      height: 100vh;
      padding-top: 50px;
      z-index: 2;
      transition: right 0.5s;
  }

  nav ul li {
      display: block;
      margin: 25px;
  }

  nav .fa-solid {
      display: block;
      font-size: 25px;
  }

  /* Text Adjustments */
  .header-text {
      margin-top: 100%;
      font-size: 16px;
  }

  .header-text h1 {
      font-size: 30px;
  }

  .headerr-text {
      font-size: 20px;
  }

  .headerr-text h2 {
      font-size: 20px;
  }

  .headerr-text h2 b {
      font-size: 16px;
  }

  /* Video container */
  .video-container {
      margin-top: 20px;
      padding: 0;
  }

  .video-container video {
      width: 100%;
      height: auto;
  }

  /* About Section */
  .about-col-1, .about-col-2 {
      flex-basis: 100%;
  }

  .about-col-1 {
      margin-bottom: 25px;
  }

  .about-col-2 {
      font-size: 12px;
  }

  .sub-title {
      font-size: 40px;
  }

  .tab-links {
      font-size: 12px;
      margin-right: 18px;
  }

  .contact-left, .contact-right {
      flex-basis: 100%;
  }

  .copyright {
      font-size: 14px;
  }

  /* Form adjustments */
  form {
      width: 100%;
      padding: 15px;
  }

  form input[type="text"], 
  form input[type="email"] {
      width: 100%;
      padding: 12px;
  }

  form .btn2 {
      width: 100%;
      padding: 14px;
  }

  /* Chatbot Section */
  #chatbot-container iframe {
      width: 100%;
      height: 400px; /* Smaller height for mobile view */
  }

  /* Adjust social icons size */
  .fa {
      padding: 15px;
      font-size: 25px;
      width: 40px;
      text-align: center;
  }

  /* Adjust contact form */
  .contact-left p {
      margin-top: 30px;
  }

  .social-icons a {
      font-size: 25px;
  }

  /* Reduce padding for better mobile view */
  .rectangle-box {
      margin-top: 20px;
      padding: 20px;
  }
  
  /* Adjust Video Container on Mobile */
  .video-container {
      margin-top: 30px;
  }

  .social-links {
      justify-content: center;
      gap: 10px;
  }

  /* Tab Links */
  .tab-links {
      font-size: 16px;
      margin-right: 20px;
  }

  .tab-contents ul li span.highlight {
      font-size: 16px;
  }
}
