* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.875rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}
p,
a,
li {
  font-size: 1rem;
  line-height: 1.625rem;
  font-family: "Poppins", sans-serif;
  color: var(--color-text-grey);
}
p {
   margin: 1rem 0;
}
:root {
  --color-theme-black: #000;
  --color-text-grey: #444;
  --color-text-white: #fff;
}
.logo {
  background:#12171B;
}

/* 3-column grid: [empty] [centered logo] [phone on right] */
.logo-bar{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  padding:16px 20px;
}

/* center the logo in the middle column */
.logo-img{
  grid-column:2;
  justify-self:center;
}
.logo-img img{
  max-width:250px;
  width:100%;
  height:auto;
  display:block;
}

/* phone sits in the right column */
.logo-phone{
  grid-column:3;
  justify-self:end;
}
.logo-phone a{
  color:#fff;                  /* adjust if background changes */
  font-size:18px;
  font-weight:600;
  text-decoration:none;
}
.logo-phone a:hover{
  text-decoration:underline;
}
@media (max-width: 768px) {
  .logo-bar {
    grid-template-columns: 1fr;   /* single column layout */
    text-align: center;
  }
  .logo-img {
    grid-column: 1;
    justify-self: center;
    margin-bottom: 8px;          /* gap below logo */
  }
  .logo-phone {
    grid-column: 1;
    justify-self: center;
    margin-top: 8px;             /* gap above number */
  }
  .logo-phone a {
    font-size: 16px;             /* slightly smaller on mobile */
  }
}

.main-header {
  padding: 0.625rem 0 0;
}
.banner-section {
    background-image: url('../images/bg-img.png');
    background-repeat: no-repeat;
    background-size: cover;
}
.banner-section-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.banner-inner-left {
  line-height: 0;
}
.banner-inner-left img {
    width: 100%;
    aspect-ratio: 1;
    height: 800px;
    object-fit: cover;
    object-position: top;
}
.banner-inner-right h2 {
    font-size: 3.75rem;
    line-height: 4.375rem;
    max-width: 650px;
}
.banner-inner-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 3.75rem;
    text-align: center;
}
.btn {
    margin-top: 0.625rem;
}
.btn a,
.btn button {
    background: var(--color-theme-black);
    padding: 10px 30px;
    color: var(--color-text-white);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--color-theme-black);
    display: inline-block;
}
.btn a:hover {
  background: transparent;
  color: var(--color-theme-black);

}
.extension-section {
    background: var(--color-theme-black);
    padding: 3.125rem 0;
}
.extension-inner-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}
.extension-inner-left img, .extension-inner-right img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.extension-inner-left img {
    border-radius: 0 50px 50px 0;
}
.extension-inner-right img {
    border-radius: 50px 0px 0px 50px;
}
.extension-content {
    color: var(--color-text-white);
    padding: 0 3.125rem;
    text-align: center;
}
.extension-content h3  {
    font-size: 2.5rem;
    line-height: 3.125rem;
    font-weight: 600;
}
.extension-content p {
  color: var(--color-text-white);
}
.extension-content ul {
  text-align: left;
  margin-top: 1.875rem;
  padding-left: 1.875rem;
}
.extension-content ul li {
    color: var(--color-text-white);
    margin-bottom: 0.5rem;
}
.btn-two {
  margin-top: 1.75rem;
}
.btn-two a {
  border-color: var(--color-text-white);
}
.btn-two a:hover {
  background: var(--color-text-white);
}
.team-grid {
  display: flex;
  flex-direction: column;
}
.team-row{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.team-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.team-item img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}
.team-item-text h3 {
    font-size: 1.875rem;
    line-height: 2.5rem;
}
.team-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-grey);
}
.team-grid .team-item:nth-child(2n) .team-item-text {
  padding-left: 40px;
}
.team-grid .team-item:nth-child(2n+1) .team-item-text {
  padding-right: 40px;
}
.team-item .btn {
  margin-top: 1.75rem;
}
  .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 2rem;
    }

    .grid img {
      width: 100%;
      aspect-ratio: 1 / 1; /* keep square shape */
      object-fit: cover;
      border: 10px solid var(--color-text-white); /* white border */
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      border-radius: 5px;
    }

.portfolio {
  padding: 3.125rem 0px;
  text-align: center;
}
.portfolio h2 {
    font-size: 3.125rem;
    line-height: 3.75rem;
    font-weight: 600;
}
.portfolio p {
  max-width: 1100px;
  margin: 1rem auto;
}
.portfolio .btn {
  margin-top: 2.5rem;
}
.contact {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-theme-black);
  min-height: 800px;
  overflow: hidden;
  text-align: center;
}

.contact .container {
  position: relative;
  z-index: 2; 
  flex: 1;
}

.contact-left {
  color: var(--color-text-white);
  max-width: 550px;
}
.contact-form {
    padding: 50px;
    background: #fff;
}
.contact-form h3 {
   font-size: 1.875rem;
   line-height: 2.5rem;
   color: var(--color-theme-black);
}
.contact-form  input, .contact-form select, .contact-form  textarea {
    margin: 10px 0;
    width: 100%;
    height: 40px;
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #000;
    font-family: "Poppins", sans-serif;
}
.contact-form textarea {
    resize: none;
}
.contact-form textarea::-webkit-scrollbar {
    display: block;
}
.contact-form .btn {
  margin-top: 1.75rem;
}
.contact-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;   
  height: 100%;
  padding: 50px 0;
}
.contact-right img {
  width: 100%;
}
#contact-button {
  scroll-margin-top: 100px;
}


/* Responsive Style */

@media (max-width: 1510px) {
  .banner-inner-right h2 {
    font-size: 3.125rem;
    line-height: 3.75rem;
}
.banner-inner-right {
    padding: 0 2.5rem;
}
.extension-content {
    padding: 0 1.875rem;
}
}

@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  .banner-inner-right h2 {
    font-size: 2.813rem;
    line-height: 3.438rem;
}
.extension-content h3 {
    font-size: 2.188rem;
    line-height: 2.813rem;
}
.extension-content {
    padding: 0 1rem;
}
}

@media (max-width: 1024px) {
  .contact-left {
    max-width: 500px;
}
} 

@media (max-width: 991px) {
  .container {
    max-width: 960px;
  }
  .banner-section-inner {
    grid-template-columns: 1fr;
}
.banner-inner-right {
    padding-bottom: 1.875rem;
}
.banner-inner-right h2 {
    font-size: 2.5rem;
    line-height: 3.125rem;
}
.extension-inner-section {
    grid-template-columns: 1fr;
}
.extension-section {
    background: var(--color-theme-black);
    padding: 3.125rem 1.875rem;
}
.extension-inner-left img, .extension-inner-right img {
    border-radius: 30px;
}
.extension-content {
    padding: 2rem 1rem;
}
.team-row {
    grid-template-columns: 1fr;
}
.team-grid .team-item:nth-child(2n) .team-item-text {
    padding-left: 0px;
}
.team-grid .team-item:nth-child(2n+1) .team-item-text {
    padding-right: 0px;
}
.team-row:nth-child(even) .team-item:first-child {
    order: 2; /* move image below text */
  }

  .team-row:nth-child(even) .team-item:last-child {
    order: 1; /* move text above image */
  }
  .team-item-text {
     padding: 1.75rem 0;
}
.portfolio h2 {
    font-size: 2.5rem;
    line-height: 3.125rem;
}
.grid {
    grid-template-columns: repeat(2, 1fr);
}
.contact {
    flex-wrap: wrap;
    padding: 3.125rem 0;
}
.contact-right {
    position: unset;
    width: 100%;
    padding: 3.125rem 0 0;
}
.contact-left {
    max-width: 100%;
}
.contact-right img {
    padding: 0 2rem;
}
}

@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
  .banner-inner-right h2, .portfolio h2 {
    font-size: 2rem;
    line-height: 2.625rem;
}
.extension-content h3 {
    font-size: 1.875rem;
    line-height: 2.5rem;
}
.team-item-text h3, .contact-form h3 {
    font-size: 1.5rem;
    line-height: 2.125rem;
}
}

@media (max-width: 640px) {
   .banner-inner-left img {
    height: 500px;
}
.extension-inner-left img, .extension-inner-right img {
    height: 400px;
}
.grid {
    grid-template-columns: 1fr;
}
.extension-content {
    padding: 2rem 0;
}
.contact-form {
    padding: 1.875rem 1.25rem;
}
.team-item img {
    height: 350px;
}
.team-item-text {
    text-align: center;
}
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
  .banner-inner-right {
    padding: 0 1rem 1.875rem;
}
.extension-section {
    padding: 3.125rem 1rem;
}
.contact .container, .contact-right img {
    padding: 0 1rem;
}
.logo-img img {
  max-width: 200px;
}
}
.floating-buttons{
  position:fixed; right:20px; bottom:20px;
  display:flex; flex-direction:column; gap:12px; z-index:9999;
}

/* collapsed state */
.float-btn{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  width:56px; height:56px; border-radius:56px; overflow:hidden;
  background: url('../images/bg-img.png') no-repeat center/cover;
  color:#000; text-decoration:none; font-size:22px;
  transition: width .28s ease;
  padding:0;             /* no padding while collapsed */
}

.float-btn i{
  flex:0 0 auto; line-height:1;
}

/* the label is fully collapsed so it doesn't push the icon */
.float-btn span{
  max-width:0;           /* THIS is the fix */
  opacity:0;
  overflow:hidden;
  white-space:nowrap;
  transition: max-width .28s ease, opacity .28s ease;
}

/* expand on hover */
.float-btn:hover{
  width:180px;
  justify-content:flex-start;
  padding-left:16px;     /* add some left padding only when expanded */
}
.float-btn:hover span{
  max-width:140px;       /* enough room for the text */
  opacity:1;
}
.footer p {text-align:center;}
.logo-phone {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px; /* spacing between phone and icons */
}

.logo-phone a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap; /* keep phone on one line */
}

.logo-phone a:hover {
  text-decoration: underline;
}

.logo-phone .social-icons {
  display: flex;
  gap: 10px;
}

.logo-phone .social-icons a {
  color: #fff;
  font-size: 18px;
  transition: color 0.3s;
}

.logo-phone .social-icons a:hover {
  color: #c08a59; /* matches your logo's bronze/golden tone */
}

/* --- Header mobile polish --- */
@media (max-width: 768px) {
  /* keep one-column header but center everything neatly */
  .logo-bar {
    grid-template-columns: 1fr;
    padding: 12px 16px;
    row-gap: 6px;
  }

  /* stack phone + icons with tight spacing */
  .logo-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;              /* distance between phone and icons */
    margin-top: 6px;
  }

  /* phone line: slightly smaller, no wrapping weirdness */
  .logo-phone a {
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;   /* keep it on one line */
    margin: 0;
  }

  /* icons row: smaller icons and consistent spacing */
  .logo-phone .social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
	padding-top:10px;
  }
  .logo-phone .social-icons a {
    font-size: 18px;       /* icon size */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
}

/* extra-narrow phones */
@media (max-width: 480px) {
  .logo-img img { max-width: 180px; }
  .logo-phone a { font-size: 15px; }
  .logo-phone .social-icons a { font-size: 17px; }
}
.footer-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px 0;
}

.footer p {
  margin: 0;
  font-size: 14px;
  color: #444;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #12171B;   /* dark theme color */
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #c08a59;   /* bronze/golden hover */
}

/* On desktop, align text left and icons right */
@media (min-width: 768px) {
  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}