/* ==========================
   RESET
========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================
   BODY
========================== */

body {
  font-family: Arial, Helvetica, sans-serif;

  background: #efefef;

  color: #222;

  font-size: 15px;

  line-height: 1.6;
}
.wrapper {
  width: 1400px;
  max-width: 96%;
  margin: 25px auto;

  background: #ffffff;

  padding: 20px;

  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

/* ==========================
   HEADER
========================== */

/* ==========================
   HEADER
========================== */

/* ==========================
   HEADER
========================== */

header {
  background: #162d63;

  color: white;

  text-align: center;

  padding: 18px 0 12px;
}

.logo {
  width: 58px;

  display: block;

  margin: 0 auto 8px;
}

header h1 {
  font-family: Georgia, "Times New Roman", serif;

  font-size: 42px;

  font-weight: normal;

  margin-bottom: 15px;
}

.tagline {
  font-size: 18px;

  letter-spacing: 1px;
}

/* ==========================
   NAVIGATION
========================== */

nav {
  background: #162d63;

  border-top: 1px solid #0f2148;

  border-bottom: 1px solid #0f2148;
}

nav ul {
  width: 1400px;

  margin: 0 auto;

  padding: 0;

  list-style: none;

  display: flex;
}

nav li {
  margin: 0;
}

nav a {
  display: block;

  padding: 8px 18px;

  color: #ffffff;

  text-decoration: none;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 15px;

  font-weight: bold;
}

nav a:hover {
  background: #1f3f82;
}

/* ==========================
   MAIN LAYOUT
========================== */

main {
  display: grid;

  grid-template-columns: 70% 30%;

  gap: 25px;

  align-items: start;
}

/* ==========================
   LEFT
========================== */

.content {
  min-height: 700px;
}
/* ==========================
   RIGHT
========================== */

.sidebar {
  min-height: 700px;
}

/* ==========================
   FOOTER
========================== */

footer {
  background: #d5d5d5;

  padding: 14px;

  text-align: center;

  color: #444;

  font-size: 14px;
}
/* ==========================
   CONTENT BOXES
========================== */

.box {
  margin-bottom: 18px;

  padding-bottom: 10px;

  border-bottom: 1px solid #d6d6d6;
}

.box h2 {
  color: #6d1111;

  font-family: Georgia, serif;

  font-style: italic;

  text-decoration: underline;

  font-size: 30px;

  font-weight: normal;

  margin-bottom: 18px;

  border: none;

  padding: 0;
}
/* ==========================
   FOUNDER
========================== */

.founder-box {
  text-align: center;
}

.founder-photo {
  width: 270px;

  border: 1px solid #999;

  margin: 1px auto;

  display: block;
}

.founder-box h3 {
  font-size: 20px;

  margin-bottom: 1px;
  padding-right: 10px;
  font-family: Georgia, serif;
}

.degree {
  color: #7b2d2d;

  font-weight: bold;

  margin-bottom: 1px;
}

.designation {
  font-weight: bold;

  margin-bottom: 1px;
}

.experience {
  line-height: 1.3;
}
/* ==========================
   ACHIEVEMENTS
========================== */

.achievement-box {
  text-align: center;
  margin-top: 20px;
}

.achievement-list {
  padding-right: 14px;
}

.achievement-list li {
  font-size: 15px;

  line-height: 1.5;

  margin-bottom: 16px;
}

.achievement-list strong {
  color: #000;
}
/* ==========================
   WELCOME SECTION
========================== */

.welcome-list {
  padding-left: 22px;

  margin-top: 18px;
}

.welcome-list li {
  margin-bottom: 18px;

  line-height: 1.45;

  font-size: 15px;
}

.blue {
  color: #294f9d;

  font-weight: bold;
}

.box h3 {
  margin-top: 18px;

  margin-bottom: 12px;

  font-size: 18px;
  line-height: 1.8;
  font-family: Georgia, serif;

  color: #000;

  text-decoration: underline;
}
/* ==========================
   MEMBER
========================== */

.member-list {
  padding-left: 22px;

  margin-top: 15px;
}

.member-list li {
  margin-bottom: 12px;

  line-height: 1.7;

  font-size: 15px;

  font-weight: 600;
}
/* ==========================
   CONTACT FOR
========================== */

.contact-list {
  padding-left: 22px;

  margin-top: 15px;
}

.contact-list li {
  margin-bottom: 10px;

  line-height: 1.8;

  font-size: 18px;
}
/* ==========================
   RECOMMENDATIONS
========================== */

.recommendation-list {
  padding-left: 22px;

  margin-top: 15px;
}

.recommendation-list li {
  margin-bottom: 12px;

  line-height: 1.8;

  font-size: 18px;
}

.space-top {
  margin-top: 30px;
}
nav a.active {
  background: #0d1f4b;
  color: #fff;
}
/* ==========================
   CONTACT PAGE
========================== */

.page-title {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  color: #6d2d2d;
  font-style: italic;
  text-decoration: underline;
  margin-bottom: 20px;
}

.sub-title {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 35px;
}

.section-heading {
  font-family: Georgia, "Times New Roman", serif;
  color: #6d2d2d;
  font-size: 26px;
  font-style: italic;
  text-decoration: underline;
  margin-bottom: 18px;
}

.service-list {
  padding-left: 28px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.45;
}

.service-list li {
  margin-bottom: 10px;
}

.gem-image {
  width: 380px;
  display: block;
  margin: 0 auto 25px;
}

.sidebar-box {
  text-align: center;
  margin-bottom: 35px;
}

.payment-logo {
  width: 130px;
  display: block;
  margin: 20px auto;
}

.box p {
  font-size: 18px;
  line-height: 1.8;
}

.box h3 {
  font-size: 20px;
  margin: 25px 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  text-decoration: underline;
}

.box hr {
  margin: 25px 0;
  border: none;
  border-top: 1px solid #d9d9d9;
}
.appointment-note {
  color: #b30000;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-top: 35px;
  line-height: 1.7;
  font-family: Georgia, "Times New Roman", serif;
}
/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media screen and (max-width: 768px) {
  .wrapper {
    width: 95%;
    margin: 20px auto;
    padding: 20px;
  }

  .content {
    display: flex;
    flex-direction: column;
  }

  .left-column,
  .right-column {
    width: 100%;
  }

  .right-column {
    margin-top: 30px;
  }

  .founder-card,
  .achievement-box,
  .certificate-box {
    width: 100%;
    margin-bottom: 25px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .page-title {
    font-size: 34px;
  }

  .main-title {
    font-size: 20px;
  }

  .section-heading {
    font-size: 18px;
  }

  .service-list {
    font-size: 15px;
  }

  nav ul {
    justify-content: center;
  }

  nav li {
    flex: 1;
    text-align: center;
  }
}
/* ===================================================
   MOBILE RESPONSIVE
=================================================== */

@media screen and (max-width: 768px) {
  /* Wrapper */
  .wrapper {
    width: 95%;
    max-width: 95%;
    margin: 15px auto;
    padding: 15px;
  }

  /* Change 2-column layout to 1-column */
  main {
    display: block;
  }

  /* Navigation */
  nav ul {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  nav ul li {
    flex: 1;
    min-width: 100px;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 12px 0;
  }

  /* Sidebar */
  .sidebar {
    margin-top: 30px;
    width: 100%;
  }

  /* Founder Image */
  .sidebar img,
  .founder img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /* Gemstone Image */
  .gemstones,
  .gemstones img {
    display: block;
    max-width: 240px;
    width: 100%;
    height: auto;
    margin: 20px auto;
  }

  /* Payment logos */
  .payment-methods {
    text-align: center;
  }

  .payment-methods img {
    display: block;
    margin: 15px auto;
    max-width: 150px;
    height: auto;
  }

  /* Prevent any image from overflowing */
  img {
    max-width: 100%;
    height: auto;
  }
}
.certificate-image {
  width: 85%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}
.certificate-title {
  text-align: center;
  font-weight: 700 !important;
}
