html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
/* RESET */

body{
  font-family:'Poppins', sans-serif;
  overflow-x:hidden;
}

/* NAVBAR */

.navbar{
  position:fixed;
  top:0;
  width:100%;

  display:grid;
  grid-template-columns:1fr auto 1fr;

  align-items:center;

  padding:20px 60px;

  background:#0077ff;

  z-index:1000;
}

/* LOGO */

.logo img{
  width:120px;
  height:auto;
}

/* NAV LINKS */

.nav-links{
  display:flex;
  gap:40px;
  list-style:none;
}

.nav-links a{
  color:white;
  text-decoration:none;
}

.active{
  border-bottom:2px solid white;
  padding-bottom:5px;
}

/* CONTACT BUTTON */

.contact-btn{
  text-decoration:none;
  color:white;
  font-weight:600;
}

/* HERO */

.hero{
  position:relative;

  width:100%;
  height:100vh;

  background-image:url("../Images/mr_designs_background.png");

  background-size:cover;
  background-position:center;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:center;
}

/* Lalas hero section */

.lbs-hero{

  position:relative;

  width:100%;
  height:100vh;

  background-image:url("../Images/lalas_beauty_hero.png");

  background-size:cover;
  background-position:center;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:left;

}

.lbs-hero-content{
  position:relative;
  z-index:2;

  max-width:1100px;
  padding:20px;

  color:#ffffff;

}

.lbs-hero-content h1{
  font-size:72px;
  font-weight:700;
  margin-bottom:30px;
}

.lbs-hero-content p{
  font-size:22px;
  line-height:1.8;
  font-weight:600;

  margin-bottom:15px;
}

/* HCMG hero section */

.hcmg-hero{
  position:relative;

  width:100%;
  height:100vh;

  background-image:url("../Images/hcmgbg.jpg");

  background-size:cover;
  background-position:center;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:left;
}

.hcmg-hero-content{
  position:relative;
  z-index:2;

  max-width:1100px;
  padding:20px;

  color:#ffffff;

}

.hcmg-hero-content h1{
  font-size:72px;
  font-weight:700;
  margin-bottom:30px;
}

.hcmg-hero-content p{
  font-size:22px;
  line-height:1.8;
  font-weight:600;

  margin-bottom:15px;
}

/* Black Bear Brew hero section */

.blackbearbrew-hero{
  position:relative;

  width:100%;
  height:100vh;

  background-image:url("../Images/bbbheropage.jpg");

  background-size:cover;
  background-position:center;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:left;
}

.blackbearbrew-hero-content{
  position:relative;
  z-index:2;

  max-width:1100px;
  padding:20px;

  color:#ffffff;

}

.blackbearbrew-hero-content h1{
  font-size:72px;
  font-weight:700;
  margin-bottom:30px;
}

.blackbearbrew-hero-content p{
  font-size:22px;
  line-height:1.8;
  font-weight:600;

  margin-bottom:15px;
}

/* Wacky Petz LLC hero section */

.wackypetz-hero{
  position:relative;

  width:100%;
  height:100vh;

  background-image:url("../Images/wackypetsherobg.jpg");

  background-size:cover;
  background-position:center;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:left;
}

.wackypetz-hero-content{
  position:relative;
  z-index:2;

  max-width:1100px;
  padding:20px;

  color:#ffffff;

}

.wackypetz-hero-content h1{
  font-size:72px;
  font-weight:700;
  margin-bottom:30px;
}

.wackypetz-hero-content p{
  font-size:22px;
  line-height:1.8;
  font-weight:600;

  margin-bottom:15px;
}

/* DARK OVERLAY */

.overlay{
  position:absolute;
  inset:0;
  background:rgba(0, 0, 0, 0.245);
}

/* --- THE FIX CONTAINER FOR THE LIST --- */
.centered-list-wrapper {
  display: flex;
  justify-content: center; /* Horizontally centers the inner list block */
  margin: 25px 0;          /* Adds clean spacing above and below the list */
}

.centered-list-wrapper ul {
  text-align: left;        /* Keeps bullet points perfectly anchored to the text */
  display: inline-block;   /* Tightens the container box to only fit the longest line */
}

.centered-list-wrapper li {
  font-size: 18px;
  line-height: 1.8;
  color: #1a1a1a;
  margin-bottom: 8px;      /* Adds breathing room between each bullet point */
}

/* --- THE MAIN SPLIT GRID WRAPPER --- */
.solution-split-row {
  width: 90%;
  max-width: 1100px; /* Aligns with your project's maximum structural boundaries */
  margin: 60px auto;
  
  display: grid;
  grid-template-columns: 1fr 1fr; /* Creates two perfectly equal columns side-by-side */
  gap: 60px; /* Creates clean breathing room between your columns */
  align-items: center; /* Vertically aligns the text module to the true center of the image asset */
}

/* --- LEFT COLUMN: TYPOGRAPHY --- */
.solution-text-col h3 {
  font-size: 25px;
  color: #0078ff; /* Matches your brand signature blue */
  font-weight: 700;
  margin-bottom: 20px;
}

.solution-split-row h2{
  font-size: 72px;
  color: #0078ff; /* Matches your brand signature blue */
  font-weight: 700;
  margin-bottom: 20px;
}

.solution-split-row p{
  max-width: 400px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 40px;
}

.solution-bullets {
  list-style: none; /* Removes default black bullets to use custom clean indicators */
  padding-left: 0;
}

.solution-bullets li {
  font-size: 18px;
  color: #000000; /* Colored text matching your styling screenshot */
  line-height: 1.8;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

/* Creates a clean custom bullet point node */
.solution-bullets li::before {
  content: "•";
  color: #000000; 
  font-weight: bold;
  display: inline-block; 
  width: 20px;
  margin-left: -20px;
}

/* --- RIGHT COLUMN: RESPONSIVE IMAGE FRAME --- */
.solution-img-col {
  display: flex;
  justify-content: center;
  width: 100%;
}

.solution-img-col img {
  width: 100%;
  max-width: 500px; /* Restricts long UI mockup captures from bloating excessively */
  height: auto; /* Guarantees layout scales perfectly without crushing image proportions */
  display: block;
  border-radius: 8px; /* Adds a polished, subtle edge smoothing effect to graphic mocks */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Adds an optional clean drop-shadow depth */
}

/* --- PHONE AND TABLET OPTIMIZATION --- */
@media (max-width: 900px) {
  .solution-split-row {
    grid-template-columns: 1fr; /* Seamlessly drops the layout columns into a single column stack */
    gap: 40px;
    text-align: left;
  }
  
  .solution-img-col img {
    max-width: 100%; /* Allows the image column width to maximize safely across smaller display views */
  }
}

/* CONTENT */

.hero-content{
  position:relative;
  z-index:2;

  max-width:1100px;
  padding:20px;

  color:#ffffff;
}

.hero-content h1{
  font-size:72px;
  font-weight:700;
  margin-bottom:30px;
}

.hero-content p{
  font-size:22px;
  line-height:1.8;
  font-weight:600;

  margin-bottom:15px;
}

/* BUTTON GRID */

.button-grid{
  margin-top:60px;

  display:grid;
  grid-template-columns:repeat(2, 1fr);

  gap:35px;
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

/* BUTTONS */

.hero-btn{
  text-decoration:none;

  background:#0077ff;
  color:white;

  padding:24px 20px;

  border-radius:60px;

  font-size:20px;
  font-weight:500;

  transition:0.3s;
}

.hero-btn:hover{
  transform:translateY(-5px);
  background:#005fe0;
}

/* RESPONSIVE */

@media(max-width:900px){

  .hero-content h1{
    font-size:48px;
  }

  .hero-content p{
    font-size:18px;
  }

  .button-grid{
    grid-template-columns:1fr;
  }

  .navbar{
    padding:20px;
    flex-direction:column;
    gap:20px;
  }

  .nav-links{
    gap:20px;
  }

}

/* My favorite quote */

.quote h1{
  font-size:50px;
  font-weight:100;
  margin-bottom:30px;
  display:flex;
  justify-content:center;
  align-items:center;
  color: #005fe0;
  text-align:center;
}
.quote h2{
  font-size:25px;
  font-weight:100;
  margin-bottom:30px;
  display:flex;
  justify-content:center;
  align-items:center;
  color: #005fe0;
  text-align:center;
}

/* MAIN CONTAINER */

.container {
  width: 90%;
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.container-ux {
  width: 90%; /* Changed from 75% to give more screen real-estate on medium screens */
  max-width: 1200px; /* Prevents the layout from becoming too wide on huge monitors */
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

/* LEFT PANEL */

.left-panel {
  padding-top: 90px;
}

.blue-logo img {
  font-size: 120px;
  color: #08285e;
  margin-bottom: 30px;
}

.lbs-laptop img {
  width: 100%;       /* Forces image to scale down to fit its column */
  height: auto;      /* Keeps aspect ratio intact */
  margin-bottom: 30px;
  margin-top: 30px;
}


.left-panel h1 {
  font-size: 50px;
  line-height: 0.95;
  color: #0078ff;
  margin-bottom: 30px;
}

.left-panel p {
  max-width: 400px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 40px;
}

.project-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-links a {
  text-decoration: none;
  color: #0078ff;
  font-weight: 500;
}

.project-links a:hover {
  text-decoration: underline;
}

/* RIGHT PANEL */

.right-panel {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 90px;
}

.right-panel-side{
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 90px;
}

.right-panel-side h1 {
  font-size: 50px;
  line-height: 1.15;
  color: #0078ff;
  margin-bottom: 30px;
}

/* center panel */

/* Container that bounds and centers your focused content reading areas */
.content-focus-box {
  width: 90%;            /* Keeps it from hitting screen edges on mobile devices */
  max-width: 800px;      /* CRITICAL: Tightens the layout up on desktop monitors */
  margin: 0 auto;        /* Perfectly centers the text block horizontally */
  padding: 40px 20px;    /* Adds nice breathing room on top and bottom */
}

/* Ensure the paragraph text lines up beautifully */
.content-focus-box p {
  font-size: 18px;
  line-height: 1.8;      /* Increases line height slightly for better readability */
  color: #444;           /* Softens the text from pure black to match your style */
  text-align: center;    /* Keeps the centered alignment look you currently have */
}

.content-focus-box h2 {
  font-size: 50px;
  line-height: 0.95;
  color: #0078ff;
  margin-bottom: 30px;
  text-align:center;
}

/* --- VISUAL WRAPPER SECTION --- */
.case-study-visual {
  width: 100%;
  background-color: #ffffff;
  padding: 40px 0;
}

.visual-container {
  width: 90%;
  max-width: 1000px; /* Constrains the massive image so it doesn't look overwhelming */
  margin: 0 auto;
  text-align: center;
}

.visual-container h2 {
  font-size: 50px;
  color: #0078ff; /* Deep blue to stay consistent with your palette */
  margin-bottom: 20px;
  /* font-weight: 600; */
}

.visual-container h3{
  font-size: 25px;
  color: #0078ff; /* Deep blue to stay consistent with your palette */
  margin-bottom: 20px;
}

/* --- THE IMAGE FRAME --- */
.image-frame {
  background: #ffffff;
  border: 1px solid #e1e8f5; /* Subtle border to define the image boundary */
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(15, 45, 92, 0.06); /* Ultra soft blue-tinted drop shadow */
  overflow: hidden;
  margin-bottom: 15px;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* --- IMAGE CAPTION --- */
.image-caption {
  font-size: 14px;
  color: #666666;
  font-style: italic;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
  .visual-container h3 {
    font-size: 20px;
  }
  .image-frame {
    padding: 8px; /* Tighter spacing on smaller screens */
    border-radius: 12px;
  }
}

/* --- PROJECT CARD CONTAINER --- */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #0f2d5c;
  display: flex; /* Ensures text and image layer beautifully */
  flex-direction: column;
}

/* --- THE FIX FOR ALL CARD IMAGES --- */
.project-card img {
  width: 100%;
  height: 100%;
  min-height: 400px; /* Gives the card a stable shape even if the image breaks */
  max-height: 550px; /* Prevents cards from getting unnaturally tall */
  display: block;
  object-fit: cover; /* CRITICAL: Crops the image safely without squishing/stretching it */
  object-position: center;
}

/* --- THE LARGE CARD (Lines 352-358) --- */
.large {
  width: 100%;
}

/* Clean up this rule so it respects the image proportion */
.large img {
  height: 500px; 
  object-fit: cover; 
}

/* --- OVERLAY TEXT STYLING --- */
.overlay-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #0a55ab; /* Tip: Since your card is dark blue, consider changing this to 'white' or '#0078ff' for readability! */
  font-size: 48px;
  font-weight: 700;
  z-index: 2;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.grid .project-card {
  height: 300px;
}

.grid img {
  height: 100%;
}


/* --- FIGMA SHOWCASE STYLING --- */
.figma-showcase {
  width: 100%;
  padding: 60px 0;
  background-color: #ffffff;
}

.figma-container {
  width: 90%;
  max-width: 1100px; /* Aligns with your desktop page layout grid limit */
  margin: 0 auto;
}

.figma-container h2 {
  font-size: 28px;
  color: #0078ff; /* Matches your portfolio header color theme */
  margin-bottom: 25px;
  font-weight: 600;
}

/* --- RESPONSIVE WRAPPER --- */
.figma-responsive-wrapper {
  width: 100%;
  border-radius: 20px; /* Clean curves matching your project cards */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 45, 92, 0.08); /* Soft shadow layer to give depth */
  border: 1px solid #e1e8f5;
}

/* Force the iframe to look professional across screen breakpoints */
.figma-responsive-wrapper iframe {
  display: block;
  width: 100%; /* Spans the full fluid layout width */
  min-height: 450px; /* Perfect sizing on mobile screens */
}

@media (min-width: 768px) {
  .figma-responsive-wrapper iframe {
    height: 650px; /* Gives plenty of interaction height on desktop monitors */
  }
}

/* --- SECTION CONTAINER --- */
.research-metrics-section {
  width: 100%;
  background-color: #ffffff;
  padding: 60px 0;
}

.metrics-grid-container {
  width: 90%;
  max-width: 1200px; /* Limits the row width on massive screens */
  margin: 0 auto;
  
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Creates 3 perfectly equal columns */
  gap: 40px; /* Adjusts breathing room between columns */
}

/* --- INDIVIDUAL COLUMN CARDS --- */
.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers charts, headers, and text horizontally */
  text-align: center;
}

/* --- GRAPHICS / CHARTS BLOCK --- */
.chart-wrapper {
  width: 100%;
  max-width: 250px; /* Restricts the charts from becoming excessively massive */
  margin-bottom: 25px;
}

.chart-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- PERCENTAGE NUMBERS --- */
.metric-percentage {
  font-size: 40px; /* Prominent display sizing for stats */
  color: #0078ff; /* Vibrant blue signature tint matching your portfolio */
  margin: 0 0 15px 0;
}

/* --- DESCRIPTIVE SUBTEXT --- */
.metric-description {
  font-size: 16px;
  line-height: 1.6;
  color: #000000; /* Softened dark blue to keep visual harmony with the numbers */
  max-width: 280px; /* Pinches paragraph width to prevent extra-long lines */
  margin: 0 auto;
}

/* --- MOBILE BREAKPOINT ADJUSTMENT --- */
@media (max-width: 850px) {
  .metrics-grid-container {
    grid-template-columns: 1fr; /* Transforms into a single-column layout stack on tablets/phones */
    gap: 50px; /* Adds healthy vertical gaps between stacked stats */
  }
  
  .metric-percentage {
    font-size: 40px;
  }
}

/* --- THE MAIN CONTAINER --- */
.comment-section {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
  
  /* Creates three columns of equal width automatically */
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px; /* Space between the columns */
}

/* --- INDIVIDUAL COMMENT CARDS --- */
.comment-card {
  background-color: #f8fafd; /* Soft, light background to make text pop */
  border-left: 4px solid #0077ff; /* Blue accent line on the side */
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes the author name to the bottom */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
}

/* --- THE TEXT INSIDE THE CARDS --- */
.comment-text {
  font-size: 16px;
  line-height: 1.6;
  color: #444444; /* Dark gray for high readability */
  font-style: italic;
  margin-bottom: 20px;
}

/* --- AUTHOR NAME --- */
.comment-author {
  font-size: 14px;
  font-weight: 600;
  color: #0f2d5c; /* Deep blue to match your theme */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- MOBILE RESPONSIVE WRAPPER --- */
@media (max-width: 900px) {
  .comment-section {
    /* Drops the 3 columns into 1 vertical column on tablets & phones */
    grid-template-columns: 1fr; 
    gap: 20px;
  }
}

/* RESPONSIVE */

@media (max-width: 1000px) {

  /* Existing rules... */
  .container {
    grid-template-columns: 1fr;
  }

  /* --- ADDED FOR YOUR UX SECTION --- */
  .container-ux {
    grid-template-columns: 1fr; /* Drops the side-by-side layout into 1 column */
    gap: 40px;
    width: 95%; /* Hugs closer to screen edges on mobile devices */
  }

  .left-panel, .right-panel-side {
    padding-top: 20px; /* Reduces excessive desktop spacing at the top */
  }

  .left-panel h1, .right-panel-side h1 {
    font-size: 42px; /* Scales down the giant 72px headline text so it fits mobile screens */
  }

  .left-panel p {
    max-width: 100%; /* Allows paragraph text to span the full width of the mobile viewport */
  }
  
  /* Existing rules... */
  .left-panel h1 {
    font-size: 54px;
  }

  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    gap: 20px;
  }
}

/* --- THE MASONRY GRID --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense; /* Magically packs items tightly to eliminate empty spaces */
  gap: 15px;             /* Clean border spacing between snapshots */
  padding: 20px;
}

.photo-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Forces varying crop ratios to fill their box perfectly */
  display: block;
  transition: transform 0.4s ease;
}

/* Hover Zoom effect common in elegant portfolios */
.photo-item:hover img {
  transform: scale(1.04);
}

/* --- GRID GRID SPANNING LOGIC (The Secret Layout Trick) --- */
@media (min-width: 768px) {
  .photo-item.h-stretch {
    grid-column: span 2; /* Spans horizontally across two boxes */
  }
  .photo-item.v-stretch {
    grid-row: span 2;    /* Spans vertically down across two rows */
  }
}

/* --- THE POPUP LIGHTBOX SLIDE --- */
.lightbox {
  display: none; /* Invisible by default */
  position: fixed;
  z-index: 9999; /* Higher than your navbar */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92); /* Rich dark overlay */
  justify-content: center;
  align-items: center;
}

/* Selected Popup Image */
.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 4px;
  animation: zoomIn 0.25s ease-out;
}

/* Close Button Icon */
.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #0078ff;
}

/* Animation for clicking entry */
@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* --- VIDEO GALLERY GRID layout --- */
.video-gallery-section {
  width: 95%;
  max-width: 1200px; /* Aligns comfortably inside your standard page limits */
  margin: 50px auto;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Splitting the top track into twin rows */
  gap: 20px;
}

/* Feature row modifier forces the third card to span cleanly across both grid lines */
.video-item.featured {
  grid-column: span 2;
}

/* --- THE CARD FRAME AND PLAY BUTTON INTERACTION --- */
.video-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* Smooth card edges */
  cursor: pointer;
  background-color: #000000;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents thumbnails from warping abnormally */
  display: block;
  transition: transform 0.4s ease;
}

/* Hover background image scale down effect */
.video-item:hover img {
  transform: scale(1.03);
}

/* PLAY BUTTON OVERLAY LAYER */
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* Subtle dim shadow veil mimicking snapshot assets */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.video-item:hover .play-overlay {
  background: rgba(0, 0, 0, 0.45); /* Darkens on pointer mouse hover triggers */
}

/* THE PLAY ROUND GRAPHIC CIRCLE */
.play-button-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%; /* Forms perfect circle geometry */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #111111;
  font-size: 24px;
  padding-left: 5px; /* Visual balance correction centering the raw play arrow triangle */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-item:hover .play-button-icon {
  transform: scale(1.1);
  background-color: #0078ff; /* Changes icon to signature brand blue when interacted with */
  color: #ffffff;
}

/* --- POPUP MODAL OVERLAY WRAPPER --- */
.video-lightbox {
  display: none; /* Enforces initialization mask state */
  position: fixed;
  z-index: 10000; /* Stays fixed above your navigation banners */
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}

.video-wrapper {
  width: 90%;
  max-width: 950px;
  aspect-ratio: 16 / 9; /* Guarantees uniform widescreen standard video frame ratios */
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  outline: none;
}

/* MODAL CLOSE "X" INTERACTION ELEMENTS */
.video-lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 45px;
  cursor: pointer;
  font-weight: 300;
  transition: color 0.2s;
}

.video-lightbox-close:hover {
  color: #0078ff; /* Accent highlights close hover pathing */
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr; /* Shifts into unified card sequence lists on mobile viewports */
  }
  .video-item.featured {
    grid-column: span 1;
  }
  .play-button-icon {
    width: 55px;
    height: 55px;
    font-size: 18px;
  }
}

/* --- THE BACKGROUND PORTFOLIO GRID --- */
.portfolio-grid-section {
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
}

.custom-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.grid-item-box {
  width: 100%;
  aspect-ratio: 1 / 1; /* Keeps them perfectly square like your graphic section */
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.grid-item-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.grid-item-box:hover img {
  transform: scale(1.04);
}

/* --- THE NAVIGATION LIGHTBOX OVERLAY --- */
.nav-lightbox {
  display: none;
  position: fixed;
  z-index: 10010; /* Sits completely on top of headers/navbars */
  inset: 0;
  background-color: rgba(10, 31, 64, 0.97); /* Deep dark blue-tinted screen blur */
  justify-content: center;
  align-items: center;
}

.lightbox-img-wrapper {
  max-width: 80%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#active-lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  animation: smoothScale 0.25s ease-out;
}

/* --- NAVIGATION ARROWS --- */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 30px;
  padding: 15px 22px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  user-select: none;
  z-index: 10015;
}

.nav-arrow:hover {
  background-color: #0078ff; /* Signature portfolio brand blue */
  border-color: #0078ff;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

/* CLOSE BUTTON */
.close-lightbox-btn {
  position: absolute;
  top: 25px;
  right: 45px;
  color: #ffffff;
  font-size: 50px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10016;
}

.close-lightbox-btn:hover {
  color: #0078ff;
}

/* Subtle fade/scale animation when cycling through photos */
@keyframes smoothScale {
  from { transform: scale(0.97); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Hide side arrows on small mobile devices to avoid cluttering screen layout */
@media (max-width: 768px) {
  .nav-arrow {
    padding: 10px 16px;
    font-size: 20px;
  }
  .prev-btn { left: 15px; }
  .next-btn { right: 15px; }
}

/* --- CONTACT PAGE OVERRIDES & LAYOUT STRUCTURES --- */
.contact-container {
  padding-bottom: 80px;
}

.contact-brand-logo {
  max-width: 160px;
  margin-bottom: 25px;
}

.contact-heading {
  font-size: 32px;
  font-weight: 700;
  color: #0078ff; /* Matches signature brand blue accent code color */
  margin-bottom: 15px;
}

.contact-subtext {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  max-width: 480px;
  margin-bottom: 35px;
}

/* --- THE CALL TO ACTION BUTTON MATRIX --- */
.contact-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 45px;
  max-width: 280px; /* Aligns buttons cleanly below your body text paragraphs */
}

.action-btn {
  display: inline-block;
  width: 100%;
  padding: 14px 24px;
  background-color: #3b82f6; /* Flat electric blue button style from screen capture mockups */
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 30px; /* High radius pill-style buttons */
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.action-btn:hover {
  background-color: #2563eb; /* Deepens fill state on pointer interaction triggers */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.35);
}

/* --- MAP WORKSPACE DISPLAY PANELS --- */
.map-panel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 20px;
}

.map-embed-container {
  width: 100%;
  height: 520px; /* Creates a clean height balance against the left info blocks */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- FOOTER LAYOUT ELEMENTS --- */
.contact-footer {
  width: 100%;
  background-color: #000000; /* Pure black aesthetic backdrop layout element */
  padding: 60px 0;
  margin-top: 40px;
}

.footer-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .footer-cloud-logo {
  max-width: 180px;
  filter: brightness(0) invert(1); /* Forces brand logo asset to display as pure monochromatic white */
  /* opacity: 0.95;
} */ 

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: right;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3b82f6; /* Highlights hover states using active accent values */
}

/* --- ADAPTIVE MOBILE LAYOUT ADJUSTMENTS --- */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column; /* Collapses two-panel split grid into stack views safely */
    gap: 50px;
  }
  
  .map-panel-wrapper {
    padding-left: 0;
  }

  .map-embed-container {
    height: 380px; /* Shrinks container square frames on tablet devices to save view space */
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }
}





























































