@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400&display=swap");

/* base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #fff;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

ul {
  list-style: none;
  color: #fff;
}

a {
  text-decoration: none;
}

p {
  color: #21274a;
  font-size: 1.2rem;
}

h2 {
  color: #21274a;
  line-height: 1.4;
}

h1 {
  font-size: 4rem;
  margin-bottom: 16px;
}

img {
  max-width: 100%;
}
/* Navbar styles */

header {
  min-width: 100vw;
}

.navbar.top {
  min-width: 100vw;
  height: 60px;
  display: flex;
  align-items: center;
  background-color: transparent;
  position: fixed;
  top: 0;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.logo {
  color: #3cb4ac;
  font-size: 2.4rem;
  margin: 0;
  font-weight: 400;
  letter-spacing: 1.2px;
}

.logo:hover {
  cursor: pointer;
  font-weight: 500;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

nav li {
  display: flex;
}

.navbar a {
  padding: 10px 10px;
  margin: 0 5px;
  font-weight: 300;
  font-size: 1rem;
  text-transform: uppercase;
  /* letter-spacing: 1px; */
  color: #fff;
}

.navbar a:hover {
  border-bottom: 1px solid #3cb4ac;
  opacity: 0.8;
  color: #3cb4ac;
}

.navbar.top a {
  color: #fff;
  transition: color 0.3s;
}

/* Navbar with background when scrolled */
.navbar.top.nav-colored {
  background: linear-gradient(90deg, #11b5d6, #5793c7, #d395e8);
  height: 70px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.top.nav-colored a {
  color: #ffffff;
  font-weight: 300;
  font-size: 1rem;
}

.navbar.top.nav-colored .logo {
  color: #ffffff;
}

/* Hide navbar when scroll stops */
.navbar.top.nav-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* HOME SECTION HERE */
.home-section,
.contact-section {
  display: flex;
  width: 100%;
  height: 100vh; /* or any height you want */
}

.home-column {
  width: 50vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
}
.home-content-inner {
  max-width: 600px;
  width: 100%;
  padding: 32px;
  box-sizing: border-box;
  text-align: start;
}

.home-content {
  margin-bottom: 2.4rem;
}
.home-content p {
  text-align: start;
  font-size: 1.5rem;
}
.btn {
  cursor: pointer;
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
}
.btn-primary:hover {
  opacity: 0.8;
  background: linear-gradient(90deg, #11b5d6, #5793c7, #d395e8);
}
.btn-primary.fas:hover {
  color: #fff;
}
.btn-primary {
  color: #21274a;
  /* color: #fff; */
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  /* background: linear-gradient(to right, #3cb4ac, #8dd0fc ); */
  background: linear-gradient(to right, #3cb4ac, #8dd0fc);
}

.hero-img {
  min-height: 420px;
  height: 100%;
  max-width: 100%;
  background: url("../img/ppk-2.jpg") no-repeat center center/cover;
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
  pointer-events: none; /* Allows clicks to pass through if needed */
  /* z-index: -1; */
}
/* --- Other sections below --- */

/* ************* GENERIC HEADER SECTION) *************/
.header-section {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 20vh;
  min-height: 160px;
  max-width: 1200px;
  margin: 2rem auto 0 auto;
  background: transparent;
  padding: 0 30px;
  box-sizing: border-box;
}

.header-column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  height: 100%;
}

.header-column-30 {
  flex: 0 0 30%;
  max-width: 30%;
  text-align: start;
}

.header-column-70 {
  flex: 0 0 70%;
  max-width: 70%;
}

.header-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-title h2 {
  margin-bottom: 8px;
}

.hr-left {
  width: 60px;
  border: none;
  margin: 0;
}

h2 {
  font-size: 2rem;
}
/* Wrapper for the header hr styling */
.header-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hr-left {
  background: linear-gradient(to right, #11b5d6, #046fda, #11b5d6);
  width: 120%;
  height: 6px;
}

/************* Content container  **************/
.content-container {
  max-width: 1200px;
  margin: 2rem auto 0 auto;
  padding: 20px;
  background-color: #fff;
  /* height: 100vh; */
  text-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* CARDS styling */
.card {
  display: flex;
  align-items: flex-start;
  padding: 20px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #f4f4f4;
  margin-bottom: 2rem;
  background: #fff;
  width: 100%;
  max-width: 900px;
  height: 500px;
}

.card-container-1 {
  max-width: 280px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 32px;
  flex-shrink: 0;
  border-radius: 4%;
  background: linear-gradient(
    to top,
    #fff,
    #67d5db 
  ); /* gradient from blue to white */
}
.card-container-2 {
  max-width: 280px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 32px;
  flex-shrink: 0;
  border-radius: 4%;
  background: linear-gradient(
    to top,
    #fff,
    #23d2f5 
  ); /* gradient from blue to white */
}

.card-container img {
  width: 80%;
  padding: 6px;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  display: block;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  height: 100%;
  max-width: 100%;
}

.card-content h3 {
  text-align: center;
  margin: 0 0 16px 0;
  font-size: 2rem;
  background: linear-gradient(90deg, #11b5d6, #5793c7, #d395e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/********** About Me Header ***********/
.about-me-section {
  /* flex-direction: row-reverse; */
  height: 20vh;
  width: 100%;
  margin: auto; /* Full viewport height */
}

/********** About Me Content ***********/
.about-me-content {
  display: flex;
  width: 100vw;
  height: 80vh;
  
}

.about-me-image.hero-img {
  width: 50vw;
  /* height: 100%; */
  background: url("../img/ppk-3.jpg") no-repeat center center/cover;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.about-me-image.hero-img .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.about-me-column.about-me-bio {
  width: 50vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  min-height: 400px;
}
.about-me-bio {
  padding: 20px;
  text-align: start;
}
.about-me-bio h3,
.contact-column-content h3{
  padding: 20px;
  text-align: center;
  font-size: 2rem;
  color: #fff;
  /* margin-bottom: 20px; */
}
.about-me-bio p {
  font-size: 1.2rem;
  line-height: 1.6;
  padding: 12px 20px;
  color: #fff;
}

/* Clients Section */
.clients-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers h2 horizontally */
  justify-content: center;
  width: 100%;
  height: 600px;
  padding: 40px 0;
}

.clients-container h2 {
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}

.clients-cards {
  display: flex;
  flex-direction: row;
  gap: 24px; /* space between testimonial cards */
  justify-content: center;
  width: 100%;
  min-height: 400px;
}

/* Make client-card position relative for absolute positioning of logo */
.client-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 2.5rem 0.8rem 0.8rem 0.8rem;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  text-align: left;
  margin-top: 32px;
}

.client-card blockquote {
  margin-top: auto;
  font-size: 1rem;
  color: #888;
  font-weight: 500;
  border-left: 3px solid #11b5d6;
  padding-left: 12px;
  margin-bottom: 0;
}

/* Center and overlap the logo at the top */
.logo-card {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3cb4ac;
  border-radius: 50%;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  z-index: 2;
}

.logo-card i {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
  background: none;
  padding: 0;
}
p.quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  padding: 0.8rem;
  color: #21274a;
  
}

/********** Contact Me Header ***********/
.contact-me-section {
  display: flex;
  height: 20vh;
  background-color: transparent;
  margin: auto;
}

/********** Contact Me Content ***********/
.contact-me-content {
  display: flex;
  width: 100vw;
  justify-content: center;
  align-items: center; /* align to top */
  gap: 0; /* space between columns */
  flex-direction: column;
}

.contact-column {
  width: 100vw;
  height: 100%;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
}
.form-container {
  display: flex;
  justify-content: flex-start;
  /* align-items: center; */
  flex-direction: column;
  width: 100%;
  margin: 1rem auto;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #f4f4f4;
  background: transparent;
  max-width: 500px;
  max-height: 660px;
}
.contact-column h2 {
  text-align: center;
  background: linear-gradient(90deg, #11b5d6, #5793c7, #d395e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin: 2rem auto;
  font-size: 2.4rem;
}

.contact-column-content {
  height: 100%;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  min-height: 300px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin: 0.5rem auto;
  width: 90%;
}

.form-group label {
  font-size: 1.2rem;
  display: block;
  color: #21274a;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid #e3dddd;
  border-radius: 6px;
  font-size: 1.2rem;
  background: #fff;
  color: #21274a;
  transition: border-color 0.2s;
}
.form-group textarea {
  height: 100px;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #11b5d6;
  outline: none;
  background: #fff;
}

.form-group button {
  width: 100%;
  padding: 14px 6px;
  align-self: center;
  color: #fff;
  margin: 1rem auto 2rem auto;
  font-size: 1.2rem;
  border-radius: 20px;
}

.form-group button:hover {
  opacity: 0.8;
  background: linear-gradient(90deg, #11b5d6, #5793c7, #d395e8);
}


/* 
/* Media Queries */

/************************************/
@media(max-width: 768px) {
  
 img {
    width: 100%;
    height: 100%;
  }
 /* Mobile navbar scrolling behavior */
  /* Mobile navbar - default state */
  .navbar.top {
    flex-direction: column; /* Change from column to row */
    align-items: center;
    height: auto; /* Fixed height */
    min-height: 50px;
    padding: 8px 4px;
    transition: all 0.3s ease;
  }
  
  .container {
    display: flex;
    flex-direction: column; /* Keep row layout */
    align-items: center;
    justify-content: center; /* Space between logo and nav */
    width: 100%;
    padding: 0 4px;
  }
  
  /* Make logo smaller and show only "Yes" */
 .logo {
    font-size:2rem;
    white-space: nowrap;
    width: auto;
    overflow: visible;
  }
  
  
  
   /* HIDE navigation links by default on mobile */
  nav {
    display: none; /* Hide entire nav section initially */
    width: 100%;
    justify-content: center;
  }
  
   nav ul {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li a {
    display: block;
    font-size: 0.8rem;
    padding: 4px 6px;
    text-transform: uppercase;
    white-space: nowrap;
  }
  
 /* Mobile navbar with background when scrolled - SHOW nav links */
  .navbar.top.nav-colored {
    background: linear-gradient(90deg, #11b5d6, #5793c7, #d395e8);
    min-height: 80px; /* Bigger when nav is visible */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  /* SHOW navigation when scrolled - but HIDE the logo */
  .navbar.top.nav-colored nav {
    display: flex;
    width: 100%;
    justify-content: center;
    order: 1; /* Nav takes priority */
  }

  /* HIDE logo when scrolled */
  .navbar.top.nav-colored .logo {
    display: none; /* Hide logo completely when nav is visible */
  }

  /* Fix container layout when scrolled */
  .navbar.top.nav-colored .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Add gap between logo and nav */
    padding: 8px 4px;
  }

  .navbar.top.nav-colored a {
    color: #ffffff;
    font-weight: 300;
    font-size: 1rem;
  }

  /* SHOW navigation when scrolled */
  .navbar.top.nav-colored nav {
    display: flex;
    width: 100%;
    justify-content: center;
    order: 2; /* Put nav below logo */
  }

  /* Mobile logo color change and positioning */
  .navbar.top.nav-colored .logo {
    color: #ffffff;
    font-size: 1.6rem; /* Slightly smaller when nav is visible */
  }

  /* Hide navbar when scroll stops on mobile */
  .navbar.top.nav-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  
 
/* Home Column Wrapper */
  .home-section {
    display: flex;
    flex-direction: column-reverse;
    margin: 0 auto;
    width: 100vw;
    height: 100%;         
    min-height: 440px;
  
  }
  .home-column {
    width: 100%;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .home-column.hero-img,
  .about-me-image.hero-img {
    width: 100%;
    height: 40vh;
  }

.about-me-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .about-me-column.about-me-bio {
    width: 100%;
    height:100%;
  }

.card {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin-bottom: 100px;
    height: 100%;
  }
 
  .card-container-1, 
  .card-container-2 {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    height: 200px;
    object-fit: cover;
  }
  .card-content {
    width: 100%;
    height: 100%;
    padding: 20px;
  }
  .card-content p {
    font-size: 1rem;
    text-align: start;
  }
   
/* Home Content, Text and Button */
  .home-content-inner {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: 30vh;
    margin: 1rem auto;
    text-align: start;
  } 
  .home-content,h1 {
    font-size: 2.2rem;
    text-align: center;
  }
  .home-content, h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .home-content, p {
    font-size: 1rem;
    text-align: center;
  }
  .btn {
    width: 80%;
    padding: 12px;
    font-size: 1.2rem;
    text-align: center;
    margin: 1.5rem auto;
  }
  
  .header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
    padding: 20px 0;
    text-align: center;
  }
  .header-column {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .header-column-30,
  .header-column-70 {
    width: 80%;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .services-section .about-me-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .card-container-1 img,
  .card-container-2 img {
    max-width: 200px;
    max-height: 200px;
  }
  .clients-container {
    height: 100%;
    width: 100%;
  }
  .clients-container p {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: start;
  }
  .clients-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 1rem auto
  }
  .form-container {
    width: 90%;
    max-width: 500px;
    margin: 1rem auto;
    padding: 16px;
    box-sizing: border-box;
  }
  .contact-column-content {
    width: 100%;
    height: 100%
  }
} 