@import url("./navbar.css");


:root {
  --primary-color: #3498db;
  --logo-color: #2c3e50;
  --text-color: #333;
  --text-secondary-color: #555;
  --bg-color: #F8FAFC;
  --bg-white: #F8FAFC;
  --border-color: #f0f0f0;

  --font-primary: "Roboto", sans-serif;

  --shadow-navbar: 0 0.2rem 1rem rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 1rem 4rem rgba(0, 0, 0, 0.1);
  --transition-main: 0.3s ease;
}

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

a {
  text-decoration: none;
  color: inherit;
}
li {
  list-style: none;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 110rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  gap: 30px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 1.6rem;
  padding-top: 6.4rem;
}

/*Profile*/
.about {
  padding: 8rem 0;
  background-color: var(--bg-white);
  background-image: url('./images/bg-image.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.about-content {
  display: flex;
  align-items: center;
}

.about-text {
  flex: 1.2;
  margin-right: 6rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

.about-title {
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--logo-color);
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
}

.about-text p {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--text-secondary-color);
  margin-bottom: 3rem;
}

.about-stats {
  display: flex;
  gap: 4rem;
  margin-bottom: 4rem;
}

.stat-item .stat-number {
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-item .stat-label {
  font-size: 1.6rem;
  color: var(--text-secondary-color);
  margin-top: -0.5rem;
  display: block;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 1.2rem 2.8rem;
  border-radius: 5rem;
  font-weight: 600;
  transition: transform var(--transition-main),
    box-shadow var(--transition-main);
}

.cta-button:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.8rem 2rem rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
  .about {
    padding: 6rem 0;
  }
  .about-content {
    flex-direction: column-reverse;
  }
  .about-text {
    margin-right: 0;
    text-align: center;
  }
  .about-image {
    margin-bottom: 4rem;
  }
  .about-stats {
    justify-content: center;
  }
}


/*experience*/

#experience {
  padding: 80px 0;
  text-align: center;
  background-color: #f9f9f9;
}

#experience .title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

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

.text-justify {
  text-align: justify;
}


.experience-details-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}


.about-containers {
  display: flex;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
}


.details-container {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #ddd;
  transition: all 0.3s ease-in-out;
}

.details-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.experience-sub-title {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 20px;
}


.article-container {
  display: grid;
  
  gap: 20px;
  text-align: left;
}


.article-container article {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.article-container article .icon {
  width: 30px;
  height: 30px;
}

.article-container article h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #333;
}

.article-container article p {
  margin: 0;
  font-size: 0.9rem;
  color: #777;
}


.socials {
  gap: 20px;
}

.socials a {
  font-size: 24px;
}

ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}


#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
}

.project-title {
  margin: 1rem;
  color: black;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}





#experience {
  position: relative;
}

.experience-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}




/* PROJECTS SECTION */

#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-img {
  border-radius: 2rem;
  width:  50%;
  height: auto;
}

.project-title {
  margin: 1rem;
  color: black;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}



.email-icon {
  height: 2.5rem;
}


/* CONTACT */
.contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 20px;
    
  }
  
  .contact  .row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
  }
  
  .contact .row .card{
    background: #fff;
    width: 240px;
    margin: 20px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
  }
  
  .contact .row .card .contact-icon{
    color: #3a6cf4;
    font-size: 4em;
    text-align: center;
    transition: transform 0.5s ease;
  }
  
  .contact  .row .card:hover .contact-icon{
    transform: translateY(-10px);
  }
  
  .contact  .row .card .info{
    text-align: center;
  }
  
  .contact  .row .card .info h3{
    color: #111;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
  }
  
  .contact  .row .card .info span{
    color: #666;
    font-weight: 500;
  }
  
  .contact-form{
    background: #fff;
    max-width: 600px;
    margin-top: 50px;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
  }
  
  .contact-form h3{
    color: #111;
    font-size: 1.6em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .contact-form .input-box{
    position: relative;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .contact-form .input-box input,
  .contact-form .input-box textarea{
    color: #111;
    width: 100%;
    padding: 10px;
    font-size: 1em;
    font-weight: 400;
    outline: none;
    border: 1px solid #111;
    border-radius: 5px;
    resize: none;
  }
  
  .contact-form .input-box .send-btn{
    color: #fff;
    background: #3a6cf4;
    display: inline-block;
    font-size: 1.1em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: 0.5s ease;
  }
  
  .contact-form .input-box .send-btn:hover{
    background: #235bf6;
  }


/* FOOTER SECTION */

.socials-footer {
  
  display: flex;
  justify-content: center;
  gap: 1rem;
}

footer {
  height: 7vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}

@media (max-width: 768px) {
  .about {
    padding: 6rem 0;
  }
  .about-content {
    flex-direction: column-reverse;
 
  }
  .about-containers,
  .contact-info-upper-container,
  .btn-container {
    flex-wrap: wrap;
  }
  .details-container {
    width: 100%;
  }
  .about-text {
    margin-right: 0;
    text-align: center;
  }
  .about-image {
    margin-bottom: 4rem;
  }
  .about-stats {
    justify-content: center;
  }
   
   
  
}
