@font-face {
  font-family: "Montreal Regular";
  src: url(./fonts/Montreal-Regular.woff);
}
@font-face {
  font-family: "Montreal Bold";
  src: url(./fonts/Montreal-Bold.woff);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montreal Regular";
  text-decoration: none;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: rgb(232 232 227/1);
  scroll-behavior: smooth;
}

/* Navbar */
header.navbar {
  position: fixed; /* Keeps navbar visible */
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgb(232, 232, 227);
  z-index: 1000;
  padding-left: clamp(2rem, 2vw, 3rem);
  padding-right: clamp(2rem, 2vw, 3rem);
  border-bottom: 1px solid #ccc;
}

header .logo-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header .logo-left h2 {
  font-family: "Montreal Bold";
  font-size: 1.5rem;
}

header .logo-left p {
  color: #6b645c;
  font-size: 0.95rem;
}

header .menu {
  display: flex;
  gap: 2rem;
}

header .menu a {
  color: #6b645c;
  font-weight: 500;
  transition: color 0.3s ease;
}

header .menu a:hover {
  color: #000;
}

/* Main Wrapper */
#main {
  width: 100%;
  padding-top: 80px; /* Prevent hero content hiding behind fixed navbar */
}

/* Hero Section */
#page {
  width: 100%;
  min-height: 100vh;
  padding: 4rem 2rem;
}

#page .top {
  margin-top: 2rem; /* Push hero heading downward for visibility */
}

#page .top h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.3;
  font-family: "Montreal Bold";
  margin-bottom: 2rem;
}

/* Hero Bottom Layout */
#page .bottom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

#page .bottom .left {
  grid-column: span 4;
}

#page .bottom .left p {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 2rem;
}

#page .bottom .left button {
  background-color: rgb(57 54 50 / 1);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#page .bottom .left button:hover {
  background-color: rgb(140 140 115/1);
}

#page .bottom .middle {
  grid-column: span 4;
  display: flex;
  justify-content: center;
}

#page .bottom .middle img {
  width: 100%;
  max-width: 250px;
  border-radius: 1rem;
  object-fit: cover;
  transition: filter 0.3s ease;
}

#page .bottom .middle img:hover {
  /* No grayscale effect on hover */
}

#page .bottom .right {
  grid-column: span 4;
  text-align: right;
}

#page .bottom .right p {
  color: #6b645c;
  text-transform: uppercase;
  font-size: 0.9rem;
}

#page .bottom .right h2 {
  font-size: 3rem;
  font-weight: bold;
}

/* Section Styles (Offer, Projects, About, Contact) */
.section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.section h2 {
  font-size: 2.5rem;
  font-family: "Montreal Bold";
  margin-bottom: 2rem;
  color: #222;
}

.section h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

/* Lists for Certifications */
.section ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.section ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Contact Links */
#contact a {
  color: #0066cc;
  font-weight: 600;
}

#contact a:hover {
  text-decoration: underline;
}

/* Download Button */
.download-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: #393632;
  color: #fff;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #8c8c73;
}
