/*---------------------------------------------
# Base Styles
----------------------------------------------*/
:root {
  --primary-color: #D43F52;
  --primary-dark: #9E1C28;
  --primary-light: #e76a7a;
  --secondary-color: #2D3047;
  --secondary-dark: #1a1b2e;
  --secondary-light: #494c6b;
  --text-color: #333;
  --text-light: #6c757d;
  --text-white: #fff;
  --background-light: #f8f9fa;
  --background-dark: #121212;
  --border-color: #e9ecef;
  --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, #D43F52, #9E1C28);
  --gradient-dark: linear-gradient(135deg, #2D3047, #1a1b2e);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.primary-btn {
  background: var(--gradient-primary);
  color: var(--text-white);
  border: none;
  box-shadow: 0 5px 15px rgba(212, 63, 82, 0.3);
}

.primary-btn:hover {
  background: linear-gradient(135deg, #9E1C28, #D43F52);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 63, 82, 0.4);
}

.secondary-btn {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.secondary-btn:hover {
  background: var(--text-white);
  color: var(--primary-color);
  border: 2px solid var(--text-white);
  transform: translateY(-3px);
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--background-light) !important;
}

.light {
  color: var(--text-white) !important;
}

.light p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/*---------------------------------------------
# Background Patterns
----------------------------------------------*/
.bg-pattern-light {
  background-color: var(--background-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23d43f52' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bg-pattern-dark {
  background-color: var(--secondary-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bg-dark-gradient {
  background: var(--gradient-dark);
}

.bg-geometric {
  background-color: #f8f9fa;
  background: linear-gradient(135deg, rgba(248,249,250,1) 0%, rgba(240,240,245,1) 100%);
  position: relative;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  background: rgba(212, 63, 82, 0.05);
  border-radius: 50%;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 120px;
  height: 120px;
  top: 30%;
  left: 15%;
}

.shape-4 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  right: 12%;
}

/*---------------------------------------------
# Preloader
----------------------------------------------*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  font-size: 3rem;
  color: var(--primary-color);
  animation: blink 1.5s infinite;
}

.loader span {
  display: inline-block;
  margin: 0 5px;
}

.loader span:nth-child(1) {
  animation: wave 1.5s ease-in-out infinite;
}

.loader span:nth-child(2) {
  animation: wave 1.5s ease-in-out 0.5s infinite;
}

.loader span:nth-child(3) {
  animation: wave 1.5s ease-in-out 1s infinite;
}

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/*---------------------------------------------
# Navigation
----------------------------------------------*/
.navbar {
  background: transparent;
  transition: var(--transition);
  padding: 20px 0;
}

.navbar-dark .navbar-brand {
  color: var(--text-white);
  font-weight: 700;
  font-size: 24px;
}

.navbar-dark .navbar-brand span {
  color: var(--primary-color);
  margin: 0 3px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  font-weight: 500;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .active .nav-link::after {
  width: 30px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .active .nav-link {
  color: var(--text-white);
}

.navbar-dark.sticky {
  background: var(--background-dark);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

/*---------------------------------------------
# Hero Section
----------------------------------------------*/
.hero-section {
  background: var(--gradient-dark);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://via.placeholder.com/1920x1080') no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 60px;
}

.hero-text {
  color: var(--text-white);
}

.hero-text h5 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-text h1 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-white);
}

.hero-text h2 {
  display: inline-block;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 600;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
}

.blob-animation {
  position: relative;
  width: 100%;
  height: 100%;
}

.profile-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 5px solid rgba(255, 255, 255, 0.1);
}

.profile-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.scroll-down a {
  color: var(--text-white);
  font-size: 24px;
  display: inline-block;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Tech Stack Styles */
.tech-stack {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.tech-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.tech-icon {
  text-align: center;
  color: var(--text-white);
  opacity: 0.7;
  transition: var(--transition);
  padding: 0 15px;
}

.tech-icon:hover {
  transform: translateY(-5px);
  opacity: 1;
}

.tech-icon i {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.tech-icon span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

/*---------------------------------------------
# Section Title
----------------------------------------------*/
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2 span {
  color: var(--primary-color);
}

.section-title .divider {
  margin: 0 auto;
  width: 80px;
  height: 3px;
  position: relative;
  margin-bottom: 20px;
  background: #e9ecef;
}

.section-title .divider span {
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

.section-title.light .divider {
  background: rgba(255, 255, 255, 0.2);
}

/*---------------------------------------------
# About Section
----------------------------------------------*/
.about-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  border-radius: 15px;
}

.experience-badge {
  position: absolute;
  right: -15px;
  bottom: 30px;
  background: var(--primary-color);
  color: var(--text-white);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.experience-badge .years {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

.about-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-content .lead {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
  color: var(--text-color);
}

.about-content p {
  margin-bottom: 15px;
}

.personal-info {
  margin-top: 30px;
  margin-bottom: 30px;
}

.info-item {
  margin-bottom: 15px;
}

.info-item span {
  font-weight: 600;
  margin-right: 10px;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon, .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-white);
  transition: var(--transition);
}

.social-icon:hover, .social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(212, 63, 82, 0.3);
  color: var(--text-white);
}

/*---------------------------------------------
# Skills Section
----------------------------------------------*/
.skills-content h3, .tech-expertise h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #fff;
}

.skill-item {
  margin-bottom: 25px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.skill-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  color: #fff;
}

.skill-percentage .count-box {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.skill-bar .progress {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  overflow: visible;
}

.skill-bar .progress .progress-bar {
  border-radius: 30px;
  position: relative;
  background: var(--primary-color);
  box-shadow: 0 0 10px rgba(212, 63, 82, 0.5);
}

.skill-bar .progress .progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 10px rgba(212, 63, 82, 0.8);
}

.tech-tabs .nav-tabs {
  border: none;
  margin-bottom: 20px;
}

.tech-tabs .nav-tabs .nav-item {
  margin: 0 5px;
}

.tech-tabs .nav-tabs .nav-link {
  border: none;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: var(--transition);
}

.tech-tabs .nav-tabs .nav-link.active, 
.tech-tabs .nav-tabs .nav-link:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tech-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tech-card i {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.tech-card h5 {
  font-size: 16px;
  margin-bottom: 0;
  color: #fff;
}

/*---------------------------------------------
# Services Section
----------------------------------------------*/
.service-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #fff;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(212, 63, 82, 0.1);
  z-index: -1;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  transform: scale(1.5);
}

.service-icon {
  margin-bottom: 25px;
}

.service-icon i {
  font-size: 50px;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
}

.service-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

/*---------------------------------------------
# Certifications Section - Premium Styling
----------------------------------------------*/
.certification-card.premium {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 320px;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.certification-card.premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.cert-header {
  position: relative;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-direction: row;
  /* justify-content: center; */
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  height: 120px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.cert-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-badge.special {
  background: rgba(255, 217, 0, 0.2);
}

.cert-icon {
  order: -1;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 36px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.cert-body {
  padding: 30px;
  flex: 1;
  position: relative;
}

.cert-body h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--secondary-color);
  font-weight: 600;
}

.cert-body h4 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.cert-body p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.cert-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}

.cert-date {
  color: var(--text-light);
  font-size: 14px;
}

.cert-link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
}

.cert-link i {
  margin-left: 5px;
  font-size: 12px;
  transition: var(--transition);
}

.cert-link:hover i {
  transform: translateX(3px);
}

/*---------------------------------------------
# Portfolio Section
----------------------------------------------*/
.portfolio-filter {
  margin-bottom: 40px;
  text-align: center;
}

.portfolio-filter ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-filter ul li {
  padding: 8px 20px;
  margin: 5px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  background: #f0f0f0;
}

.portfolio-filter ul li:hover,
.portfolio-filter ul li.filter-active {
  background: var(--primary-color);
  color: var(--text-white);
}

.portfolio-container {
  position: relative;
}

.portfolio-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

.portfolio-img img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-info {
  text-align: center;
  padding: 30px;
  transform: translateY(20px);
  transition: var(--transition);
}

.portfolio-info h4 {
  font-size: 20px;
  color: var(--text-white);
  margin-bottom: 10px;
}

.portfolio-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.portfolio-details-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-white);
  font-size: 18px;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-card:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-modal .modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.portfolio-modal .modal-header {
  border: none;
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 15px 30px;
}

.portfolio-modal .modal-title {
  color: var(--text-white);
}

.portfolio-modal .close {
  color: var(--text-white);
  opacity: 1;
}

.portfolio-modal .modal-body {
  padding: 30px;
}

.portfolio-modal h5 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  margin-top: 20px;
}

.technologies-used {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
}

.technologies-used span {
  background: #f0f0f0;
  padding: 5px 15px;
  border-radius: 20px;
  margin: 0 5px 10px 0;
  font-size: 13px;
  font-weight: 500;
}

.project-links {
  margin-top: 25px;
}

.project-links .btn {
  margin: 5px;
  padding: 8px 15px;
  font-size: 13px;
}

/*---------------------------------------------
# Testimonials Section
----------------------------------------------*/
.testimonial-slider {
  padding: 0 70px;
  position: relative;
}

.testimonial-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin: 15px;
  position: relative;
  display: flex !important;
  color: var(--text-white);
}

.testimonial-img {
  margin-right: 30px;
  flex-shrink: 0;
}

.testimonial-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content {
  flex: 1;
}

.testimonial-content .rating {
  margin-bottom: 15px;
  color: #FFD700;
}

.testimonial-content p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary-color);
}

.testimonial-content h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--text-white);
}

.testimonial-content span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/*---------------------------------------------
# Contact Section
----------------------------------------------*/
.contact-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  color: var(--text-white);
  height: 100%;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(212, 63, 82, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-item .icon i {
  color: var(--primary-color);
  font-size: 20px;
}

.contact-item .text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--text-white);
}

.contact-item .text a {
  color: rgba(255, 255, 255, 0.8);
}

.contact-item .text a:hover {
  color: var(--primary-color);
}

.contact-social {
  margin-top: 40px;
}

.contact-social h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-white);
}

.contact-social .social-links {
  margin-top: 15px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-form .form-control {
  padding: 15px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  margin-bottom: 20px;
  height: auto;
  font-size: 15px;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form textarea.form-control {
  height: 150px;
  resize: none;
  border-radius: 15px;
}

.contact-form button {
  padding: 15px 30px;
  width: 100%;
}

.contact-form button i {
  margin-right: 10px;
}

/*---------------------------------------------
# Footer
----------------------------------------------*/
.footer {
  background: var(--background-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to right bottom, transparent 49%, var(--background-dark) 50%);
}

.footer-info h3 {
  color: var(--text-white);
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 0;
}

.footer-links h4 {
  color: var(--text-white);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  margin-left: 5px;
}

.footer-newsletter h4 {
  color: var(--text-white);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-newsletter p {
  margin-bottom: 20px;
}

.footer-newsletter form {
  position: relative;
  margin-top: 20px;
}

.footer-newsletter input {
  height: 50px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 100%;
  padding: 0 20px;
  color: var(--text-white);
  font-size: 15px;
}

.footer-newsletter button {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-white);
  border: none;
  font-size: 16px;
}

.copyright {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

.copyright p {
  margin: 0;
}

.copyright .social-links {
  justify-content: flex-end;
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(212, 63, 82, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  color: var(--text-white);
  transform: translateY(-5px);
}

/*---------------------------------------------
# Responsive Styles
----------------------------------------------*/
@media (max-width: 1199px) {
  .hero-text h1 {
    font-size: 42px;
  }
  
  .hero-text h2 {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .hero-content {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero-text {
    margin-bottom: 50px;
  }
  
  .hero-text h1 {
    font-size: 36px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .experience-badge {
    right: auto;
    left: 30px;
  }
  
  .about-image {
    margin-bottom: 40px;
  }
  
  .skills-content {
    margin-bottom: 40px;
  }
  
  .footer-info, .footer-links, .footer-newsletter {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 32px;
  }
  
  .tech-icons {
    justify-content: center;
  }
  
  .tech-icon {
    width: 33.33%;
    margin-bottom: 20px;
  }
  
  .portfolio-filter ul li {
    padding: 6px 15px;
    margin: 3px;
  }
  
  .testimonial-slider {
    padding: 0 20px;
  }
  
  .testimonial-item {
    flex-direction: column;
  }
  
  .testimonial-img {
    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 30px;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}