@font-face {
    font-family: 'Neue Montreal';
    src: url('./fonts/NeueMontreal-Regular.woff') format('opentype');
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: 'Recoletta';
    src: url('./fonts/Recoleta-RegularDEMO.woff') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}



html {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  scroll-behavior: smooth;
}

/* Glow pulse animation for heart emoji */
.glow-pulse {
    display: inline-block;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px #ff69b4);
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 20px #ff1493);
    }
}

.mail {
  display: inline-block;
  animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* base — transparent on load */
#navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center; /* Back to center for horizontal alignment */
  align-items: center;
  padding: 15px 30px;

  background: transparent;            /* <-- make sure it's transparent */
  backdrop-filter: none;              /* no blur on load */
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;

  transition: background 300ms ease,
              backdrop-filter 300ms ease,
              box-shadow 300ms ease,
              border 300ms ease;
  z-index: 1000;
}

/* glassy when scrolled and already seen */
#navbar.scrolled{
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  /* box-shadow: 0 6px 30px rgba(0,0,0,0.08); */
}


/* //when scrolling */
#navbar.scrolled{
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
}
#navlinks {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Link styles - DARK GRAY by default (before scroll) */
.link {
    color: #4e4f52; /* Dark gray/black before scroll */
    text-decoration: none;
    font-size: 16px;
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
    transition: color 300ms ease;
}

/* Link hover state */
.link:hover {
    color: #59B9FF;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    
    transition: background 300ms ease,
                backdrop-filter 300ms ease,
                box-shadow 300ms ease,
                border 300ms ease;
    z-index: 1000;
}

/* Navbar when scrolled - glassy effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#navlinks {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Link styles - DARK GRAY by default (before scroll) */
.link {
    color: #4e4f52; /* Dark gray/black before scroll */
    text-decoration: none;
    font-size: 16px;
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 400;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
    transition: color 300ms ease;
}

/* Link hover state */
.link:hover {
    color: #59B9FF;
}

/* Links stay the same when scrolled */
#navbar.scrolled .link {
    color: #4e4f52; /* Same dark gray when scrolled */
}

/* Flower logo */
#flower {
    width: 35px;
    height: 35px;
    display: inline-block;
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.6s ease-in-out;
}

#flower:hover {
    transform: rotate(360deg);
}

/* ====================================
   MOBILE RESPONSIVE
==================================== */
@media (max-width: 768px) {
    #navbar {
        padding: 12px 20px;
    }
    
    #navlinks {
        gap: 105px;
    }
    
    .link {
        font-size: 15px;
    }
    
    #flower {
        width: 35px;
        height: 35px;
    }
}

#navbar-left {
    display: flex;
    align-items: center;
}

#navlinks {
    display: flex;
    align-items: center;
    gap: 40px;
}


.paragraph{
    padding-bottom: 40px;
}

.thumbnail {
    border-radius: 30px;
    width: 600px;
    max-width: 100%;
    display: block;
    height: 300px;
    margin: 0 auto;
    border: 6px solid white;
    overflow: hidden; /* Important: keeps image inside rounded corners */
    background-color: transparent; /* No background color */
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes image fill the container while maintaining aspect ratio */
    display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .thumbnail {
        width: 100%;
        height: 200px;
        border: 4px solid white;
        border-radius: 20px;
    }
}


.email-icon {
    width: 16px;
    height: 16px;
}


#bgimage {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: url('images/landing\ page.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none; /* so it doesn't block clicks */
}

#wholebodycontainer{
    position: absolute;
    margin: 0;
    padding: 0;
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;

}

#flower {
    width: 35px;
    height: 35px;
    display: inline-block;
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.6s ease-in-out;
    
}

#flower:hover{
    transform: rotate(360deg);
}

#footerleft {
   color: #818181;
    text-align: left;
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Neue Montreal', sans-serif;
    letter-spacing: 0.4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
}

#footerright {
   color: #818181;
    text-align: right;
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Neue Montreal', sans-serif;
    letter-spacing: 0.4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
}
#footer {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px 6px 40px;

  box-sizing: border-box; /* ensures padding is included */
}


#wholebody {
    max-width: 600px;
    margin: 0 auto;
}

#case-study {
    margin-top: 70px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

#case-study2 {
    margin-top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#case-study2 p {
    font-size: 18px;
    margin: 0;
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 400;
    color: #818181; /* Gray text */
    text-align: left;
    line-height: 1.6;
}

#case-study2 h1,
#case-study2 .headertxt {
    font-size: 48px;
    margin: 0 0 20px 0;
    font-family: 'Recoletta', serif;
    font-weight: normal;
    color: #373737; /* Dark gray text */
    text-align: left;
    line-height: 1.2;
}



#case-study .section-title {
    font-family: 'Neue Montreal', serif;
    font-size: 14px;
    color: #373737;
    margin-bottom: 10px;
    text-align: left;
}

#case-study .section-header {
    font-family: 'Recoletta', serif;
    font-size: 24px;
    color: #373737;
    margin-bottom: 20px;
    text-align: left;
}

#case-study p {
   color: #818181;
    text-decoration: none;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Neue Montreal', sans-serif;
    letter-spacing: 0.4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
}

/* Add this new rule */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#case-study > div {
    max-width: 800px;
    width: 100%;
    text-align: left;
    margin-bottom: 40px;
}

#case-study h2 {
    text-align: left;
}

/* ====================================
   GREEN BACKGROUND HERO SECTION - COMPLETE FIX
   Replace your entire #hero section in stylematon.css
==================================== */

/* ====================================
   HERO SECTION - SIMPLE TEXT LAYOUT
   Replace your #hero section with this
==================================== */

#hero {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-top: 200px;

    padding: 0 20px;
    box-sizing: border-box;
}

.hero-content {
    width: 100%;
    text-align: left; /* Left aligned text */
}

#hero h1,
#hero .headertxt {
    font-size: 48px;
    margin: 0 0 20px 0;
    font-family: 'Recoletta', serif;
    font-weight: normal;
    color: #373737; /* Dark gray text */
    text-align: left;
    line-height: 1.2;
}

#hero p {
    font-size: 18px;
    margin: 0;
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 400;
    color: #818181; /* Gray text */
    text-align: left;
    line-height: 1.6;
}

/* ====================================
   MOBILE RESPONSIVE
==================================== */
@media (max-width: 768px) {
    #hero {
        margin-top: 80px;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    #hero h1,
    #hero .headertxt {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    #hero p {
        font-size: 16px;
    }
    
}

@media (max-width: 480px) {

    .back-button {
    margin-top: 70px;
    padding: 7px 14px;
    font-size: 13px;
    }

    #hero h1,
    #hero .headertxt {
        font-size: 28px;
    }
    
    #hero p {
        font-size: 15px;
    }
}
#banner-img {
    width: 500px;
    height: 300px;
    object-fit: cover;
    margin-top: 20px;
    border-radius: 10px;
}

#phone-screen {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

#phone-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}
#light-img {
    width: 120px;
    height: auto;
    border-radius: 20px;
}
#case-study ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

#case-study li {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 18px;
    color: #818181;
    line-height: 1.6;
    margin-bottom: 10px;
}

#frames {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.work1{
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}
.header3{
    color: #373737;
    font-family: 'Recoletta', serif;
    font-weight: normal;
    font-size: 20px;
    text-align: center;
    margin: 0px;
    padding: 0px;
    margin-bottom: 12px;
}
#workssection .header3 {
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: 600;
}

.thumbnail{
    border-radius: 20px;
    width: 600px;
    max-width: 100%;
    display: block;
    height: 400px;
    border-radius: 30px;
    margin-top: 0;
    margin: 0 auto;
    border-color: white;
    border-style: solid;
    border-width: 6px;

}
.subbody{
        justify-content: flex-start;
        gap: 290px;
        display: flex;
        align-items: center;

}

.btn{
    padding: 8px;
    margin: 0px;
    align-items: center;
    font-size: 16px;
    font-family: 'Neue Montreal', sans-serif;
    font-weight: normal;
    color: #74747A;
    background-color: white;
    border-radius: 8px;
    width: 120px;
    height: 20px;
}
.casestudytext{
    position: static;
    text-align: left;
    padding-top: 0;
    margin-top: 14px;
}
.casetitle{
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 0;
    line-height: 1.2;
    padding: 0px;
    margin: 0px;
    font-family: 'Neue Montreal', serif;
    font-weight: normal;
}

.casebody {
    color: #818181;
    font-weight: normal;
    margin: 0px;
    padding: 0px;
    line-height: 1.2;
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Neue Montreal', sans-serif;
    letter-spacing: 0.4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
}

.casestudytext{
    position: static;
    text-align: left;
    padding-top: 0;
    margin-top: 14px;
}

#other-works {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 100px;
}



.Sectionspace{
    margin-top: 40px; /* Reduced to match contact section spacing in index.html */
    justify-content: center;
    align-items: center;
    display: flex;

    
}

#reachmesection {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 60px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chat-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
  width: 100%;
  padding: 20px;
  margin: 0 auto; 
}

.chat-message {
  display: flex;
  align-items: flex-end;
  justify-content: left; /* Center the message block */
  gap: 10px;
}

.message-bubble {
  background: white; /* White background */
  color: black; /* Black text */
  padding: 15px 20px;
  border-radius: 20px; /* More rounded */
  max-width: 70%;
  position: relative;
  font-family: 'Neue Montreal', sans-serif;
  font-size: 16px;
}

.message-bubble a {
  text-decoration: underline;
  color: #000;
}

.email-copy {
  cursor: pointer;
  color: black;
  text-decoration: underline;
}

.timestamp {
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 12px;
  color: #818181;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.link {
   color: #4e4f52; /* White by default */
    text-decoration: none;
    font-size: 16px;
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
}

#navbar.scrolled .link {
    color: #4e4f52; /* Grey when scrolled past green bg */
}



/* ====================================
   COMPLETE RESPONSIVE CSS FOR CASE STUDY PAGES
   Replace your entire stylescase.css with this
==================================== */

@font-face {
    font-family: 'Neue Montreal';
    src: url('./fonts/NeueMontreal-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Recoletta';
    src: url('./fonts/Recoleta-RegularDEMO.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Custom cursor hover effect */
.custom-cursor.hover {
  width: 30px;
  height: 30px;
  background: black;
  border: 2px solid black;
}

/* Custom cursor for case study boxes */
.case-study-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.case-study-cursor.active {
  opacity: 1;
}
body, body * {
  cursor: none !important;
}

/* Custom circular cursor */
.custom-cursor {
  width: 10px;
  height: 10px;
  background: black;
  border: 2px solid black;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-width 0.2s ease;
}

.cursor-content {
  background: rgba(0, 0, 0, 0.9);
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.eye-icon {
  flex-shrink: 0;
}

.cursor-text {
  color: white;
  font-family: 'Neue Montreal', sans-serif;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 500;
}

/* Mobile - hide custom cursor */
@media (max-width: 768px) {
  .case-study-cursor {
    display: none;
  }
  
  .case-study-box:hover {
    cursor: pointer !important;
  }
}


.link {
    color: #4e4f52;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
    transition: color 300ms ease;
}

.link:hover {
    color: #59B9FF;
}

#navbar.scrolled .link {
    color: #4e4f52;
}

#flower {
    width: 35px;
    height: 35px;
    display: inline-block;
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.6s ease-in-out;
}

#flower:hover {
    transform: rotate(360deg);
}

/* ====================================
   BACKGROUND
==================================== */
#bgimage {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image: url('images/bg\ image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* ====================================
   MAIN CONTENT STRUCTURE
==================================== */
#wholebody {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================================
   HERO SECTION (case-study2)
==================================== */
#case-study2 {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-content {
    width: 100%;
    text-align: left;
}

#case-study2 h1,
#case-study2 .headertxt {
    font-size: 48px;
    margin: 0 0 20px 0;
    font-family: 'Recoletta', serif;
    font-weight: normal;
    color: #373737;
    text-align: left;
    line-height: 1.2;
}

#case-study2 p {
    font-size: 18px;
    margin: 0;
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 400;
    color: #818181;
    text-align: left;
    line-height: 1.6;
}

/* ====================================
   CASE STUDY SECTIONS
==================================== */
#case-study {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

#case-study > div {
    max-width: 800px;
    width: 100%;
    text-align: left;
    margin-bottom: 40px;
}

#case-study .section-title {
    font-family: 'Neue Montreal', serif;
    font-size: 14px;
    color: #373737;
    margin-bottom: 10px;
    text-align: left;
}

#case-study .section-header {
    font-family: 'Recoletta', serif;
    font-size: 24px;
    color: #373737;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.3;
}

#case-study h2 {
    text-align: left;
}

#case-study p {
    color: #818181;
    text-decoration: none;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Neue Montreal', sans-serif;
    letter-spacing: 0.4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
    text-align: left;
}

#case-study ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    text-align: left;
}

#case-study li {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 18px;
    color: #818181;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: left;
}

.paragraph {
    padding-bottom: 40px;
    text-align: left;
}

/* ====================================
   IMAGES
==================================== */
#phone-screen {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    width: 100%;
}

#phone-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}
#phone-screen1 {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    width: 100%;
}

#phone-img1 {
    width: 320px;       /* pick a sane phone width */
    max-width: 90%;
    height: auto;
    border-radius: 20px;
}

#phone-video {
    width: 100%;
    height: 100%;
    border-radius: 80px; 
    object-fit: contain; /* try this first */
}

#phone-vid {
    width: min(80vw, 360px);
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 24px; 
}



#light-img {
    width: 120px;
    height: auto;
    border-radius: 20px;
}

/* ====================================
   OTHER WORKS SECTION
==================================== */
#other-works {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 100px;
}

.header3 {
    color: #373737;
    font-family: 'Recoletta', serif;
    font-weight: normal;
    font-size: 20px;
    text-align: center;
    margin: 0 0 12px 0;
    padding: 0;
}

.work1 {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.thumbnail {
    border-radius: 30px;
    width: 600px;
    max-width: 100%;
    display: block;
    height: 300px;
    margin: 0 auto;
    border: 6px solid white;
    overflow: hidden;
    background-color: transparent;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ====================================
   CONTACT SECTION
==================================== */
.sectionspace {
    margin-top: 40px;
    justify-content: center;
    align-items: center;
    display: flex;
}

#reachmesection {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
}

.chat-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
  width: 100%;
}

.chat-message {
  display: flex;
  /* display: none; */
  width: 100%;
  align-items: flex-end;
  justify-content: left; /* Center the message block */
  gap: 10px;
}

#flower-logo {
  width: 40px;
  height: 40px;
  display: inline-block !important;
  vertical-align: middle;
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  margin: 0 10px !important;
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.6s ease-in-out;
}

#flower-logo:hover {
  transform: rotate(360deg);
}


.message-bubble {
  background: white; /* White background */
  color: black; /* Black text */
  padding: 15px 20px;
  border-radius: 20px; /* More rounded */
  max-width: 70%;
  position: relative;
  display: inline-block;
  white-space: normal;
  font-family: 'Neue Montreal', sans-serif;
  font-size: 16px;
}

.message-bubble a {
    text-decoration: underline;
    color: #000;
}

.email-copy {
    cursor: pointer;
    color: black;
    text-decoration: underline;
}

.timestamp {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 12px;
    color: #818181;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.casebodyone{
    font-size: 14px;
    color: #5e5e5e;
    margin-bottom: 0;
    line-height: 1.4;
    padding: 0px;
    margin: 0px;
    text-align: left;
    margin-bottom: 6px;
    font-family: 'Neue Montreal', serif;
    font-weight: normal;
}

/* ====================================
   FOOTER
==================================== */
#footer {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px 6px 40px;
    box-sizing: border-box;
}

#footerleft {
    color: #818181;
    text-align: left;
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Neue Montreal', sans-serif;
    letter-spacing: 0.4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
}

#footerright {
    color: #818181;
    text-align: right;
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Neue Montreal', sans-serif;
    letter-spacing: 0.4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'clig', 'kern';
}

/* ====================================
   TABLET RESPONSIVE (max-width: 1024px)
==================================== */
@media (max-width: 1024px) {
    #wholebody {
        max-width: 90%;
        padding: 0 20px;
    }

    #case-study2 h1,
    #case-study2 .headertxt {
        font-size: 40px;
    }

    #case-study2 p {
        font-size: 17px;
    }

    #case-study .section-header {
        font-size: 22px;
    }

    #case-study p,
    #case-study li {
        font-size: 17px;
        line-height: 28px;
    }

    .thumbnail {
        width: 100%;
        height: 350px;
    }
}

/* ====================================
   MOBILE RESPONSIVE (max-width: 768px)
==================================== */
@media (max-width: 768px) {
    /* Navbar */
    #navbar {
        padding: 12px 20px;
    }
    
    #navlinks {
        gap: 30px;
    }
    
    .link {
        font-size: 14px;
    }
    
    #flower-logo {
        width: 35px !important; /* Force proper size */
        height: 35px !important;
        min-width: 30px; /* Prevent shrinking */
        min-height: 30px;
        flex-shrink: 0; /* Prevent flex from squishing it */
    }

    /* Main container */
    #wholebody {
        max-width: 100%;
        padding: 0 20px;
    }

    /* Hero section - MORE SPACE FROM NAVBAR */
    #case-study2 {
        margin-top: 140px; /* Increased spacing */
        padding: 0;
    }

    #case-study2 h1,
    #case-study2 .headertxt {
        font-size: 32px; /* CHANGE THIS for mobile hero heading */
        margin-bottom: 15px;
        line-height: 1.3;
        text-align: left;
    }

    #case-study2 p {
        font-size: 16px; /* CHANGE THIS for mobile hero text */
        line-height: 1.6;
        text-align: left;
    }

    /* Case study sections */
    #case-study {
        margin-top: 50px;
    }

    #case-study > div {
        margin-bottom: 30px;
    }

    #case-study .section-title {
        font-size: 13px; /* CHANGE THIS for section labels */
        margin-bottom: 8px;
        text-align: left;
    }

    #case-study .section-header {
        font-size: 20px; /* CHANGE THIS for section headings */
        margin-bottom: 15px;
        line-height: 1.3;
        text-align: left;
    }

    #case-study p,
    #case-study li {
        font-size: 16px; /* CHANGE THIS for body text */
        line-height: 26px;
        text-align: left;
    }

    #case-study ul {
        padding-left: 18px;
    }

    #case-study li {
        margin-bottom: 8px;
    }

    /* Images */
    #phone-screen {
        margin: 30px 0;
    }

    #phone-img {
        border-radius: 15px;
    }

    #light-img {
        width: 100px;
    }

    .thumbnail {
        width: 100%;
        height: 250px;
        border-radius: 20px;
        border-width: 4px;
    }

    /* Other works */
    #other-works {
        margin-top: 50px;
        margin-bottom: 60px;
    }

    .header3 {
        font-size: 18px; /* CHANGE THIS for "Other Projects" */
        margin-bottom: 15px;
    }

    /* Contact section */
    #reachmesection {
        min-height: 300px;
        margin-bottom: 50px;
    }

    .chat-container {
        max-width: 80%;
        padding: 15px;
        gap: 15px;
    }

    .message-bubble {
        max-width: 85%;
        padding: 12px 15px;
        border-radius: 15px;
        font-size: 16px;
    }

    .avatar {
        width: 35px;
        height: 35px;
    }

    .casebodyone {
        font-size: 14px; /* CHANGE THIS for chat messages */
        /* line-height: 24px; */
    }

    .timestamp {
        font-size: 11px;
    }

    /* Footer */
/* Footer - keep horizontal layout on mobile */
            #footer {
                flex-direction: row !important; /* Keep horizontal */
                justify-content: space-between !important; /* Keep items on far left and right */
                padding: 15px 20px;
            }

            #footerleft {
                text-align: left !important; /* Keep left aligned */
                font-size: 14px;
                line-height: 24px;
            }

            #footerright {
                text-align: right !important; /* Keep right aligned */
                font-size: 14px;
                line-height: 24px;
            }
}

/* ====================================
   SMALL MOBILE (max-width: 480px)
==================================== */
@media (max-width: 480px) {
    /* Navbar */
    #navbar {
        padding: 10px 15px;
    }
    
    #navlinks {
        gap: 15px;
    }
    
    .link {
        font-size: 13px; /* CHANGE THIS for small mobile nav */
    }
    
    #flower {
        width: 30px;
        height: 30px;
    }

    /* Main container */
    #wholebody {
        padding: 0 15px;
    }

    /* Hero - MORE SPACE */
    #case-study2 {
        margin-top: 120px; /* Increased spacing */
        padding: 0;
    }

    #case-study2 h1,
    #case-study2 .headertxt {
        font-size: 28px; /* CHANGE THIS for small mobile hero */
        margin-bottom: 12px;
        text-align: left;
    }

    #case-study2 p {
        font-size: 15px; /* CHANGE THIS for small mobile hero text */
        text-align: left;
    }

    /* Case study sections */
    #case-study .section-title {
        font-size: 12px; /* CHANGE THIS */
        text-align: left;
    }

    #case-study .section-header {
        font-size: 18px; /* CHANGE THIS */
        line-height: 1.4;
        text-align: left;
    }

    #case-study p,
    #case-study li {
        font-size: 15px; /* CHANGE THIS */
        line-height: 24px;
        text-align: left;
    }

    /* Images */
    #phone-screen {
        margin: 25px 0;
    }

    #phone-img {
        border-radius: 12px;
    }

    #light-img {
        width: 80px;
    }

    .thumbnail {
        height: 200px;
        border-radius: 15px;
        border-width: 3px;
    }

    /* Contact */
    .chat-container {
        padding: 10px;
        gap: 12px;
    }

    .message-bubble {
        max-width: 80%;
        padding: 10px 12px;
        font-size: 16px;
    }

    .avatar {
        width: 30px;
        height: 30px;
    }

    .casebodyone {
        font-size: 13px; /* CHANGE THIS */
        line-height: 22px;
    }

    /* Footer */
    #footer {
        padding: 12px 15px;
    }

    #footerleft,
    #footerright {
        font-size: 13px;
        line-height: 22px;
    }
}

/* ====================================
   EXTRA SMALL (max-width: 375px)
==================================== */
@media (max-width: 375px) {
    #case-study2 h1,
    #case-study2 .headertxt {
        font-size: 24px; /* CHANGE THIS */
        text-align: left;
    }

    #case-study2 p {
        font-size: 14px; /* CHANGE THIS */
        text-align: left;
    }

    #case-study .section-header {
        font-size: 16px; /* CHANGE THIS */
        text-align: left;
    }

    #case-study p,
    #case-study li {
        font-size: 14px; /* CHANGE THIS */
        line-height: 22px;
        text-align: left;
    }

    .thumbnail {
        height: 180px;
    }

    #navlinks {
        gap: 12px;
    }

    .link {
        font-size: 12px; /* CHANGE THIS */
    }
}

/* ====================================
   LANDSCAPE ORIENTATION
==================================== */
@media (max-height: 600px) and (orientation: landscape) {
    #case-study2 {
        margin-top: 100px;
    }

    #case-study2 h1,
    #case-study2 .headertxt {
        font-size: 28px;
    }

    #reachmesection {
        min-height: 250px;
    }
}

/* ====================================
   TOUCH TARGET IMPROVEMENTS
==================================== */
@media (max-width: 768px) {

            .back-button {
            margin-top: 80px;
            margin-bottom: 25px;
            padding: 8px 16px;
            font-size: 14px;
        }

        .back-arrow {
            font-size: 16px;
            width: 14px;
            height: 14px;
        }

        #case-study2 {
            margin-top: 15px;
        }

    .link,
    #flower,
    .email-copy {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .thumbnail {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

/* BACK BUTTON STYLES */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 100px;
    margin-bottom: 6px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    color: #4e4f52;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
}


.back-arrow {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

#desktop-img {
    width: 100%;          
    max-width: 1800px;   
    height: auto;         
    display: block;        
    border-radius: 12px;   
}

#desktop-screen {
    width: 100%;   
    display: flex;   
    justify-content: center; 
    box-sizing: border-box; 
}

/* Desktop image containers - break out of main container */
.desktop-view {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Desktop images - larger size */
.page {
    max-width: 1200px;
    width: 90%;
    height: auto;
    border-radius: 12px;
}

