*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "poppins",sans-serif;
}
body{
  background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(../images/bg\ \(2\).jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.img{
    padding: 100px;

}
.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;  
    object-fit: cover;    
    border: 4px solid #333; 
  }

  .highlight {
    color: #007bff; 
    font-weight: bold;
  }

  .home {
    padding: 80px 0;
  }

  .home h1 {
    font-size: 2.5rem;
    font-weight: bold;
  }

  .home p {
    font-size: 1.1rem;
    margin-top: 15px;
    line-height: 1.6;
  }
  .cv{
    transition: 0.5s;
  }
  .cv:hover{
    color: #fff;
    background-color: brown;
  }

  ul li a{
    transition: 0.5s;
  }
  ul li a:hover{
    background-color: #007bff;
    border-radius: 10px;

  }
  a i{
    transition: 0.3s;
  }
  a i:hover{
    background-color:#fff;
  }
  

/* about us*/

.about-h{
    margin-top: 0px;
    
}

.para{
    margin-bottom: 50px;
}

.more-about{
    border-radius: 10px;
    transition: 1s;
}
.more-about:hover{
    color: #fff;
    background-color: #007bff;
}

.Services {
  
  display: flex;
  align-items: center; 
  color: #f1f5f9;
  padding: 60px 0;
}

.Services .ser {
  text-align: center;
  font-weight: 500;
}

.Services .card {
  height: 100%; 
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  color: #e5e7eb;
}

.Services .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(0,0,0,.55);
}

.Services .card-title {
  color: #22d3ee; 
}


/* ===== Skills Section ===== */
.skills {
  
  display: flex;
  align-items: center;
  padding: clamp(24px, 5vw, 56px);
  color: #e5e7eb;
}

.skills-container {
  width: min(1100px, 100%);
  margin-inline: auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

/* Section Heading */
.title {
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: block;
}

/* Panels */
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 1.25rem;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}

.panel h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  margin-bottom: 18px;
  color: #22d3ee;
}

/* === Skills Progress Bars === */
.skill {
  margin: 16px 0 18px;
}

.label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #94a3b8; /* muted */
  margin-bottom: 8px;
}

.bar {
  position: relative;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.bar span {
  --w: 0%;
  position: absolute;
  inset: 0;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
  border-radius: inherit;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, .15);
  animation: grow 1100ms ease-out both;
}

@keyframes grow {
  from { width: 0; }
  to { width: var(--w); }
}

/* === Technical Skills List === */
.tech-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
}

.tech-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.4;
  color: #d1d5db; /* light gray */
}

.tech-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .06);
}





/* ===== Projects Section ===== */
.projects {
  
  display: flex;
  align-items: center;
  padding: clamp(24px, 5vw, 60px);
  
  color: #f1f5f9;
}

.projects-container {
  width: min(1100px, 100%);
  margin-inline: auto;
  text-align: center;
}

.title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.page4 .my{
  margin-top: 10% !important;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.project-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  padding: 28px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #22d3ee; /* cyan accent */
}

.card-content p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  transform: scale(1.05);
}



/* ===== Contact Section ===== */
.contact {
  
  display: flex;
  align-items: center;
  padding: clamp(24px, 5vw, 60px);
  color: #f1f5f9;
}

.contact-container {
  width: min(1100px, 100%);
  margin-inline: auto;
}

.title {
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* Contact Info */
.contact-info h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #22d3ee;
}

.contact-info p {
  font-size: 15px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  font-size: 15px;
  margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

.btn {
  align-self: flex-start;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: scale(1.05);
}

/* ================== Responsive Breakpoints ================== */



@media (max-width: 768px) {
  .home {
    padding: 50px 20px;
    height: auto;
    text-align: center;
  }

  .img {
    padding: 20px 0;
  }

  .profile-img {
    width: 220px;
    height: 220px;
  }

  .home h1 {
    font-size: 2rem;
  }

  .home p {
    font-size: 1rem;
  }
}

/* Mobiles */
@media (max-width: 576px) {
  .home {
    padding: 30px 15px;
    height: auto;
    text-align: center;
  }

  .profile-img {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
  }

  .home h1 {
    font-size: 1.8rem;
  }

  .home h3 {
    font-size: 1.1rem;
  }

  .home p {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .cv {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}

/* Very Small Mobiles (320px) */
@media (max-width: 320px) {
  .profile-img {
    width: 150px;
    height: 150px;
  }

  .home h1 {
    font-size: 1.5rem;
  }

  .home h3 {
    font-size: 1rem;
  }

  .home p {
    font-size: 0.8rem;
  }

  .cv {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* ==============================
   Responsive - About Section
============================== */

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .about {
    height: auto;
    padding: 50px 20px;
    text-align: center;
  }

  .about-content {
    margin-bottom: 20px;
  }

  .about-h {
    font-size: 2rem;
  }

  .about-content h3 {
    font-size: 1.3rem;
  }

  .about-content p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 10px;
  }

  .profile-img {
    width: 220px;
    height: 220px;
  }

  .more-about {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}

/* Mobiles (max-width: 576px) */
@media (max-width: 576px) {
  .about {
    padding: 30px 15px;
  }

  .about-h {
    font-size: 1.8rem;
  }

  .about-content h3 {
    font-size: 1.1rem;
  }

  .about-content p {
    font-size: 0.9rem;
  }

  .profile-img {
    width: 180px;
    height: 180px;
    margin-top: 15px;
  }

  .more-about {
    font-size: 0.85rem;
    padding: 7px 14px;
  }
}

/* Very Small Mobiles (max-width: 320px) */
@media (max-width: 320px) {
  .about-h {
    font-size: 1.5rem;
  }

  .about-content h3 {
    font-size: 1rem;
  }

  .about-content p {
    font-size: 0.8rem;
  }

  .profile-img {
    width: 150px;
    height: 150px;
  }

  .more-about {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

/* ==============================
   Responsive - Services Section
============================== */

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .Services {
    padding: 50px 30px;
    text-align: center;
  }

  .Services .ser {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .Services .card {
    margin-bottom: 25px;
  }

  .Services .card-title {
    font-size: 1.4rem;
  }

  .Services .card-text {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Mobiles (max-width: 576px) */
@media (max-width: 576px) {
  .Services {
    padding: 30px 15px;
  }

  .Services .ser {
    font-size: 1.6rem;
  }

  .Services .card {
    padding: 15px;
  }

  .Services .card-title {
    font-size: 1.2rem;
  }

  .Services .card-text {
    font-size: 0.9rem;
  }

  .Services .card-link {
    font-size: 0.85rem;
  }
}

/* Very Small Mobiles (max-width: 320px) */
@media (max-width: 320px) {
  .Services .ser {
    font-size: 1.3rem;
  }

  .Services .card-title {
    font-size: 1rem;
  }

  .Services .card-text {
    font-size: 0.8rem;
  }

  .Services .card-link {
    font-size: 0.75rem;
  }
}

/* ==============================
   Responsive - Skills Section
============================== */

/* Tablets (<= 992px) */
@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 24px;
  }

  .skills {
    padding: 40px 20px;
  }

  .panel h3 {
    font-size: 20px;
  }

  .tech-list li {
    font-size: 14px;
  }
}

/* Mobiles (<= 576px) */
@media (max-width: 576px) {
  .skills {
    padding: 30px 15px;
  }

  .title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .panel {
    padding: 16px;
  }

  .panel h3 {
    font-size: 18px;
  }

  .skill .label {
    font-size: 13px;
  }

  .bar {
    height: 10px;
  }

  .tech-list li {
    font-size: 13px;
    padding-left: 22px;
  }

  .tech-list li::before {
    width: 10px;
    height: 10px;
    top: 5px;
  }
}

/* Very Small Mobiles (<= 320px) */
@media (max-width: 320px) {
  .title {
    font-size: 20px;
  }

  .panel h3 {
    font-size: 16px;
  }

  .skill .label {
    font-size: 12px;
  }

  .tech-list li {
    font-size: 12px;
  }
}

/* =========================
   📱 Responsive Media Queries
   ========================= */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .projects {
    padding: 40px 20px;
  }

  .title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 24px;
  }

  .project-card {
    padding: 22px;
  }

  .card-content h3 {
    font-size: 18px;
  }

  .card-content p {
    font-size: 14px;
  }
}

/* Small Tablets & Mobiles (≤ 768px) */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr; /* stack in one column */
  }

  .project-card {
    text-align: center;
  }

  .btn {
    font-size: 13px;
    padding: 8px 14px;
  }
}

/* Mobiles (≤ 480px) */
@media (max-width: 480px) {
  .projects {
    padding: 30px 15px;
  }

  .title {
    font-size: 22px;
  }

  .project-card {
    padding: 18px;
  }

  .card-content h3 {
    font-size: 16px;
  }

  .card-content p {
    font-size: 13px;
  }

  .btn {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* Very Small Devices (≤ 320px) */
@media (max-width: 320px) {
  .title {
    font-size: 18px;
  }

  .project-card {
    padding: 14px;
  }

  .card-content h3 {
    font-size: 15px;
  }

  .card-content p {
    font-size: 12px;
    line-height: 1.4;
  }

  .btn {
    font-size: 11px;
    padding: 6px 10px;
  }
}
/* =========================
   📱 Contact Section Responsive
   ========================= */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .contact {
    padding: 40px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .contact-info h3 {
    font-size: 20px;
  }

  .contact-info p,
  .contact-info li {
    font-size: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
    padding: 10px;
  }
}

/* Small Tablets & Large Phones (≤ 768px) */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 20px;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info ul {
    padding-left: 0;
  }

  .contact-form {
    text-align: center;
  }

  .btn {
    align-self: center;
  }
}

/* Mobile Phones (≤ 480px) */
@media (max-width: 480px) {
  .contact {
    padding: 30px 15px;
  }

  .title {
    font-size: 22px;
  }

  .contact-info h3 {
    font-size: 18px;
  }

  .contact-info p,
  .contact-info li {
    font-size: 13px;
    line-height: 1.5;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
    padding: 8px;
  }

  .btn {
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* Very Small Devices (≤ 320px) */
@media (max-width: 320px) {
  .title {
    font-size: 18px;
  }

  .contact-info h3 {
    font-size: 16px;
  }

  .contact-info p,
  .contact-info li {
    font-size: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding: 6px;
  }

  .btn {
    font-size: 12px;
    padding: 8px 14px;
  }
}



