* { margin:0; padding:0; box-sizing:border-box; }
  body { display:flex; min-height:100vh; font-family:Arial,sans-serif; }
  
  /* Sidebar */
  .sidebar {
    width:260px; background:#111; color:white;
    position:fixed; top:0; left:0; bottom:0;
    padding:30px 20px; display:flex; flex-direction:column; align-items:center;
  }

  /* Profile Image with Gradient Border */
  .profile-circle {
    width:150px; height:150px; border-radius:50%;
    padding:4px; /* border jaisa effect ke liye */
    background:linear-gradient(135deg, #ff7eb3, #ff758c, #ffae00, #a3d8ff, #8e44ad);
    background-size:300% 300%;
    animation: borderGradient 6s ease infinite;
    margin-bottom:15px;
    transition:transform 0.4s, box-shadow 0.4s;
  }
  .profile-circle img {
    width:100%; height:100%; border-radius:50%; object-fit:cover;
    border:3px solid #111; /* andar ka border black for clean contrast */
  }
  .profile-circle:hover {
    transform:scale(1.1);
    box-shadow:0 0 25px rgba(255,118,178,0.7);
  }
  @keyframes borderGradient {
    0% { background-position:0% 50%; }
    50% { background-position:100% 50%; }
    100% { background-position:0% 50%; }
  }

  .sidebar h2 { font-size:1.35em; margin-bottom:18px; text-align:center; }
  
  /* Social Icons */
  .social-icons { display:flex; gap:14px; margin-bottom:25px; font-size:1.2em; }
  .social-icons a { color:white; transition:color 0.3s; text-decoration:none; }
  .social-icons a:hover { color:#ff7eb3; }
  
  /* Navigation */
  nav ul { list-style:none; width:100%; }
  nav ul li { margin:8px 0; }
  nav ul li a {
    color:white; text-decoration:none; padding:10px 15px;
    display:block; border-radius:4px; transition:background 0.3s;
  }
  nav ul li a:hover, nav ul li a.active {
    background:#ffffff; color:#000;
  }
  
  /* Content */
  .content { margin-left:260px; flex:1; }
  
  /* Default for all sections = 50vh */
  section {
    min-height:50vh;
    padding:40px 30px;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  /* Home Section = 100vh */
  #home {
    min-height:100vh;
    background:url('https://i.ibb.co/CKJmMV10/medium-shot-smiley-woman-working.jpg') center/cover no-repeat;
    color:white; text-align:left; justify-content:flex-start;
  }
  #line2 {
  color: white;
}
  #home::before {
    content:""; position:absolute; inset:0; background:rgba(0,0,0,0.5);
  }
  #home .home-text {
    position:relative; z-index:1; max-width:600px;
  }
  #home h2 {
    font-size:2.5em; font-weight:bold; margin-bottom:15px;
  }
  #home p {
    font-size:1.3em; font-weight:500;
  }
  
  /* About Section */
  .about-content {
  background:#fff;
  padding:30px;
  border-radius:10px;
  max-width:850px;
  margin:40px auto 0;  /* centers horizontally and adds top gap */
  box-shadow:0 8px 30px rgba(0,0,0,0.5); /* same as resume shadow */
}

  #about {
    background:white;
    flex-direction:column;
    padding-top:20px;
  }
  #about h2 {
    font-size:2.5em;
    font-weight:bold;
    color:black;
    margin-bottom:15px;
    text-align:center;
  }
  #about .bio-text {
    font-family:'Times New Roman', serif;
    color:black;
    font-size:1.1em;
    line-height:1.8;
    text-align:Left;
    max-width:850px;
  }
  #about .bio-text p {
    margin-bottom:18px;
  }
  /*resume section*/
  #resume {
  background:#f8f8f8;
  display:block;          /* stops flex alignment */
  padding:60px 30px;       /* extra space top/bottom */
  text-align:center;       /* centers the heading */
}

  #resume h2 {
    font-size:2.5em;
    font-weight:bold;
    text-align:center;
    margin-bottom:20px;
  }
 .resume-content {
  background:#fff;
  padding:30px;
  border-radius:10px;
  max-width:850px;
  margin:40px auto 0;       /* adds gap from heading + centers horizontally */
  box-shadow:0 8px 30px rgba(0,0,0,0.5); /* nice shadow */
  text-align:left;          /* content inside box stays aligned left */
}



  .contact-info {
    display:flex; flex-wrap:wrap; gap:15px;
    justify-content:center; font-size:14px; margin-bottom:20px;
  }
  .section-title {
    font-size:18px; font-weight:bold;
    margin:20px 0 10px;
    border-bottom:2px solid #000;
    display:inline-block;
    padding-bottom:3px;
  }
  p, li { font-size:14px; color:#333; line-height:1.5; }
  ul { margin-left:20px; }
  .skills-list {
    display:flex; flex-wrap:wrap; gap:15px; margin-top:10px;
  }
  .skills-list div { flex:1 1 200px; }
  .download-btn {
    display:block;
    width:max-content;
    margin:30px auto 0;
    padding:10px 20px;
    background:#ff4081; color:#fff;
    text-decoration:none; font-size:16px;
    border-radius:5px; transition:0.3s;
  }
  .download-btn:hover { background:#ff4081; }
  /* Skills */

  section.skills {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;       /* center section horizontally */
  justify-content: center;   /* center section vertically */
  padding: 60px 24px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

section.skills h2 {
  font-size: 34px;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

section.skills h3 {
  font-size: 26px;
  margin: 30px 0 20px;
  color: #333;
}

/* Grid layout */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* fixed 3 columns */
  gap: 30px;
  justify-items: center; /* centers each card block in grid cell */
}

/* Flip Card */
.flip-card {
  width: 300px;         /* increased width */
  height: 260px;        /* increased height */
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  padding: 20px;
}

/* FRONT SIDE */
.flip-card-front {
  background: #ffffff;
}
.flip-card-front i {
  font-size: 60px; /* slightly bigger icon */
  margin-bottom: 16px;
}
.flip-card-front span {
  font-size: 20px;
  font-weight: 600;
}

/* BACK SIDE */
.flip-card-back {
  background-color: #ff4081; /* your color */
  color: white;
  transform: rotateY(180deg);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

  /* Add these to center content */
  /*h*/
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  text-align: center;      /* center text inside */
  padding: 10px;           /* optional, for spacing */
}


.flip-card-back p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.flip-card:hover .flip-card-front,
.flip-card:hover .flip-card-back {
  box-shadow: 0 10px 25px rgba(255, 79, 145, 0.6);
}

 
  /* Responsive */
  @media (max-width:768px) {
    .sidebar {
      position:relative; width:100%; flex-direction:row; justify-content:space-around;
    }
    .content { margin-left:0; }
    nav ul { display:flex; flex-wrap:wrap; justify-content:center; }
    nav ul li { margin:0 5px; }
    .social-icons { display:none; }
    section { min-height:auto; }
    .profile-circle { width:80px; height:80px; }
  .sidebar h2 { font-size:1em; }
  }

  /*certifate section*/
  #Certificates {
  
  background: #fff;
    min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;       /* center section horizontally */
  justify-content: center;   /* center section vertically */
  padding: 60px 24px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

#Certificates .section-title {
 text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
  text-decoration: none;   /* underline hatao */
  border-bottom: none;     /
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto; /* center grid */
}

.certificate-card {
 background: #fff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0px 8px 20px rgba(255, 66, 122, 0.15); /* 🔥 pink shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 12px 25px rgba(255, 66, 122, 0.3); /* 🔥 hover pe zyada strong */
}

.certificate-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.certificate-card p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #666;
}

.certificate-card a {
  display: inline-block;
  padding: 8px 16px;
  background: #FF427A;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none !important;  /* 🚀 underline forcefully hatao */
  transition: background 0.3s ease;
}


.certificate-card a:hover {
  background: #e0366a;
}
@media (max-width: 992px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
  }
}

@media (max-width: 600px) {
  .certificates-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}
/* Contact Section */
#contact {
  background: #fff;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;       
  justify-content: center;   
  padding: 60px 24px;
  max-width: 1200px;   /* thoda bada kiya for balance */
  margin: auto;
  text-align: center;
}

#contact h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
}

/* Container: Form + Map side by side */
.contact-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;               /* thoda zyada spacing clean look ke liye */
  justify-content: space-between;
  align-items: stretch;  
  width: 100%;
}

/* Left: Google Form | Right: Google Map */
.contact-form, 
.contact-map {
  flex: 1 1 48%;   /* dono ~50% width lenge */
  min-width: 350px;   /* mobile pe niche aa jayenge */
  max-width: 550px;
}

/* Map styling */
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Form styling */
.contact-form {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;   /* labels/inputs left align for professional look */
}
@media (max-width:992px) {
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:600px) {
  .skill-grid { grid-template-columns: 1fr; }
  .flip-card { width:100%; max-width:300px; margin:auto; }
}
@media (max-width:400px) {
  .certificate-card { padding:15px; }
  .certificate-card h3 { font-size:16px; }
}
@media (max-width:768px) {
  .contact-container { flex-direction:column; align-items:center; }
  .contact-form, .contact-map { max-width:100%; min-width:auto; }
}
@media (max-width:600px) {
  #home h2 { font-size:1.8em; }
  #home p { font-size:1em; }
  #about h2, #resume h2, section.skills h2, #contact h2 { font-size:1.8em; }
}
