:root {
  --primary: #0f172a;
  /* Slate 900 for a deep, premium dark */
  --highlight: #ea580c;
  /* High energy orange/rust for roofing */
  --highlight-hover: #c2410c;
  --bg-light: #f8fafc;
  --bg-dark: #020617;
  --text-main: #334155;
  --text-light: #64748b;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(234, 88, 12, 0.4);

  --font-base: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-highlight {
  color: var(--highlight);
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 1rem;
}

.section {
  padding: 7rem 0;
}

.section-light {
  background-color: var(--bg-light);
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 1rem auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--highlight);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--highlight-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* Top Bar */
.top-bar {
  background-color: var(--bg-dark);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-info {
  display: flex;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  font-family: var(--font-heading);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background-color: var(--highlight);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--highlight);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 8rem;
  background-color: var(--primary);
  color: var(--white);
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero h1 {
  color: var(--white);
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 5rem;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--highlight);
  top: -150px;
  right: -100px;
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: #3b82f6;
  /* Blue contrast for glassmorphism magic */
  bottom: -100px;
  left: -100px;
  opacity: 0.3;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}

.badge-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--highlight) 0%, var(--highlight-hover) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
}

.badge-text h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.badge-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--highlight), #f97316);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: rgba(234, 88, 12, 0.05);
  color: var(--highlight);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--highlight);
  color: var(--white);
  transform: scale(1.05) rotate(5deg);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-link {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.service-card:hover .service-link {
  color: var(--highlight);
}

.service-link::after {
  content: '→';
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-10px);
}

.service-card:hover .service-link::after {
  opacity: 1;
  transform: translateX(0);
}

/* About Section */
.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.info-content h2 {
  font-size: 2.5rem;
}

.info-content ul {
  margin: 2.5rem 0;
  display: grid;
  gap: 1.25rem;
}

.info-content li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.1rem;
}

.info-content li i {
  color: var(--highlight);
  font-size: 1.5rem;
}

.info-image {
  position: relative;
}

.info-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.2) 0%, transparent 100%);
  border-radius: 30px;
  z-index: -1;
  transform: rotate(-3deg);
}

.info-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.info-image:hover img {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.review-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.review-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-img {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-light);
}

.reviewer-info h5 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.reviewer-info p {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.contact-info-panel {
  background: var(--primary);
  color: var(--white);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(234, 88, 12, 0.2), transparent 50%);
}

.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.contact-info-panel p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.contact-details {
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.contact-detail-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.contact-detail-item i {
  font-size: 1.5rem;
  color: var(--highlight);
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 50%;
}

.contact-detail-item h5 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.contact-detail-item p {
  font-size: 1.1rem;
  color: var(--white);
}

.contact-form {
  padding: 4rem;
  background: var(--white);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1.1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  font-family: var(--font-base);
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--highlight);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  display: grid;
  gap: 1rem;
}

.footer-links a {
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--highlight);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .info-section {
    gap: 3rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 8rem 0 5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 3rem;
  }

  .top-bar {
    display: none;
  }

  .nav-links {
    display: none;
  }

  /* Could add a mobile menu toggle here */
  .info-section {
    grid-template-columns: 1fr;
  }

  .info-image {
    order: -1;
  }

  .contact-info-panel,
  .contact-form {
    padding: 2.5rem;
  }

  .contact-info-panel h3 {
    font-size: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* All Services Section */
.all-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-category:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.service-category h3 i {
    color: var(--highlight);
}

.service-list {
    display: grid;
    gap: 0.75rem;
}

.service-list li a {
    color: var(--text-main);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.service-list li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--highlight);
    margin-right: 0.5rem;
    transition: var(--transition);
}

.service-list li a:hover {
    color: var(--highlight);
}

.service-list li a:hover::before {
    transform: translateX(3px);
}

/* Mega Menu */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    gap: 3rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-column {
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-column h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--highlight);
    font-family: var(--font-heading);
}

.mega-column a {
    color: var(--text-main) !important;
    font-weight: 500 !important;
    font-family: var(--font-base) !important;
    font-size: 0.95rem;
    position: relative !important;
}

.mega-column a::after {
    display: none !important;
}

.mega-column a:hover {
    color: var(--highlight) !important;
    padding-left: 5px;
}