:root {
  --primary: #0a6cff;
  --primary-light: rgba(10,108,255,0.15);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-strong: rgba(255, 255, 255, 0.25);
  --border-glass: rgba(255,255,255,0.3);
  --text-main: #124c7e;
  --text-dark: #424343;
  --text-hover: #0a6cff;
  --shadow-soft: 0 8px 30px rgba(0,0,0,0.08);
  --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.237);
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
  background: url("webp/bkg.webp") no-repeat center center fixed;
  background-size: cover;
}

html {
  scroll-behavior: smooth;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 5px 20px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: top 0.3s ease;
}

/* Make header perfectly symmetrical */
.logo,
.nav,
.social-icons {
  flex: 1;
}

/* Logo stays left */
.logo img {
  height: 75px;
}

/* NAV — centered perfectly */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-dark);
  text-shadow: 0 2px 4px rgba(0,0,0,0.237);
  transition: 0.3s;

  /* Prevent movement on hover */
  padding: 6px 12px;
  border-radius: 30px;
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text-hover);
  background: var(--glass-strong);
  border-color: rgba(255, 255, 255, 0.781);
}

/* SOCIAL ICONS — fixed on the right */
.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
}

.social-icons a {
  color: var(--text-main);
  font-size: 1.7rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.237);
  transition: 0.3s;
}

.social-icons a:hover {
  color: var(--text-hover);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.511);
}


/* HERO */

.hero {
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  flex-direction: column; /* stack logo and button vertically */
  gap: 30px;              /* space between logo and button */
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(120deg, rgba(0, 50, 120, 0), rgba(0, 0, 0, 0));
  z-index: 1; /* behind content */
}

.hero-content {
  position: relative;
  color: white;
  z-index: 2; /* above overlay */
  display: flex;
  flex-direction: column; /* stack logo and button */
  align-items: center;    /* center horizontally */
  justify-content: center;
  gap: 20px;              /* space between logo and button */
}

.hero-logo {
  width: 520px;
  max-width: 100%; /* responsive */
  height: auto;
  margin-bottom: 20px;      /* remove extra margin for better centering */
}

.hero-btn {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0); /* semi-transparent for glass effect */
  border-radius: 30px;
  color: var(--text-dark);
  text-decoration:solid;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* blurred shadow for depth */
  backdrop-filter: blur(5px); /* glass-like blur */
  border: 1px solid rgb(255, 255, 255); /* subtle 3D border */
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.234); /* brighter on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* stronger 3D shadow */
  transform: translateY(-2px); /* slight lift on hover */
}
/* Slow down fadeInUp animation */
    .hero-logo,
    .hero-btn {
      animation-duration: 5.0s !important;
    }
    .hero-logo,
    .hero-btn {
      opacity: 0;
      transform: translateY(40px);
      animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    }
    .hero-logo { animation-delay: 0.3s; }
    .hero-btn { animation-delay: 1s; }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

/* SERVICES */
.services { 
  padding: 60px 50px; 
  text-align: center; 
  background: var(--glass-bg); /* fixed syntax */
  backdrop-filter: blur(15px); /* glass-like blur */
  background-size: cover;        /* make the background cover the entire section */
  background-attachment: scroll; /* optional, can be fixed if you want parallax effect */
}

.services-heading {
  text-align: center;      /* centers the image */
  margin-bottom: 40px;    /* space below the heading */
  margin-top: 10px;
}

.services-heading img {
  max-width: 360px;        /* controls size of the heading */
  width: 100%;              /* responsive on smaller screens */
  height: auto;
}

.service-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:25px; }

.services h2 {
  font-size: 2.8rem;             /* large and readable */
  font-weight: 700;              /* bold */
  text-align: center;            /* centered in the section */
  color: var(--text-main);                /* dark blue, matches tech feel */
  margin-bottom: 40px;           /* space below the heading */
  position: relative;            /* for decorative underline */
  z-index: 1;
  line-height: 0.5;
}

.services h3 {
  font-size: 1.2rem;          /* slightly smaller than h2 */
  font-weight: 650;            /* semi-bold */
  color: var(--text-main);             /* dark blue for consistency */
  margin-bottom: 12px;         /* space between title and text */
  text-align: center;           /* center align for cards/sections */
  line-height: 1.3;
  transition: color 0.3s;       /* for hover effect if needed */
}

.services p {
  font-size: 1rem;             /* readable body text */
  color: var(--text-dark);              /* dark grey for readability */
  text-align: center;           /* center under h3 */
  line-height: 1.6;             /* nice spacing for paragraphs */
  max-width: 400px;             /* limit width for readability */
  margin: 0 auto 30px auto;    /* centered and spacing below */
}

.service-card {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.122),   /* brighter color */
   rgba(180, 218, 255, 0.608)    /* darker color */
  );
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transition: 0.35s;
  cursor: pointer;
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
  text-align: center;
  word-wrap: break-word;
}


/* Responsive grid container for cards */
.services-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
 
}

.service-card:hover { transform:translateY(-10px); box-shadow:0 15px 35px rgba(0,0,0,0.15); }

.icon { display:flex; justify-content:center; align-items:center; margin-bottom:20px; }

.icon img { width:auto; height:90px; object-fit:contain; }

/* MODAL BACKGROUND */
.service-modal {
  display: none; /* hide initially */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--glass-strong);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 90%;
  max-width: 600px;
  max-height: 90vh; /* limits modal height to 80% of viewport */
  padding: 20px 20px 10px 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(200,230,255,0.7));
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  text-align: center;
  overflow: hidden;
}

.modal-header img {
  width: 100px;
}

.modal-header h2 {
  font-size: 1.8rem;
  color: #042965;
  margin-bottom: 5px;
}

.modal-header h4 {
  font-size: 1.1rem;
  color: #0a6cff;
  font-weight: 500;
  margin-bottom: 20px;
}

.modal-body {
  overflow-y: auto;    /* enables vertical scrolling */
  max-height: calc(80vh - 200px); /* leave space for header + button */
  margin-bottom: 20px;
  width: 100%;
  text-align: left;    /* optional, easier to read bullet points */
}

.modal-body ul {
  text-align: left;
  margin: 0 0 20px 0;
  padding-left: 20px;
  color: #333;
}

.modal-body ul li {
  margin-bottom: 8px;
}

.modal-body p {
  text-align: left;
  color: var(--text-dark);
  line-height: 1.6;
}

.modal-action {
  margin-top: auto; /* pushes the button to the bottom if space available */
  background-color: var(--glass-light); /* semi-transparent for glass effect */;
  color: var(--text-dark);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration:solid;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* blurred shadow for depth */
  backdrop-filter: blur(10px); /* glass-like blur */
  border: 1px solid rgba(255,255,255,0.3); /* subtle 3D border */
}
  
.modal-action:hover {
  background: rgba(255, 255, 255, 0.359); /* brighter on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* stronger 3D shadow */
  transform: translateY(-2px); /* slight lift on hover */
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

@keyframes modalFade {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* For Webkit browsers (Chrome, Edge, Safari) */
.modal-body::-webkit-scrollbar {
  width: 10px;              /* scrollbar width */
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.3); /* track color with glass effect */
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(10,108,255,0.5); /* thumb color */
  border-radius: 10px;
  transition: background 0.3s;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(10,108,255,0.8); /* hover effect */
}

/* For Firefox */
.modal-body {
  scrollbar-width: thin;        /* makes scrollbar thinner */
  scrollbar-color: rgba(51, 130, 248, 0.5) rgba(255,255,255,0.3);
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(10,108,255,0.5);
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.2); /* subtle inner shadow */
}


/* ABOUT */
.about{
background:var(--glass-bg); /* fixed syntax */
backdrop-filter: blur(15px); /* glass-like blur */
color:white;
padding:50px 70px;
text-align:center;
margin-bottom: auto;
}

.about-heading {
  text-align: center;      /* centers the image */
  margin-bottom: 40px;    /* space below the heading */
  margin-top: 10px;
}

.about-heading img {
  max-width: 210px;        /* controls size of the heading */
  width: 100%;              /* responsive on smaller screens */
  height: auto;
  margin-top: 0;
}

.about p{
color: var(--text-dark);
max-width:900px;
margin:auto;
margin-bottom:30px;
font-weight: 300;
font-size: 1.3rem;
}

.about-btn {
  padding: 12px 28px;
  background:var(--glass-light); /* fixed syntax */
  backdrop-filter: blur(5px); /* glass-like blur */
  border-radius: 30px;
  color: var(--text-dark);
  text-decoration:solid;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* blurred shadow for depth */
  backdrop-filter: blur(5px); /* glass-like blur */
  border: 1px solid rgba(255,255,255,0.3); /* subtle 3D border */
}

.about-btn:hover {
  background: rgba(255, 255, 255, 0.359); /* brighter on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* stronger 3D shadow */
  transform: translateY(-2px); /* slight lift on hover */
  
}

/* CONTACT */

.contact{
  padding:80px 50px;
  text-align:center;

}

.contact-heading {
  text-align: center;      /* centers the image */
  margin-bottom: 20px;    /* space below the heading */
}

.contact-heading img {
  max-width: 380px;        /* controls size of the heading */
  width: 100%;              /* responsive on smaller screens */
  height: auto;
}


/*.contact h2 {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; /* modern, compact font */
 /* font-size: 2.2rem;      /* slightly smaller than before for compact look */
 /* font-weight: 600;        /* semi-bold */
 /* letter-spacing: 0.5px;   /* tighter spacing for compactness */
 /* color: #0a6cff;          /* VTS accent blue */
 /* margin-bottom: 20px;
  text-transform: uppercase; /* optional: all caps for a techy feel */
/*}*/

.contact p{
  margin-bottom:40px;
  color:var(--text-dark);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form{
  max-width:720px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:15px;
}

.contact-form input,
.contact-form textarea{
  color: var(--text-main); /* text color inside fields */
  padding:10px 12px;
  width: 100%; /* responsive */
  background: var(--glass-strong); /* semi-transparent for glass effect */
  backdrop-filter: blur(10px); /* glass-like blur */
  border-radius: 15px;
  border:1px solid #d0d0d0;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form textarea{
  resize:none;
}

.contact-form :placeholder-shown {
  color: #999;
  font-size: small;
}

.contact-form textarea:focus,
.contact-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 5px rgba(10, 108, 255, 0.5);
}

/* Make reCAPTCHA smaller */
.g-recaptcha {
    transform: scale(0.75);   /* 0.75 = 75% of original size */
    transform-origin: 0 0;    /* Keep it aligned top-left */
}

.contact-form button{
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.219); /* semi-transparent for glass effect */
  border-radius: 30px;
  color: var(--text-dark);
  text-decoration:solid;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* blurred shadow for depth */
  backdrop-filter: blur(10px); /* glass-like blur */
  border: 1px solid rgba(255, 255, 255, 0.522); /* subtle 3D border */
}

.contact-form button:hover {
  background: rgba(255, 255, 255, 0.359); /* brighter on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* stronger 3D shadow */
  transform: translateY(-2px); /* slight lift on hover */
}

/* Contact Cards Container */
.impresum-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 100px;
}

/* Individual impresum Card */
.impresum-card {
  flex: 1 1 120px;       /* smaller base width */
  max-width: 580px;      /* limit maximum width */
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 20px 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  color: var(--text-main);
  text-align: left;
}

.impresum-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: var(--text-main);
}

.impresum-card p {
  margin: 10px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.impresum-card h2 {
  margin: 6px 0;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 300;
}

.impresum-card a {
  color: var(--text-main);
  text-decoration: none;
}

.impresum-card a:hover {
  text-decoration: underline;
}

/* Map Card */
.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 15px;
}

/* Hover Effect */
.impresum-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}


/* FOOTER */

.footer{
background:var(--glass-bg);
backdrop-filter: blur(20px);
color:white;
text-align:center;
font-weight: 100;
padding:25px;
margin-top:40px;
}


/* MOBILE */
@media (max-width: 900px) {

  header {
    padding: 10px 20px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgb(255, 255, 255);
  }

  .nav {
    position: fixed;
    top: 96px;
    left: 0;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding: 10px;

    /* TRUE GLASS EFFECT */
    background: rgb(255, 255, 255);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  }

  .nav a {
    font-size: 0.8rem;
  }

  .social-icons {
    gap: 15px;
  }

.hero-logo {
  width: 480px;
  max-width: 80%; /* responsive */
  height: auto;
  margin-bottom: 20px;      /* remove extra margin for better centering */
}

.services h2 {
  font-size: 2.5rem;             /* large and readable */
  font-weight: 700;              /* bold */
  text-align: center;            /* centered in the section */
  color: #042965;                /* dark blue, matches tech feel */
  margin-bottom: 40px;           /* space below the heading */
  position: relative;            /* for decorative underline */
  z-index: 1;
  line-height: 1;
}
.about p{
color: var(--text-dark);
max-width:500px;
margin:auto;
margin-bottom:30px;
font-weight: 300;
font-size: 1.1rem;
}

.about h2{
font-size: 1.8rem;
line-height: 1.2;
margin-bottom: 20px;
}

.contact-heading {
  text-align: center;      /* centers the image */
  margin-bottom: 0;    /* space below the heading */
}

.contact-heading img {
  max-width: 380px;        /* controls size of the heading */
  width: 100%;              /* responsive on smaller screens */
  height: auto;
}

.contact p{
 font-size: 0.8rem;
}
.contact-cards {
  flex-direction: column;
  align-items: center;
}

}

@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    padding: 20px 15px 40px 15px;
  }

  .modal-body {
    max-height: 50vh;
  }

  .modal-action {
    width: 100%; /* full width on mobile */
  }
}
