
:root {
--primary-color: #2c3e50; 
--secondary-color: #34495e; 
--tertiary-color: #ecf0f1;
--highlight-color: #e74c3c; 
--text-color: #34495e; 
--white-color: #ffffff;
--font-family-primary: Arial, Tahoma, sans-serif;
--header-height: 150px;
}

*{
box-sizing: border-box;
margin: 0;
padding: 0;
letter-spacing: 0;
}

html {
scroll-behavior: smooth;
}

body {
font-family: var(--font-family-primary);
line-height: 1.6;
color: var(--text-color);
background-color: var(--white-color);
}

.section-padding {
padding: 60px 20px;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.section-title {
text-align: center;
font-size: 2.5rem;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 40px;
position: relative;
display: inline-block;
}

.section-title::after {
content: '';
position: absolute;
left: 50%;
bottom: -10px;
transform: translateX(-50%);
width: 60px;
height: 4px;
background-color: var(--secondary-color);
}

h1, h2, h3, h4 {
font-weight: 700;
color: var(--primary-color);
}

a {
color: var(--secondary-color);
text-decoration: none;
transition: color 0.5s ease;
}

a:hover {
color: var(--highlight-color);
}

/* Header and Navigation */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 40px;
    background-color: var(--white-color);
    border-bottom: 1px solid var(--tertiary-color);
    z-index: 1000;
    transition: transform 0.5s ease;
    height: var(--header-height);
}

.header.sticky {
    transform: translateY(0);
}

/* Style the logo */
.logo img {
    height: 120px;
}

/* Base styles for the navigation menu */
.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    padding: 0 100px;
    text-transform: uppercase;
}

.nav-link {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 5px;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.5s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger-menu {
display: none;
background: white;
border: none;
cursor: pointer;
padding: 10px;
}

.hamburger-menu .bar {
display: block;
width: 25px;
height: 3px;
background-color: grey;
margin: 5px 0;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 1s ease, visibility 1s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--tertiary-color);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.hero {
position: relative;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: var(--white-color);
overflow: hidden;
padding-top: var(--header-height);
}

.hero-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}

.hero-image img {
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(60%);
}

.hero-content {
max-width: 60%;
text-align: center;
position: relative;
z-index: 1;
animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-content h1 {
font-size: 4rem;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
color: var(--white-color);
}

.hero-content p {
font-size: 1.5rem;
margin-bottom: 30px;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-button {
background-color: var(--secondary-color);
color: var(--white-color);
padding: 15px 30px;
font-size: 1.1rem;
font-weight: 700;
transition: background-color 0.5s ease, transform 0.5s ease;
}

.hero-button:hover {
background-color: var(--highlight-color);
transform: scale(1.1);
color: var(--white-color);
}


/* Main Content Sections */
main {
padding-top: var(--header-height);
}

.About-Us, .Contact-us, .services, .gallery {
padding: 80px 20px;
text-align: center;
}

.About-Us p, .Contact-us p {
max-width: 800px;
margin: 0 auto 30px;
font-size: 1.1rem;
}

.services {
background-color: var(--tertiary-color);
}

.service-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
text-align: center;
}

.service-item {
background-color: var(--white-color);
padding: 30px;
border: 1px solid #ddd;
transition: transform 0.5s ease, border-color 0.5s ease;
}

.service-item:hover {
transform: translateY(-15px);
border-color: var(--primary-color);
}

.service-item h4 {
font-size: 1.3rem;
margin-bottom: 10px;
}

.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}

.gallery-item {
overflow: hidden;
border: 1px solid #ddd;
transition: transform 0.5s ease;
}

.gallery-item:hover {
transform: scale(1.05);
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.contact-button {
background-color: var(--secondary-color);
color: var(--white-color);
padding: 15px 30px;
font-size: 1.1rem;
font-weight: 700;
transition: background-color 0.5s ease, transform 0.5s ease;
}

.contact-button:hover {
background-color: var(--highlight-color);
transform: scale(1.1);
color:white;
}

/* Footer */
.footer {
background-color: var(--primary-color);
color: var(--white-color);
padding: 40px 20px;
text-align: center;
}

.footer-contact, .footer-social {
margin-bottom: 20px;
}

.footer h4 {
color: var(--secondary-color);
margin-bottom: 10px;
}

.footer a {
color: var(--tertiary-color);
margin: 0 10px;
font-size: 1rem;
}

.footer a:hover {
color: var(--secondary-color);
}

.footer-bottom {
margin-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 20px;
}

.footer-bottom p {
font-size: 0.9rem;
}

/*

Mobile and Tablet Responsiveness
*/
@media (max-width: 768px) {
.header {
padding: 15px 20px;
}

.nav {
display: flex;
align-items: center;
}

.nav-list {
position: fixed;
top: 0;
right: -100%;
height: 100vh;
width: 60%;
background-color: var(--primary-color);
flex-direction: column;
justify-content: center;
align-items: center;
transition: right 0.7s ease;
z-index: 999;
}

.nav-list.active {
right: 0;
}

.nav-list li {
margin: 20px 0;
}

.nav-link {
color: var(--white-color);
font-size: 1.5rem;
}

.nav-link::after {
background-color: var(--white-color);
}

.hamburger-menu {
display: block;
z-index: 1000;
}

.hamburger-menu.active .bar:nth-child(1) {
transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
transform: rotate(45deg) translate(-5px, -6px);
}

.hero-content {
max-width: 90%;
text-align: center;
margin: 0;
}

.hero-content h1 {
font-size: 2.5rem;
}

.hero-content p {
font-size: 1.2rem;
}

.section-title {
font-size: 2rem;
}

.service-list {
grid-template-columns: 1fr;
}

.gallery-grid {
grid-template-columns: 1fr;
}
}
/* About page */
.about-section-title {
text-align: center;
font-size: 2.5rem;
font-weight: 700;
color: var(--tertiary-color);
margin-bottom: 40px;
position: relative;
display: inline-block;
}
.about-section-title::after {
content: '';
position: absolute;
left: 50%;
bottom: -10px;
transform: translateX(-50%);
width: 60px;
height: 4px;
background-color: var(--secondary-color);
}
.about-hero {
  background-color: var(--primary-color);
  color: var(--white-color);
  text-align: center;
  padding-top: var(--header-height);
  padding-bottom: 40px;
}

.about-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.about-hero-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-intro {
  text-align: center;
}

.about-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.about-details {
  background-color: var(--tertiary-color);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.detail-item {
  background-color: var(--white-color);
  padding: 30px;
  text-align: center;
  border: 1px solid #ddd;
  transition: transform 0.5s ease, border-color 0.5s ease;
}

.detail-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.detail-item .icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.detail-item h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 1.5s ease-out forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .about-hero-content h1 {
    font-size: 2.5rem;
  }
}
/* Contact Page */

.contact-section {
  padding: 80px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.contact-info, .contact-form-container {
  flex: 1 1 450px;
  max-width: 600px;
  background-color: var(--white-color);
  padding: 40px;
  border: 1px solid #ddd;
}

.contact-info h2, .contact-form-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  margin-bottom: 30px;
}

.contact-info ul li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info ul li i {
  color: var(--secondary-color);
  margin-right: 15px;
  font-size: 1.3rem;
}

.contact-info a {
  font-size: 1.2rem;
  margin-right: 20px;
  transition: color 0.5s ease;
}

.contact-info a i {
  font-size: 1.8rem;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
}

/* Styling for the form's input and textarea elements */
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--tertiary-color);
  font-size: 1rem;
  background-color: var(--white-color);
  color: var(--text-color);
  transition: border-color 0.5s ease;
}

/* Style the placeholder text */
.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
  color: #a0a0a0; /* A lighter gray for the placeholder text */
  opacity: 1; /* Ensures the placeholder is visible in all browsers */
}

/* Add an effect when the input is focused */
.contact-form-container input:focus,
.contact-form-container textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

/* Style the form button */
.contact-form-container .form-btn {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  background-color: var(--secondary-color);
  color: var(--white-color);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.5s ease, transform 0.5s ease;
}

.contact-form-container .form-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}
.contact-map {
  width: 100%;
  padding: 0 20px;
  margin-bottom: 50px;
}

.map-container {
  height: 500px;
  width: 100%;
  overflow: hidden;
}

.map-container iframe {
  border:0;
}
/* Mobile and Tablet Responsiveness*/
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }

  .contact-info, .contact-form-container {
    width: 100%;
    padding: 20px;
  }
}

/*services page*/
.services-container {
    max-width: 100%;
}
.services-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.services-item {
  background-color: var(--white-color);
  padding: 30px;
  border: 1px solid #ddd;
  transition: transform 0.5s ease, border-color 0.5s ease;
}

.services-item:hover {
  transform: translateY(-15px);
  border-color: var(--primary-color);
}

.service-img {
  width: 280px;
  height: 250px;
  margin-bottom: 20px;
}

.service-item h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

@keyframes fadeInFromBottom {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*thank-you page */
.thank-you {
    text-align: center;
    min-height: calc(100vh - var(--header-height) - 100px); /* Adjust based on header and footer height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you .thank-container {
    max-width: 600px;
    padding: 40px;
    background-color: var(--tertiary-color);
    border: 1px solid #ddd;
}

.thank-you .thank-section-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thank-you p {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.thank-contact-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.5s ease;
}

.thank-contact-button:hover {
    background-color: #2980b9;
}

/* Back to Top Button */
#back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* Initially hidden */
  background-color: var(--secondary-color);
  color: var(--white-color);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.5s ease, display 0.5s ease;
}

#back-to-top-btn.visible {
  display: block;
  opacity: 1;
}

#back-to-top-btn:hover {
  background-color: var(--highlight-color);
}
