/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    scroll-behavior: smooth;
}

/* Navigation Styles */
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ff7f50;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ff7f50;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger .line {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px;
    transition: all 0.3s;
}

/* Hero Section Styles */
.hero-section {
    height: 100vh;
    background: url('hero.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
}

.btn {
    background: #ff7f50;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: background 0.3s;
}

.btn:hover {
    background: #e57046;
}

/* Services Section Styles */
.services-section {
    padding: 100px 10%;
    background: #f9f9f9;
    text-align: center;
}

.services-section h2 {
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.services-section h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background: #ff7f50;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

.services-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-card {
    background: #fff;
    width: 30%;
    margin-bottom: 30px;
    padding: 40px 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon img {
    width: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.service-card ul li {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '•';
    color: #ff7f50;
    position: absolute;
    left: 0;
}

/* About Section Styles */
.about-section {
    padding: 100px 10%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-content img {
    width: 45%;
    border-radius: 10px;
    margin-right: 5%;
}

.about-text {
    width: 50%;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

.about-text .btn {
    margin-top: 20px;
}

/* Contact Section Styles */
.contact-section {
    padding: 100px 10%;
    background: #f9f9f9;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.contact-section h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background: #ff7f50;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-field {
    position: relative;
    margin-bottom: 40px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
}

.form-field label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: all 0.3s;
}

.form-field input:focus + label,
.form-field input:valid + label,
.form-field textarea:focus + label,
.form-field textarea:valid + label {
    top: -20px;
    font-size: 14px;
    color: #ff7f50;
}

button.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: #ff7f50;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

button.btn:hover {
    background: #e57046;
}

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 10%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .service-card {
        width: 45%;
    }

    .about-content img,
    .about-text .indented {
        text-indent: 2em; /* Adjust the value as needed */
      }
      

      .indented {
        text-indent: 2em; /* Adjust the value as needed */
      }
      

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-textp {
        font-size: 16px;
        line-height: 22.4px; /* 16px * 1.4 = 22.4px */
      }
      
}

@media (max-width: 768px) {
    nav {
        padding: 20px 5%;
    }

    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 0;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }

    .service-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .button {
        background-color: #6b3c02; /* Darker orange */
      }
.button {
  padding: 20px 40px;
  font-size: 20px;
  .button:hover {
    background-color: #693b04; /* Even darker shade on hover */
  }
  
}
      

    .about-section {
        padding: 60px 5%;
    }

    .contact-section {
        padding: 60px 5%;
    }
}
/* Popup overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: auto; /* Enable scrolling */
}

/* Popup content */
.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%; /* Adjust width for mobile */
    max-width: 500px;
    max-height: 80%; /* Limit height to 80% of the screen */
    overflow-y: auto; /* Enable vertical scrolling inside the popup */
    text-align: center;
}

.popup-content h3, .popup-content h4 {
    margin-top: 0;
}

.popup-content p {
    margin: 20px 0;
}

.popup-content .btn {
    margin-top: 20px;
}

/* Show popup */
.popup-overlay.active {
    display: flex;
}

