/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

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

.section-title p {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
  opacity: 0.6;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  transition: var(--transition);
  letter-spacing: -0.5px;
  position: relative;
}

.nav-logo a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-logo a:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.6));
}

.nav-logo a:hover::after {
  opacity: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav-link {
  margin-left: 0;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.75rem 1.75rem;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  border: 2px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  border-radius: 40px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 0.1;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  transform: translateY(-3px);
  border: 2px solid rgba(102, 126, 234, 0.3);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2), inset 0 0 20px rgba(102, 126, 234, 0.05);
}

.nav-link.active {
  color: #fff;
  background: var(--gradient);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  margin: 3px 0;
  transition: var(--transition);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="a" patternUnits="userSpaceOnUse" width="50" height="50"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1000" height="1000" fill="url(%23a)"/></svg>');
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.hero-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-text .highlight {
  background: linear-gradient(45deg, #ff6b6b, #ffd93d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.hero-description {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 100%;
  letter-spacing: 0.3px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.5s both;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-image {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.image-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 217, 61, 0.2));
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
  z-index: -1;
}

.profile-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(102, 126, 234, 0.4);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              0 0 60px rgba(102, 126, 234, 0.6);
}

.image-overlay {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: rotate 8s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-down a {
  color: white;
  font-size: 2rem;
  transition: var(--transition);
}

.scroll-down a:hover {
  transform: translateY(-5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.hero-bg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

/* About Section */
.about {
  background: var(--light-color);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 span {
  color: var(--primary-color);
}

.personal-info {
  margin: 2rem 0;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Skills Section */
.skills {
  background: white;
}

.skills-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 100%;
  justify-items: center;
  align-items: center;
}

.skill-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--light-color);
  border-radius: 10px;
  transition: var(--transition);
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 220px;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.skill-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.skill-item h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  word-break: break-word;
}

.skill-bar {
  background: #e9ecef;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 1s ease;
}

/* Services Section */
.services {
  background: var(--light-color);
}

.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 100%;
}

.service-item {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-item h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  word-break: break-word;
}

/* Portfolio Section */
.portfolio {
  background: #f3f6fb;
}

.portfolio-showcase-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.portfolio-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: #e8f0ff;
  color: #0f5bd8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-showcase-intro h3 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.05rem;
  color: #08142f;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
}

.portfolio-lead {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: #5d6778;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.filter-btn {
  padding: 0.85rem 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 20, 47, 0.08);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  color: #10203e;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.filter-btn:hover,
.filter-btn.active {
  background: #0f5bd8;
  color: white;
  transform: translateY(-2px);
}

.portfolio-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.portfolio-item {
  display: flex;
}

.portfolio-item-featured {
  grid-column: span 1;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 1.1rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(8, 20, 47, 0.08);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.08);
}

.portfolio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.portfolio-type {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  background: #f0f1f3;
  color: #071633;
  font-size: 0.76rem;
  font-weight: 700;
}

.portfolio-number {
  font-size: 1rem;
  font-weight: 800;
  color: #c8ced8;
}

.portfolio-preview {
  width: 100%;
  min-height: 180px;
  border-radius: 20px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  color: white;
}

.portfolio-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), transparent 40%),
    linear-gradient(180deg, transparent 15%, rgba(0,0,0,0.24) 100%);
}

.portfolio-preview > * {
  position: relative;
  z-index: 1;
}

.portfolio-preview-web {
  background: linear-gradient(115deg, #2f3b62 2%, #1e55dc 52%, #63c1ee 100%);
}

.portfolio-preview-data {
  background: linear-gradient(115deg, #2d3941 5%, #0d786d 58%, #1ec28f 100%);
}

.portfolio-preview-scraping {
  background: linear-gradient(115deg, #40205b 5%, #7d3fe0 55%, #f59e0b 100%);
}

.portfolio-preview-stream {
  background: linear-gradient(115deg, #553549 0%, #cc3959 55%, #ff8f7c 100%);
}

.portfolio-preview-insights {
  background: linear-gradient(115deg, #1d3364 0%, #2563eb 55%, #f5c443 100%);
}

.portfolio-preview h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.portfolio-preview p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.portfolio-body h3 {
  font-size: 1.15rem;
  color: #071633;
  margin-bottom: 0.7rem;
  letter-spacing: -0.03em;
}

.portfolio-body p {
  color: #222f46;
  line-height: 1.55;
  margin-bottom: 0.95rem;
  font-size: 0.88rem;
}

.portfolio-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.portfolio-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #f0f1f3;
  color: #071633;
  font-size: 0.7rem;
  font-weight: 700;
}

.portfolio-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.portfolio-stack span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #edf2fd;
  color: #0b47c7;
  font-size: 0.72rem;
  font-weight: 600;
}

.portfolio-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  min-width: 118px;
  padding: 0.68rem 0.95rem;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.84rem;
}

.portfolio-link-primary {
  background: #1459dd;
  color: white;
  box-shadow: 0 14px 30px rgba(20, 89, 221, 0.2);
}

.portfolio-link-secondary {
  background: #ffffff;
  color: #071633;
  border: 1px solid rgba(8, 20, 47, 0.14);
}

.portfolio-link:hover {
  transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
  background: var(--light-color);
}

.testimonials-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  top: -20px;
  left: -20px;
  opacity: 0.3;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-client img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.client-info span {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-text h3 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--light-color);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

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

/* Responsive Design */

/* Large Screens - Desktop Optimization */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .section-title h2 {
    font-size: 2.8rem;
  }

  .skills-content {
    grid-template-columns: repeat(6, 1fr);
  }

  .services-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet - Medium Screens */
@media (min-width: 769px) and (max-width: 1199px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .skills-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-item-featured {
    grid-column: span 1;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 999;
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: -8px 0 32px rgba(102, 126, 234, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 80vh;
    padding: 40px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    justify-items: center;
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

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

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .portfolio-filters {
    justify-content: center;
    gap: 0.5rem;
  }

  .filter-btn {
    margin: 0.2rem;
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .skills-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .skill-item {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }

  .skill-icon {
    font-size: 2.8rem;
  }

  .services-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-item {
    padding: 1.5rem;
  }

  .service-icon {
    font-size: 2.8rem;
  }

  .testimonials-content {
    grid-template-columns: 1fr;
  }

  .portfolio-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    min-height: 100vh;
    padding: 20px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 0.9rem;
  }

  .nav-logo a {
    font-size: 0.95rem;
    max-width: 100px;
  }

  .nav-link {
    margin-left: 0.8rem;
    font-size: 0.85rem;
  }

  .hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 200px;
  }

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

  section {
    padding: 50px 0;
  }

  .skills-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .skill-item {
    padding: 1rem 0.8rem;
    max-width: 180px;
  }

  .skill-icon {
    font-size: 2.2rem;
  }

  .skill-item h3 {
    font-size: 0.95rem;
  }

  .skill-bar {
    height: 6px;
  }

  .services-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item {
    padding: 1.2rem 1rem;
    border-radius: 8px;
  }

  .service-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .service-item h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .service-item p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .portfolio-content {
    grid-template-columns: 1fr;
  }

  .portfolio-img img {
    height: 200px;
  }

  .testimonials-content {
    grid-template-columns: 1fr;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item {
    padding: 1.5rem 1rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 3rem;
  }

  .timeline-item {
    max-width: 100%;
  }

  .stat-title {
    padding: 2rem 0;
    font-size: 1.2rem;
  }

  .stat-title::before {
    width: 80%;
  }

  .blogs {
    grid-template-columns: 1fr;
  }

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

  .contact-social {
    justify-content: center;
  }
}
.controls .control {
  padding: 1rem;
  cursor: pointer;
  background-color: var(--color-grey-4);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.7rem 0;
  box-shadow: var(--box-shadow-1);
}
.controls .control i {
  font-size: 1.2rem;
  color: var(--color-grey-2);
  pointer-events: none;
}
.controls .active-btn {
  background-color: var(--color-secondary);
  transition: all 0.4s ease-in-out;
}
.controls .active-btn i {
  color: var(--color-white);
}

.theme-btn {
  top: 5%;
  right: 3%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-grey-4);
  cursor: pointer;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease-in-out;
}
.theme-btn:active {
  transform: translateY(-3px);
}
.theme-btn i {
  font-size: 1.4rem;
  color: var(--color-grey-2);
  pointer-events: none;
}

/*Header-content*/
.header-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 100vh;
}
.header-content .left-header {
  display: flex;
  align-items: center;
  position: relative;
}
.header-content .left-header .h-shape {
  transition: all 0.4s ease-in-out;
  width: 65%;
  height: 100%;
  background-color: var(--color-secondary);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  clip-path: polygon(0 0, 46% 0, 79% 100%, 0% 100%);
}
.header-content .left-header .image {
  border-radius: var(--br-sm-2);
  height: 90%;
  width: 68%;
  margin-left: 4rem;
  background-color: var(--color-black);
  transition: all 0.4s ease-in-out;
}
.header-content .left-header .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
  filter: grayscale(100%);
}
.header-content .left-header .image img:hover {
  filter: grayscale(0);
}
.header-content .right-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 18rem;
}
.header-content .right-header .name {
  font-size: 3rem;
}
.header-content .right-header .name span {
  color: var(--color-secondary);
}
.header-content .right-header p {
  margin: 1.5rem 0;
  line-height: 2rem;
}

/*About*/
.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}
.about-container .right-about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
}
.about-container .right-about .about-item {
  border: 1px solid var(--color-grey-5);
  border-radius: 5px;
  transition: all 0.4s ease-in-out;
  box-shadow: 1px 2px 15px rgba(0, 0, 0, 0.1);
}
.about-container .right-about .about-item:hover {
  cursor: default;
  transform: translateY(-5px);
  border: 1px solid var(--color-secondary);
  box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.32);
}
.about-container .right-about .about-item .abt-text {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.about-container .right-about .about-item .abt-text .large-text {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.about-container .right-about .about-item .abt-text .small-text {
  padding-left: 3rem;
  position: relative;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--color-grey-1);
  letter-spacing: 2px;
}
.about-container .right-about .about-item .abt-text .small-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 2rem;
  height: 2px;
  background-color: var(--color-grey-5);
}
.about-container .left-about {
  padding-right: 5rem;
}
.about-container .left-about p {
  line-height: 2rem;
  padding: 1rem;
  color: var(--color-grey-1);
}
.about-container .left-about h4 {
  font-size: 2rem;
  text-transform: uppercase;
}

.about-stats {
  padding-bottom: 4rem;
}
.about-stats .progress-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
}
.about-stats .progress-bars .progress-bar {
  display: flex;
  flex-direction: column;
}
.about-stats .progress-bars .progress-bar .prog-title {
  text-transform: uppercase;
  font-weight: 500;
}
.about-stats .progress-bars .progress-bar .progress-con {
  display: flex;
  align-items: center;
}
.about-stats .progress-bars .progress-bar .progress-con .prog-text {
  color: var(--color-grey-2);
}
.about-stats .progress-bars .progress-bar .progress-con .progress {
  width: 100%;
  height: 0.45rem;
  background-color: var(--color-grey-4);
  margin-left: 1rem;
  position: relative;
}
.about-stats .progress-bars .progress-bar .progress-con .progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-secondary);
  transition: all 0.4s ease-in-out;
  width: 60%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .html {
  width: 80%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .css {
  width: 95%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .js {
  width: 75%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .react {
  width: 60%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .node {
  width: 87%;
}
.about-stats .progress-bars .progress-bar .progress-con .progress .python {
  width: 70%;
}

/*Timeline Section*/
.timeline-section {
  padding: 100px 0;
  background: white;
}

.stat-title {
  text-transform: uppercase;
  font-size: 1.4rem;
  text-align: center;
  padding: 3.5rem 0;
  position: relative;
}
.stat-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 40%;
  height: 1px;
  background-color: var(--color-grey-5);
  transform: translateX(-50%);
}

/*Timeline*/
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
  padding-bottom: 3rem;
  max-width: 900px;
  margin: 0 auto;
  justify-items: center;
  align-items: start;
}
.timeline .timeline-item {
  position: relative;
  padding-left: 3rem;
  border-left: 1px solid var(--color-grey-5);
  max-width: 380px;
  width: 100%;
}
.timeline .timeline-item .tl-icon {
  position: absolute;
  left: -27px;
  top: 0;
  background-color: var(--color-secondary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline .timeline-item .tl-icon i {
  font-size: 1.3rem;
}
.timeline .timeline-item .tl-duration {
  padding: 0.2rem 0.6rem;
  background-color: var(--color-grey-5);
  border-radius: 15px;
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
}
.timeline .timeline-item h5 {
  padding: 1rem 0;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 600;
}
.timeline .timeline-item h5 span {
  color: var(--color-grey-2);
  font-weight: 500;
  font-size: 1.2rem;
}
.timeline .timeline-item p {
  color: var(--color-grey-2);
}

.port-text {
  padding: 2rem 0;
  text-align: center;
}

.portfolios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  margin-top: 3rem;
}
.portfolios .portfolio-item {
  position: relative;
  border-radius: 15px;
}
.portfolios .portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
}
.portfolios .portfolio-item .hover-items {
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease-in-out;
}
.portfolios .portfolio-item .hover-items h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}
.portfolios .portfolio-item .hover-items .icons {
  display: flex;
  justify-content: center;
  align-items: center;
}
.portfolios .portfolio-item .hover-items .icons .icon {
  background-color: var(--color-primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
.portfolios .portfolio-item .hover-items .icons .icon i {
  font-size: 1.5rem;
  color: var(--color-white);
  margin: 0 1rem;
}
.portfolios .portfolio-item .hover-items .icons .icon:hover {
  background-color: var(--color-white);
}
.portfolios .portfolio-item .hover-items .icons .icon:hover i {
  color: var(--color-primary);
}

.portfolio-item:hover .hover-items {
  opacity: 1;
  transform: scale(1);
}

.blogs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  margin-top: 3rem;
}
.blogs .blog {
  position: relative;
  background-color: var(--color-grey-5);
  border-radius: 5px;
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
}
.blogs .blog:hover {
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
  transition: all 0.4s ease-in-out;
}
.blogs .blog:hover img {
  filter: grayscale(0);
  transform: scale(1.1);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8);
}
.blogs .blog img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  filter: grayscale(100%);
  transition: all 0.4s ease-in-out;
}
.blogs .blog .blog-text {
  margin-top: -7px;
  padding: 1.1rem;
  border-top: 8px solid var(--color-secondary);
}
.blogs .blog .blog-text h4 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.blogs .blog .blog-text h4:hover {
  color: var(--color-secondary);
}
.blogs .blog .blog-text p {
  color: var(--color-grey-2);
  line-height: 2rem;
  padding-bottom: 1rem;
}

.contact-content-con {
  display: flex;
  padding-top: 3.5rem;
}
.contact-content-con .left-contact {
  flex: 2;
}
.contact-content-con .left-contact h4 {
  margin-top: 1rem;
  font-size: 2rem;
  text-transform: uppercase;
}
.contact-content-con .left-contact p {
  margin: 1rem 0;
  line-height: 2rem;
}
.contact-content-con .left-contact .contact-info .contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-content-con .left-contact .contact-info .contact-item p {
  margin: 0.3rem 0 !important;
  padding: 0 !important;
}
.contact-content-con .left-contact .contact-info .contact-item .icon {
  display: grid;
  grid-template-columns: 40px 1fr;
}
.contact-content-con .left-contact .contact-info .contact-item .icon i {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
}
.contact-content-con .left-contact .contact-icon {
  display: flex;
  margin-top: 2rem;
}
.contact-content-con .left-contact .contact-icon a {
  display: flex;
  align-items: center;
  color: var(--color-white);
  background-color: var(--color-grey-5);
  cursor: pointer;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 0.4rem;
  transition: all 0.4s ease-in-out;
}
.contact-content-con .left-contact .contact-icon a:hover {
  background-color: var(--color-secondary);
}
.contact-content-con .left-contact .contact-icon a:hover i {
  color: var(--color-primary);
}
.contact-content-con .left-contact .contact-icon a i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.contact-content-con .right-contact {
  flex: 3;
  margin-left: 3rem;
}
.contact-content-con .right-contact .input-control {
  margin: 1.5rem 0;
}
.contact-content-con .right-contact .input-control input, .contact-content-con .right-contact .input-control textarea {
  border-radius: 30px;
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  padding: 0.8rem 1.1rem;
  outline: none;
  border: none;
  background-color: var(--color-grey-5);
  width: 100%;
  color: var(--color-white);
  resize: none;
}
.contact-content-con .right-contact .i-c-2 {
  display: flex;
}
.contact-content-con .right-contact .i-c-2 :last-child {
  margin-left: 1.5rem;
}
.contact-content-con .right-contact .submit-btn {
  display: flex;
  justify-content: flex-start;
}

/*Independed components*/
.btn-con {
  display: flex;
  align-self: flex-start;
}

.main-btn {
  border-radius: 30px;
  color: inherit;
  font-weight: 600;
  position: relative;
  border: 1px solid var(--color-secondary);
  display: flex;
  align-self: flex-start;
  align-items: center;
  overflow: hidden;
}
.main-btn .btn-text {
  padding: 0 2rem;
}
.main-btn .btn-icon {
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 1rem;
}
.main-btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: all 0.4s ease-out;
  z-index: -1;
}
.main-btn:hover {
  transition: all 0.4s ease-out;
}
.main-btn:hover::before {
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  transform: translateX(0);
  transition: all 0.4s ease-out;
}

.main-title {
  text-align: center;
}
.main-title h2 {
  position: relative;
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 700;
}
.main-title h2 span {
  color: var(--color-secondary);
}
.main-title h2 .bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--color-grey-5);
  transition: all 0.4s ease-in-out;
  z-index: -1;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 6.3rem;
}

.about-container .left-about p {
  padding-left: 0;
}

@media screen and (max-width: 600px) {
  header {
    padding: 0 !important;
  }

  .theme-btn {
    width: 50px;
    height: 50px;
  }

  .header-content {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .left-header .h-shape {
    display: none;
  }

  .right-header {
    grid-row: 1;
    padding-right: 0rem !important;
    width: 90%;
    margin: 0 auto;
  }
  .right-header .name {
    font-size: 2.5rem !important;
    text-align: center;
    padding-top: 3rem;
  }

  .header-content .left-header .image {
    margin: 0 auto;
    width: 90%;
  }

  .controls {
    top: auto;
    bottom: 0;
    flex-direction: row;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: var(--color-grey-5);
  }
  .controls .control {
    margin: 1rem 0.3rem;
  }

  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .about-container .right-about {
    grid-template-columns: repeat(1, 1fr);
    padding-top: 2.5rem;
  }
  .about-container .left-about {
    padding-right: 0;
  }
  .about-container .left-about p {
    padding-left: 0;
  }

  .timeline {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
    max-width: 100%;
    justify-items: center;
  }

  .container {
    padding: 2rem 2.5rem !important;
  }

  .about-stats .progress-bars {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolios {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
    margin-top: 1rem;
  }

  .blogs {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .contact-content-con {
    flex-direction: column;
  }
  .contact-content-con .right-contact {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .contact-content-con .right-contact .i-c-2 {
    flex-direction: column;
  }

  .contact-content-con .right-contact .i-c-2 :last-child {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .contact-content-con .right-contact {
    margin-bottom: 6rem;
  }

  .contact-item {
    flex-direction: column;
    margin: 1rem 0;
  }
  .contact-item p {
    font-size: 15px;
    color: var(--color-grey-2);
  }
  .contact-item span {
    font-size: 15px;
  }
  .contact-item .icon {
    grid-template-columns: 25px 1fr;
  }

  .main-title h2 {
    font-size: 2rem;
  }
  .main-title h2 span {
    font-size: 2.3rem;
  }
  .main-title h2 .bg-text {
    font-size: 2.3rem;
  }
}
@media screen and (max-width: 1432px) {
  .container {
    padding: 7rem 11rem;
  }

  .contact-content-con {
    flex-direction: column;
  }
  .contact-content-con .right-contact {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .contact-content-con .right-contact .i-c-2 {
    flex-direction: column;
  }

  .contact-content-con .right-contact .i-c-2 :last-child {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .contact-content-con .right-contact {
    margin-bottom: 6rem;
  }

  .main-title h2 .bg-text {
    font-size: 5.5rem;
  }
}
@media screen and (max-width: 1250px) {
  .blogs {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 6rem;
  }

  .portfolios {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-content .right-header {
    padding-right: 9rem;
  }
}
@media screen and (max-width: 660px) {
  .blogs {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolios {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 1070px) {
  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .about-container .right-about {
    padding-top: 2.5rem;
  }

  .main-title h2 {
    font-size: 4rem;
  }
  .main-title h2 span {
    font-size: 4rem;
  }
  .main-title h2 .bg-text {
    font-size: 4.5rem;
  }
}
@media screen and (max-width: 970px) {
  .container {
    padding: 7rem 6rem;
  }

  .about-container .left-about {
    padding-right: 0rem;
  }

  .header-content {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .left-header .h-shape {
    display: none;
  }
  .left-header .image {
    width: 90% !important;
    margin: 0 auto !important;
  }

  .right-header {
    grid-row: 1;
    padding-right: 0rem !important;
    width: 90%;
    margin: 0 auto;
  }
  .right-header .name {
    font-size: 2.5rem !important;
    text-align: center;
    padding-top: 3rem;
  }
}
@media screen and (max-width: 700px) {
  .container {
    padding: 7rem 3rem;
  }

  .about-stats .progress-bars {
    grid-template-columns: repeat(1, 1fr);
  }

  .about-container .right-about {
    grid-template-columns: repeat(1, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }

  .main-title h2 {
    font-size: 3rem;
  }
  .main-title h2 span {
    font-size: 3rem;
  }
  .main-title h2 .bg-text {
    font-size: 4rem;
  }
}

/* Theme Refresh */
:root {
  --primary-color: #0f5bd8;
  --secondary-color: #5f6b7a;
  --dark-color: #0f172a;
  --light-color: #f4f7fb;
  --surface-color: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --border-soft: rgba(15, 23, 42, 0.08);
  --accent-color: #f59e0b;
  --gradient: linear-gradient(135deg, #0f172a 0%, #0f5bd8 52%, #38bdf8 100%);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(15, 91, 216, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
  color: var(--dark-color);
}

section {
  position: relative;
}

.section-title h2 {
  color: var(--dark-color);
  letter-spacing: -0.03em;
}

.section-title h2 span {
  color: #0f5bd8;
}

.section-title p {
  color: #5b6574;
}

.navbar {
  background: rgba(248, 251, 255, 0.78);
  border-bottom: 1px solid rgba(15, 91, 216, 0.08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.navbar::before {
  background: linear-gradient(90deg, transparent, rgba(15, 91, 216, 0.55), transparent);
}

.nav-container {
  padding: 1rem 2rem;
}

.nav-logo a {
  max-width: 220px;
  letter-spacing: -0.04em;
}

.nav-link {
  border: 1px solid transparent;
  padding: 0.8rem 1.25rem;
}

.nav-link:hover,
.nav-link.active {
  border-color: rgba(15, 91, 216, 0.16);
  box-shadow: 0 12px 24px rgba(15, 91, 216, 0.12);
}

.nav-link.active {
  background: linear-gradient(135deg, #0f5bd8, #38bdf8);
}

.hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.14), transparent 16%),
    radial-gradient(circle at 82% 22%, rgba(245, 158, 11, 0.26), transparent 18%),
    linear-gradient(135deg, #08111f 0%, #0f2f66 45%, #0f5bd8 72%, #38bdf8 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0) 0%, rgba(248, 251, 255, 0.9) 100%);
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  font-size: 3.4rem;
  letter-spacing: -0.05em;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-description {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-buttons {
  justify-content: flex-start;
}

.btn {
  min-height: 50px;
  border-radius: 16px;
  padding: 0.9rem 1.35rem;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff, #dff2ff);
  color: #0f3f9c;
}

.btn-primary:hover {
  color: #0f3f9c;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.image-container::before {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(245, 158, 11, 0.26));
}

.profile-img {
  border: 8px solid rgba(255, 255, 255, 0.92);
}

.hero-bg-shape {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(245, 158, 11, 0.14));
}

.about {
  background:
    radial-gradient(circle at top left, rgba(247, 148, 29, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.92) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.about .section-title h2 span {
  color: #dd6b20;
}

.about .section-title p {
  color: #7b5a3e;
}

.about-text {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(221, 107, 32, 0.14);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 22px 52px rgba(221, 107, 32, 0.08);
  backdrop-filter: blur(10px);
}

.contact-info {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.about-text p,
.contact-text p,
.contact-form input,
.contact-form textarea,
.footer-about p {
  color: #586273;
}

.stat-item,
.skill-item,
.service-item,
.contact-form,
.timeline .timeline-item {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stat-item,
.skill-item,
.service-item,
.contact-form {
  border-radius: 24px;
}

.stat-item:hover,
.skill-item:hover,
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

.skills {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 164, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(241, 253, 252, 0.92) 0%, rgba(255,255,255,0.74) 100%);
}

.skills .section-title h2 span {
  color: #0f9d94;
}

.skills .section-title p {
  color: #476d69;
}

.skill-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(234, 252, 250, 0.92));
  border-color: rgba(15, 157, 148, 0.12);
}

.skill-icon,
.service-icon,
.contact-icon,
.timeline .timeline-item .tl-icon {
  background: linear-gradient(135deg, #0f5bd8, #38bdf8);
  color: white;
  box-shadow: 0 16px 30px rgba(15, 91, 216, 0.18);
}

.skill-icon {
  background: linear-gradient(135deg, #0f766e, #2dd4bf);
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.2);
}

.skill-icon,
.service-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.2rem;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services {
  background:
    radial-gradient(circle at left center, rgba(168, 85, 247, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(250, 245, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 100%);
}

.services .section-title h2 span {
  color: #8b5cf6;
}

.services .section-title p {
  color: #625174;
}

.service-item {
  text-align: left;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247, 241, 255, 0.92));
  border-color: rgba(139, 92, 246, 0.12);
}

.service-item h3 {
  font-size: 1.25rem;
}

.service-item p {
  color: #5f6b7a;
}

.service-icon {
  background: linear-gradient(135deg, #7c3aed, #c084fc);
  box-shadow: 0 16px 30px rgba(124, 58, 237, 0.22);
}

.timeline-section {
  background:
    radial-gradient(circle at right center, rgba(244, 63, 94, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 245, 247, 0.92) 0%, rgba(255, 255, 255, 0.74) 100%);
}

.stat-title {
  color: #111827;
  letter-spacing: 0.08em;
}

.stat-title::before {
  background: linear-gradient(90deg, transparent, rgba(244, 63, 94, 0.28), transparent);
}

.timeline .timeline-item {
  padding: 1.6rem 1.4rem 1.6rem 3.3rem;
  border-left: 1px solid rgba(244, 63, 94, 0.18);
  border-radius: 0 24px 24px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255, 241, 244, 0.92));
  border-color: rgba(244, 63, 94, 0.12);
}

.timeline .timeline-item .tl-icon {
  background: linear-gradient(135deg, #e11d48, #fb7185);
  box-shadow: 0 16px 30px rgba(225, 29, 72, 0.2);
}

.timeline .timeline-item .tl-duration {
  background: #ffe4ea;
  color: #be123c;
}

.timeline .timeline-item h5 {
  color: var(--dark-color);
  text-transform: none;
}

.timeline .timeline-item h5 span,
.timeline .timeline-item p {
  color: #5f6b7a;
}

.contact {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(242, 248, 255, 0.94) 0%, rgba(255,255,255,0.76) 100%);
}

.contact .section-title h2 span {
  color: #2563eb;
}

.contact .section-title p {
  color: #4f6486;
}

.contact-info {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.08);
}

.contact-form {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239, 246, 255, 0.92));
  border-color: rgba(37, 99, 235, 0.12);
}

.contact-form input,
.contact-form textarea {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(248, 251, 255, 0.96);
  padding: 0.95rem 1rem;
}

.contact-social {
  flex-wrap: wrap;
}

.social-link {
  width: 46px;
  height: 46px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.social-link:hover {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: white;
}

.footer {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 24%),
    linear-gradient(135deg, #08111f 0%, #0c1f3e 55%, #102f66 100%);
  padding-top: 4.5rem;
}

.footer-content {
  gap: 2.5rem;
}

.footer-about,
.footer-links,
.footer-contact {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.footer h3,
.footer-links a:hover {
  color: white;
}

.footer-links a,
.footer-contact p,
.footer-about p,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.75);
}

.back-to-top {
  background: linear-gradient(135deg, #0f5bd8, #38bdf8);
  box-shadow: 0 18px 35px rgba(15, 91, 216, 0.24);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.35);
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .hero-text {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .portfolio-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-item-featured {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    background: rgba(248, 251, 255, 0.96);
  }

  .portfolio-content {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    padding: 1.25rem;
    border-radius: 26px;
  }

  .portfolio-preview {
    min-height: 220px;
    padding: 1.35rem;
    border-radius: 22px;
  }

  .portfolio-body h3 {
    font-size: 1.3rem;
  }

  .hero-text h1 {
    font-size: 2.7rem;
  }

  .about-text,
  .contact-info,
  .contact-form {
    padding: 1.5rem;
    border-radius: 22px;
  }

  .service-item {
    text-align: center;
  }

  .skill-icon,
  .service-icon {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 560px) {
  .hero-text h1 {
    font-size: 2.25rem;
  }

  .portfolio-showcase-intro {
    margin-bottom: 1.5rem;
  }

  .portfolio-preview {
    min-height: 210px;
  }

  .section-title h2,
  .portfolio-showcase-intro h3 {
    font-size: 1.85rem;
  }

  .nav-logo a {
    max-width: 170px;
  }

  .btn,
  .portfolio-link {
    width: 100%;
  }
}

/*# sourceMappingURL=styles.css.map */
