/* Base Styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --success-color: #2ecc71;
  --info-color: #3498db;

  --text-color: #333;
  --text-light: #777;
  --bg-color: #fff;
  --card-bg: #f8f9fa;
  --border-color: #ddd;

  --font-main: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: "Poppins", sans-serif;

  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Add this to your style.css file, preferably near the top after your variables */

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.5); /* Starts at 50% size */
    opacity: 0; /* Optional: Fade in effect */
  }
  to {
    transform: scale(1); /* Scales up to full size */
    opacity: 1;
  }
}

/* Global Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-down {
  animation: slideDown 0.8s ease-out forwards;
}

.animate-slide-left {
  animation: slideLeft 0.8s ease-out forwards;
}

.animate-slide-right {
  animation: slideRight 0.8s ease-out forwards;
}

.zoom-in-element {
  animation: zoomIn 0.5s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

.animate-delay-3 {
  animation-delay: 0.6s;
}

.animate-delay-4 {
  animation-delay: 0.8s;
}

/* Hero Section Animations */
.hero-content h1 {
  animation: slideDown 0.8s ease-out forwards;
}

.hero-content h2 {
  animation: slideDown 0.8s ease-out forwards;
}

.hero .subtitle {
  animation: slideUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.hero p {
  animation: slideUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.cta-buttons {
  animation: slideUp 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

.hero-image {
  animation: slideLeft 0.8s ease-out forwards;
  opacity: 0;
}

/* About Page Animations */
.about-image img {
  animation: slideRight 0.8s ease-out forwards;
  opacity: 0;
}

.about-content h1 {
  animation: slideRight 0.8s ease-out forwards;
}

.about-text p {
  animation: slideLeft 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.about-text h3 {
  animation: slideRight 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.about-text ul li {
  animation: slideLeft 0.8s ease-out forwards;
  opacity: 0;
}

.about-text ul li:nth-child(1) {
  animation-delay: 0.6s;
}
.about-text ul li:nth-child(2) {
  animation-delay: 0.8s;
}
.about-text ul li:nth-child(3) {
  animation-delay: 1s;
}



/* Skills Section Animations */
.skills-grid .skill-card {
  /*animation: slideRight 0.8s ease-out forwards;*/
  opacity: 0;
}

.skills-grid .skill-card:nth-child(1) {
  animation: slideRight 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.skills-grid .skill-card:nth-child(2) {
  animation: slideUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
}
.skills-grid .skill-card:nth-child(3) {
  animation: slideDown 0.8s ease-out 0.4s forwards;
  animation-delay: 0.6s;
}
.skills-grid .skill-card:nth-child(4) {
  animation: slideLeft 0.8s ease-out 0.6s forwards;
  animation-delay: 0.8s;
}



/*Home Page About Section Animation*/
.container .skill-card {
  animation: slideDown 0.8s ease-out forwards;
  opacity: 0;
}

/* Projects Section Animations */
.filter-buttons button {
  /*animation: fadeIn 0.8s ease-out forwards;*/
  opacity: 0;
}

.filter-buttons button:nth-child(1) {
  animation: slideRight 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.filter-buttons button:nth-child(2) {
  animation: slideUp 0.8s ease-out 0.2s forwards;
  animation-delay: 0.4s;
}
.filter-buttons button:nth-child(3) {
  animation: slideDown 0.8s ease-out 0.4s forwards;
  animation-delay: 0.6s;
}
.filter-buttons button:nth-child(4) {
  animation: slideUp 0.8s ease-out 0.6s forwards;
  animation-delay: 0.8s;
}
.filter-buttons button:nth-child(5) {
  animation: slideDown 0.8s ease-out 0.8s forwards;
  animation-delay: 1s;
}
.filter-buttons button:nth-child(6) {
  animation: slideLeft 0.8s ease-out 1s forwards;
  animation-delay: 1.2s;
}

.project-item {
  /*animation: fadeIn 0.8s ease-out forwards;*/
  opacity: 0;
}

.project-item:nth-child(1) {
  animation: slideRight 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.project-item:nth-child(2) {
  animation: slideDown 0.8s ease-out 0.2s forwards;
  animation-delay: 0.4s;
}
.project-item:nth-child(3) {
  animation: slideLeft 0.8s ease-out 0.4s forwards;
  animation-delay: 0.6s;
}
.project-item:nth-child(4) {
  animation: slideRight 0.8s ease-out forwards;
  animation-delay: 0.8s;
}
.project-item:nth-child(5) {
  animation: zoomIn 0.8s ease-out forwards;
  animation-delay: 1s;
}
.project-item:nth-child(6) {
  animation: slideLeft 0.8s ease-out 0.4s forwards;
  animation-delay: 1.2s;
}
.project-item:nth-child(7) {
  animation: slideRight 0.8s ease-out forwards;
  animation-delay: 1.4s;
}
.project-item:nth-child(8) {
  animation: slideUp 0.8s ease-out 0.2s forwards;
  animation-delay: 1.6s;
}
.project-item:nth-child(9) {
  animation: slideLeft 0.8s ease-out 0.2s forwards;
  animation-delay: 1.6s;
}


/* Services Section Animations */
.service-card {
  /*animation: fadeIn 0.8s ease-out forwards;*/
  opacity: 0;
}

.service-card:nth-child(1) {
  animation: slideRight 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.service-card:nth-child(2) {
  animation: slideDown 0.8s ease-out 0.2s forwards;
  animation-delay: 0.4s;
}
.service-card:nth-child(3) {
  animation: slideLeft 0.8s ease-out 0.4s forwards;
  animation-delay: 0.6s;
}
.service-card:nth-child(4) {
  animation: slideRight 0.8s ease-out forwards;
  animation-delay: 0.8s;
}
.service-card:nth-child(5) {
  animation: slideUp 0.8s ease-out 0.2s forwards;
  animation-delay: 1s;
}
.service-card:nth-child(6) {
  animation: slideLeft 0.8s ease-out 0.4s forwards;
  animation-delay: 1.2s;
}

/* Testimonials Section Animations */
.testimonial-card {
  /*animation: fadeIn 0.8s ease-out forwards;*/
  opacity: 0;
}

.testimonial-card:nth-child(1) {
  animation: slideRight 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.testimonial-card:nth-child(2) {
  animation: slideDown 0.8s ease-out 0.2s forwards;
  animation-delay: 0.4s;
}
.testimonial-card:nth-child(3) {
  animation: slideLeft 0.8s ease-out 0.4s forwards;
  animation-delay: 0.6s;
}
.testimonial-card:nth-child(4) {
  animation: slideRight 0.8s ease-out forwards;
  animation-delay: 0.8s;
}
.testimonial-card:nth-child(5) {
  animation: slideUp 0.8s ease-out 0.2s forwards;
  animation-delay: 1s;
}
.testimonial-card:nth-child(6) {
  animation: slideLeft 0.8s ease-out 0.4s forwards;
  animation-delay: 1.2s;
}

/* Contact Page Animations */
.contact-method {
  animation: slideRight 0.8s ease-out forwards;
  opacity: 0;
}

.contact-method:nth-child(1) {
  animation-delay: 0.2s;
}
.contact-method:nth-child(2) {
  animation-delay: 0.4s;
}
.contact-method:nth-child(3) {
  animation-delay: 0.6s;
}
.contact-method:nth-child(4) {
  animation-delay: 0.8s;
}
.contact-method:nth-child(5) {
  animation-delay: 1s;
}

.form-group {
  animation: slideLeft 0.8s ease-out forwards;
  opacity: 0;
}

.form-group:nth-child(1) {
  animation-delay: 0.2s;
}
.form-group:nth-child(2) {
  animation-delay: 0.4s;
}
.form-group:nth-child(3) {
  animation-delay: 0.6s;
}
.form-group:nth-child(4) {
  animation-delay: 0.8s;
}

/* Footer Animations */
.footer-about {
  animation: fadeIn 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.footer-links {
  animation: fadeIn 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.footer-social {
  animation: fadeIn 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

/* Hover Animations */
.btn:hover {
  animation: pulse 0.5s ease;
}

.social-icons a:hover {
  animation: pulse 0.5s ease;
}

/* Floating animation for elements you want to stand out */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Gradient animation for backgrounds */
.gradient-animation {
  background: linear-gradient(
    -45deg,
    var(--primary-color),
    var(--secondary-color),
    var(--dark-color),
    var(--light-color)
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

/* css - reular */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--dark-color);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.btn-small:hover {
  color: white;
}

.center {
  text-align: center;
  margin-top: 2rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ff0000;
  text-decoration: none;
}

.logo a span {
  color: #fefefe;
}

.logo1 a {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ff0000;
  text-decoration: none;
}

.logo1 a span {
  color: #fefefe;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a.active:after,
.nav-links a:hover:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.theme-switcher {
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-color);
  transition: var(--transition);
}

.theme-switcher:hover {
  color: var(--primary-color);
  transform: rotate(30deg);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 10rem 0 5rem;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 0rem;
}

.hero h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

.hero h3 {
  font-size: 2rem;
  font-weight: 700;
}

.home h3:nth-of-type(2) {
  margin-bottom: 2rem;
}

.hero .subtitle {
  font-size: 1.5rem;
  color: #34c091;
  margin-bottom: 1.5rem;
}

span {
  color: var(--main-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.about {
  background-color: var(--card-bg);
}

/* Skills Section */
.skills {
  background-color: var(--bg-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.skill-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.skill-card h3 {
  margin-bottom: 1rem;
}

.my-services {
  background-color: var(--card-bg);
}

/* Projects Section */
.featured-projects {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background-color: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  padding: 1rem 1rem 0;
}

.project-card p {
  padding: 0 1rem;
  color: var(--text-light);
}

.project-card .btn-small {
  margin: 1rem;
}

/* Testimonials Section */
.testimonial-preview {
  background-color: var(--card-bg);
  padding: 5rem 0;
}

.testimonial-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: rgba(52, 152, 219, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info h4 {
  margin-bottom: 0.3rem;
}

.client-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
  font-style: normal;
}

.con {
  text-align: center;
  padding: 5rem 0;
  background-color: var(--bg-color);
}

/* About Page Skills */

.skills-about {
  background-color: var(--card-bg);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: white;
}

.footer-social h3 {
  color: white;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: white;
  font-size: 0.9rem;
}

.footer-saslink {
  color: #bdbef5;
}

.footer-saslink:hover {
  color: #f39c12;
}

/* About Page Styles */
.about-hero {
  padding: 10rem 0 5rem;
}

.about-hero .container {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  flex: 1;
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text h3 {
  margin-top: 1.5rem;
  color: var(--primary-color);
}

.about-text ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-text ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.skills-detailed {
  background-color: var(--card-bg);
}

.skills-list {
  margin-top: 3rem;
}

.skill-category {
  margin-bottom: 2rem;
}

.skill-category h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-items span {
  background-color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

/* Services Page Styles */
.services-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}

.services-hero h1 {
  font-size: 2.8rem;
}

.services-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card ul {
  margin-top: 1rem;
}

.service-card ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-card ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.cta-section {
  text-align: center;
  padding: 5rem 0;
  background-color: var(--card-bg);
}

/* Projects Page Styles */
.projects-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}

.projects-hero h1 {
  font-size: 2.8rem;
}

.projects-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border: none;
  background-color: var(--card-bg);
  color: var(--text-color);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.projects-grid-section {
  padding: 3rem 0 5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-item {
  background-color: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.project-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  margin-bottom: 0.5rem;
}

.project-info p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tags span {
  background-color: var(--card-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
}

/* Testimonials Page Styles */
.testimonials-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}

.testimonials-hero h1 {
  font-size: 2.8rem;
}

.testimonials-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.rating {
  color: var(--warning-color);
  margin-top: 0.3rem;
}

/* Contact Page Styles */
.contact-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}

.contact-hero h1 {
  font-size: 2.8rem;
}

.contact-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-details h3 {
  color: #0ccdd7;
  margin-bottom: 0.3rem;
}

.contact-details a {
  color: var(--text-color);
}

.contact-details a:hover {
  color: var(--primary-color);
}

.contact-form h2 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.location-section {
  padding: 5rem 0;
  text-align: center;
}

.location-section h2 {
  margin-bottom: 1.5rem;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container,
  .about-hero .container {
    flex-direction: column;
  }

  .hero-content,
  .hero-image,
  .about-content,
  .about-image {
    flex: none;
    width: 100%;
  }

  .hero-image,
  .about-image {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 8rem 0 3rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .filter-buttons {
    justify-content: flex-start;
  }

  /* Skills Page Specific Styles */
  .skills-hero {
    padding: 10rem 0 5rem;
    text-align: center;
    background-color: var(--dark-color);
    color: white;
    position: relative;
    overflow: hidden;
  }

  .skills-hero .container {
    position: relative;
    z-index: 2;
  }

  .skills-hero h1 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
  }

  .skills-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0;
  }

  .skills {
    padding: 2rem 0;
  }

  .skills h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
  }

  .skills h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
  }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .skill-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }

  .skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
  }

  .skill-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }

  .skill-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }

  .skill-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  /* Dark theme adjustments */
  [data-theme="dark"] .skill-card {
    background-color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  [data-theme="dark"] .skill-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }

  @media (max-width: 768px) {
    .skills-hero {
      padding: 8rem 0 3rem;
    }

    .skills-hero h1 {
      font-size: 2.2rem;
    }

    .skills-hero p {
      font-size: 1rem;
    }

    .skills {
      padding: 2rem 0;
    }

    .skills-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .services-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .service-card {
      padding: 1.5rem;
    }

    .service-icon {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .testimonials-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .testimonial-card {
      padding: 1.5rem;
    }

    .testimonial-content p {
      font-size: 1rem;
    }

    .client-info img {
      width: 40px;
      height: 40px;
    }

    .container {
      padding: 0 1rem;
    }

    h2 {
      font-size: 1.8rem;
    }

    p,
    li {
      font-size: 1rem;
    }
  }
 
}
