:root {
  --font: 'Ubuntu', sans-serif;
  --blue--defoult: #00072d;
  --white--defoult: #fff;
  --desctop: 1440px; /* было 1200px — увеличили */
  --laptop: 1024px;
  --tablet: 768px;
  --mobileL: 425px;
  --mobile: 320px;
}


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
   margin-top: 100px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
ul,
ol {
  font-family: var(--font);
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

section {
   max-width: var(--desctop);
  width: 100%;
  margin: 0 auto;
  padding: 50px 100px;
}
@media (max-width: 1024px) {
  section {
    padding: 40px 60px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 30px 30px;
  }
}

@media (max-width: 425px) {
  section {
    padding: 20px 15px;
  }
}

header {
  width: 100%;
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 1000;

}

.l-header {
  max-width: var(--desctop);
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
}



.l-header nav ul {
  display: flex;
  gap: 50px;
  padding: 14px 70px;

  background-color: transparent;
  border-radius: 30px;
}

.l-header nav ul li a {
  font-size: 20px;
  font-weight: 400;
  color: #d16988;

}





.l-header .phone_number a {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  background-color: #d16988;
  padding: 15px 60px;
  border-radius: 0px;
  

}

.l-header .phone_number a:hover {
  border-bottom: 2px solid #fff;
}

/* Contact data */

.contact_data {
  padding: 10px 0;
}

.contact_data .contact_data--content {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;

}

.contact_data .contact_data--content ul {
  max-width: 600px;
  width: 100%;
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  align-items: center;
}



.contact_data .contact_data--content ul li a {
  font-size: 16px;
  font-weight: 400;
  color: var(--white--defoult);

}

/* intro */
section.intro {
  width: 100%;
  height: 75vh;           /* примерно 75% высоты окна */
  padding: 50px 100px;
  margin-top: 150px;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  border-radius: 0px;
  -webkit-box-shadow: 300px -0px 250px 100px rgba(9, 21, 87, 0.4) inset;
  -moz-box-shadow: 300px -0px 250px 100px rgba(9, 21, 87, 0.4) inset;
  box-shadow: inset 0 0 200px rgba(9, 21, 87, 0.4);
}


section.intro .intro--content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 0 auto;
}

section.intro .intro--content h2 {
  font-size: 70px;
  font-weight: 400;
  color: #ffffff;
}

section.intro .intro--content p {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}



section.intro .intro--content .intro_link--container a.intro--link {
  background-color:#111111;
  padding: 15px 60px;
  font-size: 20px;
  font-weight: 400;
  color: #e9e4e4;
  text-align: center;
  border-radius: 30px;
  border-bottom: 2px solid var(--blue--defoult);
}

section.intro .intro--content .intro_link--container a.intro--link:hover {
  border-bottom: 2px solid white;
}

/* services */

section.services {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
   margin-top: 100px;
}

section.services h2,
section.services--info h2 {
  font-size: 50px;
  font-weight: 400;
  color: #111111;
}

section.services {
  /* max-width: 700px; */
  width: 100%;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #161616;
}

section.services .services--info,
section.services--info .services--info--items {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  margin-top: 50px;
}

section.services .services--info .services--info--item,
section.services--info .services--info--item {
  
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
}

section.services .services--info .services--info--item img,
section.services--info .services--info--item img {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
}

section.services .services--info .services--info--item h3,
section.services--info .services--info--item h3 {
  font-size: 30px;
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: #201f1f;
}

section.services .services--info .services--info--item ul,
section.services--info .services--info--item ul {
  display: flex;
  max-width: 500px;
  flex-direction: column;
  gap: 10px;
  list-style: inside;
}

section.services .services--info .services--info--item ul li,
section.services--info .services--info--item ul li {
  margin-left: 20px;
  font-size: 18px;
  font-weight: 400;
  color: #222020;
}

/* about_us */

section.about_us {
  background-image: url('./assets/img/team.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50px;




}

section.about_us .about_us--filter {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 150px 50px;
  border-radius: 50px;
  background-color: rgba(57, 82, 106, 0.87);
}

section.about_us .about_us--filter .about_us--info {
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

section.about_us .about_us--filter .about_us--info h2 {
  font-size: 50px;
  font-weight: 400;
  color: #eee7e7;
}

section.about_us .about_us--filter .about_us--info p {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #f1f1f1;
}

section.about_us .about_us--filter .about_us--info a {
  background-color: var(--white--defoult);
  padding: 15px 60px;
  font-size: 20px;
  font-weight: 400;
  color: var(--blue--defoult);
  text-align: center;
  border-radius: 30px;
  border-bottom: 2px solid #fff;
}

section.about_us .about_us--filter .about_us--info a:hover {
  border-bottom: 2px solid var(--blue--defoult);
}

/* say */

/* Testimonial Slider Styles */

.say {
  padding: 60px 0;

}

.say h2 {
  font-size: 50px;
  font-weight: 400;
  color: #161616;
  margin-bottom: 40px;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 40px;
  /* Space for navigation dots */
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-out;
}

.slide {
  min-width: 50%;
  /* Each slide takes up half the container (2 slides visible) */
  padding: 0 15px;
  box-sizing: border-box;
  user-select: none;
}

.testimonial {
  background-color: #f8f8f8;
  border-radius:10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.message {
  flex-grow: 1;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.author {
  text-align: right;
}

.name {
  font-weight: bold;
  margin-bottom: 5px;
}

.position {
  color: #666;
  font-size: 0.9em;
}

/* Navigation buttons */
.slider-navigation {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: calc(50% - 20px);
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0 10px;
}

.slider-button {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.slider-button:hover {
  background-color: rgba(255, 255, 255, 1);
}

.prev-button {
  margin-right: auto;
}

.next-button {
  margin-left: auto;
}

/* Navigation dots */
.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: #333;
}

.contact {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.contact h2 {
  font-size: 50px;
  font-weight: 400;
  color: #111111;
}

.contact p span {
  display: block;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #1f1e1e;
}

.contact p {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #202020;
}

.contact--link a {
  background-color: var(--white--defoult);
  padding: 15px 60px;
  font-size: 20px;
  font-weight: 400;
  color: var(--blue--defoult);
  text-align: center;
  border-radius: 30px;
  border-bottom: 2px solid var(--blue--defoult);
}

.contact--link a:hover {
  border-bottom: 2px solid #fff;
}

/* footer */
footer {
  max-width: var(--desctop);
  width: 100%;
  border-radius: 50px;
  margin: 0 auto;
  padding: 30px 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: var(--white--defoult);

}


footer .footer--info {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  border-top: 1px solid var(--blue--defoult);
  border-bottom: 1px solid var(--blue--defoult);

}
.logo img{
  height: 80px;
}
footer .logo {
  display: flex;
  justify-content: center;
}

footer .logo img {
  height: 80px;
  fill: var(--blue--defoult);
}

footer .footer--info ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

footer .footer--info ul li {
  font-size: 16px;
  font-weight: 400;
  color: var(--blue--defoult);
}

footer .footer--info ul li a {
  font-size: 16px;
  font-weight: 400;
  color: var(--blue--defoult);
  border-bottom: 2px solid #fff;
}

footer .footer--info ul li a:hover {
  border-bottom: 2px solid var(--blue--defoult);
}

footer .copy {
  display: flex;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--blue--defoult);
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 5px;
  max-width: 500px;
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.success-icon {
  color: green;
  font-size: 50px;
  margin-bottom: 20px;
}

/* about */
section.photo_team {
  height: 100vh;
  border-radius: 50px;
  background-image: url("./assets/img/team.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  top: -55px;
}



section.about_us_page .about_us--info {
  max-width: 1090px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

section.about_us_page .about_us--info h2 {
  font-size: 50px;
  font-weight: 400;
  color: #161616;
}

section.about_us_page .about_us--info p {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #181818;

}

section.about_us_page .about_us--info ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: inside;
  border-bottom: 1px solid #fff;
  border-top: 1px solid #fff;
  padding: 10px 0;
}

section.about_us_page .about_us--info ul li {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #161616;
  margin-left: 20px;
}

section.services--info {
  background-color: var(--blue--defoult);
  padding: 30px 0;
  position: relative;
  top: -55px;
  border-radius: 50px;
}


section.contact_page {
  position: relative;
  top: -0px;
  display: flex;
  justify-content: space-between;
  background-color: var(--blue--defoult);
  border-radius: 0px;
  padding: 40px 20px;
  gap: 20px;
}

.ci {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ci h2 {
  font-size: 26px;
  font-weight: 400;
  color: #FFFFFF;
}

.ci ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ci ul li {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #FFFFFF;

}

.ci ul li a {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #FFFFFF;

}



section.contact_page form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

section.contact_page form .tf {
  display: flex;
  gap: 30px;
}

section.contact_page form .tf label {
  width: 100%;
}

section.contact_page form .tf label h6 {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: #FFFFFF;
}

section.contact_page form .tf label h6 span {
  color: red;
}

section.contact_page form .tf label input,
section.contact_page form label input {
  border: 1px solid rgb(44, 42, 84);
  background-color: #00072d;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #FFFFFF;
  padding: 10px 3px;
  border-radius: 50px;
}

section.contact_page form label h6 {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: #FFFFFF;
}

section.contact_page form label h6 span {
  color: red;
}

section.contact_page form label input {
  width: 100%;
}

section.contact_page form label textarea {
  width: 100%;
  border: 1px solid rgb(44, 42, 84);
  background-color: #00072d;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #FFFFFF;
  padding: 10px 3px;
  border-radius: 50px;
}

section.contact_page form button {
  width: 100%;
  padding: 10px 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--blue--defoult);
  border-radius: 50px;
  background-color: #fff;
}

/* Make slider responsive */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.cookie-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn--cookies {
  width: 100%;
  padding: 10px 0;
  border-radius: 10px;
  border: 0;
  outline: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: #00072d;
  color: white;
  cursor: pointer;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9998;
}

@media (max-width: 768px) {
  .slide {
    min-width: 100%;
    /* On smaller screens, show only one slide */
  }
}

/* Responsive Styles for Sinclair Plumbing
 * Breakpoints:
 * - 1024px (laptop)
 * - 768px (tablet)
 * - 425px (mobile large)
 * - 320px (mobile)
 */

/* Laptop (1024px) */
@media screen and (max-width: 1024px) {
  section {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .l-header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }


  .l-header nav ul {
    gap: 30px;
    padding: 14px 40px;
  }

  section.intro {
    padding: 240px 30px 100px;
  }

  section.intro .intro--content h2 {
    font-size: 60px;
  }

  footer {
    max-width: 100%;
    margin: 0 20px;
  }
}

/* Tablet (768px) */
@media screen and (max-width: 768px) {
  header {
    top: 20px;
  }

  .l-header {
    flex-direction: column;
    gap: 15px;
  }

  .l-header nav ul {
    gap: 20px;
    padding: 10px 30px;
  }

  .l-header nav ul li a {
    font-size: 16px;
    
  }

  .l-header .phone_number a {
    font-size: 16px;
    padding: 10px 40px;
  }

  .contact_data .contact_data--content ul {
    justify-content: center;
    gap: 15px;
  }

  section.intro {
    padding: 240px 20px 100px;
  }

  section.intro .intro--content {
    gap: 30px;
  }

  section.intro .intro--content h2 {
    font-size: 50px;
  }

  section.services h2,
  section.services--info h2,
  section.about_us .about_us--filter .about_us--info h2,
  .say h2,
  .contact h2,
  section.about_us_page .about_us--info h2 {
    font-size: 40px;
  }

  section.about_us .about_us--filter {
    padding: 100px 20px;
  }

  section.contact_page {
    flex-direction: column;
  }

  section.contact_page form .tf {
    flex-direction: column;
    gap: 15px;
  }

  footer .footer--info {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  footer .footer--info ul {
    min-width: 200px;
  }
}

/* Mobile Large (425px) */
@media screen and (max-width: 425px) {
  header {
    top: 10px;
  }

  .l-header {
    padding: 30px 20px;
  }

  .l-header nav ul {
    gap: 10px;
    padding: 8px 15px;
  }

  .l-header nav ul li a {
    font-size: 14px;
  }

  .l-header .phone_number a {
    font-size: 14px;
    padding: 8px 20px;
  }

  .contact_data .contact_data--content ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  section.intro {
    padding: 200px 15px 80px;
    border-radius: 30px;
  }

  section.intro .intro--content h2 {
    font-size: 36px;
  }

  section.intro .intro--content p {
    font-size: 16px;
    line-height: 24px;
  }

  section.intro .intro--content .intro_link--container a.intro--link {
    padding: 10px 30px;
    font-size: 16px;
  }

  section.services h2,
  section.services--info h2,
  section.about_us .about_us--filter .about_us--info h2,
  .say h2,
  .contact h2,
  section.about_us_page .about_us--info h2 {
    font-size: 30px;
  }

  section.services .services--info .services--info--item h3,
  section.services--info .services--info--item h3 {
    font-size: 24px;
  }

  section.about_us {
    border-radius: 30px;
  }

  section.about_us .about_us--filter {
    padding: 60px 15px;
    border-radius: 30px;
  }

  section.about_us .about_us--filter .about_us--info a,
  .contact--link a {
    padding: 10px 30px;
    font-size: 16px;
  }

  .testimonial {
    border-radius: 30px;
    padding: 20px;
  }

  .slider-button {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  footer {
    padding: 20px 15px;
    border-radius: 30px;
  }

  section.photo_team {
    border-radius: 30px;
  }

  section.services--info,
  section.contact_page {
    border-radius: 30px;
  }

  .ci h2 {
    font-size: 26px;
  }

  section.contact_page form label h6 {
    font-size: 16px;
  }
}

/* Mobile (320px) */
@media screen and (max-width: 320px) {
  .l-header {
    padding: 30px 20px;
  }

  .l-header nav ul {
    gap: 8px;
    padding: 6px 10px;
  }

  .l-header nav ul li a {
    font-size: 12px;
  }

  .l-header .phone_number a {
    font-size: 12px;
    padding: 6px 15px;
  }

  section.intro {
    padding: 190px 10px 80px;
    border-radius: 20px;
  }

  section.intro .intro--content h2 {
    font-size: 28px;
  }

  section.intro .intro--content p {
    font-size: 14px;
    line-height: 22px;
  }

  section.intro .intro--content .intro_link--container a.intro--link {
    padding: 8px 20px;
    font-size: 14px;
  }

  section.services h2,
  section.services--info h2,
  section.about_us .about_us--filter .about_us--info h2,
  .say h2,
  .contact h2,
  section.about_us_page .about_us--info h2 {
    font-size: 24px;
  }

  section.services .services--info .services--info--item h3,
  section.services--info .services--info--item h3 {
    font-size: 20px;
  }

  section.services .services--info .services--info--item ul li,
  section.services--info .services--info--item ul li,
  section.about_us .about_us--filter .about_us--info p,
  section.about_us_page .about_us--info p,
  section.about_us_page .about_us--info ul li {
    font-size: 14px;
    line-height: 22px;
  }

  section.about_us {
    border-radius: 20px;
  }

  section.about_us .about_us--filter {
    padding: 40px 10px;
    border-radius: 20px;
  }

  section.about_us .about_us--filter .about_us--info a,
  .contact--link a {
    padding: 8px 20px;
    font-size: 14px;
  }

  .testimonial {
    border-radius: 20px;
    padding: 15px;
  }

  .message {
    font-size: 14px;
    line-height: 20px;
  }

  .slider-button {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  footer {
    padding: 15px 10px;
    border-radius: 20px;
  }

  footer .footer--info ul li,
  footer .footer--info ul li a,
  footer .copy {
    font-size: 14px;
  }

  section.photo_team {
    border-radius: 20px;
  }

  section.services--info,
  section.contact_page {
    border-radius: 20px;
    padding: 20px 10px;
  }

  .ci h2 {
    font-size: 22px;
  }

  .ci ul li,
  .ci ul li a {
    font-size: 14px;
    line-height: 22px;
  }

  section.contact_page form label h6 {
    font-size: 14px;
    line-height: 22px;
  }

  section.contact_page form .tf label input,
  section.contact_page form label input,
  section.contact_page form label textarea {
    font-size: 14px;
    line-height: 22px;
  }

  section.contact_page form button {
    font-size: 16px;
    line-height: 24px;
  }

  .cookie-notice {
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
  }
}

.terms{
  max-width: var(--desctop);
  width: 100%;
  border-radius: 50px;
  margin: 160px auto 20px;
  padding: 30px 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: var(--white--defoult);
}