/* ================================
  Navbar Gradient + Fixed Top
================================ */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}
body {
    font-size: 1vw;
}
.custom-navbar {
  /* FIX 1: Corrected color from #0505e to #05050e */
  background: linear-gradient(135deg, #f2f5f7, #ffffff, #c9e9ff);
  background-size: 100% 100%;
  animation: gradientShift 8s ease infinite;
  transition: all 0.3s ease;
} 
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Navbar Links */
.navbar .nav-link {
  color: #010101 !important;
  font-weight: 500;
  font-size: 14px;
  margin: 0 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .nav-link:hover {
  color: #4959ec !important;
  transform: translateY(-2px);
}

/* Navbar Brand */
.navbar-brand {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  color: #000;
}
.ttext{
  font-size:20px;
  color:black;
  position:relative;
  z-index:2; /* text top layer */
}
.cursor{
  width:50px;
  height:50px;
  border-radius:50%;
  background:#c9e9ff;
  position:fixed;
  pointer-events:none;
  transform:translate(-50%,-50%);
  display:none;
  z-index:1; /* circle text ke neeche */
}
/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* ================================
  HERO SECTION STYLES
================================ */

/* Basic body font setup */
body {
  font-family: 'Segoe UI', sans-serif;
}

#hero {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  /*background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);*/
  background-size: 600% 600%;
  color: #050505;
  min-height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  padding-top: 80px; 
  animation: gradientBG 15s ease infinite;
  overflow: hidden;
  position: relative;
}

/* Background gradient animation */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scoped styles to only apply within #hero */
#hero .container {
  max-width: 800px;
  position: relative;
  z-index: 2;
}
#hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeUp 1s ease forwards;
  font-weight: 700;
  line-height: 1.3;
}

/* Both lines get color animation */
.line {
  display: inline-block;
  animation: colorRotate 4s infinite ease-in-out;
  font-weight: 800;
}

/* Color rotation animation */
@keyframes colorRotate {
  0%   { color: #067b9f; }   /* red */
  33%  { color: #488ef7; }   /* blue */
  66%  { color: #078224; }   /* green */
  100% { color: #9e61fb; }
}

/* First appearance animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}


#hero h1 span {
  color: #00d4ff;
}

#hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  animation: fadeUp 1s ease 0.2s forwards;
  opacity: 0;
}

/* Fade-up animation */
@keyframes fadeUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

#hero .stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

#hero .stat {
  margin: 10px;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

#hero .stat h2 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
  color: #00d4ff;
}

/* Floating animation for stats */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

#hero .btn-custom {
  background-color: #00d4ff;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 5px;
  margin: 5px;
  transition: all 0.3s ease;
}

#hero .btn-custom:hover {
  background-color: #00a5c4;
  transform: translateY(-3px) scale(1.05);
}

#hero .btn-outline {
  border: 2px solid #00d4ff;
  color: #00d4ff;
  padding: 10px 25px;
  border-radius: 5px;
  margin: 5px;
  transition: all 0.3s ease;
  background: transparent;
}

#hero .btn-outline:hover {
  background-color: #00d4ff;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
}

/* Floating circular elements in background */
#hero .circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(21, 93, 112, 0.2);
  animation: floatCircle 10s linear infinite;
  z-index: 1;
}

#hero .circle:nth-child(1) { width: 200px; height: 200px; top: -50px; left: -50px; animation-duration: 12s; }
#hero .circle:nth-child(2) { width: 150px; height: 150px; top: 200px; right: -75px; animation-duration: 15s; }
#hero .circle:nth-child(3) { width: 100px; height: 100px; bottom: -50px; left: 150px; animation-duration: 18s; }

@keyframes floatCircle {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-50px) translateX(50px); }
  100% { transform: translateY(0) translateX(0); }
}

#hero.active img {
  transform: scale(1); /* Zoom effect on active slide */
}

/* About Section*/
/* ABOUT SECTION */
.about-section{
   background-color: #ecf1f3;
}
.about-section {
 
  margin: auto;
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  
}

/* Section Title */
.about-section-title {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.about-section-highlight {
  color: #141416;
}

.about-section-underline {
  height: 3px;
  width: 60px;
  background: #0d6efd;
  margin: 8px auto 0;
  border-radius: 5px;
}

/* About Text */
.about-section-text {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
}

/* Achievements */
.about-achievements {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  
}
.about-achievement:hover {
    transform: scale(1.05);
}
.about-achievement{
  border: black;
   border-radius: 5px;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
   
}
.about-achievement h2 {
  font-size: 28px;
  color: #0d6efd;
  margin-bottom: 5px;
}

.about-achievement p {
  font-size: 14px;
  color: #555;
}

/* Mission & Vision Box */
.about-mission-vision {
  background:transparent;
  border-radius: 15px;
  padding: 40px 25px;
  box-shadow: 0px 4px 25px rgba(0,0,0,0.08);
  margin-top: 40px;
  box-shadow: #000;
}

.about-mission-title,
.about-vision-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-mission-text,
.about-vision-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .about-achievements {
    flex-direction: column;
    gap: 15px;
  }

  .about-mission-vision {
    padding: 25px 15px;
  }

  .about-section-title {
    font-size: 26px;
  }
}
/* FLOAT ANIMATION */
@keyframes floatUpDown {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* APPLY TO EACH CARD */
.about-achievement {
    animation: floatUpDown 4s ease-in-out infinite;
}

/* OPTIONAL: delay for wave effect */
.about-achievement:nth-child(1) { animation-delay: 0s; }
.about-achievement:nth-child(2) { animation-delay: 0.5s; }
.about-achievement:nth-child(3) { animation-delay: 1s; }
.about-achievement:nth-child(4) { animation-delay: 1.5s; }
/* ================================
  Gradient Background Section (Services)
================================ */
.services-gradient {
  background: hsl(0, 0%, 100%);

  /*background: linear-gradient(135deg, #02f4cc, #c217a0);*/
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
   font-size: 14px;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================================
  Service Cards
================================ */
.service-card{
  border: #525151 solid 2px;
  transition: all 0.4s ease;
 
}
.service-card:hover {
  transform:translateY(-10px) scale(1.02);
    box-shadow: 0 27px 60px rgba(9, 90, 180, 0.50) !important;
}
.service-card .text-muted
{
font-size: 14px;
}
.service-card .icon i {
  background: linear-gradient(45deg, #fc9f25, #2575fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
  display: inline-block;
}

.service-card:hover .icon i {
  transform: translateY(-3px);
}

/* Gradient text (Know More) */
.gradient-text {
  background: linear-gradient(135deg, #02f4cc, #c217a0); /* updated gradient */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.know-more-btn {
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

/* Underline Animation */
.know-more-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: linear-gradient(135deg, #c0fff4, #ff93e9); /* updated gradient */
  transition: width 0.3s ease;
}

.know-more-btn:hover::after {
  width: 100%;
}

/* Hover Motion + Gradient change */
.know-more-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff86e7, #8effec); /* hover gradient */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================================
  Project Section
================================ */
/* FIX 2: Removed this rule as it conflicted with white content design:
#projects {
  background: linear-gradient(135deg, #c217a0, #02f4cc);
} 
*/
/* Custom Styles for the Projects Section */
    #projects {
        background-color: #f8f9fa; /* Light background for the section */
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
        background-color: #ecf1f3;
    }

    /* Style for the main heading and separator */
     #projects .text-muted{
    font-size: 16px;  
    }
    .text-dark {
        color: #212529 !important;
    }

    .text-primary {
        color: #087ecc !important;
    }

    .fw-bold {
        font-weight: 700 !important;
    }

    /* Project Row Styling */
    .project-row {
        margin-bottom: 2rem !important; /* Increase space between projects */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 10px; /* Padding for visual separation */
        border-radius: 12px; /* Rounded corners for the container */
        background-color:transparent; /* */
    }

    .project-row:hover {
        transform: translateY(-5px); /* Lift effect on hover */
        box-shadow: 0 20px 20px rgba(0, 0, 0.1, 0.1); /* Subtle shadow for depth */
    }

    /* Project Image Styling */
    .project-img img {
        height: 200px; /* Fixed height for consistency */
        object-fit: cover; /* Ensures images cover the area without distortion */
        border-radius: 8px !important;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Image shadow */
    }

    /* Project Text Styling */
    .project-text {
        padding: 20px;
    }

    .project-text h4 {
        color: #0d6efd; /* Primary color for the title */
        font-size: 1.50rem;
        margin-bottom: 1rem;
    }

    .project-text p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    /* Ensure text alignment is consistent on smaller screens */
    @media (max-width: 767.98px) {
        .project-text {
            text-align: center;
        }

        .project-img {
            margin-bottom: 1.5rem;
        }
        
        .project-img img {
            width: 100%; /* Full width on mobile */
            height: auto; /* Auto height on mobile */
        }

        .project-row {
            margin-bottom: 3rem !important;
        }
    }

 
/* Responsive */
@media (max-width: 992px) {
    /* FIX 3: Added extra padding for the Hero section on smaller devices */
    #hero {
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
  .project-row {
    flex-direction: column !important;
    text-align: center;
  }
  .project-row .project-text {
    margin-top: 10px;
  }
}
/* Section Background */
.contact-wrapper {
  min-height: 100vh; /* full screen */
  display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: Arial, sans-serif;
    background: #f3f0ff;
    padding-bottom: 40px;
}

/* HEADER SECTION */
.contact-header {
    text-align: center;
    background: #cae2ff;
    padding: 50px 20px;
}

.contact-header h1 {
    font-size: 34px;
    margin: 10px 0;
}

.small-title {
    font-size: 18px;
    color: #444;
    letter-spacing: 1px;
}

.info-box-area {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top:10px;
    flex-wrap: wrap;
}
.info-card {
    width: 250px;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}
/* MAIN CONTENT */
.contact-content {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

/* LEFT CONTENT BOX */
.left-text {
    width: 500px;
}

.tag {
    background: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.left-text h1 {
  color: #5948e7;
  margin-top: 140px;
  font-size: 35px;
}

/* FORM */
.contact-form {
  flex: 1;
   display: flex;
   flex-direction: column;
    gap: 15px;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
}

.two-col {
    display: flex;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}
.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    border: none;
    background: #6d5bff;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #5948e7;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .contact-content {
        flex-direction: column; /* stack */
    }

    .two-col {
        flex-direction: column;
    }

    .left-text {
        text-align: center;
    }
}
/* Footer Section*/
.footer-section {
  background: #000;
  position: relative;
  overflow: hidden;
}


/* Glowing Gradient Border on Top */
.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00ff00, #0d6efd, #00ff00);
  background-size: 300% 100%;
  animation: borderGlow 6s linear infinite;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer-title {
  color: #efe9ee;
  font-weight: 700;
  font-size: 1.5rem;
  text-shadow: 0 0 10px #f1e7f0;
}

.footer-subtitle {
  color: #ebf4eb;
  font-weight: 600;
}
 .text-secondary{
 font-size: 16px;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin: 6px 0;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #0d6efd;
  transform: translateX(4px);
}

.footer-icon {
  display: inline-block;
  border: 2px solid #0d6efd;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 41px;
  text-align: center;
  font-size: 1.3rem;
  color: #0d6efd;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px transparent;
}

.footer-icon:hover {
  background-color: #0d6efd;
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 0 15px #0d6efd;
}

footer p {
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-title {
    text-align: center;
  }
  .footer-subtitle {
    text-align: center;
    margin-top: 10px;
  }
  .footer-link {
    text-align: center;
  }
}