                                      /************************* DEFAULTS  **************************/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:  Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
}

                                          /********************** LINKS ***********************/ 
 a {
    text-decoration: none; 
    color: inherit; 
    transition: color 0.3s ease; 
} 
    a:hover {
      background: whitesmoke; 
      color: #2575fc; 
}
                                     /***************************** BODY *****************************/
header { 
    background-color:whitesmoke;
    padding: 1rem 2rem; 
    position: sticky; top: 0; z-index: 1000; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
} 

.navbar {
    display: flex;
    justify-content:space-between;
    align-items: center; 
    max-width: 1100px; 
    margin: auto;
    color: white; 
    
}

.nav-links {
     list-style: none;
     display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: #6a11cb;
    font-weight: bold;
    font-size: 1rem; 
    transition: opacity 0.3s; 
}

.nav-links li a:hover {
    background: white;
    color:#6a11cb;
    opacity: 0.8;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: 50px;
    margin-right: 10px; 
    object-fit: contain;
    border-radius: 50%;
    border: #2575fc solid 0.5px;
}

.logo-text { 
    font-size: 1.5rem; 
    font-weight: bold; 
    color:#2575fc; 
} 

.menu-toggle {
    display: none;
    font-size: 1.8rem; 
    cursor: pointer; 
    color: white; 
}

.hero {
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    padding: 3rem 1rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.hero-container{
   display: flex; 
   flex-wrap: wrap; 
   align-items: center; 
   justify-content: space-between; 
   max-width: 1100px; 
   margin: auto; 
   gap: 2rem; 
}

.hero-image img {
   border-radius: 50%; 
   width: 280px; 
   height: 280px; 
   object-fit: cover; 
   /* border: 3px solid #f0f4ff; /* ✅ lighter, thinner border */  
   box-shadow: 0 6px 18px rgba(0,0,0,0.08); /* softer shadow */ 
} 

.hero-text {
   flex: 1 1 500px; 
   padding: 1rem; 
   text-align: left; 
  } 
  
.hero-text h1 {
   font-size: 2.8rem; 
   margin-bottom: 1rem; 
   font-weight: 700; 
   color: white;
}  
  
.intro-text {
     font-size: 1.25rem; 
     font-weight: 500; 
     margin-bottom: 1rem; 
     color:white; 
}
    
.hero-text h2 {
     font-size: 1.1rem; 
     color: white; 
     font-weight: 600; /* ✅ bolder */ 
     margin-bottom: 1rem; 
} 
     

#dynamic-text { 
  display: inline-block; 
  font-weight: 600; 
  font-size: 1.5rem; /* ✅ bigger dynamic text */ 
  color: white; 
  min-width: 250px; 
  transition: opacity 0.4s ease-in-out; 
} 

.hero-image {
   flex: 1 1 350px;  
   display: flex; 
   justify-content: center; 
   padding: 1rem; 
} 

                            /* Call to Action Button */ 
.cta-btn { 
  background: whitesmoke; 
  color: #2575fc; 
  padding: 0.9rem 2rem; 
  border-radius: 35px; 
  display: inline-block; 
  margin-top: 1.5rem; 
  transition: all 0.3s; 
  font-weight: bold; 
  font-size: 1rem; 
  box-shadow: 0 6px 15px rgba(37,117,252,0.3); 
}


.cta-btn:hover {
   background: grey; 
   color: white;
   transform: translateY(-3px); 
   box-shadow: 0 10px 25px rgba(37,117,252,0.4); 
} 

                                     /* SECTIONS */ 

.section { 
  padding: 4rem 1rem; 
  text-align: center; 
  max-width: 1100px; 
  margin: auto; 
} 

.section-title {
   font-size: 2rem; 
   margin-bottom: 2rem; 
   color: #2575fc; 
  } 
  
.alt-bg {
   background: linear-gradient(135deg, #f9fbff, #e6f0ff); 
   border-radius: 10px; 
   padding: 2rem 1rem; 
} 

                                    /* SERVICES */ 
#services {
    background: whitesmoke;
    border-radius: 20px;
    margin-top: 35px;
    margin-bottom: 35px;
}

.services-grid {
   display: grid; 
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
   gap: 1.5rem; 
} 

.service-card {
   background: linear-gradient(90deg, #6a11cb, #2575fc);
   padding: 1.5rem; 
   border-radius: 15px; 
   box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
   transition: transform 0.3s, box-shadow 0.3s;
   color: white; 
  }
  
.service-card p {
    color: wheat;
}

.service-card:hover {
   transform: translateY(-8px); 
   box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
  } 

                                           /* PORTFOLIO */ 
#portfolio{
   background: whitesmoke;
   border-radius: 20px;
   margin-top: 35px;
   margin-bottom: 35px; 
}

.portfolio-grid {
   display: grid; 
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
   gap: 1.5rem; 
} 

.portfolio-item {
   background: linear-gradient(90deg, #6a11cb, #2575fc); 
   color: white;
   padding: 4rem 1rem; 
   border-radius: 15px; 
   box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
   transition: transform 0.3s, box-shadow 0.3s; 
} 

.portfolio-item a:hover {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border-radius: 5px;
    color: white;
}

.portfolio-item:hover {
   transform: scale(1.05); 
   box-shadow: 0 8px 20px rgba(0,0,0,0.2); 
} 

                                            /* CONTACT */ 
#contact{
    background: whitesmoke;
    border-radius: 20px;
    margin-top: 35px;
    margin-bottom: 35px;
}

.contact-form {
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
  max-width: 500px; 
  margin: auto; 
} 

.contact-form input, .contact-form textarea {
   padding: 0.75rem; 
   border: 1px solid #ccc; 
   border-radius: 8px; 
   font-size: 1rem; 
} 

.contact-form input:focus, .contact-form textarea:focus {
   border-color: #2575fc; 
   outline: none; 
   box-shadow: 0 0 5px rgba(37,117,252,0.4); 
}

.contact-form button {
   cursor: pointer; 
}

.contact-form button:hover {
    color: white;
}

                                               /* FOOTER */ 
footer { 
  background: linear-gradient(90deg, #2575fc, #6a11cb); 
  color: white; 
  text-align: center; 
  padding: 1rem; 
  margin-top: 2rem; 
}



      










                                       /************************** MOBILE VIEW ****************************/
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column; 
        background: rgba(0,0,0,0.9); 
        position: absolute; top: 60px; right: 20px; 
        padding: 1rem; 
        border-radius: 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links.active li a {
      color: white;
    }
      

    .menu-toggle {
        display: block;
        color: #6a11cb;
    }

    .hero-container {
     flex-direction: column; 
     text-align: center; 
     gap: 1rem; /* reduced spacing on mobile */ 
  } 
  
  .hero-text {
     text-align: center; 
  } 
  
  .hero-text h1 {
     font-size: 2rem; 
  } 

  .hero-image {
    flex: none;

  }
  
  .hero-image img {
    flex: 1 1 100px;
     width: 220px; 
     height: 220px; 
  }


}










