/* === Base Styles === */
body {
  font-family: "Roboto Slab", serif;
  margin: 0;
  padding: 0;
  background-color: #f4f8fa;
  color: #333;
  line-height: 1.6;
}

header {
  background-color: #007b83;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  font-family: "Francois One", sans-serif;
  margin: 0;
  font-size: 2em;
}

/* === Logo Styling === */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-pill {
  background: linear-gradient(145deg, #00a3ad, #005f66);
  color: white;
  font-family: "Francois One", sans-serif;
  font-size: 2.2rem;
  padding: 6px 20px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

main h2 {
  color: #007b83;
  font-family: "Francois One", sans-serif;
  margin-top: 30px;
}

h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-start: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}
body {
  font-family: "Roboto Slab", serif;
  margin: 0;
  padding: 0;
  background-color: #f4f8fa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}



/* === Hero Layout === */
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
  gap: 16px;
}

.header-center {
  text-align: center;
  flex: 1;
}

/* === Navigation === */
.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.main-nav ul li {
  display: block;
  margin: 0;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.main-nav ul li a:hover {
  text-decoration: underline;
}

/* === Hamburger & Sidebar === */
#hamburger {
  font-size: 1.5rem;
  color: #fff;
  background-color: #005f66;
  padding: 10px 20px;
  cursor: pointer;
  width: fit-content;
  border-radius: 8px;
  margin: 10px auto;
  z-index: 1001;
  text-align: center;
  display: none;
}

#sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  height: 100%;
  width: 250px;
  background-color: #224d76;
  padding-top: 60px;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  display: none;
}

#sidebar.active {
  left: 0;
}

#sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

#sidebar ul li {
  padding: 15px 20px;
}

#sidebar ul li a {
  color: #fdf497;
  text-decoration: none;
  font-size: 1.2rem;
  font-family: "Francois One", sans-serif;
  display: block;
}

#sidebar ul li a:hover {
  background-color: #01314f;
  color: #fff;
}

/* === Responsive === */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  #hamburger {
    display: block;
  }

  #sidebar {
    display: block;
  }

  .logo {
    justify-content: center;
    margin-bottom: 10px;
  }

  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .social-tile-container {
    justify-content: center;
  }
}

@media (min-width: 769px) {
  /* Flex layout for intro section */
  .intro-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.1rem;
  }

  .intro-text {
    flex: 1;
    text-align: justify;
  }
  .intro-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile-photo {
    width: 250px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }

  /* Social tile buttons under image */
  .social-tile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
  }

  .social-tile {
    width: 90px;
    height: 90px;
    background-color: #007b83;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: "Francois One", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s;
  }

  .social-tile:hover {
    background-color: #005f66;
    transform: translateY(-4px);
  }

  .social-tile i {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .social-tile span {
    font-size: 0.85rem;
  }
}

/* === Container === */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* === Footer === */
footer {
  text-align: center;
  background-color: #e1eaea;
  color: #333;
  padding: 15px 0;
  font-size: 0.9em;
}

/* === Utilities === */
.profile-photo {
  width: 250px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Flex layout for intro section */
.intro-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.intro-text {
  flex: 1;
  text-align: justify;
}
.intro-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-photo {
  width: 250px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Social tile buttons under image */
.social-tile-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-tile {
  width: 90px;
  height: 90px;
  background-color: #007b83;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-family: "Francois One", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s;
}

.social-tile:hover {
  background-color: #005f66;
  transform: translateY(-4px);
}

.social-tile i {
  font-size: 22px;
  margin-bottom: 5px;
}

.social-tile span {
  font-size: 0.85rem;
}

form input,
form textarea {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form input[type="submit"] {
  background-color: #007b83;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

form input[type="submit"]:hover {
  background-color: #005f66;
}

footer {
  text-align: center;
  background-color: #e1eaea;
  color: #333;
  padding: 15px 0;
  font-size: 0.9em;
}

.cta-button {
  display: inline-block;
  background-color: #04464b;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005f63;
}

/*Contact*/
.tel-link {
  background-color: #007b83;
  padding: 0.1%;
  margin: 0 0;
  width: 19%;
  border-radius: 10px;
}

.tel-link a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
  display: block;
}
.corner {
  width: 1.75rem;
  height: 1.75rem;
  border: 3px solid #e63946; /* red color */
  position: relative;
}

.top-left {
  border-right: none;
  border-bottom: none;
}

.bottom-right {
  border-left: none;
  border-top: none;
}

#career-objective {
  background-color: #f9fafa;
  padding: 0.1px;
  border-radius: 10px;
  max-width: 960px;
  margin: 5px auto;
  font-family: "Arial", sans-serif;
}

#career-objective h2 {
  color: #007b8a;
  text-align: left;
  font-size: 2em;
  margin-bottom: 10px;
}

#career-objective p {
  color: #333;
  line-height: 1.6;
  font-size: 1.1em;
  text-align: justify;
}

#education {
  background-color: #f9f9f9;
  padding: 5px;
  border-radius: 10px;
  max-width: 960px;
  margin: 5px auto;
  font-family: Arial, sans-serif;
}

#education h2 {
  text-align: left;
  font-size: 2.2em;
  color: #007b8a;
  margin-bottom: 30px;
}

.edu {
  background-color: #fff;
  border: 1px solid #ece3e3;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.edu h3 {
  margin: 0 0 5px 0;
  font-size: 1.2em;
  color: #333;
}

.edu p {
  margin: 5px 0;
  color: #555;
  line-height: 1.5;
}

.school-logo {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 4px;
}

.school-name {
  color: #005580; /* accent blue */
  text-decoration: none;
  font-weight: bold;
}

.school-name:hover {
  text-decoration: underline;
  color: #0073b1; /* darker on hover */
}

.edu span {
  font-size: 0.95em;
  color: #777;
}

#experience {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 10px;
  font-family: Arial, sans-serif;
}

#experience h2 {
  text-align: left;
  font-size: 2.2em;
  color: #007b8a;
  margin-bottom: 10px;
}

.job {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.job h3 {
  margin: 0 0 5px;
  font-size: 1.3em;
  color: #333;
}

.job span {
  font-size: 0.9em;
  color: #666;
}

.job p {
  margin: 5px 0 10px;
  font-size: 1em;
}

.job ul {
  padding-left: 20px;
}

.job li {
  margin-bottom: 5px;
}
.company-name {
  color: #a83512; /* LinkedIn-style blue or any accent color you prefer */
  text-decoration: none;
  font-weight: bold;
}

.company-name:hover {
  text-decoration: underline;
}

.company-logo {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
  border-radius: 3px;
}

.achievements-section {
  margin-top: 2em;
}
.achievements-intro {
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}
.achievements {
  background-color: #f3f4f6;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: center;
  text-align: center;
}
.achievements span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.logo-img {
  max-width: 100%;
  height: auto;
  display: block;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

p,
li,
a {
  overflow-wrap: break-word;
}

/* === Gallery === */
#gallery-highlights,
.gallery-intro,
#my-roles {
  padding: 24px 0;
}

.gallery-intro h2 {
  margin-top: 20px;
}

.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.role-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background-color: #f4f8fa;
  border-radius: 8px;
}

.role-item h3 {
  margin: 0;
  color: #005f66;
  font-family: "Francois One", sans-serif;
}

#my-roles h4 {
  margin-top: 24px;
  text-align: center;
  color: #005f66;
}

@media (max-width: 768px) {
  .role-item img {
    height: 160px;
  }
}

/* === Professional Refinements === */
:root {
  --color-primary: #005f66;
  --color-accent: #007b83;
  --color-dark: #0f172a;
  --color-muted: #556070;
  --color-surface: #ffffff;
  --color-surface-alt: #f8fafc;
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: var(--color-surface-alt);
  color: #1f2937;
}

main {
  padding-bottom: 32px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  background: linear-gradient(120deg, #004a51 0%, #007b83 70%, #0f6472 100%);
  color: #fff;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.15);
}

.hero .container {
  width: min(1200px, 92%);
}

.logo-img {
  max-height: 64px;
}

.site-title {
  margin: 0 0 6px;
  font-family: "Francois One", sans-serif;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
  color: #fff;
}

.main-nav ul li a {
  padding: 6px 10px;
  border-radius: 6px;
}

.main-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.page-hero {
  padding: 50px 0 30px;
  background: linear-gradient(
    180deg,
    rgba(0, 123, 131, 0.08),
    rgba(0, 123, 131, 0)
  );
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  color: var(--color-dark);
}

main h1 {
  font-family: "Francois One", sans-serif;
  color: var(--color-primary);
  margin-top: 0;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 860px;
}

.section {
  padding: 36px 0;
}

.section-title {
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--color-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.card,
.service {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.service h3,
.card h3 {
  margin-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.cta-button {
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
}

.cta-button:hover {
  background-color: #00494f;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.contact-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.contact-info a {
  color: #0f172a;
}

.contact-info li {
  margin-bottom: 8px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-grid figure {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-grid figcaption {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.form-group {
  margin-bottom: 14px;
}

form label {
  font-weight: 600;
}

form input,
form textarea,
form select {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #cbd5f5;
  border-radius: 8px;
  font-family: inherit;
  background-color: #fff;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: 2px solid rgba(0, 123, 131, 0.25);
  border-color: var(--color-accent);
}

form input[type="submit"],
form button[type="submit"] {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

form input[type="submit"]:hover,
form button[type="submit"]:hover {
  background-color: #00494f;
}

.form-note {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.appointment-status {
  margin-top: 10px;
  font-weight: 600;
  color: var(--color-primary);
}

.social-links {
  margin-top: 12px;
  font-weight: 600;
}

.confirmation-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.confirmation-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

@media (max-width: 768px) {
  .site-title {
    font-size: 1.2rem;
  }
}
