/*----------------------------
    Global
----------------------------*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root {
    /* Colors */
    --text-color: #000000;
    --bg-color: #EBEBEB;
    --second-bg-color: #B8B8B8;
    --main-color: #59C4F0;
    --other-color: #000000;
    --btn-color:#000000;

    /* Typography sizes */
    --h1-font: 4.5rem;
    --h2-font: 2.9rem;
    --p-font: 1rem;
}

/* Hide scrollbar initially */
::-webkit-scrollbar {
  width: 0; /* hidden by default */
  height: 0;
  transition: width 0.3s ease, height 0.3s ease;
}

/* Fully transparent track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Scrollbar thumb with glow */
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: linear-gradient(to left, #59C4F0, rgba(89,196,240,0));
  box-shadow: 0 0 10px rgba(89,196,240,0.7);
  transition: width 0.3s ease, box-shadow 0.3s ease;
}

/* Show scrollbar thumb on hover */
body:hover ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body:hover ::-webkit-scrollbar-thumb {
  box-shadow: 0 0 20px rgba(89,196,240,1);
}

/* -----------------------------
   Firefox
------------------------------- */
* {
  scrollbar-width: thin;           /* thin scrollbar */
  scrollbar-color: #59C4F0 transparent; /* thumb color + track color */
}

/* Firefox hover effect using pseudo-class */
*::-moz-scrollbar-thumb {
  transition: box-shadow 0.3s ease;
}
*::-moz-scrollbar-thumb:hover {
  box-shadow: 0 0 20px rgba(89,196,240,0.7);
}

/*----------------------------
    Body
----------------------------*/
body {
    font-family: 'Inter', sans-serif;  /* ✅ main body font */
    color: var(--text-color);
    background: #fff;
    line-height: 1.6;
}

/*----------------------------
    Headings
----------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif; /* ✅ headings font */
}

h1 { font-size: var(--h1-font); font-weight: 700; line-height: 1.2; }
h2 { font-size: var(--h2-font); font-weight: 700; line-height: 1.3; }
h3, h4, h5, h6 { font-weight: 400; line-height: 1.4; }

/*----------------------------
    Header
----------------------------*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 16%;
    background: transparent;
    transition: all 0.5s ease;
}

.logo {
    font-size: 36px;
    color: var(--text-color);
    font-weight: 600;
    font-family: 'Merriweather', serif; /* ✅ logo in heading font */
}

span {
    color: var(--main-color);
}

/* Nav */
.navlist { display: flex; }
.navlist a {
    font-size: var(--p-font);
    font-weight: 500;
    color: var(--other-color);
    margin-left: 40px;
    transition: all 0.5s;
    font-family: 'Inter', sans-serif; /* ✅ nav links use body font */
}
.navlist a:hover {
    color: var(--main-color);
    text-shadow: 3px 3px 20px var(--main-color), -2px 1px 30px var(--text-color);
}
#menu-icon {
    font-size: 35px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

/* Buttons */
.h-btn, .btn, .btn2 {
    font-family: 'Inter', sans-serif; /* ✅ buttons use body font */
    display: inline-block;
    padding: 11px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.5s ease;
}

.h-btn {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}
.h-btn:hover {
    background: transparent;
    color: #fff;
    box-shadow: 0 0 20px var(--main-color);
    transform: scale(1.1);
}

.btn {
    background: var(--main-color);
    color: var(--bg-color);
    border: 2px solid var(--main-color);
}
.btn:hover {
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
}

.btn2 {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    margin-left: 15px;
}
.btn2:hover {
    background: var(--main-color);
    color: var(--bg-color);
}

/*----------------------------
    Sections
----------------------------*/
section {
    padding: 110px 16% 90px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 110px 10% 90px;
    background-color: var(--bg-color);
    overflow: hidden;
    box-sizing: border-box;
}
.hero .main-content { z-index: 2; max-width: 620px; }

.hero-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    height: 100%;
    display: flex;
    align-items: flex-end;
}
.hero-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transform: scale(1.5);
    transform-origin: bottom right;
}

.main-content h4{ font-size: 1.6rem; font-family: 'Merriweather', serif; }
.main-content h1{ font-family: 'Merriweather', serif; }
.main-content p{ font-family: 'Roboto', sans-serif; }

/* Social */
.social{
    margin-bottom: 40px;
}
.social i{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--main-color);
    border-radius: 50%;
    backdrop-filter: brightness(88%);
    font-size: 20px;
    margin-right: 17px;
    box-shadow: 0 0 20px transparent;
    cursor: pointer;
    transition: all 0.5s ease;
}
.social i:hover{
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--main-color);
}

/* ------------------------------------------------------------------
   ABOUT: two-section setup, drop this at the END of your CSS file
   Desktop: #about-desktop (split grid)
   Mobile:  #about-mobile  (stacked, centered)
-------------------------------------------------------------------*/

/* Hide both by default to avoid FOUC during load */
#about-desktop,
#about-mobile { display: none; }

/* ===== DESKTOP (>= 941px) ===== */
@media (min-width: 941px) {
  /* show desktop, hide mobile — override inline display on desktop */
  #about-desktop { display: grid !important; }
  #about-mobile  { display: none !important; }

  /* replicate your old desktop look */
  #about-desktop {
    /* these duplicate your inline styles but keep them here too
       so CSS alone controls layout if you remove inline later */
    background: var(--second-bg-color);
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 110px 16% 90px;
  }

  #about-desktop .about-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 20px;
  }

  #about-desktop .about-img img {
    width: 100%;
    max-width: 530px;
    height: 530px;               /* force a circle */
    object-fit: cover;
    border-radius: 50%;
    border: 7px solid var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
  }

  #about-desktop .about-info-box {
    background-color: var(--bg-color);
    width: 100%;
    max-width: 530px;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 20px;            /* sits under the image */
  }

  #about-desktop .about-text {
    color: #000;
    align-self: start;           /* top of right column */
  }

  #about-desktop .about-text h2 {
    font-size: 2.9rem;
    line-height: 1.3;
    margin: 0 0 20px;
  }

  #about-desktop .about-text h2 span {
    color: var(--main-color);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
  }

  #about-desktop .exp-area {
    margin-bottom: 50px;
    font-weight: 600;
    font-size: 19px;
    line-height: 42px;
  }

  #about-desktop .exp-area p {
    margin-bottom: 20px;
    margin-left: 20px;
  }

  #about-desktop .about-cta {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
}

/* ===== MOBILE (<= 940px) ===== */
@media (max-width: 940px) {
  /* hide desktop (override its inline display), show mobile */
  #about-desktop { display: none !important; }
  #about-mobile  {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 50px 8% 60px;
    background: var(--second-bg-color);
    text-align: center;
  }

  #about-mobile .about-img img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 7px solid var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
  }

  #about-mobile .about-info-box {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    border-radius: 20px;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 0; /* remove any top margin */
  }

  #about-mobile .about-text h2 span {
    color: var(--main-color);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
  }


  #about-mobile .about-text {
    width: 100%;
    max-width: 600px;
    
  }

  #about-mobile .exp-area p {
    margin-left: 0;
    margin-bottom: 12px;
    line-height: 28px;
  }

  #about-mobile .about-cta {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
}
/* =============================
   Reviews Section
============================= */

/* Hide/show per device */
#reviews-desktop { display: block; }
#reviews-mobile  { display: none; }

@media (max-width: 940px) {
  #reviews-desktop { display: none; }
  #reviews-mobile  { display: block; }
}

/* Common styles */
.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

/* Desktop Reviews Heading */
#reviews-desktop .center-text {
    text-align: center;
    margin-bottom: 60px; /* spacing below heading */
}

#reviews-desktop .center-text h2 {
    font-size: 2.9rem;
    margin: 0;
}

.reviews-wrapper {
  overflow: hidden;
  width: 70%;
  max-width: 900px;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 32px;
}

.review-card {
  flex: 0 0 300px;
  background: #2d343f;
  border-radius: 28px;
  color: #fff;
  box-shadow: 0 0 5px var(--main-color);
  text-align: center;
  padding: 40px 20px;
  font-family: 'Roboto', sans-serif;
}

.review-card h3 {
  font-size: 22px;
  font-family: 'Merriweather', serif;
  margin-bottom: 10px;
}

.review-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--bg-color);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-color);
  color: var(--main-color);
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
  z-index: 10;
}

.carousel-arrow:hover {
  background: var(--main-color);
  color: var(--bg-color);
  box-shadow: 0 0 20px var(--main-color);
}

.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }

/* Mobile specific */
@media (max-width: 940px) {
  #reviews-mobile .center-text {
      text-align: center; /* centers the heading text */
  }

  #reviews-mobile .reviews-wrapper { 
      width: 90%; 
      background: none; 
      padding: 0; 
  }

  #reviews-mobile .reviews-track { 
      gap: 0; 
  }

  #reviews-mobile .review-card { 
      flex: 0 0 100%; 
      max-width: 100%; 
  }

  /* Mobile carousel arrows */
  #reviews-mobile .carousel-arrow {
      background: transparent; /* transparent so it doesn't cover card */
      color: var(--main-color);
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 28px;
      padding: 10px;
      z-index: 10;

      /* remove click/tap highlight */
      outline: none;
      box-shadow: none;
      -webkit-tap-highlight-color: transparent;
  }

  /* push further outside wrapper */
  #reviews-mobile .carousel-arrow.left { left: -20px; }
  #reviews-mobile .carousel-arrow.right { right: -20px; }
}

/*----------------------------
    Contact form
----------------------------*/
.contact-form{ display:flex; align-items:center; justify-content:center; margin-top:4.2rem; }
.contact-form form{ position:relative; width:600px; font-family:'Roboto', sans-serif; }
form input, form textarea{
    width:100%;
    padding:20px;
    border:2px solid var(--main-color);
    outline:none;
    box-shadow:0 0 5px var(--main-color);
    background: var(--second-bg-color);
    color: var(--text-color);
    margin-bottom:20px;
    border-radius:8px;
    font-size:16px;
}
form input::placeholder, form textarea::placeholder { color: var(--text-color); opacity:0.7; }

form .send-btn{
    display:inline-block;
    padding:11px 26px;
    background: var(--main-color);
    color: var(--bg-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    font-size:15px;
    transition: all .50s ease;
    width: 30%;
    font-family: 'Roboto', sans-serif;
}
form .send-btn:hover{ background: transparent; color: var(--main-color); box-shadow:0 0 20px var(--main-color); cursor:pointer; }

.contact-info{
    display:flex;
    flex-direction:column;
    gap:20px;
    align-items:center;
    max-width:600px;
    width:100%;
}
.contact-item{ display:flex; align-items:center; gap:10px; cursor:pointer; }
.contact-icon{ width:40px; display:flex; justify-content:center; align-items:center; flex-shrink:0; font-size:30px; color: var(--main-color); }
.contact-item span{ font-size:18px; color: var(--text-color); }

/*----------------------------
    Footer
----------------------------*/
.footer{
    padding: 22px 16%;
    background: var(--second-bg-color);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:2rem;
}
.copyright p{ font-size:15px; font-weight:400; color: var(--other-color); }
.scroll-top i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: var(--btn-color);
    width:45px;
    height:45px;
    border-radius:50%;
    color: var(--text-color);
    font-size:27px;
}

/*----------------------------
    Sticky header
----------------------------*/
header.sticky{
    background: var(--bg-color);
    box-shadow:0 .1rem 1rem rgba(0,0,0,.2);
    padding:16px 16%;
}

/*----------------------------
    Media queries
----------------------------*/
@media (max-width:1700px){
    header{ padding:20px 8%; }
    header.sticky{ padding:14px 8%; }
    section{ padding:90px 8% 80px; }
    .footer{ padding:18px 8%; }
    .logo{ font-size:28px; }
}

@media (max-width:1380px){
    header{ padding:20px 5%; }
    header.sticky{ padding:14px 5%; }
    section{ padding:90px 5% 80px; }
    .footer{ padding:18px 5%; }
    .hero{ height:90vh; background-position:center; }
}

@media (max-width:1290px){
    .box{ padding:40px 40px 46px; }
    .box img{ width:100%; height:60px; max-width:60px; }
    .box h3{ font-size:21px; }
}

@media (max-width:1240px) {
  .about-img {
    text-align: center;
    width: 100%;
    max-width: 300px;   /* controls circle size */
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;   /* keeps the image clipped */
    height: auto;       /* ✅ no fixed height */
  }
}

/* Desktop version visibility */
@media (min-width: 941px) {
    .about-mobile { display: none; }
    .about-desktop { display: block; }
}

@media (max-width:940px){
    :root{ --h1-font:3.5rem; }
    .social{ margin-bottom:20px; }
    #menu-icon{ display:block; }
    .navlist{
        position:absolute;
        top:100%;
        right:-100%;
        width:255px;
        min-height:100vh;
        display:flex;
        flex-direction:column;
        background:var(--bg-color);
        transition: all .50s ease;
    }
    .navlist a{ display:block; margin:20px; font-size:1.4rem; }
    .navlist.active{ right:0; }

    /* Hero */
    .hero{ flex-direction:column; text-align:center; padding:80px 5% 60px; }
    .hero-img{ position:relative; width:100%; height:auto; margin-top:20px; }
    .hero-img img{ width:100%; max-width:350px; height:auto; object-fit:contain; transform:none; }

    /* About */
    .about{ display:flex; flex-direction:column; align-items:center; gap:30px; text-align:center; padding:40px 5%; }
    .about-img{ width:100%; max-width:300px; margin:0 auto; border-radius:50%; z-index:1; }
    .about-info-box{ width:90%; max-width:100%; padding:20px; text-align:center; }
    .exp-area p{ font-size:16px; line-height:1.4; }

    /* Reviews */
    .reviews-wrapper{ width:90%; overflow-x:scroll; }
    .reviews-track{ justify-content:flex-start; gap:15px; }
    .review-card{ flex:0 0 250px; }

    /* Contact */
    .contact-form{ flex-direction:column; width:100%; padding:0 5%; }
    .contact-form form{ width:100%; margin-bottom:20px; }
    .contact-info{ width:100%; max-width:100%; align-items:flex-start; gap:15px; }
    .contact-item span{ word-break:break-word; }
}

/* MOBILE FIXES */
@media (max-width: 940px) {

  /* Hide hero image */
  .hero-img img {
    display: none;
  }

  /* About section (mobile only) */
  .about-desktop { 
    display: none; 
  }
  .about-mobile { 
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 5% 40px;
  }
  .about-mobile h2 { 
    text-align: center; 
  }
  .about-mobile .about-img { 
    display: flex; 
    justify-content: center; 
  }
  .about-mobile .about-img img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #59C4F0;
    box-shadow: 0 0 20px #59C4F0;
  }
  .about-mobile .about-info-box {
    text-align: center;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }
  .about-mobile .exp-area p { 
    margin-left: 0 !important; 
    margin-bottom: 12px; 
  }

    /*reviews*/

      .reviews-wrapper {
    width: 100vw;      /* full viewport width */
    overflow: hidden;
    padding: 0;
  }

  .reviews-track {
    display: flex;
    gap: 0;            /* remove any spacing between cards */
    transition: transform 0.5s ease;
  }

  .review-card {
    flex: 0 0 100%;    /* each card takes full wrapper width */
    margin: 0;         /* remove margin */
    box-sizing: border-box;
    padding: 20px;     /* optional internal padding */
  }

  /* Contact section */
  #contact form {
    width: 100%;
  }
  .contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* center items horizontally */
  }
  .contact-item {
    display: flex;
    flex-direction: column; /* stack icon above text */
    align-items: center;    /* center icon and text horizontally */
    text-align: center;
    gap: 8px;               /* space between icon and text */
  }
  .contact-item .contact-icon {
    font-size: 32px;
    width: auto;
    height: auto;
  }
  .contact-item span {
    display: block;
    word-break: break-word;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footer .scroll-top {
    margin-top: 10px;
  }
}
