*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a1f2c;
    --teal: #0FA0CE;
    --light-gray: #C8C8C9;
    --cyan: #1186AE; 
    --cyan-light: #40E0D0;
    --gray: #8892B0;
    --navy-light: #2A2F3C;
    --navy: #1A1F2C;
}

html {
  scroll-behavior: smooth;
}

body {
    background-color: var(--navy);
    color: var(--light-gray);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    height: 100%;
    width: 100%;
}

a{
  text-decoration: none;
}

#preloader {
      position: fixed;
      width: 100%;
      height: 100%;
      background:#282835;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
  }

    .loader-content {
      display: flex;
      flex-direction: column-reverse;
      align-items: center;
  }

.loader {
      width: 20px;
      height: 20px;
      margin-top: 6px;
      margin-right: 14px;
      position: relative;
      opacity: 0.9;
    }
    .loader:before , .loader:after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 0;
      width:20px;
      height: 20px;
      border-radius: 70%;
      background:#FFF;
      transform: translate(-50% , -100%)  scale(0);
      animation: push 2s infinite linear;
    }
    .loader:after {
      animation-delay: 1s;
    }
    @keyframes push {
        0% , 50%{ transform: translate(-50% , 0%)  scale(1) }
      100% { transform: translate(-50%, -100%) scale(0) }
    }
   

   .loading-text {
    color: var(--teal);
      font-size: 22px;
      font-weight: bold;
      margin-left: 15px;
      text-align: center;
      opacity: 1;
  }

    .text {
      display: block;
      opacity: 0;
      position: absolute;
      animation: fadeInOut 1s ease-in-out forwards;
  }

  .text:nth-child(1) { animation-delay: 0.5s; }    /* "Loading" */
  .text:nth-child(2) { animation-delay: 1.5s; }    /* "Please Wait" */
  .text:nth-child(3) { animation-delay: 2.5s; }    /* "Almost Done" */

   @keyframes fadeInOut {
      0% { opacity: 0; }
      20% { opacity: 1; }  /* Fully visible */
      80% { opacity: 1; }  /* Stay visible */
      100% { opacity: 0; } /* Fade out */
  }

  

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

  /* Initial Slide-Up Animation */
  @keyframes slideUp {
      from { transform: translateY(100%); opacity: 1; } /* Starts from bottom fully visible */
      to { transform: translateY(0); opacity: 1; } /* Moves to normal position */
  }

  /* Final Slide-Up and Fade-Out */
  @keyframes slideOut {
      from { transform: translateY(0); opacity: 1; } /* Normal position */
      to { transform: translateY(-100%); opacity: 0; } /* Moves up and fades out */
  }


/* Navigation Styles */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background-color: rgba(26, 31, 44, 0.95);
    backdrop-filter: blur(4px);
    z-index: 50;
    
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color:teal;
    transition: transform 0.3s ease-in-out;
}
.logo:hover {
    opacity: 1;
    transform: scale(1.2);
}
.logo-svg {
    width: 2rem;
    height: 2rem;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-link {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-number {
    color: var(--teal);
}
.nav-link:hover {
    color: var(--teal);
}
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--light-gray);
  transition: all 0.3s;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: var(--navy);
  transition: right 0.3s;
  z-index: 100;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.close-icon {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--light-gray);
  cursor: pointer;
  margin-bottom: 1rem;
}

.sidebar-link {
  color: var(--light-gray);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.sidebar-link:hover {
  color: var(--teal);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .sidebar.open {
    right: 0;
  }
}

.resume-button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--teal);
    color: var(--teal);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.resume-button:hover {
    background-color: rgba(15, 160, 206, 0.1);
}

/* Main Content Styles */

.home{
    padding-top: 2rem;
    padding-bottom: 5rem;
    margin-bottom: 2rem;
}
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 0.4rem 0;
    min-height: 100vh;
}



.content-wrapper > * {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease-out forwards;
}
.greeting {
    color: var(--teal);
    margin-bottom: 1rem;
    animation-delay: 0.1s;
}
.name {
    font-size: 3.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    animation-delay: 0.2s;
}
.tagline {
    font-size: 3rem;
    font-weight: 650;
    color: rgba(200, 200, 201, 0.8);
    margin-bottom: 1.5rem;
    animation-delay: 0.3s;
}
.description {
    max-width: 36rem;
    color: rgba(200, 200, 201, 0.6);
    margin-bottom: 2rem;
    line-height: 1.75;
    animation-delay: 0.4s;
}

.cta-button1{
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--teal);
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--teal);
    transition: background-color 0.2s;
    animation-delay: 0.5s;

}

.cta-button1 a{
    color: white;
}

.cta-button1:hover{
    background-color: rgba(15, 160, 206, 0.1);
}

.cta-button {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--teal);
    background: transparent;
    color: var(--teal);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
    animation-delay: 0.5s;
    margin-left: 0.35vw;
}
.cta-button:hover {
    background-color: rgba(15, 160, 206, 0.1);
}

.cta-button a{
    color: var(--teal);

}

.home-icons{
    display: flex;
    justify-content: left;
    align-items: center;
    margin-top: 2rem;
    color: white;
}
.home-icons span{
  transition:  0.3s ease-in-out;
  cursor: pointer;
}
.home-icons span a{
  padding: 1rem;
  font-size: 1.25rem;
}

.home-icons span a{
    color: white;
}

.home-icons span :hover{
  transform: scale(1.5);
  color:var(--teal);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .name {
        font-size: 3rem;
    }

    .tagline {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .cta-button1, .cta-button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
   .content-wrapper {
        align-items: center;
        text-align: center;
    }

    .name {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 2rem;
    }

    .description {
        font-size: 0.875rem;
    }

    .cta-button1, .cta-button {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .home-icons {
        justify-content: center; /* Center the home icons */
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
     .content-wrapper {
        align-items: center;
        text-align: center;
    }

    .name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .description {
        font-size: 0.75rem;
    }

    .cta-button1, .cta-button {
        font-size: 1rem;
        padding: 0.5rem 0.5rem;
    }
    .home-icons {
        
        justify-content: center; /* Center the home icons */
        font-size: 0.8rem;
    
    }
}




/* ------------about------------ */


#about{
    margin-top: 2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.about-title{
    font-size: 2.3rem;
    color: var(--teal);
    margin: 80px 0px 30px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.content{
    color:var(--light-gray);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content-left{
    flex-basis: 26%;
    margin-left: 2.2rem;
}

.content-left img{
   width: 100%;
   border-radius: 20px;
   transition: all 0.3s ease-in-out;
   border: 1px solid #0FA0CE;
   cursor: pointer;
}

.content-left img:hover{
    box-shadow: 0 0 20px rgba(229, 237, 239, 0.7);
}


.content-right{
    flex-basis: 60%;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.content-right span{
    font-weight: 800;
}

.tab-titles{
    display: flex;
    margin:1.3rem 0 1.8rem ;
}

.tab-links{
    margin-right: 2.5rem;
    color: var(--teal);
    font-size: 1.10rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: "";
    width: 0;
    height: 3px;
    background: var(--light-gray);
    left: 0;
    bottom: -8px;
    transition: 0.5s; 
    position: absolute;
}

.tab-links.active-link:hover::after{
    width: 80%;
}


.tab-contents{
    font-size: 1rem;
    line-height: 1.7rem;
}

.tab-contents ul li{
    list-style: none;
}

.tab-contents span{
    color: var(--teal);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-title {
        font-size: 2rem;
    }

    .content-right {
        font-size: 1.125rem;
    }

    .tab-links {
        font-size: 1rem;
    }

    .tab-contents {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .content-left {
        flex-basis: 100%;
        margin-left: 0;
        margin-bottom: 2rem;
    }

    .content-left img {
        width: 80%; /* Adjust the width for smaller devices */
    }

    .content-right {
        flex-basis: 100%;
        font-size: 1rem;
    }

     .tab-links {
        font-size: 0.75rem;
        text-align: center;
        margin-right: 0; /* Remove margin for smaller devices */
    }

    .tab-contents {
        font-size: 0.800rem;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.75rem;
    }

    .content-left {
        flex-basis: 100%;
        margin-left: 0;
        margin-bottom: 2rem;
    }

    .content-left img {
        width: 70%; /* Further adjust the width for smaller devices */
    }

    .content-right {
        flex-basis: 100%;
        font-size: 0.875rem;
    }

      .tab-links {
        font-size: 0.75rem;
        text-align: center;
        margin-right: 0; /* Remove margin for smaller devices */
    }

    .tab-contents {
        font-size: 0.600rem;
    }
}
/* -------------technologies------------ */

.container1 {
  max-width: 900px; 
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-number {
  color: var(--cyan);
  font-size: 1.25rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Reduced from 250px to 200px */
  gap: 1.5rem; /* Reduced from 2rem to 1.5rem */
}

.tech-card {
  background-color: var(--navy-light);
  padding: 1.5rem; /* Reduced from 2rem to 1.5rem */
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-icon {
  width: 50px; /* Reduced from 60px to 50px */
  height: 50px; /* Reduced from 60px to 50px */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem; /* Reduced from 1.5rem to 1.25rem */
  color: var(--cyan);
  transition: transform 0.3s;
}

.tech-card:hover .tech-icon {
  transform: scale(1.1);
}

.tech-card h3 {
  font-size: 1.125rem; /* Reduced from 1.25rem to 1.125rem */
  margin-bottom: 0.75rem; /* Reduced from 1rem to 0.75rem */
  font-weight: 600;
}

.tech-card p {
  color: var(--gray);
  font-size: 0.875rem;
}

/* Technology Icon Specific Colors */
.react-icon {
  color: #61DAFB;
}

.tailwind-icon {
  color: #06B6D4;
}

.bootstrap-icon {
  color: #7952B3;
}

.scss-icon {
  color: #CC6699;
}

.mongodb-icon {
  color: #47A248;
}

.mysql-icon {
  color: #4479A1;
}

.javascript-icon {
  color: #F7DF1E;
}

.figma-icon {
  color: #F24E1E;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-card h3 {
        font-size: 1.25rem;
    }

    .tech-card p {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-card {
        padding: 1rem;
    }

    .tech-card h3 {
        font-size: 1rem;
    }

    .tech-card p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-card {
        padding: 0.75rem;
    }

    .tech-card h3 {
        font-size: 0.875rem;
    }

    .tech-card p {
        font-size: 0.625rem;
    }

    .tech-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* ---------------experience------------- */

/* Existing styles below */
.content-section {
  padding: 8rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content-container {
  max-width: 48rem;
  margin: 4rem auto 0;
}

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

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
  }
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.skills-list {
  margin-top: 2rem;
}

.skills-list h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

.skills-list ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  list-style: none;
  margin-left: 1rem;
}

.skills-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--gray);
}

.skills-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
}

.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--cyan);
  opacity: 0.2;
  transition: opacity 0.3s;
}

.image-wrapper:hover::after {
  opacity: 0;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.image-wrapper:hover img {
  filter: none;
}

.experience-content {
  max-width: 42rem;
}

.experience-item {
  margin-bottom: 3rem;
}

.experience-item h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.experience-date {
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.experience-list {
  list-style: none;
}

.experience-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--gray);
}

.experience-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .experience-content {
    padding: 0 1rem;
  }

  .experience-item h3 {
    font-size: 1.125rem;
  }

  .experience-date {
    font-size: 0.75rem;
  }

  .experience-list li {
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .experience-content {
    padding: 0 1rem;
  }

  .experience-item h3 {
    font-size: 1rem;
  }

  .experience-date {
    font-size: 0.75rem;
  }

  .experience-list li {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .experience-content {
    padding: 0 0.5rem;
  }

  .experience-item h3 {
    font-size: 0.875rem;
  }

  .experience-date {
    font-size: 0.625rem;
  }

  .experience-list li {
    font-size: 0.625rem;
  }
}

/* --------------projects---------------- */
.projects-grid {
  display: grid;
  gap: 2rem;
}

.project-card {
  position: relative;
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .project-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: var(--cyan);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.project-content h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-content p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  gap: 1rem;
  color: var(--gray);
  font-size: 0.875rem;
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s;
}

.project-image:hover img {
  transform: scale(1.05);
}


/* Projects Section Styles */
.projects-section {
  padding: 0 1.5rem 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--navy);
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .project-item {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .project-item:nth-child(even) .project-content {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  
  .project-item:nth-child(even) .project-tech-list {
    justify-content: flex-end;
  }
  
  .project-item:nth-child(even) .project-links {
    justify-content: flex-end;
  }
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-overline {
  color: var(--cyan);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.project-title {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.project-description {
  background-color: var(--navy-light);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  color: var(--gray);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.project-tech-list li {
  color: var(--gray);
  font-size: 0.875rem;
  white-space: nowrap;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-icon {
  color: var(--gray);
  transition: color 0.3s;
}

.project-icon:hover {
  color: var(--cyan);
}

.project-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(70%);
  transition: all 0.3s;
}

.project-image:hover img {
  filter: none;
  transform: scale(1.05);
}


.experience-content {
  max-width: 42rem;
}

.experience-item {
  margin-bottom: 3rem;
}

.experience-item h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.experience-date {
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.experience-list {
  list-style: none;
}

.experience-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--gray);
}

.experience-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.projects-grid {
  display: grid;
  gap: 2rem;
}

.project-card {
  position: relative;
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .project-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: var(--cyan);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.project-content h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-content p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  gap: 1rem;
  color: var(--gray);
  font-size: 0.875rem;
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s;
}

.project-image:hover img {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-description {
        font-size: 0.875rem;
    }

    .project-tech-list li {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-item {
        padding: 1rem;
    }

    .project-title {
        font-size: 1.125rem;
    }

    .project-description {
        font-size: 0.75rem;
    }

    .project-tech-list li {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .project-item {
        padding: 0.75rem;
    }

    .project-title {
        font-size: 1rem;
    }

    .project-description {
        font-size: 0.625rem;
    }

    .project-tech-list li {
        font-size: 0.625rem;
    }

    .project-icon {
        width: 20px;
        height: 20px;
    }
}



/* ------------contact----------- */
.contact-content {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.contact-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-text {
  color: var(--gray);
  margin-bottom: 2rem;
}

.nav-link.active {
  color: var(--cyan);
}

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

.animated-text {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.5s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* contact section */

/* Contact Form Styles */
.contact-section {
  padding: 0.5rem 1.5rem 4rem;
  background-color: var(--navy);
}

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

.contact-section .section-title {
  font-size: 2rem;
  color: #4169E1;
  margin-bottom: 1rem;
  justify-content: center;
}



.contact-form-container {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0.8rem;
  border: 1.5px solid var(--light-gray);
  background-color: var(--navy);
  color: var(--gray);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-textarea {
  border-radius: 0.8rem;
  min-height: 150px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--light-gray);
  box-shadow: 0 0 0 2px rgba(65, 105, 225, 0.2);
}

.form-submit {
  margin-top: 1rem;
  text-align: center;
}

.submit-button {
  background-color: var(--teal);
  color: white;
  border: none;
  width: 100%;
  border-radius: 0.8rem;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #3555c7;
}

.success-message {
  background-color: var(--navy);
  border: 1px solid #4169E1;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 1rem;
  text-align: center;
}

.success-message p {
  color: #4169E1;
  font-size: 1.125rem;
}

/* Additional contact styles */
.contact-content {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.contact-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-text {
  color: var(--gray);
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-title {
    font-size: 2.5rem;
  }

  .contact-text {
    font-size: 1rem;
  }

  .form-input,
  .form-textarea {
    font-size: 0.875rem;
  }

  .submit-button {
    font-size: 0.875rem;
    padding: 0.75rem 2rem;
  }

  .success-message p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-text {
    font-size: 0.875rem;
  }

  .form-input,
  .form-textarea {
    font-size: 0.75rem;
  }

  .submit-button {
    font-size: 0.75rem;
    padding: 0.5rem 1.5rem;
  }

  .success-message p {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 1.75rem;
  }

  .contact-text {
    font-size: 0.75rem;
  }

  .form-input,
  .form-textarea {
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .submit-button {
    font-size: 0.75rem;
    padding: 0.5rem 1.5rem;
  }

  .success-message p {
    font-size: 0.75rem;
  }
}

/* ------------footer----------- */
.site-footer {
  height:9rem;
  width: 100%;
  background: var(--navy);
  border-top: 2px solid rgba(234, 239, 240, 0.12);
  padding: 1.2rem 0 1rem 0;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.footer-content {
  color: var(--light-gray);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-align: center;
  font-family: 'Inter', sans-serif;
  opacity:5;
}
.footer-icons {
  margin-left: 1.2rem;
  display: inline-flex;
  gap: 1.1rem;
  vertical-align: middle;
}
.footer-icons a {
  color: var(--teal);
  font-size: 1.25rem;
  transition: color 0.2s, transform 0.2s;
  opacity: 1;
}
.footer-icons a:hover {
  color: var(--cyan-light);
  transform: scale(1.2);
  opacity: 1;
}
@media (max-width: 480px) {
  .footer-content {
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }
  .footer-icons {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}