*
{
 margin: 0;
 padding:0;
 box-sizing: border-box;

}


/* Main page structure */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Changed from height to min-height */
}

main {
  flex: 1 0 auto; /* This will grow and shrink as needed */
}






/*---------------------------------------------Navigation-----------------*/

#nav-bar
{
   position: sticky;
   top: 0;
   z-index: 10;  
}

.navbar-brand img
{
  height: 40px;
  padding-left: 30px;
}

.navbar-nav li 
{
   padding:0 10px;
    
}

.navbar-nav li a
{
 float: right;
 text-align: left;

}

.navbar-nav li a:hover
{
    color: #007bff! important;

}

.navbar
{
  background:#fff;

}

.navbar-toggler
{
   border: none! important;

}

.nav-link
{
   color: #555 !important; 
   font-weight: 600;
   font-size: 16px;

}

/*---------------------------------------------------Slider------------------------------------------------------*/
#slider
{
   width: 100%;

}

.carousel-caption
{
 top: 50%;
 transform: translateY(-50%);
 bottom: initial!important;

}

.carousel-caption h5
{
   color:#fff;
   font-size: 42px;

}

/*-------------------------------------------------------About Us-----------------------------------------------*/
#about
{

  padding-top: 50px; 
  padding-bottom: 50px;
  color: #333;
}


#about .btn
{
  margin-top: 20px;
  margin-bottom: 30px;

}

.about-content
{
  padding-top: 20px;

}

.skill-bar p
{
  margin-bottom: 6px;
  font-weight: 600;

}

.progress-bar
{
   border-radius: 16px;

}

.progress
{
    border-radius: 16px! important;
    margin-bottom: 20px;

}


/*--------------------------------------Services-------------------------------*/
/* ====================== SERVICES SECTION ====================== */

/* Services Section - Centered Heading */
#services {
  padding: 60px 0;
  text-align: center;
}

#services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  display: inline-block;
}

/* Optional decorative underline */
.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: #007bff;
  bottom: -8px;
  left: 25%;
}

.section-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  min-height: 300px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.icon-container {
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  background-color: var(--icon-color);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-content h3 {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #333;
}

.service-content p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.6;
}

/* Icon Colors */
.service-card:nth-child(1) .service-icon { --icon-color: #3498db; }
.service-card:nth-child(2) .service-icon { --icon-color: #e74c3c; }
.service-card:nth-child(3) .service-icon { --icon-color: #2ecc71; }
.service-card:nth-child(4) .service-icon { --icon-color: #9b59b6; }



 /*------------------------------------------------Price Plans----------------------------------------------*/
 #price {
  padding: 40px 0;
  background: #efefef;
  text-align: center;
}

.price-header {
  width: 100%;
  margin-bottom: 30px;
}

.price-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.price-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-price {
  background-color: #fff;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Rest of your existing CSS styles remain the same */
/* ... */

/* Responsive adjustments */
@media (max-width: 1024px) {
  .single-price {
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .price-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .single-price {
    width: 100%;
    max-width: 350px;
  }
  
  .price-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  #price {
    padding: 30px 0;
  }
  
  .price-header h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .price-content ul li {
    padding: 12px 8px;
    font-size: 14px;
  }
  
  .buy-btn {
    padding: 10px 30px;
    font-size: 15px;
  }
}

/* Price Section Styling */
#price {
    padding: 80px 0;
    background: #f9f9f9;
}

.price-header {
    text-align: center;
    margin-bottom: 50px;
}

.price-header h1 {
    font-size: 36px;
    color: #333;
}

.price-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.single-price {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.single-price:hover {
    transform: translateY(-10px);
}

.price-head h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.price-head p {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.price-head p span {
    font-size: 16px;
    font-weight: normal;
}

.price-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.price-content li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Button Styling */
.price-button {
    margin-top: 20px;
}

.buy-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4CAF50; /* Green color */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.buy-btn:hover {
    background-color: #45a049; /* Darker green on hover */
}


/* Updated Profile Picture Section */
.profile-pic {
  position: relative;
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px; /* Added space above the circle */
}

.img-box {
  position: relative;
  width: 150px; /* Fixed size for circle */
  height: 150px; /* Fixed size for circle */
  border-radius: 50%; /* This makes it circular */
  overflow: hidden;
  border: 3px solid #007bff; /* Optional: adds a colored border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds subtle shadow */
}

.img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills circle properly */
}

/* Adjust social links position for circular image */
.social-links {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px; /* Match circle width */
  /* ... rest of your social links styles ... */
}

/* Adjust team member height to accommodate circle */
.team-member {
  height: 320px; /* Increased height for circle layout */
  /* ... rest of your team member styles ... */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .team-member {
    height: 300px;
  }
  .img-box {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 992px) {
  .team-member {
    height: 280px;
  }
  .img-box {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 768px) {
  .team-member {
    height: 260px;
  }
  .img-box {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .team-member {
    height: 240px;
  }
  .img-box {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 480px) {
  .team-member {
    height: 220px;
  }
  .img-box {
    width: 100px;
    height: 100px;
  }
}


 /*-----------------------------------------------------Testimonials---------------------------------------------*/
#testimonials {
   padding-top: 50px;
   padding-bottom: 50px;
   text-align: center; /* This will center all text in the testimonials section */
}

/* Add this new rule for the testimonial heading */
#testimonials h2 {
   font-size: 2.5rem;
   margin-bottom: 30px;
   color: #333;
   position: relative;
   display: inline-block;
}

/* Optional: Add a decorative line under the heading */
#testimonials h2::after {
   content: "";
   position: absolute;
   width: 50%;
   height: 3px;
   background: #007bff;
   bottom: -10px;
   left: 25%;
}

#testimonials .row {
   margin-top: 30px;
}

.col-md-4 {
   margin: 40px auto;
}

.profile {
   padding: 70px 10px 10px;
   background-color: #07030052;
   text-align: center; /* Center content inside profile cards */
}

.user {
   width: 120px;
   height: 120px;
   border-radius: 50%;
   margin: 0 auto; /* Center the user image */
   object-fit: cover; /* Ensure proper image display */
   display: block; /* Needed for margin auto to work */
}

.profile h3 {
   font-size: 20px;
   margin-top: 15px;
   color: #007bff;
}

/* Fix this duplicate rule */
#testimonials span {
   font-size: 12px;
   color: #efefef;
}

/* Remove this duplicate nested rule */
/* #testimonials .row {
   margin-top: 30px;
} */

/*------------------------------------------------------FAQ----------------------------------------------*/





#FAQS
{
   padding-top: 50px;
   padding-bottom: 50px;
   background-color: #fff;
   
   
}

.faq {
   max-width:700px;
   margin-top: 2rem;
   padding-bottom: 1rem;
   border-bottom: 2px solid #fff;
   cursor:pointer;
}

.question {
   display:flex;
   justify-content: space-between;
   align-items: center;
}

.question {
   font-size: 1.8rem;
}


.answer{
      max-height: 0;
      overflow: hidden;
      transition: max-height 1.4s ease;

}

.answer p {
    padding-top: 1rem;
    line-height: 1.6;
    font-size: 1.4rem;
    color: #333;
}

.faq.active .answer {
   max-height: 300px;
   animation: fade 1s ease-in-out;

}

.faq.active svg {
  transform: rotate( 180deg);

}

svg{
   transition: transform 0.5s ease-in;
}


@keyframes fade{
   from{
     opacity:0;
     transform:translateY(-10px);
   }
   to {
      opacity: 1;
      transform: translateY(0px);
   }
}





/*---------------------------------------Get In Touch---------------------------------*/




#contact
{  
   padding-top: 40px;
   padding-bottom: 40px;   
   background: #efefef;
   
   background-color:#777;        
}

 h1{
    color: black!important

 }


.contact-form
{
  padding: 15px;

}

.form-control
{
   border-radius:0 !important;
   border-radius: none !important;
}

::placeholder
{
   color: #999 !important;
}

.follow
{
background: #fff;
padding: 10px ;
margin: 15px;

}

.contact-info .fa
{
   margin:10px;
   color: 007bff;
   font-weight: bold;

}


/*----------------------------------------------Footer------------------------------*/
footer {
  background-color: var(--dark-color);
  color: rgb(64, 57, 92);
  padding: 20px 0;
  text-align: center; /* Ensures text is centered */
  width: 100%; /* Ensures footer spans full width */
  position: relative; /* or 'fixed' if you want it stuck to bottom */
  bottom: 0;
  left: 0;
  font-size: 0.9rem;
  margin-top: auto; /* Helps push footer to bottom if using flex layout */
  flex-shrink: 0;
}

footer p {
  margin: 0; /* Removes default paragraph margins */
  padding: 0; /* Removes default padding */
}

/* If using a flex layout for your page */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* Pushes footer to bottom */
}

:root {
  --dark-color: #3f2f52; /* Example dark color */
  --footer-text-color:rgb(64, 57, 92);
}


 /*-----------------------------------------------AboutPlusPage-----------------------------------*/
   
      
        
      #about-1{
            color: #020208;

      }

          .about-1{
            margin:30px;
            padding:15px;
               
          }
          .about-1 h1{
                font-family:sans-serif ;
                text-align:center;
                color:#fff;   
                font-weight: bold;  
             
          }

          .about-1 p{
              text-align:center;
              padding:3px;
              color: #fff;
          }

          .about-item{
             margin-bottom: 20px;
             margin-top: 20px;
             background-color: white;
             padding: 80px, 30px;
             box-shadow: 0 0 9px rgba(0,0,0, .6);
             
          }

          .about-item i{
            font-size: 40px;
            margin:0;

          }

          .about-item h3{
             font-size: 25px;
             margin-bottom: 10px;

          }

          .about-item hr{
             width: 46px;
             height: 1px;
             background-color: #5fbff9;
             margin: 0 auto;
             border: none;

          }

          .about-item p{
            margin-top: 20px;
            
          }

          .about-item:hover{
             background-color:#5fbff9;
          }

          .about-item:hover i,
          .about-item:hover h3,
          .about-item:hover p{
             color:#fff
          }

          .about-item:hover hr{
            background-color: #fff;
          }


          .about-item:hover i{
             transform:translateY(-20px);

          }

          .about-item:hover i,
          .about-item:hover h3,
          .about-item:hover hr{
            transition:all 400ms ease-in-out;
          }
         
         p{
             color: #3f51b5;

         }
        

     
          footer{
              color: #d6d4d4;
              padding: 25px;
              
          }

          footer p{
             color:#c5bbbb
          }

           
          /*------------------------------------------ServicePlus-------------------------------------------------------*/
                    
             
            body{
             background-color: #ccc;
          }
          
          .services h1{
            color: #ccc;
            text-align:center;
            color:white;   
            font-weight: bold;
          }



          p{
            text-align:center;
            padding:3px;
            color:white;
             line-height: 25px;
          }


          h2{
            text-align:center;
            color:#182d70;   
            font-weight: bold; 
            padding-top: 20px;
            padding-bottom: 10px;
            
               }

          h3{
            text-align:center;
            color:black;   
            font-weight: bold;

          }        


          /*------------------------------------------Screen Adjusting-----------------------------------*/

  /* Base styles (mobile-first approach) */
html {
  font-size: 16px; /* Default base size */
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit; /* Better box model */
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

#services p {
  font-size: 1rem; /* Relative to html font-size */
  margin-top: 1.25rem; /* 20px equivalent in rem */
  line-height: 1.5; /* Better readability */
  max-width: 100%; /* Prevent overflow */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 48em) { /* 768px */
  html {
    font-size: 18px;
  }
  
  #services p {
    font-size: 1.1rem;
    column-width: auto; /* Reset if needed */
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 62em) { /* 992px */
  html {
    font-size: 20px;
  }
  
  #services p {
    font-size: 1.2rem;
    max-width: 80ch; /* Optimal line length for readability */
    margin-left: auto;
    margin-right: auto;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 75em) { /* 1200px */
  html {
    font-size: 22px;
  }
  
  #services p {
    font-size: 1.3rem;
  }
}

/* Very small devices (phones, less than 576px) */
@media (max-width: 36em) { /* 576px */
  html {
    font-size: 14px;
  }
  
  #services p {
    padding: 0 1rem; /* Add some padding on small screens */
  }
}