/* Global Styles */
body {
  font-family: 'Alegreya Sans', sans-serif;
  line-height: 1.7;
  color: #333;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
h2, h3 {
  font-weight: 700;
  color: #6F52AB;
}
a {
  color: #6F52AB;
  text-decoration: none;
}

/* Header */
header {
  background: #6F52AB;
  color: #fff;
  padding: 20px 40px;
}
header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Hero Section */
.hero {
  background: #6F52AB;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.hero h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 300;
  letter-spacing: 1px;
}
.hero p {
  font-size: 1.2rem;
  font-weight: 300;
}

/* Core Subjects */
.subjects {
  background: #DEDEDE;
  text-align: center;
  padding: 60px 20px;
}
.subjects h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.subjects ul {
  list-style: none;
  padding: 0;
}
.subjects li {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 500;
  color: #4a3a6b; /* Darker complementary purple */
}

/* Bio Section */
.bio {
  background: #fff;
  text-align: center;
  padding: 80px 20px;
}
.bio h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.bio .titles {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 30px;
}
.bio .credentials {
  font-size: 0.9rem;
  color: #666;
}

/* Publications & Courses */
.pubs-courses {
  background: #DEDEDE;
}
.two-col {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.two-col > div {
  flex: 1;
  min-width: 300px;
}
.pubs-courses h3 {
  border-bottom: 2px solid #6F52AB;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Contact Form */
.contact {
  background: #fff;
  text-align: center;
}
.contact h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}
.form-group {
  margin-bottom: 20px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 1rem;
}

/* Modern Dropdown Styling */
.form-group select {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1rem;
    background-color: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236F52AB'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}
.form-group select:focus {
    outline: none;
    border-color: #6F52AB;
    box-shadow: 0 0 5px rgba(111, 82, 171, 0.3);
}

.btn {
  background: #6F52AB;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.btn:hover {
  background: #583f8a;
}

/* --- INSTANT MESSAGE SECTION (Below Button) --- */
.instant-message-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0; /* Subtle line separating it from the form */
}
.im-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    font-weight: 500;
}

/* --- LOGOS SIZING --- */

/* Bio Logos (Raker, IALPG, 3l) */
.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin: 40px 0;
}
.bio-logo {
    width: 120px !important;
    height: auto !important;
    object-fit: contain;
}

/* LinkedIn Logo (In Bio) */
.linkedin-row {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.linkedin-logo {
    width: 40px !important;
    height: auto !important;
    transition: transform 0.2s;
}
.linkedin-logo:hover {
    transform: scale(1.1);
}

/* Social Logos (Telegram, WhatsApp - In Contact Section) */
.social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.social-logo {
    width: 40px !important;
    height: auto !important;
    transition: transform 0.2s;
}
.social-logo:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
}
footer p {
  margin: 5px 0;
}

/* ================================================== */
/* MOBILE PHONE ONLY (Shrinks them when screen < 600px) */
/* ================================================== */
@media (max-width: 600px) {
    .logo-row {
        gap: 20px; 
    }
    
    .bio-logo {
        width: 90px !important; 
    }
    
    .linkedin-logo {
        width: 30px !important; 
    }
    
    .social-logo {
        width: 30px !important; 
    }
}