 /* For smart phones */
@media screen and (max-width: 600px) {
}

/* For tablets */
@media screen and (min-width: 600px) and (max-width: 900px) {
}

/* For desktop computers */
@media screen and (min-width: 900px) {
} 

/* General styles */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

body {
  font-family: 'Segoe UI', Roboto, Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  background-color: #FFF;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
}

header {
  background: #333333;
  color: #FFFFFF;
  padding: 0px 0px;
  text-align: center;
  height: 80px;
  width: 100%;
  border: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  border-bottom: 2px solid #c9a96e;
}
header h1 {
  margin: 0;
  font-size: 2.5em;
}
header p {
  font-size: 1.2em;
  margin-top: 10px;
}
section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  border: 0px;
}
h2 {
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.contact {
  background: #f8fafc;
  padding: 20px;
  border-radius: 5px;
  width: 1100px;
}
footer {
  background: #ffffff;
  color: #2c3e50;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
a {
  color: #2980b9;
}

.menu{
  width: 1100px;
  height: 80px;
  margin: 0 auto;
  border: #9da34b solid 0px;
  text-align: left;
  z-index: 1;
  size: 10pt;
}

.menu table {
  width: 100%;
  height: 80px;
  border-collapse: collapse;
}

.menu td {
  padding: 0 5px;
  vertical-align: middle;
  text-align: center;
  width: max-content;
}

.logo {
  font-family: 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 1px;
  color: #FFFFFF;
}

.gradient-text {
  font-size: 1.5em;
  font-weight: bold;
  background: linear-gradient(90deg, #FFFFFF, #c9a96e);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.main-title {
  font-size: 3em;
  font-weight: bold;
  color: #333;
  margin-bottom: 2px;
}

.image-box {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px #c9a96e;
  padding: 2rem;
  width: 340px;
  margin: 2rem auto;
}

.education {
  padding: 2rem 1rem;
  background-color: #FFFFFF;
  width: 1100px;
}

.education h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.education-entry {
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 1rem;
  border-left: 4px solid #c9a96e;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  text-align: left;
}

.education-entry h3 {
  margin-bottom: 0.3rem;
  color: #222;
}

.education-entry .degree {
  font-style: italic;
  color: #555;
}

.education-entry .year {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.education-entry .details {
  color: #444;
  line-height: 1.5;
}

.about {
  background-color: #fff;
  width: 1100px;
  padding: 3rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
}

.experience {
  background-color: #f8fafc;
  padding: 3rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
  width: 1100px;
}

.experience h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #222;
}

.experience-entry {
  background-color: #ffffff;
  border-left: 4px solid #c9a96e;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 0 auto 2rem;
  max-width: 900px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s ease;
}

.experience-entry:hover {
  transform: translateX(+4px);
}

.experience-entry h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #0077cc;
  text-align: center;
}

.experience-entry .organization {
  font-weight: 600;
  color: #444;
  margin-top: 0.3rem;
}

.experience-entry .years {
  font-size: 0.95rem;
  color: #777;
  margin: 0.5rem 0 1rem;
}

.experience-entry .details {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

nav {
  width: 100%;
  z-index: 1000;
  vertical-align: bottom;
  text-align: right;
}

nav a {
  color: #e3d5ca;
  text-decoration: none;
  font-weight: bold;
}

.form-container {
  max-width: 900px;
  background-color: #ffffff;
  border-left: 4px solid #c9a96e;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 0 auto 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s ease;
}

p1 {
  font-size: 1.2rem;
  margin-top: 3px;
}

.book-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.book-table th {
  padding: 10px;
  text-align: left;
  border-bottom: 0px solid #c9a96e;
  vertical-align: bottom;
}
.book-table td {
  padding: 10px;
  border: 0px solid #c9a96e;
  vertical-align: top;
}
.book-table input {
  width: 100%;
  padding: 10px;
  border: 1px solid #c9a96e;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1rem;
}
.book-table textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #c9a96e;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1rem;
}
.book-table button {
  background-color: #c9a96e;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
.book-table button:hover {
  background-color: #b89a5e;
}
.book-table select {
  width: 100%;
  padding: 10px;
  border: 1px solid #c9a96e;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1rem;
}

.a1{
  font-family: 'Segoe UI', Roboto, Tahoma, Geneva, Verdana, sans-serif;
  color: #f0e3cc;
  text-decoration: none;
  font-weight: normal;
  font-size: 18px;
  padding: 5px 13px;
  border-radius: 8px;
  transition: color 0.3s ease;
}

.a1:hover {
  color: #c9a96e;
  background-color: #413b35;
}
.end-table {
  width: "500px";
  height: "400px";
  border: 0px solid #c9a96e;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 12px;
}
.end-table th {
  padding: 5px;
  text-align: center;
  background-color: #0077cc;
  vertical-align: middle;
  border-radius: 15px 50px 15px;
  color: #ffffff;
  font-size: 1.2rem;
}
.end-table td {
  padding: 10px;
  border: 0px solid #c9a96e;
  vertical-align: top;
  text-align: center;
}
.certificates-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.cert-popup {
  display: none;
}
.cert-container:hover .cert-popup {
  display: block;
  position: absolute; 
  top: 100%; 
  left: 0; 
  z-index: 10; 
  background: #fff; 
  border: 1px solid #ccc; 
  padding: 8px; 
  border-radius: 8px;
}