body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333; 
  overflow-x: hidden;
  padding-top: 70px;
  
  background-color: rgb(255, 248, 240); 
  margin: 0;
  padding-left: 0; 
  padding-right: 0; 
  overflow-x: hidden;
}


section {
  width: auto; 
  margin: 2rem auto;
  padding: 0 1rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #222; 
  border-bottom: 2px solid #D1495B;
  display: inline-block;
  padding-bottom: 0.3rem;
}

h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #444;
}

.navbar {
    background-color: #003D5B !important; 
}

#hero {
  position: relative;
  width: 100%;
  height: 500px; 
  background: url('background.jpeg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; 
  margin-left: auto;
  margin-right: auto;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 0;
}

.hero-content {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 80%;  
  z-index: 1;      
  color: white;
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

#hero p {
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 2rem;
  }
  #hero p {
    font-size: 1rem;
  }
}


#services {
  padding: 50px 10%;
  text-align: center;
  background: #f9f9f9;
}

#services h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card button {
  padding: 10px 15px;
  border: none;
  background: #333;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.card button:hover {
  background: #555;
}


.why-choose-us {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.why-choose-us h2 {
  text-align: center;
  font-size: 2rem;
  color: #222;
  margin-bottom: 2rem;
  border-bottom: none;
}

.choose-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.choose-text {
  flex: 1;
}

.choose-text h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #003D5B; 
  font-size: 1.3rem;
}

.choose-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #444; 
}

.choose-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.choose-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .choose-container {
    flex-direction: column;
  }
}



.portfolio {
  margin: 3rem auto;
  text-align: center;
}

.portfolio h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #222;
  border-bottom: none;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.portfolio-item img {
  width: 100%;
  height: 200px; 
  object-fit: cover;
  transition: transform 0.3s;
}
.portfolio-item:hover img {
  transform: scale(1.1);
}
.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-item:hover .overlay {
  opacity: 1;
}

form {
  background: #00798C;
  padding: 2rem;
  color: rgb(255, 248, 240);
  border-radius: 8px;
}

form fieldset {
  border: none;
  margin-bottom: 1.5rem;
}

form legend {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid rgb(255, 248, 240);
  border-radius: 4px;
}

form button {
  background: #D1495B;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  color: rgb(255, 248, 240);
}

form button:hover {
  background: #a83847;
}

textarea {
  resize: vertical;
  max-width: 100%;
  box-sizing: border-box;
}


footer {
  text-align: center;
  padding: 1.5rem;
  background: #003D5B; 
  color: rgb(255, 248, 240);
  margin-top: 3rem;
}

footer nav {
  margin-top: 0.5rem;
}

footer nav a {
  color: #D1495B;
  margin: 0 0.5rem;
  text-decoration: none;
}



.sidebar-social a {
  color: #003D5B; 
  transition: color 0.3s;
}

.sidebar-social a:hover {
  color: #D1495B; 
}

aside .p-3.mb-4.rounded {
    
    background-color: #f4f4f4; 
    border: 1px solid #ccc; 
}

.btn-group-vertical .btn-outline-dark {
    border-radius: 0.25rem;
    margin-bottom: 5px;
    border: 1px solid #003D5B;
    color: #003D5B;
}

.btn-group-vertical .btn-outline-dark:hover {
    background-color: #003D5B;
    color: white;
}




.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content-js {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.close-btn-js {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-btn-js:hover,
.close-btn-js:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}



#current-datetime {
    color: #E6EDF3 !important;
}


/* DARK MODE STYLES */
.dark-mode {
    background-color: #0D1117 !important; 
    color: #E6EDF3 !important; 
}


.dark-mode .navbar {
    background-color: #1E2A36 !important;
}

.dark-mode .navbar .nav-link {
    color: #E6EDF3 !important;
    transition: color 0.2s ease;
}

.dark-mode .navbar .nav-link:hover,
.dark-mode .navbar .nav-link:focus {
    color: #F07178 !important; 
}

.dark-mode .navbar .nav-link.active,
.dark-mode .navbar .nav-link.show {
    color: #F07178 !important;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3 { 
    color: #E6EDF3 !important; 
}

.dark-mode h2 { 
    border-bottom: 2px solid #F07178; 
}

.dark-mode .choose-text h3 {
    color: #F07178 !important; 
}
.dark-mode .choose-text p {
    color: #E6EDF3 !important;
}


.dark-mode aside {
    background-color: #1E2A36 !important; 
    color: #E6EDF3 !important;
}


.dark-mode aside .p-3.mb-4.rounded {
    background-color: transparent !important; 
    border: none !important; 
}

.dark-mode aside a,
.dark-mode aside .sidebar-social a {
    color: #E6EDF3 !important;
}

.dark-mode aside a:hover {
    color: #F07178 !important;
}


.dark-mode aside .btn-outline-dark {
    color: #E6EDF3 !important;
    border-color: #E6EDF3 !important;
    background-color: transparent !important;
}

.dark-mode aside .btn-outline-dark:hover {
    color: #F07178 !important;
    border-color: #F07178 !important;
    background-color: transparent !important;
}


.dark-mode .hero-section {
    background-color: #003D5B !important;
    color: #E6EDF3 !important;
}


.dark-mode .accordion-container,
.dark-mode .estimate-card {
    background-color: #1E2A36 !important;
    color: #E6EDF3 !important;
    border-color: #333 !important;
}


.dark-mode .custom-modal .modal-content-js {
    background-color: #1E2A36 !important; 
    border-color: #333 !important;
}



.dark-mode .custom-modal .modal-content-js h2,
.dark-mode .custom-modal .modal-content-js label,
.dark-mode .custom-modal .modal-content-js p {
    color: #E6EDF3 !important; 
}

.dark-mode input,
.dark-mode select,
.dark-mode textarea {
    background-color: #E6EDF3 !important; 
    color: #0D1117 !important;
    border: 1px solid #333 !important;
}


.dark-mode footer {
    background-color: #1E2A36 !important;
}

.dark-mode .why-choose-us { 
    background: #1E2A36 !important;
}

.dark-mode #services {
  background: #1E2A36 !important;
}

.dark-mode main {
    background-color: #0D1117 !important; 
}
