/* Define custom fonts */
/* Define custom fonts */
@font-face {
  font-family: "IndustryTest"; /* Name for the font family */
  src: url("../fornts/IndustryTest-Book.otf") format("opentype"); /* Path to regular font */
  font-weight: normal; /* Corresponds to 'Book' or regular weight */
  font-style: normal;
}

@font-face {
  font-family: "IndustryTest"; /* Same font family name */
  src: url("../fornts/IndustryTest-Medium.otf") format("opentype"); /* Path to medium font */
  font-weight: 500; /* Corrected: Corresponds to 'Medium' weight */
  font-style: normal; /* Assuming medium is not italic */
}

@font-face {
  font-family: "IndustryTest"; /* Same font family name */
  src: url("../fornts/IndustryTest-Bold.otf") format("opentype"); /* Path to bold font */
  font-weight: bold; /* Corresponds to 'Bold' weight (700) */
  font-style: normal;
}

@font-face {
  font-family: "IndustryTest"; /* Same font family name */
  src: url("../fornts/IndustryTest-Black.otf") format("opentype"); /* Path to black font */
  font-weight: 900; /* Corresponds to 'Black' weight */
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --murap-touba: #4d4d4d;
  --ngourap-touba: aliceblue;
  --amuba: black;
  --ut-machu: #bdd5ea;
  --angangba: #da3a32;
  --angouba: white;
  --sana-machu: #f3860a;
}

body {
  font-family: "IndustryTest", sans-serif;
}

/* Utility class to prevent body scrolling when mobile menu is open */
.body-no-scroll {
  overflow: hidden;
}

/* ================================================================================ */
/* ================================ */
/* NavBar Sidagi houre */

/* ==================================================== */
/* General Navbar Styling                            */
/* ... (keep styles from previous answer) ... */
/* ==================================================== */
.navbar {
  font-family: "IndustryTest", sans-serif;
  background-color: var(--amuba);
  color: white;
  padding: 0.5rem 1rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center; /* This aligns Logo, Nav Links UL, Toggle Btn vertically */
  justify-content: space-between;
}

/* ==================================================== */
/* Logo Styling                                      */
/* ... (keep styles) ... */
/* ==================================================== */
.logo {
  flex-shrink: 0;
}
.logo img {
  height: 50px;
  display: block;
  padding: 0 1rem 0 0;
}

/* ==================================================== */
/* Navigation Links Container (.nav-links UL)        */
/* ==================================================== */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center; /* KEY: This aligns the child LIs (including .contact-list) vertically */
}

/* ==================================================== */
/* Individual Navigation Links (LI elements)         */
/* ==================================================== */
.nav-links li:not(.contact-list):not(.close-button-li) {
  margin: 0 0.8rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.5;
  padding: 0.2rem 0.2rem;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--sana-machu);
}

/* Toggle Button Styling (Hidden on Desktop) */
.toggle-button {
  display: none; /* Hidden by default */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px; /* Add padding for easier clicking */
  margin: 0;
  position: relative; /* For positioning the bars */
  width: 40px; /* Fixed width */
  height: 80px; /* Fixed height */
  font-size: xx-large;
}

.toggle-button span {
  display: block;
  position: absolute;
  height: 3px; /* Thickness of the bars */
  width: 100%;
  background: white;
  border-radius: 3px;
  left: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Position the three hamburger bars */
.toggle-button span:nth-child(1) {
  top: 0px;
}
.toggle-button span:nth-child(2) {
  top: 12px; /* Adjust spacing */
}
.toggle-button span:nth-child(3) {
  top: 24px; /* Adjust spacing */
}

/* Close button list item (Hidden on Desktop) */
.close-button-li {
  display: none;
}

/* ==================================================== */
/* Contact Section List Item (.contact-list LI) - MODIFIED */
/* ==================================================== */
.contact-list {
  /* Positioning within the .nav-links flex container */
  margin-left: auto; /* Push this LI to the far right */
  padding-left: 2rem; /* Space between last nav link and this block */

  /* Internal layout of the contact-list LI */
  display: flex; /* Use flexbox for its children */
  flex-direction: column; /* *** Stack children (h4, div.social-icons) vertically *** */
  align-items: center; /* *** Align children horizontally to the center *** */
  /* NOTE: The vertical centering of this *entire block* relative to other nav LIs
     is handled by `align-items: center;` on the PARENT `.nav-links` UL */
}

.contact-list h4 {
  margin: 0 0 0.3rem 0; /* Remove horizontal margin, add small bottom margin */
  padding: 0;
  line-height: 1.2; /* Adjust line-height if needed for spacing */
}

/* Keep contact link style consistent */
.contact-list h4 a {
  font-size: 1.2rem;
  font-weight: 400;
  /* text-align: left; */ /* Removed to allow centering from parent */
  /* Inherits color, decoration etc from .nav-links a */
}

.social-icons {
  display: flex; /* Keep icons in a row */
  align-items: center; /* Vertically align icons if they have different heights */
}

.social-icons a {
  padding: 0; /* Reset link padding for icons */
  margin: 0 0.6rem 0 0; /* Use only margin-right for spacing between icons */
  line-height: 0; /* Prevent extra space */
}
.social-icons a:last-child {
  margin-right: 0; /* No margin on the last icon */
}

.social-icons img {
  height: 20px; /* Slightly smaller icons might look better stacked */
  width: 20px;
  display: block;
}

/* ==================================================== */
/* Mobile & Tablet Responsiveness (Breakpoint: 1024px) */
/* ==================================================== */
@media (max-width: 1024px) {
  /* Changed breakpoint from 992px */
  .navbar {
    padding: 0.5rem 1.5rem; /* Adjust padding slightly */
  }

  .nav-container {
    position: relative; /* Crucial for absolute positioning of the logo */
    display: flex;
    align-items: center;
    /* Push the remaining flex item (toggle button) to the right */
    justify-content: flex-end;
    /* Give it a minimum height, e.g., based on original logo height + padding */
    min-height: 50px; /* Adjust as needed */
  }

  .logo {
    position: absolute;
    left: 50%;
    top: 50%; /* Center vertically within nav-container */
    transform: translate(-50%, -50%); /* Precise centering */
    z-index: 1002; /* HIGHEST: Logo is above everything */
    padding: 0; /* Reset padding inherited from desktop? */
    /* Ensure it doesn't shrink if container gets small */
    flex-shrink: 0;
  }

  /* === TOGGLE BUTTON: Remains in flow, pushed right === */
  .toggle-button {
    display: block; /* Show the button */
    z-index: 1000; /* LOWEST: Below logo and overlay */
    /* No need for absolute/relative positioning, flexbox handles it */
  }

  /* Show Toggle Button */
  .toggle-button {
    display: block; /* Show the button */
    /* z-index: 1002; */ /* REMOVED - Let it sit behind the overlay */
    z-index: 1000; /* Explicitly set below overlay */
  }

  /* Hide Desktop Links and Contact */
  .link-ahanba,
  .contact {
    display: none;
  }

  /* Mobile Menu Overlay Styles */
  .nav-links {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 60%;
    max-width: 300px;
    /* height: 100vh; */ /* Removed fixed height */
    background-color: rgba(0, 0, 0, 0.95); /* Slightly darker overlay */
    padding: 80px 25px 30px 25px; /* Increased top padding for close button */
    z-index: 1001;
    transition: right 1.4s ease-in-out;
    /* overflow-y: auto; */ /* Removed overflow */
    align-items: flex-start; /* Align items to the start (left) */
    /* Let content determine height, but ensure it doesn't exceed viewport */
    max-height: 100vh;
    overflow-y: hidden; /* Explicitly hide overflow if max-height is reached */
  }

  .nav-links.active {
    display: flex; /* Show menu */
    right: 0; /* Slide in */
    z-index: 3;
    position: fixed;
  }

  /* Mobile Menu List Items */
  .nav-links li {
    margin: 0 0 0.6rem 0; /* Reduced vertical space */
    width: 100%;
  }
  .nav-links .close-button-li {
    width: 20%;
  }

  .nav-links li:not(.contact-list):not(.close-button-li) {
    margin: 0 0 0.6rem 0; /* Reduced vertical space */
  }

  /* Mobile Menu Links */
  .nav-links a {
    display: block; /* Full width for tapping */
    text-align: left;
    padding: 10px 5px; /* Adjust padding */
    font-size: 1.2rem; /* Slightly larger font */
    width: 100%; /* Ensure full width */
    transition: background-color 0.2s ease;
  }
  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle hover */
    color: var(--sana-machu); /* Keep hover color */
  }

  /* Close Button Styling */
  .close-button-li {
    display: block; /* Always block inside the menu */
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 3rem;
    height: 3rem;
  }

  .close-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px; /* Padding for easier clicking */
    line-height: 1;
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 0; /* Hide the original &times; text */
    text-align: left;
  }
  /* Style the 'X' using pseudo-elements */
  /* .close-button::before,
  .close-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
  } */

  .close-button::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .close-button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* Contact Section in Mobile Menu */
  .nav-links .contact-list {
    /* Target specifically within nav-links */
    margin-left: 0;
    padding-left: 0;
    margin-top: auto; /* Push to bottom */
    padding-top: 1.5rem;
    border-top: 1px solid #555;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    width: 100%;
  }
  .nav-links .contact-list h4 {
    margin: 0 0 0.8rem 0; /* Adjust spacing */
  }
  .nav-links .contact-list h4 a {
    display: block;
    /* text-align: left; */ /* Removed to allow centering */
    width: 100%;
    text-align: center; /* Explicitly center text within the block link */
  }
  .nav-links .social-icons {
    padding-top: 0.5rem;
    justify-content: center; /* Center icons horizontally */
  }
  .nav-links .social-icons a {
    margin: 0 0.8rem 0 0; /* Adjust spacing */
  }
  .nav-links .social-icons a:last-child {
    margin-right: 0;
  }
  .nav-links .social-icons img {
    height: 22px; /* Adjust size */
    width: 22px;
  }
}

/* End of @media (max-width: 1024px) */

/* ================================== */
/* Hero Section Styles */

.hero {
  position: relative; /* Needed to position the video absolutely inside */
  height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Prevent scrollbars if video slightly overflows */
  text-align: center; /* Center text within hero-content */
  /* Removed background-image related properties */
}

/* Applying an overlay filter on the background */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(75, 64, 64, 0.5);
  /* Black overlay with 50% opacity */
  opacity: 0.85;
  /* 52% opacity */
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Scales the video like background-size: cover */
  z-index: -1; /* Pushes the video behind the content */
}

.hero-content {
  position: relative; /* Ensures it's in the stacking context */
  z-index: 1; /* Keeps content above the video (z-index: -1) */
  color: white; /* Set text color for visibility - adjust as needed */
  padding: 20px; /* Add some padding */
  /* Optional: Add a subtle background to improve text readability */
  /* background-color: rgba(0, 0, 0, 0.4); */
  /* border-radius: 8px; */
}

.hero h1 {
  font-family: "IndustryTest", sans-serif;
  color: white;
  font-size: 100px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 3px 3px 1px rgba(0, 0, 0, 1);
  mix-blend-mode: multiply;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.cta-btn {
  font-family: "IndustryTest", sans-serif;
  padding: 1rem 2rem;
  font-size: 2.9rem;
  color: var(--ngourap-touba);
  border: 3px solid var(--ngourap-touba);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

.cta-btn:hover {
  background-color: var(--sana-machu);
}

@media (max-width: 768px) {
  .hero {
    height: 55vh;
  }
}

/* ================================================== */
/* Get-To-Know */

.get-to-know {
  background-image: url("../photos/logos/toxic-background.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: fit-content;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  height: 80vh;
}

.get-to-know-content {
  position: relative;
  text-align: center;
  background-color: transparent;
}

.get-to-know-content p {
  font-family: "IndustryTest", sans-serif;
  color: var(--murap-touba);
  font-size: 2.8rem;
  font-weight: 100;
  margin: 2rem 2rem;
  letter-spacing: 1px;
}

.get-to-know-btn {
  font-family: "IndustryTest", sans-serif;
  padding: 1rem 2rem;
  font-size: 2.9rem;
  color: var(--murap-touba);
  border: 3px solid var(--murap-touba);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

.get-to-know-btn:hover {
  color: var(--sana-machu);
  /* background-color: var(--murap-touba); */
  border: 0.2rem solid var(--sana-machu);
}

/* ===================================================== */
/* Client Work Section sidei houre */

.client-work {
  font-family: "IndustryTest", sans-serif;
  padding: 3rem;
  background-image: url("../photos/images/Background_02.png");
  position: relative;
  background-size: cover;
  /* Ensures the background covers the section */
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 60vh;
}

/* Applying an overlay filter on the background */
.client-work::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(92, 75, 75, 0.5);
  /* Black overlay with 50% opacity */
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}

.client-work-content h3 {
  color: var(--ngourap-touba);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  font-weight: normal;
}

.client-work-content h2 {
  color: var(--ngourap-touba);
  font-size: 5.5rem;
  letter-spacing: 5px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.see-all-btn {
  font-family: "IndustryTest", sans-serif;
  padding: 1rem 2rem;
  font-size: 2rem;
  letter-spacing: 1px;
  background-color: transparent;
  color: white;
  border: 0.15rem solid var(--ngourap-touba);
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.see-all-btn:hover {
  color: var(--sana-machu);
  border: 0.15rem solid var(--sana-machu);
}

/* ============================================== */
/* Logo Section Sidagi houre */

.hero-logo {
  width: 100%;
  height: 30vh;
  background-color: var(--ngourap-touba);
}

.hero-logo-content {
  background-image: url(../photos/logos/toxic-logo-instagram-logo.png);
  padding: 5px 5px;
  width: 100%;
  height: 30vh;
  background-position: center;
  background-repeat: no-repeat;
  /* Add this to adjust the background size */
  background-size: 20% 25%;
  /* Makes the image fit inside the container while maintaining its aspect ratio */
}

/* ======================================= */
/* About Page Specific Styles */

/* Container for the parallax effect */
.about-parallax-container {
  /* Ensure the container takes at least the full viewport height */
  min-height: 100vh;
  /* Needed for positioning children absolutely */
  position: relative;
  /* Hide parts of the background div that extend beyond */
  overflow: hidden;
  /* Add some padding top/bottom to space content from edges */
  padding: 10vh 0;
  /* Keep flex centering for the content overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* New element specifically for the parallax background image */
.parallax-bg {
  position: absolute;
  /* Position behind the overlay and content */
  z-index: 0;
  /* Make it cover the container, but extend vertically for scrolling effect */
  /* Adjust top/bottom/height as needed based on desired effect intensity */
  top: -50vh; /* Start 50% viewport height above the container top */
  left: 0;
  right: 0;
  height: 200vh; /* Make it twice the viewport height */
  /* Background properties */
  background-image: url("../photos/images/About_background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* This element will be moved by JavaScript */
}

/* Light red overlay - Stays on the main container */
.about-parallax-container::before {
  content: "";
  /* Position absolutely within the container */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Light red color with opacity */
  background-color: rgba(83, 0, 0, 0.658);
  /* Place the overlay above the background but below the content */
  z-index: 1;
}

/* Container for the text content */
.about-content-overlay {
  /* Position relative to stack above the overlay and background */
  position: relative;
  z-index: 2;
  /* Keep previous styling */
  display: flex;
  align-items: center;
  /* Semi-transparent background for readability */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
  border-radius: 10px;
  overflow: hidden;
  max-width: 1100px; /* Set a max pixel width */
  width: 90%; /* Use percentage for flexibility, constrained by max-width */
  margin: 0 auto; /* Center horizontally */
}

/* Remove default styles for the old section if needed */
/* .aboutki-anisuba-section { */
/* Remove background/height if they conflict */
/* } */

/* Styles for the text and image sections within the content overlay */
/* These styles are adapted from the original .text-section and .image-section */
.about-content-overlay .text-section {
  flex: 1;
  padding: 40px;
  /* Ensure text color is readable */
  color: #333; /* Darker text color for light background */
  font-family: "IndustryTest", sans-serif; /* Apply base font to section */
  font-weight: normal; /* Default to normal (Book) weight */
}

.about-content-overlay .text-section h1 {
  font-family: "IndustryTest", sans-serif; /* Apply custom font */
  font-weight: 900; /* Use the Black weight */
  font-size: 4.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--angouba); /* Darker heading */
  text-align: center;
  text-transform: uppercase; /* Makes the text all uppercase */
}

.about-content-overlay .text-section h1 span {
  color: var(--angouba); /* Adjusted color for branding - Example Red */
  /* font-weight: bold; */ /* Inherits bold from h1 */
}

.about-content-overlay .text-section p {
  font-family: "IndustryTest", sans-serif; /* Apply custom font */
  font-weight: normal; /* Use the normal (Book) weight */
  margin-bottom: 20px; /* Slightly reduced margin */
  color: var(--angouba); /* Slightly darker paragraph text */
  font-size: 2rem;
  line-height: 1.6;
  /* font-weight: 300; */ /* Replaced by font-weight: normal */
  text-align: center; /* Centers the text horizontally */
}

.about-content-overlay .text-section h3 {
  font-family: "IndustryTest", sans-serif; /* Apply custom font */
  font-weight: bold; /* Use the bold weight */
  align-content: center;
  color: var(--angouba);
  margin-bottom: 20px;
  text-align: center;
}

.about-content-overlay .buttons {
  display: flex;
  gap: 15px; /* Increased gap */
  justify-content: center; /* Centers the buttons horizontally */
  align-items: center; /* Optional: centers buttons vertically if the container has a height */
}

.about-content-overlay .buttons a {
  text-decoration: none;
  padding: 12px 25px; /* Slightly larger buttons */
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Style for the primary button */
.about-content-overlay .buttons .try {
  background-color: #e60000; /* Example Red */
  color: white;
  border: 2px solid #e60000;
}
.about-content-overlay .buttons .try:hover {
  background-color: #b30000; /* Darker red on hover */
  border-color: #b30000;
}

/* Style for the secondary button */
.about-content-overlay .buttons .learn {
  background-color: transparent;
  color: #e60000; /* Example Red */
  border: 2px solid #e60000;
}
.about-content-overlay .buttons .learn:hover {
  background-color: #e60000; /* Red background on hover */
  color: white;
}

/* Styles for the image section within the content overlay */
.about-content-overlay .image-section {
  flex: 1;
  position: relative;
  min-height: 450px; /* Ensure image section has height */
  display: flex; /* Use flex to help position images */
  align-items: center;
  justify-content: center;
}

.about-content-overlay .image-section img.main-image {
  max-width: 90%; /* Control size */
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain; /* Contain keeps aspect ratio */
  border-radius: 8px; /* Optional: rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Hide overlay images for now, can be added back if needed */
.about-content-overlay .image-section .overlay-image {
  display: none;
}

/* Combined Responsive Adjustments for 768px */
@media (max-width: 768px) {
  /* Client Work Responsive Adjustments */
  .client-work {
    background-position: right center; /* Show right side of image */
  }

  /* About Page Responsive Adjustments */
  .about-parallax-container {
    padding: 5vh 0; /* Reduce padding */
  }
  .about-content-overlay {
    flex-direction: column; /* Stack text and image */
    width: 90%; /* Adjust width */
    background-color: rgba(
      0,
      0,
      0,
      0.4
    ); /* Add subtle background for readability */
    box-shadow: none; /* Remove desktop shadow if needed */
  }
  .about-content-overlay .text-section {
    padding: 25px; /* Adjust padding */
  }
  .about-content-overlay .text-section h1 {
    font-size: 1.5rem; /* Further reduce font size for mobile */
    overflow-wrap: break-word; /* Prevent overflow */
  }
  .about-content-overlay .text-section p {
    font-size: 1rem; /* Slightly smaller paragraph */
    overflow-wrap: break-word; /* Prevent overflow from long words */
  }
  .about-content-overlay .buttons {
    flex-direction: column; /* Stack buttons */
    gap: 10px;
    width: 100%;
  }
  .about-content-overlay .buttons a {
    width: 80%; /* Make buttons wider */
    padding: 10px 20px;
    font-size: 1rem;
  }
  .about-content-overlay .image-section {
    min-height: 250px; /* Adjust height */
    order: -1; /* Move image above text */
    padding-top: 20px;
  }
  .about-content-overlay .image-section img.main-image {
    max-height: 200px; /* Adjust image size */
  }
}

/* ======================================= */
/* FAQ Page Specific Styles */

/* Use same parallax container styles as about page, but with different class */
.faq-parallax-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 10vh 0;
  display: flex;
  align-items: flex-start; /* Align content to top */
  justify-content: center;
}

/* Use same overlay style as about page */
.faq-parallax-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(83, 0, 0, 0.658); /* Same overlay color */
  z-index: 1;
}

/* FAQ Content Overlay */
.faq-content-overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(
    255,
    255,
    255,
    0.9
  ); /* Slightly more opaque background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  max-width: 90%;
  width: 900px; /* Adjust width as needed */
  margin: auto;
  padding: 30px 40px; /* Add padding */
  color: #333; /* Default text color */
}

.faq-content-overlay h1 {
  font-family: "IndustryTest", sans-serif;
  font-weight: 900; /* Black weight for main heading */
  font-size: 2.8rem; /* Adjust size */
  color: #e60000; /* Use accent color */
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.faq-list {
  margin-top: 20px;
}

.faq-item {
  border-bottom: 1px solid #ddd; /* Separator line */
  margin-bottom: 15px;
}

.faq-item:last-child {
  border-bottom: none; /* Remove border for last item */
}

.faq-question {
  font-family: "IndustryTest", sans-serif;
  font-weight: bold; /* Bold weight for questions */
  font-size: 1.3rem;
  padding: 15px 0;
  cursor: pointer;
  position: relative; /* For indicator */
  list-style: none; /* Remove default marker */
  color: #444;
}

/* Style the default disclosure marker */
.faq-question::-webkit-details-marker {
  display: none; /* Hide default marker in Webkit */
}
.faq-question::marker {
  display: none; /* Hide default marker */
}

/* Add custom indicator (e.g., plus/minus or arrow) */
.faq-question::after {
  content: "+"; /* Plus sign indicator */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #e60000;
  transition: transform 0.2s ease-in-out;
}

/* Change indicator when details are open */
.faq-item[open] > .faq-question::after {
  content: "−"; /* Minus sign */
  transform: translateY(-50%);
}

.faq-answer {
  font-family: "IndustryTest", sans-serif;
  font-weight: normal; /* Normal weight for answers */
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 10px 15px 10px; /* Padding for the answer */
  color: #555;
} /* Closing brace for .faq-answer */

/* FAQ Page Responsive */
@media (max-width: 992px) {
  .faq-content-overlay {
    width: 85%; /* Adjust width */
  }
}
@media (max-width: 768px) {
  .faq-content-overlay {
    width: 90%;
    padding: 20px 25px;
  }
  .faq-content-overlay h1 {
    font-size: 2rem; /* Adjust size */
  }
  .faq-question {
    font-size: 1.1rem; /* Adjust size */
  }
  .faq-answer {
    font-size: 0.95rem; /* Adjust size */
  }
  .faq-question::after {
    font-size: 1.3rem; /* Adjust indicator */
  }
}

/* ======================================= */
/* Service Page Specific Styles */

/* Use same parallax container styles as about/faq page, but with different class */
.service-parallax-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 10vh 0;
  display: flex;
  align-items: flex-start; /* Align content to top */
  justify-content: center;
}

/* Use same overlay style as about/faq page */
.service-parallax-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 28, 28, 0.658); /* Same overlay color */
  z-index: 1;
}

/* Service Content Overlay */
.service-content-overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(
    255,
    255,
    255,
    0.9
  ); /* Slightly more opaque background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  max-width: 90%;
  width: 900px; /* Adjust width as needed */
  margin: auto;
  padding: 30px 40px; /* Add padding */
  color: #333; /* Default text color */
}

.service-content-overlay h1 {
  font-family: "IndustryTest", sans-serif;
  font-weight: 900; /* Black weight for main heading */
  font-size: 2.8rem; /* Adjust size */
  color: #e60000; /* Use accent color */
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.service-description h2 {
  font-family: "IndustryTest", sans-serif;
  font-weight: bold; /* Bold weight for subheadings */
  font-size: 1.8rem;
  color: #444;
  margin-top: 25px;
  margin-bottom: 10px;
}

.service-description p {
  font-family: "IndustryTest", sans-serif;
  font-weight: normal; /* Normal weight for text */
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.service-description hr {
  border: 0;
  height: 1px;
  background-color: #ddd;
  margin: 25px 0;
}

.service-description ul {
  list-style: disc; /* Use disc bullets */
  margin-left: 20px; /* Indent list */
  margin-bottom: 15px;
}

.service-description li {
  font-family: "IndustryTest", sans-serif;
  font-weight: normal;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

/* Service Page Responsive */
@media (max-width: 992px) {
  .service-content-overlay {
    width: 85%; /* Adjust width */
  }
}
@media (max-width: 768px) {
  .service-content-overlay {
    width: 90%;
    padding: 20px 25px;
  }
  .service-content-overlay h1 {
    font-size: 2rem; /* Adjust size */
  }
  .service-description h2 {
    font-size: 1.5rem; /* Adjust size */
  }
  .service-description p,
  .service-description li {
    font-size: 1rem; /* Adjust size */
  }
}

/* ======================================= */
/* Get a Quote Page Specific Styles */

/* Use same parallax container styles as other pages, but adjust flex alignment */
.get-quote-parallax-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 10vh 5%; /* Add horizontal padding */
  display: flex;
  flex-direction: column; /* Stack intro and form vertically */
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items vertically */
  gap: 40px; /* Space between intro and form */
}

/* Use same overlay style as other pages */
.get-quote-parallax-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(83, 0, 0, 0.658); /* Same overlay color */
  z-index: 1;
}

/* Styles for the Introductory Text Section */
.get-quote-intro-section {
  position: relative; /* Ensure it's above the ::before overlay */
  z-index: 2;
  color: var(--angouba); /* White text */
  text-align: center;
  max-width: 800px; /* Limit width */
}

.get-quote-intro-section h1 {
  font-family: "IndustryTest", sans-serif;
  font-weight: 900; /* Black weight */
  font-size: 3.5rem; /* Larger font size */
  color: var(--angouba); /* White color */
  margin-bottom: 25px;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Subtle shadow */
}

.get-quote-intro-section p {
  font-family: "IndustryTest", sans-serif;
  font-weight: normal;
  font-size: 1.4rem; /* Larger font size */
  line-height: 1.7;
  margin-bottom: 20px;
}

.get-quote-intro-section .quote-rush a {
  color: #ffd700; /* Gold color for emphasis */
  text-decoration: none;
  font-weight: bold;
}
.get-quote-intro-section .quote-rush a:hover {
  text-decoration: underline;
}

/* Get Quote Form Overlay - Black Transparent Background */
.get-quote-content-overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.75); /* Black transparent background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  max-width: 90%;
  width: 600px; /* Slightly narrower form */
  /* margin: auto; */ /* Removed auto margin as flex handles centering */
  padding: 30px 40px; /* Add padding */
  color: #f0f0f0; /* Light text color for dark background */
  font-family: "IndustryTest", sans-serif;
}

/* Removed h1 styles from here */

.get-quote-content-overlay h2 {
  font-weight: bold;
  font-size: 1.6rem; /* Slightly larger */
  color: #eee;
  /* margin-top: 20px; */ /* Removed top margin */
  margin-bottom: 25px; /* Increased bottom margin */
  text-align: center;
}

/* Removed paragraph, link, and hr styles from here as they are in the intro section now */

/* Form Styles */
.quote-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ddd;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #555; /* Darker border */
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
  color: #f0f0f0; /* Light text color */
  font-size: 1rem;
  font-family: inherit; /* Use the font from the overlay */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa; /* Lighter placeholder text */
}

.form-group textarea {
  resize: vertical; /* Allow vertical resize */
  min-height: 100px;
}

.form-group .submit-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: var(--angangba); /* Accent color */
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

.form-group .submit-btn:hover {
  background-color: #b30000; /* Darker accent color on hover */
}

/* Get a Quote Page Responsive */
@media (max-width: 992px) {
  .get-quote-content-overlay {
    width: 70%; /* Adjust width */
  }
  .get-quote-intro-section h1 {
    font-size: 2.8rem;
  }
  .get-quote-intro-section p {
    font-size: 1.2rem;
  }
}
@media (max-width: 768px) {
  .get-quote-parallax-container {
    padding: 8vh 5%;
    gap: 25px; /* Reduce gap */
  }
  .get-quote-intro-section h1 {
    font-size: 2.2rem; /* Adjust size */
    margin-bottom: 15px;
  }
  .get-quote-intro-section p {
    font-size: 1.1rem; /* Adjust size */
    margin-bottom: 15px;
  }
  .get-quote-content-overlay {
    width: 90%; /* Adjust width */
    padding: 20px 25px;
  }
  .get-quote-content-overlay h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  .form-group {
    margin-bottom: 15px;
  }
  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group textarea {
    padding: 10px;
    font-size: 0.95rem;
  }
  .form-group .submit-btn {
    padding: 10px 15px;
    font-size: 1rem;
  }
}

/* ======================================= */
/* Portfolio Page Specific Styles */

.portfolio-main {
  background-color: #1a1a1a; /* Dark background */
  padding: 40px 20px; /* Add some padding */
  min-height: calc(
    100vh - 80px
  ); /* Adjust based on navbar/footer height if needed */
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  /* Create 3 equal columns */
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Responsive columns */
  gap: 15px; /* Space between grid items */
  max-width: 1400px; /* Limit max width */
  margin: 20px auto; /* Center grid */
}

.portfolio-item {
  display: block; /* Make the link a block element */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer; /* Indicate clickable */
}

.portfolio-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover Effect */
.portfolio-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* Darker overlay */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 2000; /* Ensure it's above everything */
  cursor: pointer; /* Allow clicking outside to close */
}

.lightbox-overlay.active {
  display: flex; /* Show when active */
}

.lightbox-image {
  display: block;
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  cursor: default; /* Default cursor for the image itself */
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: #ccc;
}

/* Portfolio Responsive */
@media (max-width: 768px) {
  .portfolio-main {
    padding: 30px 15px; /* Adjust padding */
  }
  .portfolio-grid {
    /* Adjust grid for potentially fewer columns on mobile */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px; /* Reduce gap */
  }
  .lightbox-close {
    font-size: 2.5rem; /* Smaller close button */
    top: 15px;
    right: 20px;
  }
}
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(240px, 1fr)
    ); /* Even smaller min */
  }
}

/* ======================================= */
/* Art Requirements Page Specific Styles */

/* Use same parallax container styles as other pages */
.art-parallax-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 10vh 5%; /* Add horizontal padding */
  display: flex;
  align-items: center; /* Center content vertically */
  justify-content: center;
}

/* Use same overlay style as other pages */
.art-parallax-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(83, 0, 0, 0.658); /* Same overlay color */
  z-index: 1;
}

/* Art Content Overlay - Remove background, adjust text color */
.art-content-overlay {
  position: relative;
  z-index: 2;
  /* background-color: rgba(255, 255, 255, 0.9); */ /* REMOVED */
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */ /* REMOVED */
  /* border-radius: 10px; */ /* REMOVED */
  max-width: 90%;
  width: 80%; /* Adjust width */
  margin: auto;
  padding: 40px 0px; /* Adjust padding */
  color: var(--angouba); /* White text */
  text-align: center; /* Center align content */
  font-family: "IndustryTest", sans-serif;
}

.art-content-overlay h1 {
  font-weight: 900; /* Black weight */
  font-size: 6.5rem; /* Increased size */
  color: var(--angouba); /* White text */
  margin-bottom: 40px; /* Increased margin */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add shadow */
  text-transform: uppercase;
}

.art-requirements-links {
  margin: 40px 0; /* Increased margin */
  display: flex;
  justify-content: center;
  gap: 40px; /* Increased space between links */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.art-req-link {
  display: inline-block;
  padding: 18px 35px; /* Increased padding */
  border: 2px solid var(--angouba); /* White border */
  color: var(--angouba); /* White text */
  text-decoration: none;
  font-weight: normal;
  font-size: 2.5rem; /* Increased size */
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: rgba(0, 0, 0, 0.2); /* Subtle dark background */
}

.art-req-link:hover {
  background-color: var(--angouba); /* White background on hover */
  color: var(--angangba); /* Accent color text on hover */
}

.art-contact-prompt {
  margin-top: 40px; /* Increased margin */
  font-size: 2.5rem; /* Increased size */
  color: #eee; /* Lighter gray */
}

.art-contact-prompt a {
  color: #ffd700; /* Gold color link */
  font-weight: normal;
  text-decoration: none;
}

.art-contact-prompt a:hover {
  text-decoration: underline;
}

.art-logo-separator {
  margin-top: 60px; /* Increased space above the logo */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.art-logo-separator .line {
  flex-grow: 0;
  flex-basis: 25%; /* Set a base width (adjust % as needed for length) */
  max-width: 25%; /* Limit line width */
  height: 2px;
  background-color: rgba(255, 255, 255, 0.5); /* White transparent line */
}

.art-page-logo {
  height: 3rem; /* 2rem size */
  width: auto;
  margin: 0 20px; /* Space around the logo */
  filter: brightness(0) invert(1); /* Make logo white */
}

/* Specific styles for separator within .get-to-know section */
.get-to-know .art-logo-separator .line {
  background-color: var(--murap-touba); /* Use dark gray for visibility */
}

.get-to-know .art-page-logo {
  filter: none; /* Remove white filter to show original logo color */
}

/* Styles for the specific home page separator */
.art-logo-separator-home {
  margin-top: 0px; /* Keep existing margin or adjust if needed */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0rem; /* Add top padding */
  padding-bottom: 2rem; /* Add bottom padding */
}

.art-logo-separator-home .line {
  flex-grow: 0; /* Don't allow lines to grow infinitely */
  flex-basis: 25%; /* Set a base width (adjust % as needed for length) */
  max-width: 25%; /* Limit line width */
  height: 2px;
  background-color: var(--murap-touba); /* Dark gray line */
}

.art-logo-separator-home .art-page-logo {
  height: 4rem; /* Keep existing size or adjust */
  width: auto;
  margin: 0 20px; /* Keep existing margin */
  filter: brightness(0); /* Make logo black */
}

/* Art Requirements Responsive */
@media (max-width: 992px) {
  .art-content-overlay h1 {
    font-size: 4.5rem; /* Adjust size */
  }
  .art-req-link {
    font-size: 1.8rem; /* Adjust size */
    padding: 15px 30px;
  }
  .art-contact-prompt {
    font-size: 1.8rem; /* Adjust size */
  }
  .art-logo-separator {
    padding: 3rem 0;
  }
}
@media (max-width: 768px) {
  .art-content-overlay {
    width: 90%;
    padding: 30px 0;
  }
  .art-content-overlay h1 {
    font-size: 3rem; /* Adjust size */
    margin-bottom: 30px;
  }
  .art-requirements-links {
    gap: 20px; /* Reduce gap */
  }
  .art-req-link {
    font-size: 1.3rem; /* Adjust size */
    padding: 12px 25px;
  }
  .art-contact-prompt {
    font-size: 1.3rem; /* Adjust size */
    margin-top: 30px;
  }
  .art-logo-separator {
    margin-top: 40px;
    padding: 2rem 0;
  }
  .art-logo-separator .line {
    flex-basis: 20%;
    max-width: 20%;
  }
  .art-page-logo {
    height: 2.5rem; /* Adjust size */
  }
}

/* ========================================= */
/* Contact Page Specific Styles */

.contact-main {
  background-color: var(
    --murap-touba
  ); /* Light gray background for the whole contact section */
  padding: 50px 0; /* Add padding top and bottom */
}

.contact-container {
  display: flex;
  max-width: 1200px; /* Limit overall width */
  margin: 0 auto; /* Center the container */
  background-color: var(--angouba); /* White background for the container */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden; /* Ensure map doesn't overflow */
}

.map-column {
  flex: 3; /* Map takes more space */
  min-height: 500px; /* Ensure map has height */
  position: relative; /* Needed for absolute positioning of buttons */
  display: flex; /* Use flexbox for layout */
  flex-direction: column; /* Stack buttons and map vertically */
}

.map-view-buttons {
  /* Position buttons absolutely at the top-right corner */
  position: absolute;
  top: 10px;
  right: 10px; /* Changed from left */
  z-index: 10; /* Ensure buttons are above the map */
  background-color: rgba(
    255,
    255,
    255,
    0.8
  ); /* Semi-transparent white background */
  padding: 5px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.map-toggle-btn {
  padding: 5px 10px;
  margin: 0 2px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.map-toggle-btn.active {
  background-color: var(--angangba); /* Use accent color for active */
  color: white;
  border-color: var(--angangba);
}

.map-toggle-btn:not(.active):hover {
  background-color: #f0f0f0;
}

.map-iframe {
  flex-grow: 1; /* Allow iframe to fill remaining space */
  display: block; /* Remove potential extra space */
  height: 100%; /* Take full height of the flex item */
  width: 100%;
  border: none; /* Remove default iframe border */
}

/* Initially hide the satellite map */
#map-view-satellite {
  display: none;
}

.map-column iframe {
  /* Keep this for potential direct iframe styling if needed, but use .map-iframe primarily */
  display: block; /* Remove potential extra space */
  height: 100%;
  width: 100%;
}

.info-column {
  flex: 2; /* Info takes less space */
  padding: 40px;
  font-family: "IndustryTest", sans-serif;
  color: #333;
}

.info-column h1 {
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--angangba);
  margin-bottom: 30px;
}

.contact-details .contact-item {
  margin-bottom: 25px;
}

.contact-details h3 {
  font-weight: bold;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.contact-details p a {
  color: #444;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details p a:hover {
  color: var(--angangba);
}

.social-media {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.social-media h3 {
  font-weight: bold;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-media p {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.social-media a {
  color: var(--angangba);
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.social-media a:hover {
  text-decoration: underline;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column; /* Stack columns */
    max-width: 95%; /* Allow slightly wider on mobile */
  }
  .map-column {
    min-height: 300px; /* Reduce map height */
    order: 2; /* Show map below info */
  }
  .info-column {
    padding: 30px 25px; /* Adjust padding */
    order: 1; /* Show info first */
  }
  .info-column h1 {
    font-size: 2rem; /* Adjust size */
    margin-bottom: 20px;
  }
  .contact-details .contact-item {
    margin-bottom: 20px;
  }
  .contact-details h3 {
    font-size: 1rem; /* Adjust size */
  }
  .contact-details p {
    font-size: 1rem; /* Adjust size */
  }
  .social-media h3 {
    font-size: 1rem; /* Adjust size */
  }
  .social-media p {
    font-size: 1rem; /* Adjust size */
  }
}

/* ========================================= */
/* Footer Section */

.footer {
  font-family: "IndustryTest", sans-serif;
  font-weight: normal;
  background-color: #000;
  color: #fff;
  padding: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-around; /* Changed from space-between */
  align-items: center;
  flex-wrap: wrap;
  /* Ensures responsiveness for smaller screens */
  text-align: center;
  /* Ensures all text is centered */
}

.address {
  flex: 1;
}

.address p {
  font-weight: 400;
  letter-spacing: 1px;
  /* margin-left: -220px; */ /* REMOVED Negative Margin */
  text-align: left; /* Align text left in its column */
  font-size: 1rem;
}

.address p span {
  text-transform: lowercase !important; /* Keep this for potential future spans */
}

/* Ensure the email address inside <samp> is lowercase */
.address p samp {
  text-transform: lowercase !important; /* Explicitly override parent uppercase */
}

.footer-logo {
  flex: 1;
  text-align: center;
}

.footer-logo img {
  padding: 0;
  margin: 0;
  width: 8rem;
  height: 6rem;
}

.footer-bottom {
  flex: 1;
  text-align: right; /* Keep right alignment for desktop */
}

.footer-bottom p {
  margin: 0;
}

.footer .address a {
  text-transform: lowercase;
  text-decoration: none;
  color: var(--angouba);
  font-size: 1.2rem;
  /* You might want to add a color rule as well, e.g.: */
  /* color: #yourlinkcolor; */
}

/* PortalEra Link Styles */
.portalera-link {
  display: inline-flex; /* Align logo and text inline */
  align-items: center; /* Vertically center items */
  text-decoration: none; /* Remove underline from link */
  color: inherit; /* Inherit text color from footer */
  margin-top: 5px; /* Add some space above the link */
  transition: opacity 0.3s ease; /* Smooth hover effect */
}

.portalera-link:hover {
  opacity: 0.8; /* Slightly fade on hover */
}

.portalera-link span {
  font-size: 1.6rem;
  font-weight: bold;
}

.portalera-logo {
  height: 2.2rem; /* Adjust logo height as needed */
  width: auto; /* Maintain aspect ratio */
  margin-right: 5px; /* Space between logo and text */
  vertical-align: middle; /* Align logo nicely with text */
}

/* =============================================================== */
/* Footer Adjustments for Smaller Screens (Stacking & Reordering) */
/* =============================================================== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    gap: 20px; /* Add space between stacked items */
  }

  .address,
  .footer-logo,
  .footer-bottom {
    flex: none; /* Reset flex property */
    width: 100%; /* Allow items to take full width if needed */
    text-align: center; /* Ensure text is centered */
    margin-bottom: 15px; /* Add bottom margin for spacing */
  }

  .address p,
  .footer-bottom p {
    text-align: center; /* Reinforce center alignment */
  }

  .footer .address a {
    font-size: 0.8rem;
  }

  /* Reorder the elements */
  .footer-logo {
    order: 1; /* Logo first */
  }
  .address {
    order: 2; /* Address second */
  }
  .footer-bottom {
    order: 3; /* Bottom section last */
    margin-bottom: 0; /* No margin needed for the last item */
  }

  .portalera-link {
    justify-content: center; /* Center the content within the inline-flex */
    margin: 10px auto 0; /* Center the link block itself */
  }

  .portalera-link span {
    font-size: 1.1rem;
    font-weight: bold;
  }

  .portalera-logo {
    height: 1.5rem; /* Adjust logo height as needed */
    width: auto; /* Maintain aspect ratio */
    margin-right: 5px; /* Space between logo and text */
    vertical-align: middle; /* Align logo nicely with text */
  }
}

/* ========================================================================== */
/* countdown page sidei houre */

#blog-posts {
  background-color: #d47e0e;
  padding: 0 10% 3% 10%;
  margin: 10% 10%;
}

#blog-posts h1 {
  text-align: center;
  padding: 10px;
}

/* =============================================================== */
/* Tablet Adjustments (Inherited by Mobile unless overridden) */
/* =============================================================== */
@media (max-width: 1024px) {
  /* Hero Section Tablet */
  .hero h1 {
    font-size: 70px; /* Adjust size */
    letter-spacing: 5px;
  }
  .cta-btn {
    font-size: 2rem; /* Adjust size */
    padding: 0.8rem 1.8rem;
  }

  /* Get-To-Know Tablet */
  .get-to-know-content p {
    font-size: 2rem; /* Adjust size */
  }
  .get-to-know-btn {
    font-size: 2rem; /* Adjust size */
  }

  /* Client Work Tablet */
  .client-work-content h3 {
    font-size: 1.2rem; /* Adjust size */
  }
  .client-work-content h2 {
    font-size: 4rem; /* Adjust size */
  }
  .see-all-btn {
    font-size: 1.5rem; /* Adjust size */
  }

  /* Featured Logo Tablet */
  .hero-logo-content {
    background-size: 60% auto; /* Adjust size for tablets */
  }

  /* Center footer text on tablets */
  .address p {
    text-align: center;
  }
  .footer-bottom {
    text-align: center;
  }
}

/* =============================================================== */
/* Smaller Mobile Adjustments (Breakpoint: 480px) */
/* =============================================================== */
@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem 1rem; /* Reduce padding */
  }
  .nav-links {
    padding: 70px 20px 25px 20px; /* Adjust padding */
    max-width: 280px; /* Slightly narrower menu */
  }
  .nav-links a {
    font-size: 1.1rem; /* Adjust font size */
  }
  .close-button-li {
    top: 10px;
    right: 15px;
  }
  .close-button {
    font-size: 1.8rem;
  }
  .nav-links .social-icons img {
    height: 20px;
    width: 20px;
  }

  /* Adjust Hero text size on small mobiles */
  .hero h1 {
    font-size: 40px; /* Smaller font size */
    letter-spacing: 3px;
  }
  .cta-btn {
    font-size: 1.5rem; /* Adjust button size */
    padding: 0.6rem 1.2rem;
  }

  /* Adjust Get-to-know text size */
  .get-to-know {
    height: 70%;
  }

  .get-to-know-content p {
    font-size: 1.5rem;
  }
  .get-to-know-btn {
    font-size: 1.5rem;
  }

  /* Adjust Client Work text size */
  .client-work-content h2 {
    font-size: 3rem;
  }
  .see-all-btn {
    font-size: 1.5rem;
  }

  /* Adjust Footer text/logo */
  .footer-logo img {
    width: 8rem;
    height: auto;
  }

  .address p,
  .footer-bottom p {
    font-size: 0.8rem;
    text-align: center; /* Ensure centering persists */
  }
}

/* ======================================= */
/* Form Validation Styles */
/* ======================================= */

.error-message {
  color: #ff4d4d; /* Red color for errors */
  font-size: 0.8em;
  display: block; /* Ensure it takes its own line */
  margin-top: 3px;
  font-weight: normal; /* Ensure it's not bold if inheriting */
}

.input-error {
  border-color: #ff4d4d !important; /* Highlight input border */
  box-shadow: 0 0 3px #ff4d4d; /* Optional: add a glow */
}

/* ======================================= */
/* Success Modal Styles */
/* ======================================= */

.modal-overlay {
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
  z-index: 1000; /* Sit on top */
  display: none; /* Hidden by default */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

.modal-content {
  background-color: #fefefe;
  margin: auto; /* Auto margin helps centering */
  padding: 30px 40px;
  border: 1px solid #888;
  width: 80%; /* Could be more specific */
  max-width: 450px; /* Max width */
  border-radius: 8px;
  text-align: center;
  position: relative; /* For positioning the close button */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop; /* Add animation */
  animation-duration: 0.4s;
}

/* Add Animation */
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.modal-close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-icon {
  margin-bottom: 20px;
}

.modal-icon svg {
  width: 60px; /* Adjust size as needed */
  height: 60px;
}

.modal-content p {
  font-size: 1.2rem;
  color: #333;
  margin: 0; /* Reset margin if needed */
}
