@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,500;0,600;0,700;1,400&family=Ubuntu:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
html,
body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}
.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
  width: 100%;
  box-sizing: border-box;
}
/* navbar styling */
/* --- CSS Variables (Custom Properties) for Glassmorphism --- */
:root {
    --glass-bg-color-initial: rgba(255, 255, 255, 0.15); /* Light, subtle glass */
    --glass-border-color-initial: rgba(255, 255, 255, 0.3);
    --glass-shadow-color-initial: rgba(0, 0, 0, 0.1);
    --glass-blur-initial: 8px; /* Medium blur for clarity */

    --glass-bg-color-sticky: rgba(255, 255, 255, 0.25); /* Slightly less transparent when sticky */
    --glass-border-color-sticky: transparent;
    --glass-shadow-color-sticky: transparent;
    --glass-blur-sticky: 10px; /* Slightly more blur when sticky */

    --text-dark: rgb(24, 24, 24); /* Dark text for contrast on light glass */
    --text-light: rgb(255, 255, 255); /* For burger menu icon if light */
    --accent-color-glass: #000000; /* A nice blue accent color for glass theme */

    --navbar-padding-initial: 30px 0;
    --navbar-padding-sticky: 15px 0;
    --transition-duration: 0.3s;
    --font-family-primary: "Oswald", system-ui, sans-serif;
    --z-index-navbar: 999;
}

/* --- Base Navbar Styling (Glassmorphism) --- */
.navbar {
    display: flex;
    position: fixed;
    width: 100%;
    z-index: var(--z-index-navbar);
    padding: var(--navbar-padding-initial);
    font-family: var(--font-family-primary);
    transition: all var(--transition-duration) ease;
    box-sizing: border-box;
    top: 0;
    left: 0;

    /* --- Core Glass Properties --- */
    background-color: var(--glass-bg-color-initial);
    border-bottom: transparent; /* Border on bottom for subtle separation */
    box-shadow: 0 4px 30px var(--glass-shadow-color-initial);
    backdrop-filter: blur(var(--glass-blur-initial));
    -webkit-backdrop-filter: blur(var(--glass-blur-initial)); /* For Safari */
}

/* --- Sticky Navbar State (Glassmorphism Adaptation) --- */
.navbar.sticky {
    padding: var(--navbar-padding-sticky);
    background-color: var(--glass-bg-color-sticky); /* Slightly more opaque glass */
    border-bottom: 1px solid var(--glass-border-color-sticky);
    box-shadow: 0 8px 40px var(--glass-shadow-color-sticky); /* Slightly larger shadow for emphasis */
    backdrop-filter: blur(var(--glass-blur-sticky));
    -webkit-backdrop-filter: blur(var(--glass-blur-sticky));
}

/* --- Max Width Container for Content Alignment --- */
.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Logo Styling (Adapted for Glass) --- */
.navbar .logo a {
    color: var(--text-dark); /* Dark text for primary logo */
    font-size: 35px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar .logo a:hover {
    color: var(--accent-color-glass); /* Hover accent for primary logo */
}

.navbar.sticky .logo a {
    color: var(--accent-color-glass); /* Stays dark when sticky */
}


.navbar .logo a span {
    color: var(--accent-color-glass); /* Accent color for span (Dakers) */
    font-size: 35px;
    transition: color var(--transition-duration) ease;
}

.navbar.sticky .logo a span {
    color: var(--accent-color-glass); /* Stays accent when sticky */
}

/* --- Main Menu Styling (Desktop - Adapted for Glass) --- */
.navbar .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar .menu li {
    display: inline-block;
}

.navbar .menu li a.mi-t {
    display: block;
    color: var(--text-dark); /* Dark text for menu items */
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 25px;
    transition: color var(--transition-duration) ease;
    padding: 5px 0;
}

.navbar .menu li a.mi-t:hover {
    color: var(--accent-color-glass); /* Hover color (accent blue) */
}

.navbar.sticky .menu li a.mi-t:hover {
    color: var(--accent-color-glass); /* Hover color when sticky (accent blue) */
}

/* --- Burger Menu / Mobile Menu Toggle Button (Adapted for Glass) --- */
.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
}

.burger-menu {
    color: var(--text-dark); /* Dark icon on light glass */
    transition: color 0.2s ease;
}

.menu-btn i.active:before {
    content: "\f00d"; /* Change to an 'x' icon when active */
    color: var(--accent-color-glass); /* Accent color when active */
}


/* --- Media Queries (Adaptation for Mobile Menu in Glass Style) --- */
@media screen and (max-width: 947px) {
    .navbar .max-width {
        padding: 0 30px;
    }

    .menu-btn {
        display: block;
    }

    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        /* Mobile menu background as glass */
        background-color: var(--glass-bg-color-sticky); /* Use sticky glass color for mobile menu */
        backdrop-filter: blur(var(--glass-blur-sticky));
        -webkit-backdrop-filter: blur(var(--glass-blur-sticky));
        border-right: 1px solid var(--glass-border-color-sticky); /* Optional: border on the side of slide-in menu */
        text-align: center;
        padding-top: 80px;
        transition: left var(--transition-duration) ease;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .navbar .menu.active {
        left: 0;
    }

    .navbar .menu li {
        margin: 20px 0;
        display: block;
    }

    .navbar .menu li a.mi-t {
        margin-left: 0;
        font-size: 20px;
        padding: 10px 0;
        color: var(--text-dark); /* Dark text for mobile menu links */
    }

    .navbar .menu li a.mi-t:hover {
        color: var(--accent-color-glass);
    }
}

/* Adjustments for even smaller screens */
@media screen and (max-width: 690px) {
    .navbar .max-width {
        padding: 0 15px;
    }
    .navbar .logo a {
        font-size: 30px;
    }
    .navbar .logo a span {
        font-size: 30px;
    }
}

@media screen and (max-width: 500px) {
    .navbar .max-width {
        padding: 0 10px;
    }
}

/* --- IMPORTANT: For the glass effect to be visible, the <body> or a parent element MUST have a background image or a dynamic background behind the navbar. --- */
/* Example for body background (from previous glassmorphism example): */
/*
body {
    background-image: url('https://source.unsplash.com/random/1920x1080?abstract,nature');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}
*/



.newBTN {
  background: #000000;;
  border: 2px solid #343a40;
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  outline: none;
}


.scroll-up-btn {
  position: fixed;
  width: 48px; /* Slightly larger for better touch target */
  height: 48px;
  border: none; /* Remove the white border */
  background: linear-gradient(to top, transparent, rgba(117, 117, 117, 0.2));
  color: #000000;
  right: 30px;
  bottom: 30px;
  text-align: center;
  line-height: 48px; /* Vertically center the icon */
  z-index: 9999;
  font-size: 24px; /* Adjust icon size */
  border-radius: 12px; /* More modern rounded corners */
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
  opacity: -5;
}

.scroll-up-btn.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: visible;
}
.home-btn,.fas.fa-home {
  position: fixed;
  width: 48px; /* Slightly larger for better touch target */
  height: 48px;
  border: none; /* Remove the white border */
  background: linear-gradient(to top, transparent, rgba(117, 117, 117, 0.2));
  color: #000000;
  right: 30px;
  bottom: 90px; /* Move above home-btn to avoid overlap */
 text-align: center;
  line-height: 48px; /* Vertically center the icon */
  z-index: 9999;
  font-size: 24px; /* Adjust icon size */
  border-radius: 12px; /* More modern rounded corners */
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
  opacity: -5;
}
.home-btn.show {
  opacity: 1;
  pointer-events: visible;
}

.home-btn .fa-home {
  color: #000000;
}



/* Hover effect for all action buttons */
.scroll-up-btn:hover,
.home-btn:hover,
.home-btn .fa-home:hover {
  color: #ffffff; /* Change text color on hover */
 background:  #000000;
  transform: translateY(-2px); /* Gentle lift on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover */
}

/* Focus effect for accessibility */
.scroll-up-btn:focus,
.gallery-btn:focus,
.home-btn:focus {
  outline: none;
  border: 2px solid #020202; /* Example focus style */
}

.image-overlay img {
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* home section styling */
.home {
  position: relative;
  object-fit: contain;
  display: flex;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  min-height: 500px;
  color: #fff;
  font-family: "Oswald", system-ui;
  transition: background-image 1s ease-in-out;
  overflow: hidden; /* Important to contain absolutely positioned bg layers */
}

/* Background layers */
.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: changeBackgroundFade 16s infinite;
  animation-timing-function: ease-in-out;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.bg1 {
  background-image: url("../img/main/main(1).jpg");
  animation-delay: 0s;
}
.bg2 {
  background-image: url("../img/main/main(5).jpg");
  animation-delay: 4s;
}
.bg3 {
  background-image: url("../img/main/main(2).jpg");
  animation-delay: 8s;
}
.bg4 {
  background-image: url("../img/main/main(3).jpg");
  animation-delay: 12s;
}

/* Fading background images */
@keyframes changeBackgroundFade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.home .max-width {
  margin: auto 0 auto 40px;
}

.home .home-content .text-1 {
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}

.home .home-content .text-2 {
  font-size: 40px;
  margin: 5px 0;
}

.home .home-content .text-2 span {
  color: #343a40;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
    /* Outer glow */ 0 0 20px rgba(255, 255, 255, 0.6);
  /* Slightly larger glow */ /* 0 0 5px rgba(255, 255, 255, 1); Inner, sharper glow */
}

.home .home-content a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  background: #e0b089;
  font-size: 25px;
  padding: 12px 36px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid #e0b089;
}

.home .home-content a:hover {
  color: #f8f9fa;
  background: none;
}
/* all similar content Styling */

section {
  padding: 100px 0;
}
.about,
.services,
.skills,
.contact {
  font-family: "Poppins", sans-serif;
  transition: ease-in-out;
  
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
section .title {
position: relative;
  text-align: center;
  font-size: 2.8rem; /* Larger title */
  font-weight: 700;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: "Oswald", system-ui;
  color: #000000; /* Dark title */
}
section .title::before {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 180px;
  height: 3px;
  background: #000000;
  transition: translateX(-50%);
}
.about .title::before {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 140px;
  height: 3px;
  background: #000000;
  transition: translateX(-50%);
}
.gallery-container #family .title::before {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 130px;
  height: 3px;
  background: #000000;
  transition: translateX(-50%);
}
.gallery-container #portrait .title::before {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 160px;
  height: 3px;
  background: #000000;
  transition: translateX(-50%);
}
.gallery-container #landscape .title::before {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 210px;
  height: 3px;
  background: #000000;
  transition: translateX(-50%);
}
.gallery-container #couples .title::before {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 165px;
  height: 3px;
  background: #000000;
  transition: translateX(-50%);
}
.about .title-data1::before {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 450px;
  height: 3px;
  background: #000000;
  transition: translateX(-50%);
}
.about .title-data2::before {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 230px;
  height: 3px;
  background: #000000;
  transition: translateX(-50%);
}
section .title::after {
  position: absolute;
  text-align: center;
  bottom: -7px;
  left: 50%;
  font-size: 15px;
  color: #000000;
  padding: 3px;
  background: #fff;
  transform: translateX(-50%);
}
/* about section styling */
.about {
  color: #343a40;
  background: #f8f9fa;
  padding: 80px 0;
}

.about .max-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about .title {
  position: relative;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: "Oswald", system-ui;
  color: #000000;
}

.about .about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about .about-content .column {
  flex: 1 1 45%; /* More flexible sizing */
  min-width: 280px;
}

/* Left column (image) */
.about .about-content .column.left {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0; /* Remove static margin */
}

.about .about-content .column.left .img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}

.about .about-content .column.left img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.about .about-content .column.left:hover img {
  transform: scale(1.05);
}

/* Right column (text) */
.about .about-content .column.right .text {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

.about .about-content .column.right .text span {
  color: #000000;
}

.about .about-content .column.right p {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
  text-align: justify;
  margin-bottom: 15px;
}
.about .about-content .text-column,
.about .about-content .column.left {
  flex: 1 1 45%;
  min-width: 280px;
}

/* Medium screen adjustments (tablets & small laptops) */
@media (max-width: 991px) {
  .about .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .about .about-content .column {
    width: 100%;
  }

  .about .about-content .column.left img {
    max-width: 100%;
  }
}
/* Mobile: stack image and text */
@media (max-width: 768px) {
  .about .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .about .about-content.reverse-on-mobile {
    flex-direction: column-reverse;
  }

  .about .about-content .column.left,
  .about .about-content .text-column {
    width: 100%;
  }

  .about .about-content .column.left img {
    max-width: 100%;
    height: auto;
  }
}

/* Small screen adjustments (phones) */
@media (max-width: 576px) {
  .about {
    padding: 60px 0;
  }

  .about .title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .about .about-content .column.right .text {
    font-size: 1.5rem;
  }

  .about .about-content .column.right p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* About me page styling */
/* Ensure these variables are available (e.g., from your main CSS :root block) */
:root {
    /* Existing Glassmorphism Theme Variables (Keep these if navbar/footer are still glassy) */
    --glass-bg-color-initial: rgba(255, 255, 255, 0.15);
    --glass-border-color-initial: rgba(255, 255, 255, 0.3);
    --glass-shadow-color-initial: rgba(0, 0, 0, 0.1);
    --glass-blur-initial: 8px;
    --text-dark-on-light-glass: rgb(50, 50, 50);
    --text-light-on-dark-glass: rgb(255, 255, 255);
    --accent-color-glass: #000000;

    /* NEW: General Page Colors (matching Lena Adelmann style) */
    --page-bg-color: #ffffff; /* Clean white background */
    --content-text-color: #333333; /* Dark gray for body text */
    --heading-color-dark: #222222; /* Slightly darker for headings */
    --subtle-line-color: rgba(0, 0, 0, 0.1); /* Very light gray for subtle lines */
    --button-bg-color: #333333; /* Dark button background */
    --button-text-color: #ffffff; /* White button text */

    /* NEW: Font Families */
    --font-family-body: "Oswald", system-ui, sans-serif; /* Elegant serif for body text */
    --font-family-heading: "Oswald", system-ui, sans-serif; /* Modern sans-serif for headings */
    --font-family-primary: "Oswald", system-ui, sans-serif; /* Existing, for global consistency */

    /* Font sizes (adjust as per your project's global setup) */
    --fs-page-title: 3.5rem; /* Larger main title */
    --fs-section-subtitle: 2.2rem; /* Subtitles like on the target page */
    --fs-body: 1.15rem; /* Slightly larger body text for readability */
    --fs-list: 1.05rem; /* For facts list */
    --fs-button: 1.1rem; /* Button text size */
}

/* --- About Me Section (Overall Container) --- */
.about-me-page {
    /* Padding to prevent content from hiding behind fixed navbar */
    padding-top: 120px; /* Adjust as needed based on your navbar's height */
    padding-bottom: 80px; /* Space above the footer */
    
    background-color: var(--page-bg-color); /* Clean white background */
    color: var(--content-text-color); /* Default text color for the section */

    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex; /* Use flex to align content */
    flex-direction: column;
    align-items: center;
    box-sizing: border-box; /* Ensure padding doesn't add to dimensions */
}

.about-me-page .max-width {
    width: 100%;
    max-width: 1200px; /* Match your main content width */
    margin: 0 auto;
    padding: 0 40px; /* Generous horizontal padding */
    box-sizing: border-box;
}

/* --- Main Page Title (e.g., "Über Mich") --- */
.page-title {
    font-family: var(--font-family-heading); /* New heading font */
    font-size: var(--fs-page-title);
    font-weight: 700;
    text-align: center;
    color: var(--heading-color-dark);
    margin-bottom: 80px; /* More space below main title */
    position: relative;
    padding-bottom: 20px; /* Space for pseudo-element underline */
    line-height: 1.2;
}

.page-title::before {
    content: " ";
    position: absolute;
    bottom: 0px;
    left: 50%;
   
    transform: translateX(-50%);
    width: 190px; /* Subtle underline */
    height: 3px;
    background:#000000;
    border-radius: 2px;
}

/* --- Main About Content Wrapper --- */
/* This element previously held glass styles. Now it's a clean container for inner content blocks. */
.main-about-content {
    width: 100%;
    max-width: 1000px; /* Limit content width for better readability */
    margin: 0 auto;
    /* Removed all glassmorphism related styles from here */
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    transform: none;
    display: flex; /* Kept as flex for stacking content blocks */
    flex-direction: column;
}

/* --- Content Blocks within the About Section --- */
/* These individual blocks are now clean, without glass styles */
.content-block {
    margin-bottom: 60px; /* Generous space between content sections */
    /* No padding, background, border, shadow for these blocks,
       as per the reference site's clean aesthetic */
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.content-block:last-child {
    margin-bottom: 0;
}

/* --- Section Subtitles (e.g., "Meine Leidenschaft...") --- */
.section-subtitle {
    font-family: var(--font-family-heading); /* New heading font */
    font-size: var(--fs-section-subtitle);
    font-weight: 600;
    color: var(--heading-color-dark);
    margin-bottom: 30px; /* Space below subtitle */
    line-height: 1.3;
    text-align: left; /* Subtitles should be left-aligned as per reference */
    position: relative; /* For the optional subtle line */
}
/* No explicit underline for subtitles as per Lena's site, but if you want one,
   uncomment and adjust below. The previous HTML structure had one for title-contact,
   which is now section-subtitle. I'll remove the pseudo-element for cleaner match. */
/* .section-subtitle::after { content: ""; display: none; } */


/* --- Paragraphs and List Items --- */
.content-block p {
    font-family: var(--font-family-body); /* New body font */
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--content-text-color);
    margin-bottom: 20px; /* Space below paragraphs */
    text-align: left; /* Keep text left-aligned */
}

.facts-list {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
    font-family: var(--font-family-body); /* New body font */
    font-size: var(--fs-list);
    line-height: 2; /* Increased line-height for readability */
    color: var(--content-text-color);
}

.facts-list li {
    margin-bottom: 10px;
    padding-left: 0; /* Remove padding as no custom bullet needed in the reference */
    position: relative;
}
/* No custom bullet points (::before) for the facts list, as per the reference site */


/* --- Text and Image Layout (Flexbox for 2-column) --- */
.text-and-image-row {
    display: flex;
    align-items: flex-start; /* Align columns to the top */
    justify-content: space-between;
    gap: 60px; /* More space between columns */
    flex-wrap: nowrap; /* CRUCIAL: Prevent wrapping on larger screens */
}

.text-column {
    flex: 1; /* Allow text column to take available space */
    min-width: 400px; /* Adjusted min-width for text to ensure readability with larger images */
    box-sizing: border-box; /* Ensure padding/border is included */
}

.image-column {
    flex-shrink: 0; /* Prevent image from shrinking too much */
    flex-basis: 500px; /* Ideal size for the image column on larger screens */
    max-width: 550px; /* Maximum allowed width for the image */
    box-sizing: border-box;
}

/* --- Image Styling (Clean and Modern) --- */
.image-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 0; /* No border-radius for images */
    box-shadow: none; /* No shadow for images */
    border: none;
}

.about-image {
    width: 500px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0; /* No border-radius for images */
    filter: none; /* Remove any previous filters */
    transition: none; /* No hover transforms or filters for images */
    /* Images are simply clean and sharp as per reference */
}

/* Reverse layout for specific rows */
.text-and-image-row.reverse-on-mobile {
    flex-direction: row-reverse; /* Keep image on left, text on right on desktop */
}



/* --- Responsive Adjustments for About Me Page --- */
@media screen and (max-width: 992px) {
    /* Below 992px, force stacking for a better tablet/mobile experience */
    .about-me-page {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .about-me-page .max-width {
        padding: 0 25px;
    }
    .page-title {
        font-size: 3rem;
        margin-bottom: 60px;
    }
    .content-block {
        margin-bottom: 40px;
    }
    .section-subtitle {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    .text-and-image-row {
        flex-direction: column; /* Stack columns vertically */
        gap: 30px;
        align-items: center; /* Center items when stacked */
        flex-wrap: wrap; /* Re-enable wrapping for general mobile responsiveness */
    }
    .text-column {
        min-width: unset; /* Remove min-width when stacking */
        width: 100%; /* Take full width when stacked */
        text-align: left; /* Keep text left-aligned by default */
    }
    .section-subtitle {
        text-align: left; /* Keep subtitle left-aligned */
    }
    .image-column {
        width: 100%; /* Take full width when stacked */
        max-width: 500px; /* Maintain max-width for image when stacked */
        flex-basis: auto; /* Reset flex-basis */
    }
    .text-and-image-row.reverse-on-mobile {
        flex-direction: column; /* Ensure it stacks normally (text then image) on mobile */
    }
    .learn-more-block {
        margin-top: 40px;
        padding-top: 30px;
    }
}

@media screen and (max-width: 768px) {
    .about-me-page {
        padding-top: 80px;
        padding-bottom: 50px;
    }
    .page-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    .content-block {
        margin-bottom: 30px;
    }
    .section-subtitle {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    .content-block p {
        font-size: 1rem;
    }
    .facts-list li {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .about-me-page {
        padding-top: 70px;
        padding-bottom: 40px;
    }
    .about-me-page .max-width {
        padding: 0 15px;
    }
    .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .page-title::before {
        width: 80px;
    }
    .content-block {
        margin-bottom: 25px;
    }
    .section-subtitle {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    .content-block p {
        font-size: 0.95rem;
    }
    .facts-list li {
        font-size: 0.9rem;
    }
}
/* services section styling */
.services {
  color: #343a40; /* Dark text for better readability */
  background: #f8f9fa; /* Light, clean background */
  padding: 80px 0; /* Increased padding for more visual breathing room */
}

.services .max-width {
  max-width: 1200px; /* Adjust as needed */
  margin: 0 auto;
  padding: 0 20px;
}

.services .title {
  position: relative;
  text-align: center;

  margin-bottom: 60px;
  padding-bottom: 20px;
}

.services .serv-content {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Responsive grid */
  gap: 30px; /* Increased gap for better spacing */
}

.services .serv-content .card {
  background: #fff; /* White cards for a clean look */
  text-align: center;
  border-radius: 8px; /* More rounded corners */
  padding: 30px; /* Increased padding */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle card shadow */
}

.services .serv-content .card:hover {
  transform: translateY(-5px); /* Gentle lift on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
}

.services .serv-content .card .box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services .serv-content .card i {
  font-size: 3rem; /* Adjust icon size */
  color: #000000; /* Accent color for icons */
  margin-bottom: 15px;
}

.services .serv-content .card .text {
  font-size: 1.5rem; /* Slightly larger text */
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000; /* Darker text */
}

.services .serv-content .card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000; /* Gray paragraph text */
}
/* portfolio section styling */

.portfolio {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #000000; /* Dark text */
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.filter-btn {
  background: none;
  border: none;
  color: #6c757d; /* Gray text */
  font-size: 1rem;
  font-family: "Oswald", system-ui;
  font-weight: 500;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: rgb(0, 0, 0); /* Primary color for active/hover */
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Responsive grid */
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.portfolio-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item .overlay h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
}

.portfolio-item .overlay .view-more {
  background: none;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.portfolio-item .overlay .view-more:hover {
  background-color: #e9ecef;
  border-color: #e9ecef;
  color: #343a40;
}

.load-more-container {
  text-align: center;
  margin-top: 30px;
}

.load-more-btn {
  background: none;
  border: 2px solid #007bff;
  color: #007bff;
  padding: 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.load-more-btn:hover {
  background-color: #007bff;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .portfolio-filter {
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    margin: 5px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* contact section styling */
/* Ensure these variables are available from your global :root block */
:root {
    /* Glassmorphism Theme Variables */
    --glass-bg-color-initial: rgba(253, 253, 253, 0.15);
    --glass-border-color-initial: rgba(247, 242, 242, 0.3);
    --glass-shadow-color-initial: rgba(255, 255, 255, 0.1);
    --glass-blur-initial: 8px;

    /* Footer/Mobile menu specific glass vars (can be reused) */
    --glass-bg-color-footer: rgba(255, 255, 255, 0.1);
    --glass-border-color-footer: rgba(255, 255, 255, 0.2);
    --glass-shadow-color-footer: rgba(0, 0, 0, 0.05);
    --glass-blur-footer: 5px;

    --text-dark-on-light-glass: rgb(3, 3, 3); /* Used for most text on light glass */
    --text-light-on-dark-glass: rgb(255, 255, 255); /* If you need white text somewhere */
    --accent-color-glass: #000000; /* Primary accent color */

    /* Font sizes (adjust as per your project's global setup) */
    --fs-2xl: 2rem;
    --fs-sm: 0.9rem;
    --fs-base: 1rem; /* Added for general text */
}

/* --- Contact Section (Overall Container) --- */
.contact {
  /* The main contact section will serve as the background for the glass effect */
  position: relative; /* Important for absolute positioning of the glass container */
  padding: 50px 0; /* Add padding to the section itself */
  background-image: url("../img/Gallery/Kirgistan-12.jpg");
  background-size: cover;
  background-position: center; /* Center the background image */
  background-attachment: fixed; /* Optional: Makes the background parallax */
  min-height: 800px; /* Ensure enough height for content and background to show */
  display: flex; /* Use flexbox to center the glass container */
  justify-content: center;
  align-items: center; /* Vertically center the glass container within the section */
  overflow: hidden; /* Prevent background from extending beyond bounds */
  /* Autofill fields should also have white background and dark text */
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    background-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: var(--text-dark-on-light-glass) !important;
    color: var(--text-dark-on-light-glass) !important;
    border-color: lightgray !important;
    transition: background-color 0.1s ease-in-out !important;
  }

  /* Remove specific background color, border-radius, margin from here as glass-magnify-effect handles it */
  background-color: transparent; /* Ensure no conflicting background */
  border-radius: 0; /* Remove if you want the whole section to be square */
  margin: 0; /* Remove if you want the whole section to fill width */
}

/* Make textarea and select turn white when filled, just like input fields */
.contact .right form .textarea textarea:not(:placeholder-shown),
.contact .right form .textarea textarea:-webkit-autofill,
.contact .right form select:valid {
  background-color: #ffffff !important;
  border-color: lightgray !important;
  color: var(--text-dark-on-light-glass) !important;
  -webkit-text-fill-color: var(--text-dark-on-light-glass) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background-color 0.1s ease-in-out !important;
}

/* Ensure focus styles for textarea and select */
.contact .right form .textarea textarea:focus,
.contact .right form .textarea textarea:focus:not(:placeholder-shown),
.contact .right form .textarea textarea:focus:-webkit-autofill,
.contact .right form select:focus,
.contact .right form select:focus:valid {
  background-color: #ffffff !important;
  border-color: var(--accent-color-glass) !important;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2) !important;
}

/* --- Glass Magnify Effect (Container for Contact Content) --- */
/* This div will now act as the main "glass pane" for the contact form */
.glass-magnify-effect {
  /* Basic dimensions for our glass element - adjusted for responsiveness */
  width: 90%; /* Max width relative to parent */
  max-width: 900px; /* Max width for larger screens */
  padding: 40px; /* Increased padding inside the glass element */
  margin: 0; /* Remove margin as parent .contact centers it */
  border-radius: 15px; /* Rounded corners for the glass */

  /* --- Core Glass Properties (from your previous definition, adjusted) --- */
  background-color: var(--glass-bg-color-initial); /* Light, subtle glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Softer white border */
  box-shadow: 0 8px 40px var(--glass-shadow-color-initial); /* More pronounced shadow */

  /* --- Backdop Filter for Blurring What's Behind It --- */
  backdrop-filter: blur(var(--glass-blur-initial)); /* Medium blur for clarity */
  -webkit-backdrop-filter: blur(var(--glass-blur-initial));

  position: relative; /* Needed for internal pseudo-elements or specific positioning */
  overflow: hidden; /* Ensures the pseudo-element stays within bounds */
  transform: translateZ(0); /* Helps with layering and rendering */
  display: flex; /* Use flexbox for max-width container inside */
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Ensure sufficient height for the glass element */
  box-sizing: border-box; /* Include padding in width/height */
}

/* --- Max Width Container inside the Glass --- */
/* This helps align content within the glass effect, especially on wide screens */
.glass-magnify-effect .max-width {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for content inside the glass */
  margin: 0 auto;
  padding: 0 20px; /* Padding for content inside glass */
  box-sizing: border-box;
}

/* --- Glass Highlight/Shine Effect (Optional, from previous code) --- */
/* If you want the subtle moving shine on the glass contact form too */
.glass-magnify-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%, /* Slightly less prominent shine */
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  pointer-events: none;
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  animation: shine 3s infinite ease-out;
  opacity: 0.8;
  border-radius: 15px; /* Match parent border-radius */
}
/* Ensure the @keyframes shine is present in your CSS */
@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  30% { transform: translateX(100%) translateY(100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* --- Main Section Title --- */
.contact .title {
  position: relative;
  text-align: center;
  font-size: 3.5rem; /* Main section title, potentially larger */
  font-weight: 700;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: var(--font-family-primary); /* Consistent font */
  color: var(--text-dark-on-light-glass); /* Dark color for contrast on glass */
}
.contact .title::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%; /* Center the pseudo-element */
  transform: translateX(-50%); /* Adjust for centering */
  width: 150px; /* Adjust width as needed for a simple underline */
  height: 3px;
  background: var(--accent-color-glass); /* Accent color underline */
}
.contact .title::after {
  /* If you want text after the title, define it here */
  content: ""; /* No content by default, but keeping the selector */
  display: none; /* Hide if not used */
  /* Remove text/background here if you want it blank, or uncomment below */
  /*
  position: absolute;
  bottom: -7px;
  left: 50%;
  font-size: 15px;
  color: var(--accent-color-glass);
  padding: 3px;
  background: var(--glass-bg-color-initial); // Match glass background
  transform: translateX(-50%);
  */
}


/* --- Contact Content Layout (Columns) --- */
.contact .contact-content {
  display: flex;
  flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
  align-items: flex-start; /* Align columns to the top */
  justify-content: space-between; /* Space out columns */
  gap: 30px; /* Space between columns */
}

.contact .contact-content .column {
  width: calc(50% - 15px); /* Half width minus half of the gap */
  box-sizing: border-box; /* Include padding in width */
}

.contact .contact-content .left {
  padding-right: 20px; /* Add some padding if text is close to edge */
}

.contact .contact-content .right {
  padding-left: 20px; /* Add some padding if form is close to edge */
}

/* --- Left Column Title & Text --- */
.contact .contact-content .left .title-contact { /* This is the "Let's bring the vision to life" title */
  text-align: left; /* Align to left within the column */
  font-size: 2.2rem; /* Adjusted size for column title */
  font-weight: 600; /* Slightly lighter weight */
  margin-bottom: 20px; /* Less margin */
  padding-bottom: 10px; /* Less padding */
  color: var(--text-dark-on-light-glass);
  font-family: var(--font-family-primary);
}

.contact .contact-content .left .title-contact::after {
  content: ""; /* No content */
  display: none; /* Hide for this title */
}

.contact .contact-content .left p {
  color: var(--text-dark-on-light-glass); /* Text color for paragraphs */
  font-size: var(--fs-base);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* --- Contact Info Icons (if used) --- */
.contact .contact-content .left .icons {
  margin-top: 30px; /* Adjust spacing */
}
.contact .contact-content .row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.contact .contact-content .row .icon-wrapper { /* Renamed from .icons .row .icon-wrapper */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;

  /* Glass style for icon wrappers */
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: all 0.3s ease;

  color: var(--accent-color-glass); /* Icon color */
  font-size: 1.2rem;
  margin-right: 20px;
}
.contact .contact-content .row .icon-wrapper:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: var(--accent-color-glass);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.contact .contact-content .row i { /* For Font Awesome icons within the row */
  font-size: 20px; /* Adjusted icon size */
  color: var(--text-dark-on-light-glass); /* Dark color for icons */
}
.contact .contact-content .row .info {
  margin-left: 10px; /* Reduced margin */
}
.contact .contact-content .info .head {
  font-size: var(--fs-base);
  color: var(--text-dark-on-light-glass); /* Dark heading */
  font-weight: 600;
  margin-bottom: 5px;
}
.contact .contact-content .info .sub-title {
  font-size: var(--fs-sm);
  color: var(--text-dark-on-light-glass); /* Dark sub-title */
}
.icons img { /* If you're using image icons */
  width: 30px;
  height: auto;
  filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.3)); /* Subtle shadow for image icons */
}


/* --- Right Column (Form Styling) --- */
.contact .right form {
  display: flex; /* Make the form a flex container */
  flex-direction: column; /* Stack its direct children vertically */
  gap: 15px; /* Apply consistent vertical space between all main form elements */
}

.contact .right form .field,
.contact .right form .fields .field {
  height: auto; /* Let content define height for inputs/select */
  width: 100%;
  margin-bottom: 0; /* Managed by gap now */
}
.contact .right form .field.textarea { /* Specific for textarea container */
  height: auto;
  width: 100%;
  margin-bottom: 15px; /* Keep margin for textarea if not in flex container */
}

/* Adjusting width for name/email fields in a flex row */
.contact .right form .name,
.contact .right form .email { /* Changed from .name, .email as class in html */
  width: calc(50% - 7.5px); /* Half width minus half of the gap */
  margin-right: 0; /* Remove specific margins */
  margin-left: 0;
}


/* --- Input, Textarea, Select Styling (Default Glass Style) --- */
/* This sets the default, empty state for all these fields to glassy */
.contact .right form .field input,
.contact .right form .textarea textarea,
.contact .right form select {
  height: 45px; /* Keep height for inputs/select */
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.4); /* Glass-like border */
  border-radius: 6px;
  outline: none;
  padding: 0 15px;
  font-size: 17px;
  font-family: "Poppins", sans-serif;

  /* Default: Glass background */
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-dark-on-light-glass); /* Dark text for input */
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
  backdrop-filter: blur(0px); /* Apply the blur directly here if you want it on the input itself */
  -webkit-backdrop-filter: blur(0px);
  transition: all 0.3s ease; /* Smooth transitions for non-filled states */
}

/* Specific styling for textarea (retains glassy look) */
.contact .right form .textarea textarea {
  padding-top: 10px;
  height: 120px; /* Increased height for textarea */
  resize: vertical;
  margin-bottom: 0;
  /* backdrop-filter will stay applied here from the general rule above */
}

/* Specific styling for select dropdown (retains glassy look) */
.contact .right form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23323232%22%20d%3D%22M4.94%206.59l2.83-2.83%201.06%201.06-3.89%203.89-3.89-3.89%201.06-1.06z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  padding-right: 30px;
  /* backdrop-filter will stay applied here from the general rule above */
}


/* --- Styles for INPUTS when they contain a value (filled/typed) --- */
/* This targets input[type="text"] which is common for name/email fields
   The :not(:placeholder-shown) pseudo-class applies when the placeholder is NOT shown,
   meaning the field has content. This covers manual typing. */
.contact .right form .field input:not(:placeholder-shown),
.contact .right form .field input:-webkit-autofill { /* Also target autofill specifically */
  background-color: #ffffff !important; /* Force white background */
  border-color: lightgray !important; /* A standard light gray border */
  color: var(--text-dark-on-light-glass) !important; /* Ensure dark text */
  -webkit-text-fill-color: var(--text-dark-on-light-glass) !important; /* Force text color on autofill */
  backdrop-filter: none !important; /* Disable glass effect on white background */
  -webkit-backdrop-filter: none !important;
  transition: background-color 0.1s ease-in-out !important; /* Quick transition to white */
  -webkit-transition: background-color 0.1s ease-in-out !important;
}

/* Ensure focus styles still apply correctly on white background */
.contact .right form .field input:focus,
.contact .right form .field input:focus:not(:placeholder-shown),
.contact .right form .field input:focus:-webkit-autofill {
  background-color: #ffffff !important; /* Stay white on focus */
  border-color: var(--accent-color-glass) !important; /* Accent border on focus */
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2) !important; /* Soft blue glow */
}

/* Placeholder styling */
.contact .right form .field input::placeholder,
.contact .right form .textarea textarea::placeholder,
.contact .right form select option[value=""][disabled] {
  color: rgba(50, 50, 50, 0.7); /* Slightly lighter dark color for placeholders */
}

/* Option styling for select (to ensure options themselves aren't glassy in the dropdown list) */
.contact .right form select option {
  background-color: #ffffff; /* Options are typically white */
  color: var(--text-dark-on-light-glass);
}

/* Fields container for select and other fields */
.contact .right form .fields { /* This targets the container holding the SELECT */
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* This ONLY applies gap between children *INSIDE* this .fields div */
}


/* --- Submit Button (newBTN) --- */
.contact .newBTN { /* Targeting the class directly */
    height: 47px;
    width: 170px;
    border: 2px solid var(--accent-color-glass); /* Accent color border */
    background: #000000;
    color: var(--text-light-on-dark-glass); /* White text */
    font-size: 20px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block; /* Make it a block element to take full width if needed, or inline-block for centering */
    margin-top: 15px; /* Space above button */
    /* Optional: If you want it centered, add margin: 15px auto; and display: block; */
}


/* --- Responsive Adjustments for Contact Section --- */
@media screen and (max-width: 768px) {
    .glass-magnify-effect {
        width: 95%; /* Wider on smaller screens */
        padding: 30px;
    }
    .contact .contact-content {
        flex-direction: column; /* Stack columns vertically */
        align-items: center; /* Center stacked columns */
    }
    .contact .contact-content .column {
        width: 100%; /* Full width for columns */
        padding: 0; /* Remove column padding */
    }
    .contact .contact-content .left {
        margin-bottom: 30px; /* Space between stacked columns */
        text-align: center; /* Center left column content */
    }
    .contact .contact-content .left .title-contact {
        text-align: center; /* Center column title */
    }
    .contact .contact-content .left .title-contact::before {
        left: 50%;
        transform: translateX(-50%); /* Center underline */
    }
    .contact .contact-content .right {
        padding: 0;
    }
    .contact .right form .name,
    .contact .right form .email {
        width: 100%; /* Full width for input fields */
    }
    .contact .right form .anlass .fields { /* This targets the container holding the SELECT */
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* This ONLY applies gap between children *INSIDE* this .fields div */
}
    .contact .right form .field,
    .contact .right form .fields .field {
        margin-bottom: 15px; /* Add back margin between stacked fields */
    }
    .contact .newBTN {
        margin: 15px auto 0; /* Center button */
    }
}

@media screen and (max-width: 480px) {
    .glass-magnify-effect {
        padding: 20px;
    }
    .contact .title {
        font-size: 2.5rem;
    }
    .contact .contact-content .left .title-contact {
        font-size: 1.8rem;
    }
    .contact .contact-content .row .icon-wrapper {
        width: 35px;
        height: 35px;
    }
    .contact .contact-content .row i {
        font-size: 18px;
    }
    .contact .right form .field input,
    .contact .right form .textarea textarea,
    .contact .right form select {
        font-size: 15px;
        padding: 0 10px;
    }
    .contact .newBTN {
        width: 100%; /* Full width button on very small screens */
    }
}
/* gallery styling */

.homeBtn {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  background: #6c757d;
  font-size: 25px;
  padding: 12px 36px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid #6c757d;
}

/* Carousel styling */
.carousel-container {
  background-color: black;
  padding: 20px 0;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

.carousel img {
  height: 250px;
  width: auto;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel img:hover {
  transform: scale(1.05);
}

/* Optional scrollbar hide for Webkit browsers */
.carousel::-webkit-scrollbar {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel img {
    height: 180px;
  }
}

/* # popup */
/* Existing popup container styles */
.popup-container {
    display: none; /* Standardmäßig versteckt */
    position: fixed; /* Fixiert auf dem Bildschirm */
    z-index: 1000; /* Ganz oben */
    left: 0;
    top: 0;
    width: 100%; /* Volle Breite */
    height: 100%; /* Volle Höhe */
    overflow: auto; /* Scrollbar, wenn Inhalt zu groß */
    background-color: rgba(0,0,0,0.4); /* Leichter schwarzer Hintergrund für das Overlay */
    justify-content: center; /* Zentriert horizontal */
    align-items: center; /* Zentriert vertikal */
}

.popup-content {
    /* Anpassungen basierend auf dem Footer-Stil */
    background-color: white; /* Hintergrundfarbe wie im Footer */
    color: black; /* Textfarbe wie im Footer */
    padding: 30px; /* Etwas mehr Padding für den Inhalt */
    border: none; /* Keine Border, um den sauberen Look zu erhalten */
    width: 80%; /* Oder eine feste Breite */
    max-width: 500px; /* Maximale Breite */
    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;
    animation-duration: 0.4s;
    border-radius: 8px; /* Abgerundete Ecken */
    position: relative; /* Für den Schließen-Button */
    text-align: center; /* Text zentrieren wie im Footer */
    font-family: "Oswald", system-ui;

    font-size: var(--fs-md); /* Oder eine passende Schriftgröße */
}

/* Stil für die Nachricht im Popup, passend zu h3 im Footer */
.popup-content p {
    color: rgb(3, 3, 3); /* Stellt sicher, dass der Text weiß ist */
    font-size: var(--fs-xl); /* Ähnlich der h3 Größe im Footer, etwas kleiner für den Text */
    margin: 10px; /* Wie bei h3 */
    font-weight: 500; /* Wie bei h3 */
    line-height: 1.4; /* Für bessere Lesbarkeit */
} 
.close-button {
    color: black; /* Schließen-Button auch weiß */
    opacity: 0.7; /* Leicht transparent */
    float: right;
    font-size: 32px; /* Etwas größer für bessere Sichtbarkeit */
    font-weight: bold;
    position: absolute; /* Positioniert relativ zum Popup-Content */
    top: 10px;
    right: 15px;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out; /* Übergang für Hover-Effekt */
}

.close-button:hover,
.close-button:focus {
    color: var(--text-white);
    opacity: 1; /* Volle Deckkraft beim Hover */
    text-decoration: none;
    cursor: pointer;
}
/* # responsive */

@media (max-width: 1199px) {
  .about-img .box-1 {
    top: 100%;
    left: 50%;
  }
}

@media (max-width: 991px) {
  /* # variables */
  :root {
    --fs-4xl: 42px;
    --fs-3xl: 31px;
    --fs-2xl: 24px;
  }}


/* Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* footer styling */
:root {
    /* Glassmorphism theme colors - ensure these match your navbar's definition */
    --glass-bg-color-footer: rgba(255, 255, 255, 0.1); /* Slightly more transparent glass for footer */
    --glass-border-color-footer: rgba(255, 255, 255, 0.2);
    --glass-shadow-color-footer: rgba(0, 0, 0, 0.05);
    --glass-blur-footer: 5px; /* Adjust blur for footer */

    --text-dark-on-light-glass: rgb(22, 22, 22); /* Dark text for contrast on light glass */
    --text-light-on-dark-glass: rgb(255, 255, 255); /* White text for contrast on dark glass */
    --accent-color-glass: #151515; /* A nice blue accent color, matching navbar */

    /* Font sizes (assuming you have these defined globally) */
    --fs-2xl: 2rem; /* Example font size for h3 */
    --fs-sm: 1.2rem; /* Example font size for paragraph */
}

.footer {
    padding: 50px 0;
    font-family: "Oswald", system-ui;
    text-align: center;
    position: relative;
    z-index: 1;

    /* --- Core Glass Properties for Footer --- */
    background-color: var(--glass-bg-color-footer);
    border-top: 1px solid var(--glass-border-color-footer);
    box-shadow: 0 -4px 30px var(--glass-shadow-color-footer);
    backdrop-filter: blur(var(--glass-blur-footer));
    -webkit-backdrop-filter: blur(var(--glass-blur-footer));
    color: var(--text-dark-on-light-glass);
}

.footer .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer h3 {
    color: var(--text-dark-on-light-glass);
    font-size: var(--fs-2xl);
    margin: 0 0 15px;
    font-weight: 500;
    text-transform: capitalize;
}

.footer .social-links a {
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    border-radius: 50%;

    /* --- Social Links as Miniature Glass Bubbles (unchanged) --- */
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}



/* --- Instagram Icon Specific Styling (Reverted to Black & Original Size) --- */
/* Your older style had a specific margin and larger size for the Instagram icon.
   I'm bringing that back, but making the color black. */
.footer .fa-instagram {
    font-size: 50px; /* Original larger size */
    color: #000; /* BLACK! */
    margin: 0; /* Remove any previous custom margin from the social link hover */
    /* If you still want the 40px margin from your original snippet,
       you'd need to apply it to the <a> tag's children, or directly to the <a>
       and adjust width/height accordingly, which might make the button too big.
       I recommend handling spacing with margin on the <a> tag (as done above with 8px). */
}

/* Ensure hover state for the icon doesn't override the black */
.footer .social-links a:hover .fa-instagram {
    color: #000; /* Keep it black even on hover, or change to a slightly lighter/darker black if desired */
}


.footer p {
    margin-top: 20px;
    color: var(--text-dark-on-light-glass);
    font-size: var(--fs-sm);
}

.footer p a {
    color: var(--accent-color-glass);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer p a:hover {
    color: var(--accent-color-glass);
    text-decoration: none;
}

/*Prices styling*/
.pricing {
  padding: 60px 20px;
  background-color: #f5f5f5;
  color: #333;
  font-family: 'Oswald', system-ui, sans-serif;
}

.pricing-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.pricing-title {
 position: relative;
  text-align: center;
  font-size: 3.5rem; /* Main section title, potentially larger */
  font-weight: 700;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: var(--font-family-primary); /* Consistent font */
  color: var(--text-dark-on-light-glass); /* Dark color for contrast on glass */
}

.pricing-title::before {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 160px;
  height: 3px;
  background: #000000;
  transition: translateX(-50%);
}

.pricing-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #444;
  font-family: 'Oswald', system-ui, sans-serif;
}

.pricing-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  color: #555;
  font-weight: 500;
  font-family: 'Oswald', system-ui, sans-serif;
}

/* Card layout */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

.price-card {
  background-color: white;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  text-align: center;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.price-card h4 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #222;
  font-family: 'Oswald', system-ui, sans-serif;
}

.price-card .price {
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 10px;
  
}

.price-card .description {
  font-size: 16px;
  line-height: 1.4;
  color: #666;
  font-family: 'Oswald', system-ui, sans-serif;;
}
.btn-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: #000;
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  
}

.btn-arrow .arrow {
  
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 2rem;
}

.btn-arrow:hover {
  background-color: #ffffff;
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.btn-arrow:hover .arrow {
  transform: translateX(5px); /* Move arrow slightly on hover */
}



/*Gallery*/

.swiper {
  width: 1100px;
  height: 700px; /* Set a fixed height for consistency */
  margin: 0 auto; /* Center the swiper */
  border-radius: 6px;
  --swiper-navigation-color: #495057;
  --swiper-navigation-size: 20px;
  --swiper-pagination-color: rgb(251, 251, 251);
  overflow: hidden; /* Hide overflow from tall/portrait images */
}

img {
  padding: 10px;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}

.title {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 255, 255); /* Optional background */
}

.swiper-slide img {
  max-width: 1000px;
  max-height: 700px;
  object-fit: contain; /* Keeps aspect ratio and fits image inside */
  border-radius: 6px;
  cursor: pointer; /* Indicate it's clickable */
}

.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none; /* Initially hidden */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Target the Swiper container within the overlay to make it bigger */
.image-overlay .swiper {
  width: 90%; /* Adjust as needed, e.g., 80%, 95% */
  height: 90%; /* Adjust as needed, e.g., 80%, 95% */
  max-width: none; /* Ensure it can expand beyond the default */
  max-height: none; /* Ensure it can expand beyond the default */
}

.image-overlay .swiper-slide {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Keeps aspect ratio and fits image inside */
  border-radius: 6px;
  cursor: pointer; /* Indicate it's clickable */
  background-color: transparent;
  display: flex; /* Ensure content is centered within the slide */
  justify-content: center;
  align-items: center;
}

.image-overlay .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Keeps aspect ratio and fits image inside */
  border-radius: 10px;
  cursor: pointer; /* Indicate it's clickable */
}

/* Remove this rule as it's likely causing layout issues */
/* .overlay-swiper .swiper-slide img {
  height: 2000px;
} */

.image-overlay .swiper-pagination,
.image-overlay .swiper-button-prev,
.image-overlay .swiper-button-next {
  --swiper-navigation-color: rgb(255, 255, 255);
  --swiper-navigation-size: 30px; /* Make navigation buttons bigger in overlay */
  --swiper-pagination-color: rgb(255, 255, 255);
  /* overflow: hidden; /* No need to hide overflow here */
}

.close-overlay {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}
/* Common reusable styles */
.max-width {
  padding: 0 25px;
}
.contact .right form,
.swiper {
  width: 90%;
  height: auto;
  border-radius: 6px;
}

/* Pre-912px Shared Menu Styles */
@media screen and (max-width: 947px) {
  .burger-menu,
  .menu-btn {
    visibility: visible;
    display: block;
    z-index: 999;
    padding: 15px; /* Adjusted padding */
    position: fixed; /* Changed to fixed for consistent positioning */
    top: 15px; /* Adjusted top position */
    right: 20px;
  }

  .menu-btn i.active:before {
    content: "\f00d";
    color: #252525;
  }

  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    right: -100%; /* Start off-screen on the right */
    top: 0;
    background-color: rgb(235, 235, 235);
    border-top: 1px solid var(--glass-border-color-footer);
    box-shadow: 0 -4px 30px var(--glass-shadow-color-footer);
    backdrop-filter: blur(var(--glass-blur-footer));
    -webkit-backdrop-filter: blur(var(--glass-blur-footer));
    color: var(--text-dark-on-light-glass);
    text-align: center;
    padding-top: 60px; /* Adjusted padding-top */
    transition: all 0.3s ease;
    opacity: 1;
  }

  .navbar .menu.active {
    right: 0; /* Slide in from the right */
  }

  .navbar .menu li {
    display: block;
  }

  .navbar .menu li a {
    display: block; /* Changed to block for full width links */
    justify-content: center; /* Removed justify-content */
    margin: 15px 0; /* Adjusted margin */
    font-size: 22px; /* Adjusted font-size */
    padding: 10px 0; /* Added padding for better touch targets */
  }

  .home .home-content .text-2 {
    font-size: 60px; /* Adjusted font-size */
  }

  .home .home-content .text-3 {
    font-size: 30px; /* Adjusted font-size */
  }

  .home .home-content a {
    font-size: 20px; /* Adjusted font-size */
    padding: 10px 25px; /* Adjusted padding */
  }

  .max-width {
    max-width: 768px; /* Adjusted max-width to a common tablet size */
    padding: 0 20px; /* Added padding for better spacing on smaller screens */
  }

  .about .about-content .column {
    width: 100%; /* Make columns full width on this breakpoint */
    margin-bottom: 30px; /* Add margin for spacing between columns */
  }

  .about .about-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 30px; /* Adjusted margin */
  }

  .about .about-content .right,
  .skills .skills-content .column,
  .contact .contact-content .column {
    width: 100%;
    margin-bottom: 30px; /* Ensured consistent margin-bottom */
  }

  .services .serv-content .card {
    width: calc(100% - 20px); /* Make cards full width */
    margin-bottom: 20px;
    margin-right: 10px; /* Added right margin for spacing */
    margin-left: 10px; /* Added left margin for spacing */
  }

  .home {
    width: 100%;
    background-size: cover;
    background-position: center; /* Added background-position */
    align-items: center; /* Added alignment */
    justify-content: center; /* Added justification */
    text-align: center; /* Added text-align for centered content */
  }

  .home .max-width {
    margin: 0 auto; /* Center the content */
  }
}
@media screen and (max-width: 360px) {
  .home {
    align-items: flex-start; /* Align items to the start (top) */
    justify-content: center; /* Center content horizontally */
    text-align: left; /* Align text to the left */
    padding-left: 20px; /* Add some left padding */
    padding-right: 20px; /* Add some right padding */
    min-height: auto; /* Adjust min-height if needed */
    height: auto; /* Adjust height if needed */
  }

  .home .max-width {
    margin-left: 0; /* Reset left margin */
    margin-right: 0; /* Reset right margin */
    width: 100%; /* Make sure it takes full width */
  }

  .home .home-content {
    padding-top: 60px; /* Add some top padding for content */
    padding-bottom: 60px; /* Add some bottom padding for content */
  }

  .home .home-content .text-1 {
    font-size: 30px; /* Further reduce font size */
    margin-left: 0; /* Reset left margin */
  }

  .home .home-content .text-2 {
    font-size: 20px; /* Further reduce font size */
  }

  .home .home-content a {
    font-size: 18px; /* Further reduce font size */
    padding: 8px 20px; /* Further reduce padding */
  }
  .burger-menu,
  .menu-btn {
    visibility: visible;
    display: block;
    z-index: 999;
    padding: 15px;
    position: fixed;
    top: 15px;
    right: 40px; /* Adjusted right position to 10px */
  }
}
