
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #e9ecef;
  background: linear-gradient(135deg, #1a1e24 0%, #2d3436 100%);
  min-height: 100vh;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background: rgba(18, 22, 28, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 100;
  height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
}

.navbar a {
  display: inline-block;
  font-size: 18px;
  color: #e9ecef;
  text-decoration: none;
  font-weight: 500;
  margin-left: 35px;
  transition: 0.3s;
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00b4d8;
  transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.navbar a:hover,
.navbar a.active {
  color: #00b4d8;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #e9ecef;
  transition: 0.3s;
  border-radius: 3px;
}

/* Home Section */
.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 10% 0;
}

.home-content {
  max-width: 600px;
  margin-top: 20px;
  background: rgba(26, 30, 36, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-content h3 {
  font-size: 28px;
  font-weight: 600;
  color: #e9ecef;
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 20px;
}

.home-content h3 span {
  color: #00b4d8;
  font-size: 35px;
  font-weight: 700;
}

.home-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 10px 0;
  color: #e9ecef;
}

.home-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #adb5bd;
  margin-bottom: 20px;
}

.home-sci {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0;
}

.home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid #00b4d8;
  border-radius: 50%;
  font-size: 20px;
  color: #00b4d8;
  text-decoration: none;
  transition: 0.3s;
}

.home-sci a:hover,
.home-sci a:focus {
  background: #00b4d8;
  color: #1a1e24;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.btn-box {
  display: inline-block;
  padding: 10px 24px;
  background: #00b4d8;
  border-radius: 30px;
  font-size: 15px;
  color: #1a1e24;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: 600;
  margin-right: 12px;
  margin-bottom: 12px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid transparent;
}

.btn-box:hover,
.btn-box:focus {
  background: transparent;
  color: #00b4d8;
  border-color: #00b4d8;
  transform: translateY(-2px);
}

/* About Section */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 10% 50px;
}

.about-img {
  margin-bottom: 30px;
}

.about-img img {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 50%;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid #00b4d8;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(26, 30, 36, 0.95);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-text h2 {
  font-size: 48px;
  margin-bottom: 15px;
  color: #e9ecef;
}

.about-text h2 span {
  color: #00b4d8;
}

.about-text h4 {
  font-size: 20px;
  font-weight: 600;
  color: #00b4d8;
  margin-bottom: 15px;
}

.about-text p {
  color: #adb5bd;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin: 40px 0;
  justify-content: center;
}

.stat {
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  flex: 0 1 150px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat h3 {
  font-size: 32px;
  color: #00b4d8;
  margin-bottom: 5px;
  font-weight: 700;
}

.stat p {
  font-size: 14px;
  color: #868e96;
  margin: 0;
}

/* Services Section */
.services-section {
  padding: 100px 10% 50px;
}

.sub-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
  color: #e9ecef;
}

.sub-title span {
  color: #00b4d8;
  position: relative;
}

.sub-title span::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00b4d8, transparent);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.services-list div {
  background: rgba(26, 30, 36, 0.95);
  padding: 30px 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.services-list div:hover {
  transform: translateY(-5px);
  border-color: #00b4d8;
  box-shadow: 0 15px 30px rgba(0, 180, 216, 0.1);
}

.services-list div i {
  font-size: 40px;
  margin-bottom: 20px;
  color: #00b4d8;
}

.services-list div h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #e9ecef;
}

.services-list div p {
  color: #adb5bd;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  border-radius: 25px;
  font-size: 14px;
  color: #00b4d8;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  border: 1px solid #00b4d8;
}

.read:hover {
  background: #00b4d8;
  color: #1a1e24;
}

/* Skills Section */
.skills-section {
  padding: 100px 10% 50px;
}

.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
}

.container1 {
  width: 100%;
  max-width: 550px;
  padding: 25px;
  background: rgba(26, 30, 36, 0.95);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.heading1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #e9ecef;
  position: relative;
  padding-bottom: 12px;
}

.heading1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #00b4d8;
}

/* Technical Skills Bars */
.Technical-bars .bar {
  margin-bottom: 25px;
}

.Technical-bars .bar .info {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.Technical-bars .bar .info i {
  font-size: 20px;
}

.Technical-bars .bar .info span {
  font-size: 16px;
  font-weight: 500;
  color: #e9ecef;
}

.Technical-bars .bar .progress-line {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.Technical-bars .bar .progress-line span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width 1.5s ease-in-out;
}

.Technical-bars .bar.html .progress-line span {
  width: var(--skill-percentage, 90%);
  background: #e17055;
}

.Technical-bars .bar.css .progress-line span {
  width: var(--skill-percentage, 85%);
  background: #00b4d8;
}

.Technical-bars .bar.javascript .progress-line span {
  width: var(--skill-percentage, 80%);
  background: #fdcb6e;
}

.Technical-bars .bar.react .progress-line span {
  width: var(--skill-percentage, 75%);
  background: #00cec9;
}

/* Radial Bars */
.radial-bars-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.radial-bars {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: background 1.5s ease-out;
}

.radial-bars::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  background: rgba(26, 30, 36, 0.95);
  border-radius: 50%;
}

.radial-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.percentage {
  font-size: 20px;
  font-weight: 600;
  color: #00b4d8;
}

.skill-name {
  font-size: 12px;
  color: #868e96;
  margin-top: 3px;
}

/* Projects Section */
.projects-section {
  padding: 100px 10% 50px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.project-card {
  background: rgba(26, 30, 36, 0.95);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #00b4d8;
  box-shadow: 0 15px 30px rgba(0, 180, 216, 0.1);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #e9ecef;
}

.project-info p {
  color: #adb5bd;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.project-tech span {
  padding: 4px 10px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 15px;
  font-size: 11px;
  color: #00b4d8;
  font-weight: 500;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.project-link {
  display: inline-block;
  padding: 6px 16px;
  background: transparent;
  color: #00b4d8;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 500;
  transition: 0.3s;
  font-size: 13px;
  border: 1px solid #00b4d8;
  margin-right: 8px;
}

.project-link:hover {
  background: #00b4d8;
  color: #1a1e24;
}

/* Certificates Section */
.certificates-section {
  padding: 100px 10% 50px;
}

.certificates-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
}

.certificates-container {
  width: 100%;
  max-width: 550px;
  padding: 25px;
  background: rgba(26, 30, 36, 0.95);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.certificates-heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #e9ecef;
  position: relative;
  padding-bottom: 12px;
}

.certificates-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #00b4d8;
}

.certificates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.certificate-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

.certificate-item:hover {
  border-color: #00b4d8;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.1);
}

.certificate-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #00b4d8;
  border: 1px solid rgba(0, 180, 216, 0.2);
  flex-shrink: 0;
}

.certificate-content {
  flex: 1;
}

.certificate-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #e9ecef;
}

.certificate-content .issuer {
  color: #00b4d8;
  font-size: 13px;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.certificate-content .date {
  color: #868e96;
  font-size: 11px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.certificate-content p {
  color: #adb5bd;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.certificate-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.certificate-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: transparent;
  color: #00b4d8;
  text-decoration: none;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid #00b4d8;
  transition: 0.3s;
}

.certificate-link:hover {
  background: #00b4d8;
  color: #1a1e24;
}

.certificate-link.secondary {
  border-color: rgba(255, 255, 255, 0.1);
  color: #adb5bd;
}

.certificate-link.secondary:hover {
  border-color: #00b4d8;
  color: #00b4d8;
  background: transparent;
}

/* Certificate Viewer Page */
.certificate-viewer-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1e24 0%, #2d3436 100%);
  padding: 100px 10% 50px;
}

.certificate-viewer-container {
  max-width: 900px;
  margin: 0 auto;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(26, 30, 36, 0.95);
  color: #00b4d8;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  margin-bottom: 25px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.back-btn:hover {
  background: #00b4d8;
  color: #1a1e24;
  border-color: #00b4d8;
}

.certificate-viewer {
  background: rgba(26, 30, 36, 0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.certificate-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.certificate-header h1 {
  font-size: 28px;
  color: #e9ecef;
  margin-bottom: 8px;
}

.certificate-header h2 {
  font-size: 18px;
  color: #00b4d8;
  margin-bottom: 12px;
}

.certificate-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #adb5bd;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item i {
  color: #00b4d8;
  font-size: 12px;
}

.certificate-image-container {
  text-align: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.certificate-image {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.05);
}

.certificate-details {
  margin-top: 25px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.certificate-details h3 {
  color: #00b4d8;
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
}

.certificate-details p {
  color: #adb5bd;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.skill-item {
  background: rgba(0, 180, 216, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  color: #00b4d8;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(0, 180, 216, 0.2);
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: #00b4d8;
  color: #1a1e24;
  border-color: #00b4d8;
}

.certificate-actions-full {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.certificate-actions-full a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: transparent;
  color: #00b4d8;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: 0.3s;
  border: 1px solid #00b4d8;
  font-size: 14px;
}

.certificate-actions-full a:hover {
  background: #00b4d8;
  color: #1a1e24;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.certificate-actions-full a.secondary {
  border-color: rgba(255, 255, 255, 0.1);
  color: #adb5bd;
}

.certificate-actions-full a.secondary:hover {
  border-color: #00b4d8;
  color: #00b4d8;
  background: transparent;
}

/* Certificate Navigation */
.certificate-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(26, 30, 36, 0.95);
  color: #00b4d8;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
  font-size: 14px;
}

.nav-btn:hover {
  background: #00b4d8;
  color: #1a1e24;
  border-color: #00b4d8;
}

.nav-btn.prev-btn:hover {
  transform: translateX(-3px);
}

.nav-btn.next-btn:hover {
  transform: translateX(3px);
}

/* Contact Section */
.contact-section {
  padding: 100px 10% 50px;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(26, 30, 36, 0.95);
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  border-color: #00b4d8;
}

.contact-item i {
  font-size: 24px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 50%;
  color: #00b4d8;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.contact-item h3 {
  font-size: 18px;
  margin-bottom: 3px;
  color: #e9ecef;
}

.contact-item p {
  color: #adb5bd;
  font-size: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(26, 30, 36, 0.95);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #e9ecef;
  font-size: 14px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00b4d8;
  background: rgba(0, 0, 0, 0.3);
}

.contact-form button {
  align-self: flex-start;
}

/* Footer */
.footer {
  padding: 40px 10% 25px;
  background: rgba(18, 22, 28, 0.95);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 20px 0;
}

.footer-links a {
  color: #868e96;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 400;
  font-size: 14px;
}

.footer-links a:hover {
  color: #00b4d8;
}

.footer-note {
  color: #495057;
  font-size: 13px;
  margin-top: 20px;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00b4d8;
  color: #1a1e24;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
  z-index: 99;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.scroll-top-btn:hover {
  background: transparent;
  color: #00b4d8;
  border-color: #00b4d8;
  transform: translateY(-3px);
}

/* Animations - Optimized */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 5%;
    height: 70px;
  }
  
  .home {
    padding: 80px 5% 0;
  }
  
  .home-content {
    padding: 25px;
  }
  
  .home-content h1 {
    font-size: 36px;
  }
  
  .home-content h3 span {
    font-size: 28px;
  }
  
  .navbar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(18, 22, 28, 0.98);
    flex-direction: column;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
  }
  
  .navbar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar a {
    display: block;
    margin: 12px 0;
    font-size: 16px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .about,
  .services-section,
  .skills-section,
  .projects-section,
  .contact-section,
  .certificates-section {
    padding: 80px 5% 30px;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .stat {
    width: 100%;
    max-width: 250px;
  }
  
  .sub-title {
    font-size: 32px;
  }
  
  .services-list,
  .projects-container {
    grid-template-columns: 1fr;
  }
  
  .skills-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .container1 {
    width: 100%;
    max-width: 100%;
  }
  
  .certificates-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .certificates-container {
    width: 100%;
    max-width: 100%;
  }
  
  .certificate-item {
    flex-direction: column;
    text-align: center;
  }
  
  .certificate-icon {
    margin-bottom: 10px;
  }
  
  .certificate-links {
    justify-content: center;
  }
  
  .radial-bars-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .radial-bars {
    width: 100px;
    height: 100px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .certificate-viewer-page {
    padding: 80px 5% 30px;
  }
  
  .certificate-viewer {
    padding: 20px;
  }
  
  .certificate-header h1 {
    font-size: 24px;
  }
  
  .certificate-header h2 {
    font-size: 16px;
  }
  
  .certificate-meta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .certificate-image {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .home {
    padding: 60px 5% 0;
  }
  
  .home-content {
    padding: 20px;
  }
  
  header {
    height: 60px;
  }
  
  .home-content h1 {
    font-size: 28px;
  }
  
  .home-content h3 {
    font-size: 20px;
  }
  
  .home-content h3 span {
    font-size: 24px;
  }
  
  .btn-box {
    padding: 8px 18px;
    font-size: 13px;
  }
  
  .radial-bars-container {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .certificate-actions,
  .certificate-actions-full {
    flex-direction: column;
  }
  
  .certificate-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .skills-list {
    grid-template-columns: 1fr;
  }
  
  .certificate-viewer {
    padding: 15px;
  }
  
  .certificate-image {
    max-height: 200px;
  }
}

/* Selection Styling */
::selection {
  background: #00b4d8;
  color: #1a1e24;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1e24;
}

::-webkit-scrollbar-thumb {
  background: #00b4d8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0096b0;
}
