/* about.css */

/* --- General Page Structure --- */
.about-page-content {
  background: #FFFFFF;
  color: #000000;
  padding: 100px 0;
}

.about-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

/* --- Title Style --- */
.about-title {
  font-size: 60px;
  margin-bottom: 40px;
}
/* --- Main Bio Section Layout --- */
.bio-wrapper {
  display: flex;
  gap: 80px;
  align-items: center; /* Changed from flex-start to center for better visual balance with a circle */
  flex-direction: row;
}

.bio-image-container {
  flex-basis: 40%; /* Slightly reduced to give the circle more "breathing room" */
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.about-illustration {
  /* This is the magic part */
  width: 100%;
  aspect-ratio: 1 / 1; /* Forces the image to be a perfect square */
  border-radius: 50%;  /* Turns the square into a circle */
  
  display: block;
  border: 8px solid white; /* Optional: gives it a clean "profile" look */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Optional: adds depth */
}

.bio-text {
  flex-basis: 60%;
  max-width: 600px;
}

/* ... keep the rest of your paragraph styling as is ... */

/* --- Contact Button (Kept original style for reference) --- */
.contact-me-button {
  display: block;
  border: 2px solid #000;
  padding: 15px 40px;
  color: #000;
  font-weight: bold;
  margin: 40px auto 0;
  text-align: center;
  max-width: 260px;
}

.contact-me-button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* --- Additional Skills Section --- */
.additional-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  margin-top: 80px;
}

.additional-skills-text {
  font-size: 16px;
}

.additional-skills-text h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #555;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.additional-skills-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.additional-skills-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.additional-skills-text li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 6px;
  padding-left: 10px;
  border-left: 2px solid var(--primary-color);
}

/* Right column image */
.additional-skills-image {
  display: flex;
  justify-content: flex-end;
}

.additional-skills-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}

/* --- Footer --- */
footer {
  background: #000;
  color: #999;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

/* ================================================= */
/* --- NEW CONTACT SECTION STYLING --- */
/* ================================================= */

/* --- General Contact Section Layout --- */
.contact-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.contact-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  gap: 100px;
  align-items: flex-start;
}

.contact-info-column,
.contact-form-column {
  flex: 1; 
}

/* --- Left Column: Info Styling --- */
.contact-title {
  font-size: 48px; 
  margin-bottom: 20px;
}

.contact-intro {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 400px;
}

.contact-details {
  margin-bottom: 40px;
}

.detail-label {
  font-size: 14px;
  font-weight: normal;
  color: #555;
  margin-top: 20px;
  margin-bottom: 5px;
}

.detail-value {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Social Icons (FIXED COLORS) */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
    /* Colors matching the image: White fill, Primary color border/text */
  background-color: #FFFFFF;
  color: var(--primary-color); 
  border: 1px solid var(--primary-color); 
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.social-icon.linkedin {
  font-size: 16px;
    padding-top: 1px;
}

.social-icon.mail {
  font-size: 18px;
}

.social-icon:hover {
    /* Hover state: Solid fill and white text */
  background-color: var(--primary-color);
    color: white;
}

/* --- Right Column: Form Styling --- */
.contact-form label {
  display: block;
  font-size: 16px;
  font-weight: normal;
  margin-top: 20px;
  margin-bottom: 8px;
}

.contact-form .required {
  font-size: 14px;
  color: #555;
}

.form-group {
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0; 
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 0; 
  box-sizing: border-box;
  font-size: 16px;
  color: #000;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Phone Field Specific Styling */
.phone-row {
  margin-top: -10px;
  align-items: flex-end;
}

.sub-label {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px !important;
  display: block;
  font-weight: normal;
}

.country-group select {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path fill='gray' d='M8 12l-6-6h12z'/></svg>") no-repeat right 12px center;
  background-size: 10px;
  padding-right: 30px;
}

.number-group .phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  padding-left: 12px;
}

.number-group .phone-input-wrapper input {
  border: none;
  padding: 12px 0;
}

.country-code {
  color: #000;
  font-size: 16px;
  padding-right: 8px;
  white-space: nowrap;
}

.contact-form textarea {
  resize: vertical;
}

/* Submit Button (FIXED COLOR) */
.submit-button {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  display: block;
  margin-top: 30px;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #D63030;
}


/* ================================================= */
/* --- MOBILE ADJUSTMENTS (Original & New) --- */
/* ================================================= */
@media (max-width: 768px) {
  /* Original mobile adjustments */
 .about-page-content {
  padding: 50px 20px;
 }
 
 .about-title {
  font-size: 40px;
  margin-bottom: 30px;
  text-align: center;
 }

 .bio-wrapper {
  flex-direction: column;
  gap: 40px;
  align-items: center;
 }

 .bio-image-container {
  order: -1;
  flex-basis: auto;
  max-width: 80%;
 }

 .bio-text {
  flex-basis: auto;
  max-width: 100%;
  padding-top: 0;
 }

 .additional-skills {
  grid-template-columns: 1fr;
  gap: 30px;
 }

 .additional-skills-image {
  justify-content: center;
 }

 .additional-skills-image img {
  max-width: 80%;
 }

 .contact-me-button {
  width: 100%;
  text-align: center;
 }

  /* New contact section mobile adjustments */
  .contact-container {
    flex-direction: column;
    gap: 50px;
    padding: 0 20px;
  }
  
  .contact-title {
    text-align: left;
    font-size: 40px;
  }

  .contact-intro {
    text-align: left; 
    max-width: none;
  }

  .social-links {
    justify-content: flex-start;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group {
    width: 100%;
  }
}