/* Global Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { font-size: 100%; } /* base 16px */
body {
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
}
.home {
  padding: 20px;
  border-radius: 30px;
  color: white;
  background-color: rgb(78, 75, 75);
  
  transition: all 0.3s ease-in-out;
  animation: pulse 2s infinite;
}

.home:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); /* Glow effect */
  background-color: rgb(218, 173, 28); /* Slightly lighter black */
  color: black;
}

/* Pulse Animation Keyframes */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
/* ========== Navbar ========== */
/* Navbar container */
/* Base navbar */
/* Navbar base */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 100;
}

/* Logo block */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  width: 102px;
  height: 102px;
  align-items: center;
}
.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #444;
}
.logo-text strong {
  color: #c58c0f; /* golden color */
}

/* Navigation links */
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
nav a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #000;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
  }

  .navbar.expanded nav {
    display: flex;
  }
}


/* ========== Background & Title ========== */
.outer {
  width: 100%;
  padding-top: 1px;
  min-height: 100vh;
  background: url('8.jpg') center/cover no-repeat;
}
.inner {
  margin: 12.5rem auto 0;
  width: calc(100% - 2rem);
  max-width: 1300px;
}
.portfolio {
  color: #fff;
  font-size: 4.375rem;
  text-align: center;
  margin: 2rem 0;
  margin-bottom: -210px;
}

/* ========== Layout ========== */
.container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  min-height: 100vh;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  animation: fadeIn 0.8s ease-in;
}

/* Sidebar */
.sidebar {
  background: #c58c0f;
  color: #fff;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 3px solid #fff;
}
.sidebar img {
  width: 6.25rem;
  height: 6.25rem;
  border-radius: 45%;
  object-fit: fill;
  margin-bottom: 1.25rem;
  border: 0.25rem solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.sidebar h1 {
  font-size: 1.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 0.625rem;
}
.experience {
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
}
.contact-info {
  width: 100%;
}
.contact-item {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  padding: 0.625rem;
  border-radius: 8px;
  margin-top: 0.9375rem;
  transition: background 0.3s;
}
.contact-item:hover {
  background: rgba(255,255,255,0.2);
}
.contact-item span {
  display: inline-block;
  width: 1.5625rem;
  font-size: 1.2em;
  margin-right: 0.75rem;
  text-align: center;
}

/* Content */
.content {
  padding: 1.875rem 1.25rem;
}
.content h2 {
  font-size: 1.6rem;
  font-weight: 300;
  color: #c58c0f;
  border-bottom: 0.1875rem solid #c58c0f;
  margin-bottom: 0.9375rem;
  padding-bottom: 0.625rem;
}
.intro-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.875rem;
}
.section h3 {
  font-size: 1.375rem;
  font-weight: 500;
  color: #c58c0f;
  position: relative;
  margin-bottom: 0.9375rem;
}
.section h3::after {
  content: "";
  position: absolute;
  bottom: -0.3125rem;
  left: 0;
  width: 3.125rem;
  height: 0.125rem;
  background: #c58c0f;
}
.bio p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  text-align: justify;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.875rem 0;
}
.stat-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: #f8f9fa;
  padding: 1.25rem;
  border-left: 0.25rem solid #c58c0f;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-item:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.1);
}
.stat-item span {
  font-size: 1.5em;
}
.stat-item div {
  font-size: 1rem;
  color: #333;
}

/* Form */
.appointment {
  background: #f8f9fa;
  padding: 1.5625rem;
  border: 1px solid #e9ecef;
  border-radius: 10px;
}
.appointment h3 {
  font-size: 1.375rem;
  margin-bottom: 0.9375rem;
  color: #000;
}
.appointment .form-group {
  margin-bottom: 0.9375rem;
}
.appointment label {
  font-weight: 500;
  margin-bottom: 0.3125rem;
  color: #333;
}
.appointment input,
.appointment textarea {
  width: 100%;
  padding: 0.75rem 0.9375rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.appointment input:focus,
.appointment textarea:focus {
  border-color: #8B4513;
  box-shadow: 0 0 0 0.1875rem rgba(139,69,19,0.1);
}
.appointment textarea {
  min-height: 6.25rem;
  resize: vertical;
}
.appointment button {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5625rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.625rem;
  transition: all 0.3s;
}
.btn-secondary {
  background: #c58c0f;
  color: #fff;
}
.btn-secondary:hover {
  background: linear-gradient(135deg, #495057, #6c757d);
}
button[type="submit"] {
  background: #c58c0f;
  color: #fff;
}
button[type="submit"]:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(139,69,19,0.3);
}
/* Base button styling */
.Visit {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #c58c0f;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

/* Hover & active states */
.Visit:hover,
.Visit:focus {
  background-color: #b07e0e;
  outline: none;
}

.Visit:active {
  background-color: #9a6b0d;
  transform: scale(0.98);
}

/* Optional: full-width on mobile */
@media (max-width: 480px) {
  .Visit {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}


/* Utilities */
img { max-width: 100%; height: auto; display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Media Queries ========== */
/* Breakpoints based on layout needs, not devices :contentReference[oaicite:1]{index=1} */

/* ≥600px – show nav, signup; enlarge logo */
@media screen and (min-width: 600px) {
  .navbar nav,
  .navbar .signup {
    display: flex;
  }
  .navbar .hamburger { display: none; }
  .logo-img { width: 8vw; }
  .content h2 { font-size: 2rem; }
}

/* ≥768px – switch to row layout */
@media screen and (min-width: 768px) {
  .container { flex-direction: row; }
  .sidebar { flex: 0 0 35%; padding: 2rem; }
  .content { flex: 1; padding: 2rem; }
  .logo-img { width: 6vw; }
}

/* ≥1024px – desktop refinements */
@media screen and (min-width: 1024px) {
  .sidebar img { width: 11.25rem; height: 11.25rem; }
  /* .portfolio { font-size: 70px; } */
}

/* ≥1200px – ultra-wide screens */
@media screen and (min-width: 1200px) {
  .logo-img { width: 6vw; }
}

/* ≤1024px – adjust spacing */
@media screen and (max-width: 1024px) {
  .sidebar { flex: 0 0 40%; padding: 1.25rem; }
  .content { padding: 1.25rem; }
  .stats { gap: 1rem; }
}

/* ≤768px – mobile enhancements */
@media screen and (max-width: 768px) {
  .container { flex-direction: column; }
  .sidebar, .content { width: 100%; }
  .content h2 { font-size: 1.8rem; }
  .stat-item { padding: 1rem; }
}

/* ≤480px – small phones */
@media screen and (max-width: 480px) {
  .sidebar img { width: 6.25rem; height: 6.25rem; }
  .sidebar h1 { font-size: 1.5rem; }
  .content h2 { font-size: 1.6rem; }
  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 0.75rem;
  }
  .contact-item span { margin-bottom: 0.3125rem; }
  .stats { grid-template-columns: 1fr; gap: 0.625rem; }
}
/* Large screens (desktops ≥ 1200px) */
@media (max-width: 1200px) {
  .portfolio {
    font-size: 3.75rem; /* ~60px */
    margin-bottom: -180px;
  }
}

/* Medium screens (tablets ≤ 992px) */
@media (max-width: 992px) {
  .portfolio {
    font-size: 3rem; /* ~48px */
    margin-bottom: -150px;
  }
}

/* Small tablets & large phones (≤ 768px) */
@media (max-width: 768px) {
  .portfolio {
    font-size: 2.25rem; /* ~36px */
    margin-bottom: -200px;
  }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
  .portfolio {
    font-size: 1.75rem; /* ~28px */
    margin-bottom: -200px;
  }
}

/* Extra small devices (≤ 360px) */
@media (max-width: 360px) {
  .portfolio {
    font-size: 1.5rem; /* ~24px */
    margin-bottom: -200px;
  }
}
