.hero {
  position: relative;
  background-image: linear-gradient(rgba(33, 41, 60, 0.8), rgba(33, 41, 60, 0.6)), url('hero-roof.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 6rem 0 8rem;
  text-align: center;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 4rem;
    background-attachment: scroll;
    min-height: 60vh;
  }
  
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  
  .cta-button {
    display: block;
    width: 90%;
    max-width: 300px;
    margin: 0.5rem auto;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Professional Corporate Design for Mululu Plumbing */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Universal mobile optimization */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

:root {
  --primary-navy: hsl(210, 25%, 12%);
  --primary-text: hsl(210, 25%, 12%);
  --background: hsl(210, 8%, 97%);
  --accent-orange: hsl(16, 85%, 55%);
  --accent-blue: hsl(200, 95%, 45%);
  --success-green: hsl(142, 65%, 40%);
  --text-muted: hsl(210, 15%, 45%);
  --card-bg: hsl(0, 0%, 100%);
  --border: hsl(210, 15%, 88%);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.7;
  color: var(--primary-text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-orange);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  margin: 0.5rem 0.25rem;
  box-sizing: border-box;
}

.cta-button:hover {
  background: hsl(16, 85%, 50%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Section Styling */
.services, .about, .testimonials, .photo-quote, .contact {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Photo Quote Section */
.photo-quote-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Photo Quote Page Styling */
.hero-small {
  background: linear-gradient(rgba(33, 41, 60, 0.8), rgba(33, 41, 60, 0.6)), url('photo-quote-hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-small h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.hero-small p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.photo-quote-form {
  padding: 4rem 0;
  background: var(--background);
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tips-section {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: fit-content;
}

.tips-section h3 {
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.tips-list {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--primary-text);
}

.tips-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.upload-form {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
}

.form-note {
  background: rgba(16, 85%, 55%, 0.1);
  border: 1px solid var(--accent-orange);
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-note p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--primary-text);
}

.file-info {
  margin-top: 0.5rem;
}

.file-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  font-weight: normal;
}

/* Form Status Messages */
.message {
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  font-weight: 500;
}

.message.success {
  background: rgba(34, 197, 94, 0.1);
  color: hsl(142, 71%, 25%);
  border: 1px solid hsl(142, 71%, 45%);
}

.message.error {
  background: rgba(239, 68, 68, 0.1);
  color: hsl(0, 84%, 25%);
  border: 1px solid hsl(0, 84%, 45%);
}

.message.info {
  background: rgba(59, 130, 246, 0.1);
  color: hsl(217, 91%, 25%);
  border: 1px solid hsl(217, 91%, 45%);
}

/* Responsive Design for Photo Quote */
@media (max-width: 768px) {
  .form-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-small {
    padding: 2.5rem 0;
    background-attachment: scroll;
  }
  
  .hero-small h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-small p {
    font-size: 1rem;
    padding: 0 1rem;
    line-height: 1.5;
  }
  
  .photo-quote-form {
    padding: 2rem 0;
  }
  
  .upload-form {
    padding: 1.5rem;
  }
  
  .tips-section {
    order: 2;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .services, .about, .testimonials, .photo-quote, .contact {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-orange), hsl(16, 85%, 60%));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.services-list li {
  padding: 0.75rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.services-list li:before {
  content: "✓";
  color: var(--success-green);
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.125rem;
}

.service-images {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.service-images img {
  width: 32%;
  border-radius: 4px;
}

.about img {
  width: 100%;
  margin-top: 20px;
  border-radius: 4px;
}

/* Contact Form */
.contact {
  background: var(--primary-navy);
  color: white;
}

.contact .section-title,
.contact .section-subtitle {
  color: white;
}

.contact .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

form input,
form textarea {
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

form input::placeholder,
form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.15);
}

form button {
  background: var(--accent-orange);
  color: white;
  border: none;
  cursor: pointer;
  padding: 1rem 3rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

form button:hover {
  background: hsl(16, 85%, 50%);
  transform: translateY(-2px);
}

#form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

#form-status.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

#form-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, hsl(210, 8%, 97%) 0%, hsl(210, 12%, 95%) 100%);
}

.testimonial-list {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-carousel {
  position: relative;
  min-height: 300px;
}

.testimonial {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  box-sizing: border-box;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: var(--accent-orange);
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial blockquote {
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0 0 2rem 0;
  font-style: italic;
  color: var(--primary-text);
  font-weight: 400;
}

.testimonial cite {
  font-weight: 600;
  color: var(--accent-blue);
  font-style: normal;
  font-size: 1rem;
}

.delete-testimonial {
  background: hsl(0, 84%, 60%);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  margin-top: 1rem;
  transition: all 0.2s ease;
}

.delete-testimonial:hover {
  background: hsl(0, 84%, 55%);
}

/* Footer */
footer {
  background: hsl(210, 25%, 8%);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

footer a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: hsl(16, 85%, 60%);
}

/* Admin Interface */
#admin-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  min-width: 400px;
  border: 1px solid var(--border);
}

#admin-panel h3 {
  color: var(--primary-navy);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.375rem;
}

#admin-panel input,
#admin-panel textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
}

#admin-panel input:focus,
#admin-panel textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
}

#admin-panel button {
  background: var(--accent-orange);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  margin-right: 0.5rem;
  transition: all 0.2s ease;
}

#admin-panel button:hover {
  background: hsl(16, 85%, 50%);
}

#admin-panel .close-admin {
  background: var(--text-muted);
}

#admin-panel .close-admin:hover {
  background: hsl(210, 15%, 35%);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .testimonial {
    padding: 2rem;
  }
  
  #admin-panel {
    min-width: 90%;
    margin: 1rem;
  }
}