:root {
  --primary: #1a73e8;
  --primary-light: #e8f0fe;
  --secondary: #0d47a1;
  --accent: #ff9100;
  --text: #333333;
  --text-light: #666666;
  --background: #f0f7ff;
  --card-bg: #ffffff;
  --border: #dbeafe;
  --shadow: rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  /* padding: 5px 0; */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo span {
  color: var(--accent);
}

.navbar-nav .nav-link {
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(rgba(26, 115, 232, 0.9), rgba(13, 71, 161, 0.9)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%231a73e8"/><path d="M0 0L100 100" stroke="%23ffffff" stroke-width="0.5"/><path d="M100 0L0 100" stroke="%23ffffff" stroke-width="0.5"/></svg>');
  background-size: cover;
  color: white;
}

.hero-content {
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.hero-text {
  flex: 1;
  padding-right: 40px;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.profile-img {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
}

.profile-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #ff7700;
  border-color: #ff7700;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 145, 0, 0.4);
}

.btn-outline-light {
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-3px);
}

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  margin: 15px auto;
  border-radius: 2px;
}

section {
  padding: 80px 0;
}

/* About Section */
.about-content {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  margin-bottom: 30px;
  border: 1px solid var(--border);
}

/* Experience Section */
.exp-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  height: 100%;
}

.exp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow);
}

.exp-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.exp-card h4 {
  color: var(--accent);
  margin-bottom: 15px;
  font-style: italic;
  font-weight: 500;
}

.exp-card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.exp-card li {
  margin-bottom: 8px;
  position: relative;
}

.exp-card li:before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Skills Section */
.skill-category {
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  height: 100%;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow);
}

.skill-category h3 {
  color: var(--primary);
  margin-bottom: 25px;
  text-align: center;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

.skill-category h3:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.skill-item {
  margin-bottom: 20px;
}

.skill-name {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
}

.skill-bar {
  height: 10px;
  background-color: var(--primary-light);
  border-radius: 5px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 5px;
  position: relative;
}

/* Contact Section - Modified */
.contact-form {
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  padding: 40px;
  border: 1px solid var(--border);
  height: 100%;
}

.contact-details {
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  padding: 40px;
  border: 1px solid var(--border);
  height: 100%;
}

.detail-item {
  display: flex;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--border);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.detail-icon i {
  color: white;
  font-size: 1.2rem;
}

.detail-content h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.detail-content p {
  color: var(--text);
  margin-bottom: 0;
}

.detail-content a {
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.detail-content a:hover {
  color: var(--primary);
}

.form-control {
  padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(26, 115, 232, 0.25);
}

textarea.form-control {
  min-height: 150px;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 40px 0 20px;
}

.social-links a {
  display: inline-block;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  line-height: 45px;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-5px);
}

.declaration {
  font-style: italic;
  margin-top: 20px;
  opacity: 0.8;
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  border: none;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 15px 15px 0 0;
  padding: 15px 20px;
}

.btn-close {
  filter: invert(1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .profile-img {
    width: 280px;
    height: 280px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-content,
  .contact-form,
  .contact-details,
  .skill-category,
  .exp-card {
    padding: 20px;
  }

  .profile-img {
    width: 220px;
    height: 220px;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
  }

  .detail-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .btn-primary,
  .btn-outline-light {
    width: 100%;
    margin-bottom: 10px;
  }

  .profile-img {
    width: 200px;
    height: 200px;
  }
}

/* WhatsApp Floating Button - Left Side */
.whatsapp-float-left {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px; /* 👈 Changed to left */
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-left img {
    width: 35px;
    height: 35px;
}

.whatsapp-float-left:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}