/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #FFC107; /* Yellow */
    --secondary-color: #000000; /* Black */
    --accent-color: #FFEB3B; /* Lighter Yellow */
    --light-bg-color: #FFFDE7;
    --dark-bg-color: #000000;
    --text-color-dark: #000000; /* Black */
    --text-color-light: #FFFDE7;

    --svc-bg-color: var(--primary-color);
    --svc-bg-color-light: var(--light-bg-color);
    --svc-text-color-hover: var(--text-color-light);
    --svc-box-shadow-color: rgba(255, 193, 7, 0.48);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--light-bg-color);
}

h1, h2, h3 {
    font-weight: 600;
}
a{
    text-decoration: none;
}
.logo{
    display: flex;

}
.company-tittle{
    margin-top: 25px;
}
.company-logo{
    width: 100px;
    height: 120px;
}
@media (max-width: 480px) {
    .company-logo{
    width: 80px;
    height: 100px;
}

}


/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
     padding-right: 20px;
    background-color: var(--light-bg-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hamburger-menu {
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--light-bg-color);
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 1rem 0;
    text-align: center;
}

.nav-links.active {
    display: flex;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-links li {
    padding: 1rem 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1542626991-cbc9f66014c2?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    color: var(--text-color-light);
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* General Section Styling */
section {
    padding: 6rem 5%;
    text-align: center;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

/* Reveal on Scroll Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Service Section - Updated with Grid Layout, Auto-Height, and Detailed Card Style */

.svc-section {
    padding: 4rem 2rem;
    background-color: var(--light-bg-color);
}

.svc-grid {
    display: grid;
    /* 3 columns on large screens, adjust automatically on smaller screens */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px; 
}

.svc-link {
    text-decoration: none;
}

.svc-card {
    width: 100%;
    height: 300px;
    background: #fff;
    padding: 30px 20px; /* Added padding */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content to the start of the card */
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-out;
    border: 2px solid transparent; /* Prepare for border on hover */
}

.svc-card:hover {
    transform: translateY(-5px); /* Only slight lift */
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.1),
                0 0 0 3px var(--primary-color); /* Added a border-like glow effect */
    border-color: var(--primary-color);
}

.svc-icon {
    font-size: 3.5rem; /* Larger icon */
    color: var(--primary-color); /* Primary color icon */
    margin-bottom: 15px;
    transition: color 0.3s ease-out;
}

/* Service Name */
.svc-name {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 10px; 
    margin-bottom: 5px;
    font-weight: 700;
}

/* Service Description */
.svc-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    min-height: 40px; /* Gives some height consistency */
}

/* Service Price Container */
.svc-price {
    font-size: 1rem;
    color: var(--text-color-dark);
    margin-top: 10px;
    font-weight: 500;
}

/* Highlighted Price - The user requested this to be highlighted */
.svc-price-hourly {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 5px;
    font-size: 1.1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Media Queries for Services Section */
@media (max-width: 992px) {
    .svc-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .svc-section {
        padding: 3rem 1rem;
    }
    .svc-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr 1fr; /* Two columns on tablet/small screens */
    }
    .svc-icon {
        font-size: 2.5rem;
    }
    .svc-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .svc-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    .svc-card {
        padding: 20px;
    }
}
/* About Us Section */
/* About Us Section */
.about-us-section {
  padding: 60px 20px;
  background: #f8f9fa; /* light background */
  text-align: center;
}

.about-us-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
}

.about-text {
  flex: 1 1 500px;
  text-align: left;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #555;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    text-align: center;
  }
}


/* Contact Us Section */
.contact-us-section {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 6rem 5%;
}

.contact-us-section h2 {
    color: var(--primary-color);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form-container, .contact-image-container {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.contact-form-container h2 {
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #555;
    border-radius: 8px;
    background-color: #444;
    color: var(--text-color-light);
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #bbb;
}

.contact-form button {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Section */
.footer {
    background-color: var(--dark-bg-color);
    color: var(--text-color-light);
    padding: 2rem 5%;
}

.footer-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
}

.accordion-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding-bottom: 1rem;
}

.accordion-content.open {
    display: block;
}

.accordion-content p {
    margin-bottom: 0.5rem;
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-icons a {
    color: var(--text-color-light);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

/* Desktop Styles */
@media (min-width: 768px) {
 

    .hamburger-menu {
        display: none;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        position: static;
        width: auto;
        padding: 0;
        box-shadow: none;
    }

    .nav-links li {
        padding: 0 1.2rem;
    }

    .about-content, .contact-content {
        flex-direction: row;
        text-align: left;
    }

    .about-image {
        order: -1;
    }

    .contact-form-container, .contact-image-container {
        flex: 1;
    }
    
    .contact-us-section {
        padding: 6rem 8%;
    }

    .footer {
        padding: 4rem 8% 2rem;
    }
    
    .footer-accordion-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }

    .accordion-item {
        flex: 1;
        border-bottom: none;
    }

    .accordion-header {
        cursor: default;
    }

    .accordion-header i {
        display: none;
    }

    .accordion-content {
        display: block !important;
        padding-bottom: 0;
    }
}

/* This ensures the policy content isn't full-width and has some padding */
.policy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.policy-container h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.policy-container h2,
.policy-container h3 {
    font-size: 1.5rem;
    color: var(--text-color-dark);
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-container p,
.policy-container li {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.policy-container ul {
    padding-left: 20px;
}

/* This pushes the content down below the fixed navbar */
main.policy-content {
    padding-top: 140px; /* Adjust based on your navbar height */
}

/* On mobile, reduce padding */
@media (max-width: 768px) {
    main.policy-content {
        padding-top: 120px; /* Adjust for mobile navbar */
    }
    .policy-container {
        margin: 20px;
        padding: 20px;
    }
    .policy-container h1 {
        font-size: 2rem;
    }
}