body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.navbar {
    background-color: #f8f9fa;
    padding: 20px 0;
    transition: background-color 0.3s ease; /* Smooth transition for background */
}

.navbar:hover {
    background-color: #e2e6ea; /* Darker background on hover */
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
    transition: color 0.3s; /* Smooth color transition */
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    transition: color 0.3s; /* Smooth color transition */
}

.navbar-nav .nav-link:hover {
    color: #4CAF50; /* Change color on hover */
}

.navbar-nav .nav-link.active {
    color: #4CAF50; /* Green text for active link */
}

.contact-info {
    font-size: 14px;
    color: #333;
}

.contact-info i {
    color: #4CAF50;
}

.hero-section {
    background: url('skrotabilen.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 100px 0;
    color: #fff;
    margin-top: 80px; /* Account for fixed header */
    position: relative; /* For pseudo-elements */
    z-index: 1; /* Set a z-index lower than that of modal */

}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1; /* Place behind text */
}

.hero-section h1 {
    font-size: 36px;
    font-weight: 700;
    background-color: rgba(76, 175, 80, 0.8);
    display: inline-block;
    padding: 15px 30px;
    margin: 0;
    border-radius: 5px;
    position: relative; /* For z-index */
    z-index: 2; /* Place above overlay */
}

.hero-section .btn {
    background-color: #333;
    color: #fff;
    font-size: 24px;
    padding: 10px 20px;
    border: none;
    margin-top: 20px;
    transition: background-color 0.3s; /* Smooth transition */
}

.hero-section .btn:hover {
    background-color: #555; /* Darker on hover */
}

.quote-section {
    background-color: #f5f5f5;
    padding: 40px 0;
    text-align: center;
}

.quote-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.features-section {
    padding: 40px 0;
}

.features-section .feature {
    text-align: center;
    margin-bottom: 20px;
}

.features-section .feature i {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 10px;
}

.features-section .feature h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.features-section .feature p {
    font-size: 14px;
    color: #666;
}

.cta-section {
    background-color: #f5f5f5;
    padding: 20px 0;
    text-align: center;
}

.cta-section .btn {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    margin: 10px;
    padding: 10px 20px;
    animation: pulse 2s infinite; /* Included animation */
    transition: transform 0.3s; /* Smooth scaling */
}

.cta-section .btn:hover {
    transform: scale(1.05); /* Scale up on hover */
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    margin: 0; /* Remove margin in the footer */
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Contact section styles */
.contact-section {
    background-color: #f5f5f5;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-section .form-control {
    margin-bottom: 20px;
    transition: border-color 0.3s; /* Smooth transition for input focus */
}

.contact-section .form-control:focus {
    border-color: #4CAF50; /* Change border color on focus */
}

.contact-section form .btn {
    background-color: #53af50;
    color: #ffffff;
    text-shadow: none;
    font-weight: 700;
    transition: background-color 0.3s; /* Smooth transition */
}

.contact-section form .btn:hover {
    background-color: #45a049; /* Darker on hover */
}

/* Responsive styles */
@media (max-width: 576px) {
    .navbar-nav .nav-item a {
        position: relative;
        display: block; /* Stack nav items */
        padding: 12px; /* Uniform padding */
        text-align: center; /* Center text */
    }

    .hero-section h1 {
        font-size: 28px; /* Smaller h1 on mobile */
        padding: 10px 20px; /* Adjust padding */
    }

    .hero-section .btn {
        font-size: 20px; /* Smaller button font size */
        padding: 8px 16px; /* Adjust padding */
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px; /* Medium h1 for tablets */
    }
    .navbar-nav .nav-item a {
        padding: 10px; /* Adjust padding for tablet */
    }
}


.hero-section {
    background: url('skrotabilen.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 100px 0;
    color: #fff;
    margin-top: 80px; /* Account for fixed header */
    position: relative; /* For pseudo-elements */
    z-index: 1; /* Set a z-index lower than that of modal */
}

/* Modal styles */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050; /* Higher than hero section */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 90%; /* Limit the height to 90% of the viewport */
    overflow-y: auto; /* Enable vertical scrolling */
}

/* Modal backdrop styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark backdrop */
    z-index: 1040; /* Just below modal */
}


.modal-body {
    padding: 20px; /* Ensure there’s some padding */
}

.modal-body iframe {
    width: 100%; /* Make iframe take full width of the modal */
    height: 600px; /* Set a fixed height for the iframe */
    border: none; /* Remove border if visible */
}

.responsive-iframe {
    width: 100%; /* Full width of the container */
    height: 600px; /* Set a specific height */
    border: none; /* Remove border around iframe */
    display: block; /* For proper spacing */
}


.back-to-top {
  position: fixed;
  bottom: 10px;
  right: 20px;
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.5); /* transparent white background */
  color: #333;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: rgba(255, 255, 255, 0.8); /* slightly opaque white background on hover */
}

.back-to-top::before {
  content: "\f077"; /* Font Awesome arrow up icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 16px;
  margin-right: 5px;
}

.next-page {
  position: fixed;
  bottom: 10px; /* adjust the bottom position to accommodate the "Back to Top" button */
  left: 10px; /* adjust the left position to accommodate the "Back to Top" button */
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.5); /* transparent white background */
  color: #333;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.next-page:hover {
  background-color: rgba(255, 255, 255, 0.8); /* slightly opaque white background on hover */
}

.next-page::after {
  content: ">"; /* add the '>' symbol before the text and icon */
  font-size: 16px;
  margin-right: 5px;
}

.next-page span {
  font-size: 16px;
}

.next-page span::after {
  content: "\f053"; /* Font Awesome arrow left icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 16px;
  margin-left: 5px;
}

 

@media (max-width:576px){

 /* Image */
 .navbar a img{
  display:inline-block;
 }
 
 /* Image */
 .navbar .container a img{
  width:107% !important;
 }
 


 .media (max-width:576px){

 /* Image */
 .navbar a img{
  display:inline-block;
 }
 
 /* Image */
 .navbar .container a img{
  width:107% !important;
 
 }
 
 /* Body */
 body{
  background-color:#020202;
 }
 
 /* Next page */
.cta-section .next-page{
 margin-left:5px !important;
}

/* Link */
.cta-section a{
 margin-left:10px !important;
}

/* Link */
.cta-section a{
 right:5px;
}

/* Next page */
.cta-section .next-page{
 margin-left:10px;
}

.cta-section .next-page{
 margin-left:10px;
}

@media (max-width:576px){

 /* Link */
 .cta-section a{
  font-size:12px;
 }
 
}

.cta-section .next-page{
 margin-left:10px;
}

@media (max-width:376px){

 /* Link */
 .cta-section a{
  font-size:12px;
 }
 
}


