*{margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  padding-top: 90px; 
  text-align: left;
  justify-content: left;
}


header {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 999;
  transition: top 0.3s ease-in-out;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  position: relative;
  list-style: none;
}

.navbar a {
  text-decoration: none;  
  color: #333;            
  font-weight: 600;
  font-size: 16px;
}

.navbar:hover,
.navbar:hover a {
  color: #d14827;         
  text-decoration: none;  
  cursor: pointer;
}

.nav-logo img {
  height: 70px;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links ul li {
  position: relative;
}

.nav-links a,
.nav-links span.dropdown {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.services-menu {
  position: relative;
}

.dropdown-container.services-menu {
  position: relative;
}

.dropdown-container {
  position: relative;
}

.mega-dropdown {
  position: absolute;
  top: 100%; /* 45px hata do */
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  width: 600px;
  background: #fff;
  padding: 35px;
  padding-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px;

  border-radius: 0 0 14px 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.dropdown-container:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-container:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.mega-col {
  position: relative;
}

.mega-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  right: -23px;
  width: 1px;
  height: 85%;
  border-right: 1px dashed #b9c9bd;
}

.mega-icon {
  width: 42px;
  height: 42px;
  background: #dff3e3;
  color: #032f40;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.mega-col h4 {
  color: #032f40;
  font-size: 18px;
  margin-bottom: 18px;
  font-weight: 700;
}

.mega-col a {
  display: block;
  color: #566b66;
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 400;
  transition: 0.2s ease;
}

.mega-col a:hover {
  color: #d13d2f;
  padding-left: 5px;
}

@media (max-width: 991px) {
  .mega-dropdown {
    position: static;
    width: 100%;
    transform: none;
    grid-template-columns: 1fr;
    box-shadow: none;
    padding: 20px;
  }

  .mega-col:not(:last-child)::after {
    display: none;
  }
}

.company-mega-menu {
  position: relative;
}

.company-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  width: 280px;
  background: #fff;
  padding: 25px;
  padding-bottom: 10px;

  display: grid;
  grid-template-columns: 1fr;

  border-radius: 0 0 14px 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.company-mega-menu:hover .company-mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.company-mega-menu:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-shrink: 0;
}

.nav-right .phone-link {
  color: #032f40;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-right .phone-link:hover {
  color: #d13d2f;
}

.nav-right .contact-btn {
  background: linear-gradient(45deg, #b63434, #061729);
  color: white; 
  padding: 10px 20px; 
  border-radius: 25px; 
  text-decoration: none; 
  font-weight: bold; 
  transition: background 0.3s ease;
}

.nav-right .contact-btn:hover {
  background: linear-gradient(45deg, #dc4141, #072a4f);

}

/* Mobile */
@media (max-width: 1200px) {

  header {
    padding-left: 5px;
    padding-right: 5px;
  }

  .nav-logo img {
    height: 60px;
  }

  .icon {
    display: block;
    font-size: 26px;
    color: #032f40;
    cursor: pointer;
  }

  .desktop-contact {
    display: none !important;
  }

  .mobile-contact {
    display: block !important;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-links ul li {
    width: 100%;
  }

  .nav-links a,
  .nav-links span.dropdown {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 17px;
  }

  .mega-dropdown,
  .company-mega-dropdown {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
  }

  .dropdown-container:hover .mega-dropdown,
  .company-mega-menu:hover .company-mega-dropdown {
    display: grid;
    transform: none;
  }

  .mega-dropdown {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mega-col:not(:last-child)::after {
    display: none;
  }

  .mega-col h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .mega-col a {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-right .contact-btn {
    padding: 9px 14px;
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .nav-logo img {
    height: 52px;
  }

  .nav-links {
    top: px;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 72px);
  }

  .nav-right .contact-btn {
    display: none;
  }
}


.mobile-consultation {
  display: none;
}

@media (max-width: 1200px) {
  .icon {
    display: block !important;
  }

  .menu-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    display: block;
    overflow-y: auto;
    z-index: 99999;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links ul li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .nav-links a,
  .nav-links span.dropdown {
    padding: 16px 28px;
    width: 100%;
  }

  .mobile-consultation {
    display: block !important;
    padding: 18px 22px !important;
    border-bottom: none !important;
  }

  .mobile-consult-btn {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    width: 100%;
    background: linear-gradient(45deg, #d14827, #f26b38);
    color: #fff !important;
    padding: 14px 20px !important;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
  }

  .nav-right {
    display: none !important;
  }
}

html.menu-open,
body.menu-open {
  overflow: hidden !important;
  height: 100vh !important;
  position: fixed;
  width: 100%;
}

.nav-bar {
  display: grid;
  grid-template-columns: 220px 1fr 460px;
  align-items: center;
}

.nav-links {
  justify-content: center;
}

.nav-links ul {
  justify-content: center;
}

.nav-right {
  justify-content: flex-end;
}

.icon {
  display: none;
}

.mobile-contact {
  display: none;
}

.menu-top{
  display: none;
}

.mobile-contact {
    display: none !important;
}
.desktop-contact {
    display: flex !important;
}

.title {
    color: #D14B26;
    font-weight: 500;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 10px;
    padding: 20px;
    padding-left: 0;
  }
  
  .container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .info ul {
    padding-left: 0;
    margin-left: 0;
    list-style: none;
  }
  
  .info ul li {
    margin-bottom: 10px;
  }
  
  .info ul li a {
    font-size: 16px;
    color: #3a3a3a;
    text-decoration: none;
    padding-left: 0;
    transition: padding-left 0.3s ease;
  }
  
  .info ul li a:hover {
    color: #515151;
    padding-left: 5px;
  }
  
 /* FORM WRAPPER */
.form {
  margin: 50px auto;
  width: 100%;
  max-width: 1200px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 40px 5px rgba(79, 79, 79, 0.1);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-left: 20px;
  overflow: hidden;
}

/* LEFT SECTION - CONTACT FORM */
.contact-form {
  background: linear-gradient(45deg, #061729, #28374d);
  padding: 40px 20px;
}

/* INDIVIDUAL INPUT CONTAINER */
.input-container {
  position: relative;
  margin-bottom: 25px;
}

/* INPUT STYLING */
.input {
  width: 100%;
  padding: 14px 12px;
  font-size: 15px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #ffffff;
  outline: none;
  font-family: 'Segoe UI', sans-serif;
}

/* FLOATING LABEL */
.input + label {
  position: absolute;
  top: 14px;
  left: 12px;
  font-size: 15px;
  color: #ffffff;
  pointer-events: none;
  transition: 0.3s ease;
  opacity: 1;
  visibility: visible;
}

/* Hide label when input is focused or filled */
.input:focus + label,
.input:not(:placeholder-shown) + label,
.input:-webkit-autofill + label {
  opacity: 0;
  visibility: hidden;
}


/* TEXTAREA SPECIFIC */
textarea.input {
  min-height: 150px;
  resize: none;
  border-radius: 8px;
  padding: 14px;
}

/* SUBMIT BUTTON */
.button {
  padding: 12px;
  background: linear-gradient(45deg, #d64b28, #f26b38);
  font-size: 16px;
  color: #fffdfd;
  border: none;
  border-radius: 20px;
  width: 40%;
  cursor: pointer;
  transition: background 0.3s ease;
  font-weight: 600;
}

.button:hover {
  background-color: #e18369;
}

/* PLACEHOLDER */
.input::placeholder {
  color: #aaa;
  transition: opacity 0.3s ease;
}

.input:hover::placeholder,
.input:focus::placeholder {
  opacity: 0;
}

.input + label {
  position: absolute;
  top: 14px;
  left: 12px;
  color: #ffffff;
  font-size: 15px;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

/* Hide label if user focuses or types */
.input:focus + label,
.input:not(:placeholder-shown) + label {
  opacity: 0;
  visibility: hidden;
}
input:-webkit-autofill {
  transition: background-color 9999s ease-in-out 0s;
  -webkit-text-fill-color: #fff;
    font-family: 'Segoe UI', sans-serif;

}

/* Hide label on autofill (Chrome/Safari) */
input:-webkit-autofill + label,
textarea:-webkit-autofill + label {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* RIGHT SECTION - CONTACT INFO OR ANYTHING */
.contact-info {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
}

/* HEADINGS */
.title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #D14B26;
}

/* INFO STYLES */
.information {
  color: #555;
  margin: 10px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.information i {
  margin-right: 10px;
  color: #D14B26;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contact-form,
  .contact-info {
    padding: 20px;
  }

  .button {
    width: 100%;
  }
}



.footer {
  background: linear-gradient(45deg, #061729, #28374d);
  color: #eee;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}


.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-about h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #d14827;
}

.footer-links ul {
  list-style: none;
  padding: 0;
line-height: 1.6;}

.footer-links ul li a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease; 
  display: inline-block; 
  margin-bottom: 8px; 
}

.footer-links ul li a:hover {
  transform: translateX(10px); 
}


.footer-contact p {
  margin-bottom: 8px;
}

.footer-social .social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 20px;
  color: #eee;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #d14827;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 14px;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding-left: 20px;
  }

  .footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
  }

  .footer-about,
  .footer-social {
    flex: 1;
    max-width: 90%;
  }

  .footer-social .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
  }

  .footer-social .social-icons a {
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
  }

    .mobile-contact {
    display: block !important;
  }
  .desktop-contact {
    display: none !important;
  }
  
.nav-bar {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-logo img {
    height: 60px;
  }

  .icon {
    font-size: 28px;
    color: #d14827;
    cursor: pointer;
  }

  .nav-logo img {
    height: 60px;
    align-self: flex-start;
    flex-direction: row;
  }

  .icon {
    display: block;
    font-size: 15px;
    cursor: pointer;
    color: #d14827;
    align-self: flex-end;
    margin: 10px 0;
  }

  .nav-links,
  .nav-right {
    display: none;
  }

  .nav-links.show {
    display: flex;
    width: 100%;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
  }

    #mobileMenu {
      position: fixed;
      top: 0;
      left: 0;
      width: 90vw;
      height: 100vh;
      background: white;
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }

  body.menu-open .mobile-header {
    display: none !important;
  } 

  #mobileMenu.show {
    transform: translateX(0);
  }

  .menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    background-color: white;
    z-index: 10001;
  }

  .menu-top .nav-logo img {
    height: 40px;
    padding-left: 20px;
  }

  .menu-top .icon {
    font-size: 30px;
    color: #d14827;
    cursor: pointer;
    padding-right: 20px;
  }

  body.menu-open .page-content {
    filter: blur(20px);
    pointer-events: none; 
    user-select: none;    
    transition: filter 0.3s ease;
  }

  body.menu-open footer {
    filter: blur(20px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
  }
  .icon {
    font-size: 28px;
    color: #d14827;
    cursor: pointer;
    user-select: none;
  }

  .nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
  }

  .nav-links ul li {
    border-bottom: 1px solid #eee;
  }

  .nav-links ul li a,
  .nav-links ul li span.dropdown {
    display: block;
    padding: 5px 20px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
  }

  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
    padding-left: 10px;
  }

  .dropdown-container.active .dropdown-menu {
    max-height: 500px;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links ul li {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border-top: 1px solid #eee;
    position: relative;
  }

  .nav-links ul li a,
  .nav-links ul li span.dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
  }

  .dropdown-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f9f9f9;
    padding: 0;
    margin-top: 0;
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown-container.active .dropdown-menu {
    display: flex;
  }

  .dropdown-menu li {
    padding: 10px;
    border-top: 1px solid #eee;
  }

  .dropdown-menu a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
  }

  .dropdown-container:hover .dropdown-menu,
  .dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto;
  }

  .dropdown-menu::before,
  .dropdown-menu::after {
    display: none;
  }

 .nav-right {
    display: none;
  }

  .mobile-contact {
    display: block;
    padding: 16px;
  }

}