@font-face {
  font-family: 'Myriad';
  src: url(fonts/Myriad\ VF\ Light\ Condensed.ttf);
}

@font-face {
  font-family: 'Myriad-italic';
  src: url(fonts/Myriad\ VF\ Light\ Condensed\ Italic.ttf);
}

html {
  scroll-behavior: smooth;
}

body {
    background-color: white;
    margin: 0px;
    font-family: 'Myriad-italic';
}

.topnav {
    position: sticky;
    top: 0;
    z-index: 999; /* Make sure it stays on top of other content */
    background-color: #687766;
    display: flex;
    align-items: center;
    gap: 30px;
    height: 50px;
    justify-content: center;
    padding: 0 20px;
}

.topnav a {
    text-decoration: none;
    position: relative;
    cursor: pointer;
    color: white;
    font-size: 22px;
    padding: 0.5rem 1rem;
    transition: color 0.25s;
}

.topnav a:hover::after {
    scale: 1 1;
}

.title {
    background-color: #687766;
    padding-bottom: 25px;
}

.topnav img {
    max-height: 50px;
    max-width: 50px;
}

.title img {
    display: block;
    margin: auto;
    width: 50%;
    transition: width 0.3s ease;
}

.title img:hover {
  width: 55%;
}

.wrapper{
    text-align: center;
}

.title button {
    font-family: 'Myriad-italic';
    background-color: white;
    border: none;
    color: #687766;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.4s;
    align-self: center;
}

.offer {
    padding: 100px 150px;
    float: left;
    background-color: #f3f3f3;
}

.text {
    float: left;
    width: 50%;
}

.slogan {
    border-radius: 15px;
    color: white;
    float: right;
    width:50%;
    text-align: center;
}

.slogan h2 {
    font-size: 35px;
    color: #687766;
}

.offer h1 {
    padding: 50px;
    font-size: 50px;
    text-align: center;
    color: #687766;
    margin: 0%;
}

.home-services {
  color: #687766;
  text-align: center;
  padding: 80px 20px;
  background-color: white;
  margin-top: 500px; /* Adjust the space above as needed */
}

.service-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* always 4 columns */
  gap: 30px;
  margin: 0 40px auto;
  padding-top: 40px;
}

/* Optional: make responsive for smaller screens */
@media (max-width: 1024px) {
  .service-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }
}

@media (max-width: 600px) {
  .service-container {
    grid-template-columns: 1fr; /* 1 column on small screens */
  }
}

.service-card {
  background: #fff;
  border-left: 5px solid #687766;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 50px;
  margin-bottom: 15px;
}

.service-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.learn-more {
  color: #687766;
  font-weight: bold;
  text-decoration: none;
}

.learn-more:hover {
  text-decoration: underline;
}

.badge {
  background-color: #687766;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  position: absolute;
  top: 15px;
  right: 15px;
}

.home-cta {
  color: #687766;
  margin-top: 60px;
}

.home-cta h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #687766;
}

.btn-primary {
  display: inline-block;
  background-color: #687766;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #4f5c4c;
}

.offer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center the items */
    gap: 40px; /* spacing between text and slogan */
    background-color: #f3f3f3;
    color: #687766;
    padding: 80px 10%;
    align-items: center; /* vertical alignment */
}

.offer .text,
.offer .slogan {
    flex: 1 1 45%;
    min-width: 280px;
}

.offer .text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.offer .text p {
  text-align: center;
    font-size: 20px;
    line-height: 1.6;
}

.offer .slogan {
    max-height: 200px;;
    background-color: white;
    border-radius: 15px;
    text-align: center;

    display: flex;           /* enable flexbox */
    flex-direction: column;  /* stack children vertically */
    justify-content: center; /* vertical centering */
    align-items: center;     /* horizontal centering */
    padding: 20px;          
}

.offer .slogan h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.offer .slogan-text {
    font-size: 18px;
    line-height: 1.5;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .offer {
        flex-direction: column;
        padding: 40px 20px;
    }

    .offer .text,
    .offer .slogan {
        flex: 1 1 100%;
    }

    .offer .text h1 {
        font-size: 36px;
    }

    .offer .slogan h2 {
        font-size: 28px;
    }
}

/*.home-services h1 {
    font-size: 50px;
    text-align: center;
    color:#687766;
    margin: 0%;
}

.home-services .container {
    display: grid;
}*/

.contact-container {
    padding: 100px 150px;
    overflow: hidden;
    background-color: #687766;
    width: 100%;

}

.emailform {
    text-align: center;
    color: white;
    width: 50%;
    float: right;
}

.emailform input {
    width: 50%;
}

.contact-hero {
    width: auto;
    padding-bottom: 15px;
    text-align: center;
    background-color: #687766;
}

.contact-hero h1 {
    font-size: 50px;
    color:white;
    margin: 0%;
}

.contact-hero p {
    font-size: 20px;
    color: white;
    margin: 0%;
}

.contact-hero img {
    display: block;
    margin: auto;
    padding: 0px;
    height: 100px
}

.info {
    padding: 20px;
    width: 25%;
    background-color: white;
    font-size: 20px;
    float: left;
    text-align: center;
    color: #687766;
    border-radius: 15px;;
}

.info h1 {
    font-size: 50px;
    color:#687766;
    margin: 0%;
}

.info .email {
  color: white;
}

.info a:hover {
  color: #ddd;
}

.about-title {
    text-align: center;
    font-size: 50px;
    color:#687766;
    margin: 0%;
}

.bk {
    background-color: #687766;
    text-align: left;
    color: white;
}

.oz {
    background-color: white;
    text-align: right;
    color: #687766;
}

.bk-container {
    display: flex;
    align-items: center;
    background-color: blue;
    scale: 0.25;
}

.bk-container img {
  margin: 0%;
}

/* Nav links */
.topnav a {
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.3s ease, color 0.3s ease;
}

.topnav a:hover {
  background-color: #4b5e4b; /* lighter green */
  border-radius: 6px;
}

/* Active link */
.topnav a.active {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown .dropbtn {
  font-size: 18px;
  font-family: 'Myriad-italic';
  border: none;
  outline: none;
  color: white;
  padding: 14px 20px;
  background-color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
}

/* Small arrow */
.dropdown .dropbtn::after {
  content: "▼";
  font-size: 12px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

/* Rotate arrow on hover */
.dropdown:hover .dropbtn::after {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
  z-index: 1;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #e6f0e6; /* soft green hover */
  color: #2e3b2e;
}

/* Show dropdown */
.dropdown:hover .dropdown-content {
  display: block;
}





/* chat gpt contact page fixes */
.contact-title {
    text-align: center;
    padding: 40px 20px;
}

.contact-title img {
    height: 100px;
    margin-bottom: 10px;
}

.contact-title h1 {
    font-size: 42px;
    color: #687766;
    margin: 0;
}

.contact-title p {
    font-size: 20px;
    color: #687766;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    background-color: #f3f3f3;
    padding: 60px 10%;
    color: white;
    width: auto;
}

.info {
    background-color: #687766;
    color: white;
    padding: 30px;
    border-radius: 15px;
    width: 350px;
    flex-shrink: 0;
    text-align: center;
    font-size: 18px;
}

.info h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.emailform {
  color: #687766;
    text-align: left;
    width: auto;
}

.emailform input,
.emailform textarea {
    background-color: white;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    resize: none;
}

.emailform input[type="submit"],
.emailform input[type="reset"] {
    background-color: #687766;
    color: white;
    border: 2px solid #687766;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.emailform input[type="submit"]:hover,
.emailform input[type="reset"]:hover {
    background-color: white;
    color: #687766;
}

.reviews-section {
    background-color: #f9f9f9;
    padding: 80px 10% 60px;
    text-align: center;
}

.reviews-section h2 {
    font-size: 42px;
    color: #687766;
    margin-bottom: 40px;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.review {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 350px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-style: italic;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.review h4 {
    margin-top: 20px;
    font-style: normal;
    color: #687766;
    font-weight: bold;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .review {
        width: 90%;
    }
}

/* Portfolio Hero */
.portfolio-hero {
    text-align: center;
    padding: 80px 20px 40px;
    background-color: #687766;
}

.portfolio-hero h1 {
    font-size: 72px;
    color: white;
    margin-bottom: 10px;
}

.portfolio-hero p {
    font-size: 20px;
    color: white;
}

/* About Hero */
.about-hero {
    text-align: center;
    padding: 20px 40px;
    background-color: #687766;
}

.about-hero h1 {
    font-size: 72px;
    color: white;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 20px;
    color: white;
}


/* Portfolio Grid */
.project-card {
    display: flex; /* allows side-by-side layout */
    flex-direction: row; /* video on left, info on right */
    background-color: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: left; /* align text to left */
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card video {
    width: 50%; /* adjust as needed */
    height: auto;
    object-fit: cover;
}

.project-card .project-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertically center content */
}

.project-card .project-content h3 {
    font-size: 24px;
    margin: 0 0 10px;
    color: #687766;
}

.project-card .project-content p {
    font-size: 16px;
    color: #444;
}

.about-header {
  background-color: white;
  text-align: center;
  padding: 20px 40px 80px;
}

.about-header h2 {
  font-size: 48px;
  color: #687766;
  margin-bottom: 20px;
}

.about-header p {
  font-size: 22px;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
}

.team-section {
  padding: 60px 10%;
  background-color: #f3f3f3;
  text-align: center;
}

.team-section h2 {
  font-size: 36px;
  color: #687766;
  margin-bottom: 40px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.team-member {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.team-member h3 {
  font-size: 24px;
  color: #687766;
  margin-bottom: 5px;
}

.team-member p {
  font-size: 18px;
  color: #444;
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .about-header h1 {
    font-size: 36px;
  }

  .team-member {
    width: 90%;
  }
}

.site-footer {
  background-color: #687766;
  color: white;
  padding: 60px 10% 20px;
  font-size: 16px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 30px;
}

.footer-section {
  flex: 1 1 200px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: white;
}

.footer-section a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ddd;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #ccc;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-section a {
    margin: 5px 0;
  }
}


.service-detail {
  max-width: 1000px;
  margin: 60px auto 80px;
  padding: 0 20px;
  color: #333;
}

.service-detail h1 {
  font-size: 42px;
  color: #687766;
  text-align: center;
  margin-bottom: 20px;
}

.service-detail .service-intro {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
  color: #555;
}

.service-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.service-image {
  flex: 1 1 40%;
  min-width: 300px;
}

.service-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-description {
  flex: 1 1 55%;
  min-width: 300px;
}

.service-description h2 {
  font-size: 28px;
  color: #687766;
  margin-bottom: 15px;
}

.service-description ul {
  list-style: disc inside;
  margin-bottom: 30px;
  font-size: 16px;
  color: #444;
}

.service-description p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #555;
}

.btn-primary {
  display: inline-block;
  background-color: #687766;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #546358;
}

/* Responsive */
@media (max-width: 768px) {
  .service-content {
    flex-direction: column;
  }

  .service-description, 
  .service-image {
    flex: 1 1 100%;
  }
}

.btn-secondary, .btn-tertiary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-secondary {
  background-color: #687766;
  color: white;
  margin-bottom: 50px;
}

.btn-secondary:hover {
  background-color: #546358;
}

.services-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn-tertiary {
  background-color: #687766;
  color: white;
}

.btn-tertiary:hover {
  background-color: #546358;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-items, .services-links {
    flex-direction: column;
    align-items: center;
  }
  .portfolio-item, .btn-tertiary {
    width: 80%;
    max-width: 320px;
  }
}

.our-process {
  
  padding: 20px 20px;
  text-align: center;
  background-color: #f3f3f3;
}

.our-process h2 {
  color: #687766;
  font-size: 36px;
  margin-bottom: 10px;
}

.process-intro {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 50px;
}

.step {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step h3 {
  color: #687766;
  font-size: 20px;
  margin-bottom: 10px;
}

.step p {
  font-size: 16px;
  color: #333;
}

.faq-page {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.faq-page h1 {
  font-size: 42px;
  color: #687766;
  text-align: center;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Updated .faq-item (remove width: 50%) */
.faq-item {
  background-color: #f9f9f9;
  border-left: 5px solid #687766;
  border-radius: 8px;
  padding: 20px 25px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-item h2 {
  text-align: center;
  font-size: 22px;
  color: #687766;
  margin-bottom: 10px;
}

.faq-item p {
  text-align: center;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-page h1 {
    font-size: 32px;
  }

  .faq-item h2 {
    font-size: 20px;
  }

  .faq-item p {
    font-size: 15px;
  }
}

/* Showcase Section */


/* Design Partner Section */
.design-partner {
  padding: 80px 10%;
  background-color: #f9f9f9;
  text-align: center;
}

.design-partner h2 {
  color: #687766;
  font-size: 36px;
  margin-bottom: 20px;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.design-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

.design-card:hover {
  transform: translateY(-5px);
}

.design-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.design-card h3 {
  color: #687766;
  margin: 15px 20px 8px;
}

.design-card p {
  color: #555;
  margin: 0 20px 20px;
  font-size: 15px;
}

.portfolio-showcase {
  padding: 80px 10%;
  background-color: #fff;
  text-align: center;
}

.portfolio-showcase h2 {
  font-size: 36px;
  color: #687766;
  margin-bottom: 10px;
}

.portfolio-showcase p {
  font-size: 18px;
  color: #444;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.project {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 100px;
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.project-image {
  flex: 1 1 50%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  flex: 1 1 50%;
  padding: 40px;
  text-align: left;
}

.project-content h3 {
  font-size: 28px;
  color: #687766;
  margin-bottom: 15px;
}

.project-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23687766"><circle cx="6" cy="6" r="6"/></svg>') no-repeat left center;
  background-size: 10px;
  padding-left: 20px;
  margin-bottom: 10px;
}

.btn-primary {
  background-color: #687766;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #546358;
}

@media (max-width: 900px) {
  .project {
    flex-direction: column;
  }
  .project-content {
    text-align: center;
  }
}

.project-video {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .project {
  max-height: 600px;
  display: flex;
  flex-wrap: nowrap; /* keep video and content side by side */
  align-items: center;
  margin-bottom: 100px;
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.project-image,
.project-video {
  flex: 1 1 50%;
  max-width: 50%;
}

.project-video {
  scale: 50%;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-content {
  flex: 1 1 50%;
  padding: 40px;
  text-align: left;
}

.project-content h3 {
    font-size: 32px;          /* bigger than current 28px */
    font-weight: 700;         /* makes it bolder */
    color: #4a5a45;           /* slightly richer green for contrast */
    margin-bottom: 20px;      /* more breathing room */
    line-height: 1.2;         /* tighter line height looks crisp */
}
.project-content p {
    font-size: 18px;          /* larger than 16px */
    color: #333;              /* dark but not black, easier on eyes */
    line-height: 1.8;         /* more space between lines */
    margin-bottom: 25px;      /* more spacing between sections */
}
.features li {
    font-size: 16px;          /* slightly bigger for readability */
    color: #555;              /* softer than paragraph text */
    padding-left: 25px;       /* adjust for icon spacing */
    margin-bottom: 12px;      /* more breathing room */
}

@media (max-width: 900px) {
  .project {
    flex-direction: column; /* stack video and content on small screens */
  }
  .project-content {
    text-align: center;
    padding: 20px;
  }
  .project-video {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

.portfolio-preview, .other-services {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}


.portfolio-preview h2,
.other-services h2 {
  color: #687766;
  font-size: 36px;
  margin-bottom: 20px;
}


.portfolio-preview p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
}

.portfolio-items {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}


.portfolio-item {
  background: #f3f3f3;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 280px;
  padding: 20px;
  color: #333;
  transition: transform 0.3s ease;
}


.portfolio-item:hover {
  transform: translateY(-5px);
}


.portfolio-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}


.portfolio-item h3 {
  margin-bottom: 10px;
  color: #687766;
}

.hero-buttons .btn-secondary{
  font-family: 'Myriad-italic';
  background-color: white;
  border: none;
  color: #687766;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition-duration: 0.4s;
  align-self: center;
}

.hero-buttons {
    display: flex;
    justify-content: center; /* center buttons horizontally */
    gap: 40px; /* controls the space between buttons */
}

.contact-container .btn-secondary{
  font-family: 'Myriad-italic';
  background-color: white;
  border: none;
  color: #687766;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition-duration: 0.4s;
  align-self: center;
}

.info img {
    max-width: 100%;      /* ensures it doesn’t overflow the box */
    height: auto;         /* maintain aspect ratio */
    margin-bottom: 20px;  /* space between logo and heading */
    display: block;       /* removes inline spacing */
    margin-left: auto;    /* center horizontally */
    margin-right: auto;   /* center horizontally */
}

/* ===============================
   MOBILE RESPONSIVE
   Applies to screens 768px and smaller
   =============================== */
@media (max-width: 768px) {

  /* NAVIGATION */
  .topnav {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 10px 0;
  }

  .topnav a {
    font-size: 16px;
    padding: 10px 15px;
  }

  .dropdown .dropbtn {
    font-size: 16px;
    padding: 10px 15px;
  }

  /* HERO / OFFER SECTION */
  .offer {
    flex-direction: column;
    padding: 40px 10px;
  }

  .offer .text,
  .offer .slogan {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .offer .text h1 {
    font-size: 2.5rem;
  }

  .offer .text p,
  .offer .slogan-text {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }

  .offer .slogan h2 {
    font-size: 1.8rem;
  }

  /* PROJECT CARDS / PORTFOLIO */
  .project {
    flex-direction: column;
    max-height: none;
    margin-bottom: 50px;
  }

  .project-video,
  .project-image {
    flex: 1 1 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .project-content {
    padding: 20px;
    text-align: center;
  }

  .project-content h3 {
    font-size: 1.8rem;
  }

  .project-content p,
  .features li {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* SERVICES */
  .service-container,
  .design-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .service-content {
    flex-direction: column;
  }

  .service-description,
  .service-image {
    flex: 1 1 100%;
  }

  .service-description h2 {
    font-size: 1.5rem;
  }

  .service-description p,
  .service-description ul {
    font-size: 1rem;
  }

  /* TEAM SECTION */
  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    width: 90%;
    padding: 20px;
  }

  .team-member img {
    height: auto;
  }

  .team-member h3 {
    font-size: 1.5rem;
  }

  .team-member p {
    font-size: 1rem;
  }

  /* CONTACT / EMAIL FORM */
  .contact-container {
    flex-direction: column;
    padding: 40px 10px;
  }

  .emailform {
    width: 100%;
    text-align: center;
  }

  .emailform input,
  .emailform textarea {
    width: 100%;
    font-size: 1rem;
  }

  .emailform input[type="submit"],
  .emailform input[type="reset"] {
    width: 80%;
    padding: 10px 0;
    font-size: 1rem;
  }

  /* FOOTER */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-section a {
    margin: 5px 0;
  }

  /* REVIEWS */
  .reviews-container {
    flex-direction: column;
    align-items: center;
  }

  .review {
    width: 90%;
    font-size: 1rem;
  }

  /* FAQ */
  .faq-item h2 {
    font-size: 1.2rem;
  }

  .faq-item p {
    font-size: 0.95rem;
  }

  /* BUTTONS */
  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .portfolio-items,
  .services-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .portfolio-item,
  .btn-tertiary {
    width: 80%;
    max-width: 320px;
  }

  /* HERO / TITLE IMAGES */
  .title img,
  .contact-title img {
    width: 80%;
    max-width: 250px;
    height: auto;
  }

}

/* ---- MOBILE NAVBAR FIX ---- */
@media (max-width: 768px) {

  .topnav {
    display: flex;
    flex-direction: row;        /* keep items in a line */
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  .topnav a,
  .dropdown .dropbtn {
    display: inline-block;
    padding: 10px;
    font-size: 16px;
    text-align: center;
  }

  .dropdown-content {
    position: absolute;        /* keep dropdown functioning normally */
    left: 0;
    right: 0;
  }

  /* Remove vertical stacking */
  .topnav * {
    width: auto !important;
  }
}

