/* ======================
   1. General Styles 
   ====================== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: radial-gradient(circle at center, #11819a 0%, 
              #123b4b 0%, 
              #121c22 100%, 
              #122c39 100%),
              linear-gradient(135deg, 
              #123b4b 0%, 
              #11819a 50%, 
              #122c39 100%);
  background-attachment: fixed;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto !important;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
}

a {
  text-decoration: none;
  color: #fff;
}

a:hover {
  color: #ddd;
}

/* ======================
   2. Navigation Styles 
   ====================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(17, 28, 34, 0.95);
  padding: 0.5rem 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

.logo {
  flex-shrink: 0;
  padding-left: 2rem;
}

.logo img {
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-right: 2rem;
  margin-left: auto;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.9rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1dbf73;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ======================
   3. Header/Hero Section 
   ====================== */
.header {
  padding-top: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at center, #11819a 0%, 
              #123b4b 0%, 
              #121c22 100%, 
              #122c39 100%),
              linear-gradient(135deg, 
              #123b4b 0%, 
              #11819a 50%, 
              #122c39 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  padding-bottom: 80px;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.header-text h1,
.header-text .profession,
.cta-container,
.header-image {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Smooth hover effect for name */
.header-text h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #1dbf73, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-right: 3px solid #1dbf73;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 2s steps(12) forwards,
             cursor 0.75s step-end infinite,
             gradientFlow 8s ease infinite;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              text-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-text h1:hover {
  transform: translateY(-5px);
  text-shadow: 0 5px 15px rgba(29, 191, 115, 0.3);
}

/* Smooth hover effect for profession */
.header-text .profession {
  font-size: 2rem;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #1dbf73, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 100%;
  border: none;
  overflow: visible;
  white-space: normal;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              text-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-text .profession:hover {
  transform: translateY(-5px);
  text-shadow: 0 5px 15px rgba(29, 191, 115, 0.3);
}

.header-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;
}

.header-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(17, 129, 154, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.header-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(29, 191, 115, 0.3);
}

.cta-button {
  background: #1dbf73;
  color: #fff;
  padding: 0 25px;
  border-radius: 25px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  border: 2px solid #1dbf73;
  height: 35px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  background: transparent;
  color: #1dbf73;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(29, 191, 115, 0.3);
}

/* General CTA Container */
.cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Header-specific CTA Container */
.header-text .cta-container {
    justify-content: flex-start;  /* Align to the left in header */
}

/* Header Social Icons */
.header-text .header-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #1dbf73;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid #1dbf73;
}

.header-social-icons a i {
  color: #fff;
  font-size: 1.2rem;
  animation: shake 3s ease-in-out infinite;
}

.header-social-icons a:hover {
  background: transparent;
  transform: scale(1.1);
}

.header-social-icons a:hover i {
  color: #1dbf73;
  animation: shake 1s ease-in-out infinite;
}

/* ======================
   4. About Section 
   ====================== */
.about {
  position: relative;
  padding: 80px 0;
  padding-bottom: 80px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(17, 129, 154, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-image iframe {
  display: block;
  width: 100%;
  border: none;
  transition: all 0.3s ease;
}

.about-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(29, 191, 115, 0.3);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #1dbf73, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-text h2:hover {
  transform: translateY(-5px);
  text-shadow: 0 5px 15px rgba(29, 191, 115, 0.3);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #fff;
  text-align: justify;
  hyphens: auto;
}

.about-contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  text-align: center;
}

.contact-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 10px 20px;
  width: fit-content;
}

.contact-info-item:hover {
  color: #1dbf73;
  transform: translateY(-5px);
}

.contact-info-item i {
  color: #1dbf73;
  font-size: 1.2rem;
}

/* Skills Grid */
.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.skill {
  background: rgba(17, 44, 57, 0.3);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(29, 191, 115, 0.1);
  transition: all 0.3s ease;
}

.skill:hover {
  transform: translateY(-5px);
  background: rgba(29, 191, 115, 0.1);
  border-color: #1dbf73;
}

.skill i {
  font-size: 2.5rem;
  color: #1dbf73;
  margin-bottom: 20px;
}

.skill h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
}

.skill p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* About Section Social Icons */
.about-content .cta-container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 30px;
    text-align: center;
}

.about-content .header-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.about-content .cta-button {
    background: #1dbf73;
    color: #fff;
    padding: 0 25px;
    border-radius: 25px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    border: 2px solid #1dbf73;
    height: 35px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.about-content .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.about-content .cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.about-content .header-social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #1dbf73;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #1dbf73;
    flex-shrink: 0;
}

.about-content .header-social-icons a i {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.about-content .header-social-icons a:hover {
    background: transparent;
    transform: translateY(-3px);
}

.about-content .header-social-icons a:hover i {
    color: #1dbf73;
}

/* Responsive adjustments for about section */
@media (max-width: 768px) {
    .about-content .cta-container {
        justify-content: center;
        gap: 8px;
    }
    
    .about-content .cta-button {
        padding: 0 15px;
        font-size: 0.9rem;
    }
    
    .about-content .header-social-icons a {
        width: 30px;
        height: 30px;
    }
}

/* ======================
   5. Services Section 
   ====================== */
.services {
  padding: 100px 0;
  background: rgba(17, 44, 57, 0.1);
  overflow-x: hidden;
}

.services-grid {
  display: flex;
  gap: 30px;
  padding: 40px 0;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  flex: 0 0 400px;
  width: 400px;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(17, 44, 57, 0.4);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(29, 191, 115, 0.2);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(29, 191, 115, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 2.5rem;
  color: #1dbf73;
  transition: all 0.3s ease;
}

.service-card h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}

.service-details {
  margin: 30px 0;
}

.service-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  text-align: left;
}

.service-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1dbf73;
}

.service-cta {
  display: inline-block;
  padding: 12px 30px;
  background: #1dbf73;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  overflow: hidden;
}

/* Add hover effect for Get Started button */
.service-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.service-cta:hover::before {
  width: 300px;
  height: 300px;
}

.service-card:hover .service-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.service-card:hover {
  transform: translateY(-10px);
  border-color: #1dbf73;
  box-shadow: 0 10px 30px rgba(29, 191, 115, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon {
  background: #1dbf73;
  transform: scale(1.1);
}

.service-card:hover .service-icon i {
  color: #fff;
}

/* Mobile Responsive */
@media (max-width: 1400px) {
  .services-grid {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .service-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 400px;
  }
}

/* ======================
   6. Portfolio Section 
   ====================== */
.portfolio {
  padding: 80px 0;
  position: relative;
  padding-bottom: 80px;
  z-index: 3;
  isolation: isolate;
  overflow: visible;
  padding-bottom: 150px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 50px;
  padding: 25px;
}

.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(17, 44, 57, 0.95),
    rgba(17, 44, 57, 0.7),
    transparent
  );
  padding: 30px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .overlay {
  transform: translateY(0);
}

.overlay h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.portfolio-link {
  display: inline-block;
  color: #1dbf73;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-link:hover {
  color: #fff;
}

/* ======================
   8. Contact Section 
   ====================== */
.contact {
  background: rgba(17, 44, 57, 0.3);
  border-radius: 15px;
  margin: 20px auto 60px;
  max-width: 1200px;
  box-shadow: 0 0 30px rgba(17, 129, 154, 0.2);
  position: relative;
  overflow: hidden;
  padding: 40px;
  transition: all 0.5s ease;
}

/* Container inside contact section */
.contact .container {
  max-width: 100%;
  padding: 0;
}

/* Enhanced gradient overlay */
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 129, 154, 0.1) 0%,
    rgba(17, 44, 57, 0.2) 100%
  );
  pointer-events: none;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}

/* Contact Info Card */
.contact-info {
  background: rgba(17, 44, 57, 0.3);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(29, 191, 115, 0.2);
  box-shadow: 0 0 30px rgba(17, 129, 154, 0.2);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
}

.connect-text {
  color: #1dbf73;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #1dbf73, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.connect-text:hover {
  transform: translateY(-3px);
  text-shadow: 0 5px 15px rgba(29, 191, 115, 0.3);
}

/* Contact Links */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

/* Contact Links Animation */
.contact-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(17, 44, 57, 0.3);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.contact-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(29, 191, 115, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.contact-link:hover::before {
  width: 300px;
  height: 300px;
}

.contact-link i {
  font-size: 1.2rem;
  color: #1dbf73;
  transition: transform 0.3s ease;
  position: relative;
}

.contact-link span {
  position: relative;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  border-color: #1dbf73;
  transform: translateX(10px);
}

.contact-link:hover i {
  transform: rotate(15deg) scale(1.2);
}

.contact-link:hover span {
  transform: translateX(5px);
}

/* Contact Social Icons */
.contact-social {
  text-align: center;
  padding: 20px;
  margin-top: 0;
}

.contact-social h3 {
  color: #1dbf73;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.contact-social .header-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.contact-social .header-social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(29, 191, 115, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1dbf73;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-social .header-social-icons a:hover {
    background: #1dbf73;
    color: #fff;
    transform: translateY(-3px);
}

.contact-social .header-social-icons .cta-button {
    width: auto;
    height: 40px;
    padding: 0 25px;
    background: #1dbf73;
    color: #fff;
    font-size: 0.95rem;
}

.contact-social .header-social-icons .cta-button:hover {
    background: transparent;
    color: #1dbf73;
    box-shadow: 0 0 0 2px #1dbf73;
}

/* Contact Section Social Icons */
.contact-info .about-social-container {
    margin-top: 20px;
    width: 100%;
}

.contact-info .cta-container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
}

.contact-info .header-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.contact-info .cta-button {
    background: #1dbf73;
    color: #fff;
    padding: 0 25px;
    border-radius: 25px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    border: 2px solid #1dbf73;
    height: 35px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

/* Mobile adjustments for contact info */
@media (max-width: 768px) {
    .contact-info .cta-container {
        gap: 15px;
    }
    
    .contact-info .cta-button {
        padding: 0 15px;
        font-size: 0.9rem;
    }
    
    .contact-info .header-social-icons a {
        width: 30px;
        height: 30px;
    }
}

/* Contact Form */
.contact-form {
  background: rgba(17, 44, 57, 0.3);
  padding: 35px;
  border-radius: 15px;
  border: 1px solid rgba(29, 191, 115, 0.2);
  box-shadow: 0 0 30px rgba(17, 129, 154, 0.2);
  backdrop-filter: blur(5px);
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: visible !important;
}

/* Form Group Spacing */
.form-group {
  margin-bottom: 15px;
  padding-right: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 20px;
  background: rgba(17, 44, 57, 0.4);
  border: 1px solid rgba(29, 191, 115, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
}

/* Message Box Styles */
.message-group textarea {
  height: 80px;
  resize: none;
  margin-bottom: 10px;
  padding-right: 20px;
}

/* Submit Button Container */
.submit-btn-container {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 5px;
}

/* Submit Button Styles */
.submit-btn {
  background: #1dbf73;
  color: #fff;
  padding: 0 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  border: 2px solid #1dbf73;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  line-height: 32px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  min-width: 150px;
}

.submit-btn span {
  font-weight: 500;
}

.submit-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.submit-btn:hover {
  background: transparent;
  color: #1dbf73;
  transform: translateY(-2px);
}

.submit-btn:hover i {
  transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 1300px) {
  .contact {
    margin: 20px 40px 60px;
  }
}

@media (max-width: 768px) {
  .contact {
    margin: 20px 20px 40px;
    padding: 30px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ======================
   9. Footer Section 
   ====================== */
.footer {
  background-color: rgba(17, 28, 34, 0.95);
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  margin-top: auto;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
}

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

.copyright {
  color: #fff;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1;
}

/* ======================
   10. Animations 
   ====================== */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes cursor {
  from, to { border-color: transparent }
  50% { border-color: #1dbf73 }
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ======================
   11. Responsive Styles 
   ====================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  /* Header Section */
  .header-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .header-text h1 {
    font-size: 3rem;
  }

  .header-text .profession {
    font-size: 1.8rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Services Section */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Contact Section */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  /* Header */
  .header-text h1 {
    font-size: 2.5rem;
  }

  .header-text .profession {
    font-size: 1.5rem;
  }

  .cta-container {
    flex-direction: column;
    align-items: center;
  }

  /* Services */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Testimonials */
  .video-slider-container {
    height: 300px;
  }

  .slider-video {
    width: 90%;
  }

  /* Contact Form */
  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  /* Header */
  .header-text h1 {
    font-size: 2rem;
  }

  .header-social-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Section Titles */
  .section-title h2 {
    font-size: 2.2rem;
  }

  /* Services */
  .service-card {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  /* Contact */
  .contact-info {
    padding: 20px;
  }

  .contact-link {
    padding: 10px 15px;
  }

  .contact-social h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 360px) {
  .header-text h1 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }
}

/* Particle Background */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Enhanced Gradient Transitions */
.header-text h1 {
  background: linear-gradient(45deg, #1dbf73, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: typing 2s steps(12) forwards,
             cursor 0.75s step-end infinite,
             gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 3D Perspective Cards */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.6s ease;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

/* Smooth section transitions */
section {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-height: auto !important;
  position: relative !important;
  z-index: 1 !important;
  padding: 80px 0;
}

/* Ensure content containers are visible */
.container {
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure section titles are visible */
.section-title {
  opacity: 1 !important;
  visibility: visible !important;
  margin-bottom: 50px;
}

/* Ensure service cards are visible */
.service-card {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure testimonials slider is visible */
.video-slider-container {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure contact form is visible */
.contact-form {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Critical styles to ensure visibility */
body {
    overflow-y: auto !important;
}

section {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: auto !important;
    position: relative !important;
    z-index: 1 !important;
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Ensure specific sections are visible */
#projects, #about, #services, #testimonials, #contact {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Critical visibility styles - add at the very top of styles.css */
body {
    min-height: 100vh;
    overflow-x: hidden;
}

section {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 100px 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Ensure specific sections are visible */
#projects { min-height: 100vh; }
#about { min-height: 100vh; }
#services { min-height: 100vh; }
#testimonials { min-height: 100vh; }
#contact { min-height: 100vh; }

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

.section-title h2 {
    font-size: 3rem;
    color: #1dbf73;
    margin-bottom: 20px;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-title h2:hover {
    transform: translateZ(20px) rotateX(5deg) rotateY(5deg);
    color: #fff;
    background: linear-gradient(45deg, #1dbf73, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        2px 2px 10px rgba(29, 191, 115, 0.3),
        4px 4px 20px rgba(29, 191, 115, 0.2);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #1dbf73;
    transition: all 0.3s ease;
}

.section-title h2:hover::after {
    width: 100px;
    background: linear-gradient(90deg, #1dbf73, #fff);
    box-shadow: 0 2px 10px rgba(29, 191, 115, 0.3);
}

.section-title p {
    color: #fff;
    font-size: 1.2rem;
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Contact Section Styles */
.contact {
  background: rgba(17, 44, 57, 0.3);
  border-radius: 15px;
  margin: 20px auto 60px;
  max-width: 1200px;
  box-shadow: 0 0 30px rgba(17, 129, 154, 0.2);
  position: relative;
  overflow: hidden;
  padding: 40px;
  transition: all 0.5s ease;
}

/* Popup Message Styles */
.popup-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(29, 191, 115, 0.95);
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  min-width: 250px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.popup-content i {
  font-size: 2.5rem;
  color: white;
}

.popup-content p {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
  color: white;
}

/* Ensure contact form has proper positioning */
.contact-form {
  position: relative !important;
  overflow: visible !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .header-social-icons {
        margin-top: 15px;
    }
}

/* Floating Social Icons */
.floating-social {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
}

.social-toggle {
  width: 45px;
  height: 45px;
  background: #1dbf73;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.social-toggle i {
  color: #fff;
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

/* Show icons on hover */
.floating-social:hover .social-icons {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Remove the active class styles since we're using hover */
.floating-social.active .social-icons {
  opacity: 0;
  visibility: hidden;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 25px;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.social-icon span {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.social-icon:hover span {
  opacity: 1;
  transform: translateX(0);
}

.social-icon.whatsapp {
  background: #25D366;
}

.social-icon.messenger {
  background: #0084FF;
}

.social-icon.instagram {
  background: #E4405F;
}

.social-icon.email {
  background: #1dbf73;
}

.social-icon:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .floating-social {
    left: 10px;
  }
  
  .social-toggle {
    width: 40px;
    height: 40px;
  }
  
  .social-icon {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* Update Contact Social Icons to match About section style */
.contact-social .header-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.contact-social .header-social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(29, 191, 115, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1dbf73;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-social .header-social-icons a:hover {
    background: #1dbf73;
    color: #fff;
    transform: translateY(-3px);
}

.contact-social .header-social-icons .cta-button {
    width: auto;
    height: 40px;
    padding: 0 25px;
    background: #1dbf73;
    color: #fff;
    font-size: 0.95rem;
}

.contact-social .header-social-icons .cta-button:hover {
    background: transparent;
    color: #1dbf73;
    box-shadow: 0 0 0 2px #1dbf73;
}

/* Hire Modal Styles */
.hire-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hire-modal.active {
  display: flex;
  opacity: 1;
  animation: modalFadeIn 0.3s ease forwards;
}

.modal-content {
  background: rgba(17, 44, 57, 0.95);
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  margin: auto;
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  border: 1px solid rgba(29, 191, 115, 0.3);
  backdrop-filter: blur(10px);
}

.hire-modal.active .modal-content {
  transform: translateY(0);
  animation: modalSlideIn 0.3s ease forwards;
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid rgba(29, 191, 115, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  color: #1dbf73;
  margin: 0;
  font-size: 1.8rem;
}

.close-modal {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 5px;
}

.close-modal:hover {
  color: #1dbf73;
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
}

.hire-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.hire-option {
  background: rgba(29, 191, 115, 0.1);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(29, 191, 115, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hire-option i {
  font-size: 2rem;
  color: #1dbf73;
  transition: all 0.3s ease;
}

.hire-option span {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 500;
}

.hire-option p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.hire-option:hover {
  transform: translateY(-5px);
  background: rgba(29, 191, 115, 0.2);
  border-color: #1dbf73;
}

.hire-option:hover i {
  transform: scale(1.2);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.contact-info .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.contact-info .cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.contact-info .cta-button:hover {
    background: transparent;
    color: #1dbf73;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 191, 115, 0.3);
}

.contact-info .header-social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #1dbf73;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #1dbf73;
}

.contact-info .header-social-icons a i {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-info .header-social-icons a:hover {
    background: transparent;
    transform: translateY(-3px);
}

.contact-info .header-social-icons a:hover i {
    color: #1dbf73;
}
