/* ===================================
   ROOT VARIABLES
   =================================== */
:root {
  /* Brand Colors */
  --color-primary: #0b0f9d;
  --color-primary-light: #4c52d0;
  --color-dark-bg: #020427;
  --color-dark-bg-alt: #010213;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-gray-light: #f3f4f6;
  --color-gray-medium: #9ca3af;
  --color-gray-dark: #374151;

  /* Semantic Colors */
  --color-background: var(--color-white);
  --color-foreground: var(--color-dark-bg);
  --color-text-light: rgba(255, 255, 255, 0.8);
  --color-text-muted: rgba(255, 255, 255, 0.6);

  /* Spacing */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 0.4s ease;
}

/* ===================================
   BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: var(--transition-slow);
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Container System */
.container {
  width: clamp(320px, 95vw, var(--container-max-width));
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container-full {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */

 .sidenav a{
  position: fixed;
  z-index: 2;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  left: -89px;
  padding: 6px 20px;
  /*background: #1e8742;*/
  background-color: var(--color-primary);
  border:1px solid var(--color-white);
  color: white;
  transform: rotate(90deg) translateY(-50%);
  transition: .3s;
}

.sidenav a:hover{
  background: var(--color-primary-light);
}

.sidenav a{
  top: 50%;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--color-dark-bg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-badge {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-block: .75rem;
}

/* Services Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.dropdown-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.nav-item-dropdown:hover .dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  padding-top: 0.5rem;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-dark-bg);
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: normal;
}

.dropdown-menu a:hover {
  background-color: rgba(11, 15, 157, 0.05);
  color: var(--color-primary);
}

.nav-cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.nav-cta:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  height: 100%;
  background-color: var(--color-dark-bg);
  z-index: 60;
  padding: 1.5rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: right var(--transition-base);
}

.mobile-menu::-webkit-scrollbar {
  display: none;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  margin-top: 3.5rem;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-list a {
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 500;
  display: flex;
}

/* Added mobile menu close button styles */
.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
}

.mobile-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
}

.mobile-dropdown-trigger svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.mobile-dropdown-trigger.active svg {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  padding-left: 1rem;
}

.mobile-dropdown-menu.active {
  max-height: 500px;
  margin-top: 0.75rem;
}

.mobile-dropdown-menu a {
  display: block;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.mobile-nav-cta {
  margin-top: 2rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh + 100px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/*.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}*/

.hero-background video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(2, 4, 39, 0.5);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--color-white);
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(76, 82, 208, 0.4);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(76, 82, 208, 0.5);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(11, 15, 157, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-dark-bg);
}

/* ===================================
   EXCELLENCE SECTION
   =================================== */
.excellence-section {
  padding: 0;
  background-color: var(--color-dark-bg);
}

.excellence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.excellence-text {
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
}

.excellence-text h2 {
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.excellence-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.excellence-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.excellence-image {
  position: relative;
  overflow: hidden;
}

.excellence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Added numbered badge overlay on service images */
.service-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  z-index: 10;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark-bg);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  max-width: 800px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid rgba(2, 4, 39, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary-light);
}

.service-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-content {
  padding: 2rem;
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(139, 92, 246, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark-bg);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.service-content p {
  color: var(--color-gray-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-content a {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-content a:hover {
  color: var(--color-primary-light);
  gap: 0.75rem;
}

/* ===================================
   PROJECTS SECTION
   =================================== */
.projects-section {
  padding: 5rem 0;
  background-color: var(--color-dark-bg);
}

.projects-section .section-badge {
  color: var(--color-primary-light);
}

.projects-section .section-title {
  color: var(--color-white);
}

.projects-section .section-description {
  color: var(--color-text-light);
}

.projects-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}

.project-categories {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-category {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: .75rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
}

.project-category:hover {
  border-color: var(--color-primary-light);
  background-color: rgba(76, 82, 208, 0.1);
}

.project-category.active {
  background: linear-gradient(135deg, #4c52d0 0%, #6366f1 100%);
  border-color: transparent;
}

.category-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  margin-right:1rem;
}

.project-category.active .category-number {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.category-name {
  display: block;
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.category-label {
  display: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.project-category.active .category-label {
  color: rgba(255, 255, 255, 0.9);
}

.project-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.project-image {
  position: relative;
  height: 500px;
  border-radius: 0.75rem;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-details {
  color: var(--color-white);
}

.project-meta {
  color: var(--color-primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.project-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.project-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all var(--transition-base);
}

.project-cta:hover {
  background-color: var(--color-white);
  color: var(--color-dark-bg);
  transform: translateY(-2px);
}

.projects-view-all {
  text-align: center;
  margin-top: 3rem;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
  padding: 5rem 0;
  background-color: var(--color-dark-bg);
  position: relative;
  overflow: hidden;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-intro-image {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-intro-content {
  color: var(--color-white);
}

.about-intro-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark-bg);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-intro-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-gray-dark);
  margin-bottom: 1rem;
}

/* Premium Products Section */
.premium-products {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 3rem;
  margin-bottom: 2rem;
  max-width: 1100px;
  margin-inline: auto;
}

.premium-products h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-align: center;
}

.premium-products > p {
  color: var(--color-text-light);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.product-link {
  flex: 1;
  display: block;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.375rem;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-base);
}

.product-link:hover {
  background-color: rgba(2, 4, 39, 0.7);
  border-color: var(--color-primary-light);
}

/* Team Section */

#team-section {
  background-color: var(--color-gray-light);
  background-image: 
    repeating-linear-gradient(
      0deg,
      rgba(76, 82, 208, 0.1),
      rgba(76, 82, 208, 0.1) 1px,
      transparent 1px,
      transparent 50px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(76, 82, 208, 0.1),
      rgba(76, 82, 208, 0.1) 1px,
      transparent 1px,
      transparent 50px
    );
  padding: 5rem 0;
}

.team-badge{
  display: inline-block;
  background-color: rgba(76, 82, 208, 0.4);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(76, 82, 208, 0.5);
}


.team-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark-bg);
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background-color: var(--color-white);
  border: 1px solid rgba(2, 4, 39, 0.5);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-info {
  padding: 1rem;
  text-align: center;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark-bg);
  margin-bottom: 0.125rem;
}

.team-role {
  font-size: 0.75rem;
  color: var(--color-gray-dark);
}

/* ===================================
   BLOG SECTION
   =================================== */
 .blog-section {
  padding: 5rem 0;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Background Pattern */
.blog-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: 
    linear-gradient(0deg, rgba(76, 82, 208, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 82, 208, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
}

.blog-section .container {
  position: relative;
}

/* Section Header */
.blog-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.blog-section .section-badge {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.blog-section .section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-dark-bg);
  margin-bottom: 1.5rem;
}

.blog-section .section-description {
  font-size: 1.25rem;
  color: var(--color-gray-dark);
  max-width: 48rem;
  margin: 0 auto;
}

/* Blog Posts Container */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* Individual Blog Post */
.blog-post {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.blog-post-reverse {
  flex-direction: row-reverse;
}

/* Blog Image Container */
.blog-image-container {
  flex: 1;
  position: relative;
}

.blog-grid-pattern {
  position: absolute;
  width: 100%;
  height: 20rem;
  border-radius: 1rem;
  opacity: 0.1;
  bottom: -2rem;
  background: 
    repeating-linear-gradient(
      0deg,
      #4C52D0,
      #4C52D0 1px,
      transparent 1px,
      transparent 30px
    ),
    repeating-linear-gradient(
      90deg,
      #4C52D0,
      #4C52D0 1px,
      transparent 1px,
      transparent 30px
    );
}

.blog-grid-right {
  right: -2rem;
}

.blog-grid-left {
  left: -2rem;
}

.blog-image-wrapper {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.blog-image {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  display: block;
}

.blog-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

/* Blog Content */
.blog-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-gray-dark);
}

.blog-content h3 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-dark-bg);
  line-height: 1.2;
}

.blog-content p {
  font-size: 1.125rem;
  color: var(--color-gray-dark);
  line-height: 1.6;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.blog-link:hover {
  gap: 0.75rem;
}

.blog-arrow {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.blog-link:hover .blog-arrow {
  transform: translateX(0.25rem);
}

.blog-cta {
  text-align: center;
  margin-top: 4rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
  padding: 5rem 0;
  background-color: var(--color-dark-bg);
  color: var(--color-white);
}

.contact-section .section-badge {
  color: var(--color-white);
  opacity: 0.9;
}

.contact-section .section-title {
  color: var(--color-white);
}

.contact-section .section-description {
  color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: none;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top:1rem;
  transition: all var(--transition-base);
}

.form-submit:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary-light);
}

.contact-info-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info-content p,
.contact-info-content a {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.contact-info-content a{
  border-bottom: 1px solid var(--color-gray-dark);
}

.contact-info-content a:hover {
  color: var(--color-white);
  border-bottom: 1px solid var(--color-white);
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
  border-bottom: 1px solid var(--color-primary-light);
}

.footer-links a:hover {
  color: var(--color-white);
  border-bottom: 1px solid white;
}

.accreditations-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.accreditation-logo {
  background-color: var(--color-white);
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accreditation-logo img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--color-white);
  font-weight: 600;
  border-bottom: 1px solid var(--color-primary-light);
}

.footer-bottom a:hover {
  border-bottom: 1px solid white;
}

/*SUBPAGE BASE STYLES*/

.subpage-content{
  padding: 4rem 1rem;
}

.subpage-hero{
  margin-top:65px;
  height: 20rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding:3rem 1rem;
  text-align: center;
  background-color: var(--color-primary); /* fallback */
  background-size: cover;
  background-repeat: no-repeat;
}

 .subpage-hero:before{
  top:0;
  left:0;
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: black; 
  opacity: .25;
}

.subpage-hero h1{
  font-size: 2.5rem;
  line-height: 1.3em;
  margin-bottom: 2rem;
}

.subpage-content p a{
  border-bottom: 1px solid var(--color-primary);
}

.subpage-content p a:hover{
  color:var(--color-primary);
}

/*SUBPAGE HERO STYLES*/

#residential-hero{
  background-image:url(../images/residential-hero.webp);
  background-position: 60% 40%;
  background-size: cover;
  
}

#commercial-hero, #service-hero{
  background:url(../images/commercial-hero.webp);
  background-position: 40% 60%;
  background-repeat: no-repeat;
  background-size: cover;
}

#roof-repair-hero{
  background:url(../images/roof-repair-hero.webp);
  background-position: 90% 10%;
  background-repeat: no-repeat;
  background-size: cover;
}

#gutters-hero{
  background:url(../images/gutters-hero.webp);
  background-position: 30% 70%;
  background-repeat: no-repeat;
  background-size: cover;
}

#portfolio-hero{
  background:url(../images/portfolio-hero.webp);
  background-position: 5% 95%;
  background-repeat: no-repeat;
  background-size: cover;
}

#about-hero{
  background:url(../images/about-hero.webp);
  background-position: 60% 40%;
  background-repeat: no-repeat;
  background-size: cover;
}

#blog-hero{
  background:url(../images/blog-hero.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#contact-hero{
  background:url(../images/contact-hero.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*ABOUT PAGE STYLES*/

/* About Content */
.subpage-content.about-bg {
  padding: 4rem 1rem 0;
}

.about-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  color: var(--primary-blue);
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-image {
  flex: 0 0 400px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Experience Section */
.subpage-content.experience-bg {
  background: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.experience-text {
  width: 100%;
  margin: 0 auto;
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1.8;
  font-weight: bold;
  padding-top:3rem;
  margin-top: 1rem;
  border-top:1px solid var(--color-primary);
}

/* ============================================
   TESTIMONIALS SECTION - BASE STYLES (MOBILE FIRST)
   ============================================ */

/* Section Container */
.testimonials-section {
  padding: 4rem 0;
  background-color: #f3f4f6;
}

.testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.testimonials-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.testimonials-header h2 {
  font-size: 2rem;
  font-weight: bold;
  color: rgba(2, 4, 39, 1);
  margin-bottom: 1rem;
}

.testimonials-header p {
  font-size: 1rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
}

/* Carousel Container */
.testimonials-carousel {
  position: relative;
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: var(--color-primary);
  border: none;
  border-radius: 50%;
  padding: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-arrow:hover:not(:disabled) {
  background-color: var(--color-primary-light);
}

.carousel-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-arrow svg {
  display: block;
  color: var(--color-white);
}

.carousel-arrow-prev {
  left: -15px;
}

.carousel-arrow-next {
  right: -15px;
}

/* Testimonials Wrapper */
.testimonials-wrapper {
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  transition: opacity 0.5s ease;
}

.testimonials-grid.transitioning {
  opacity: 0;
}

/* Testimonial Card */
.testimonial-card {
  background-color: var(--color-dark-bg);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

/* Quote and Stars Header */
.testimonial-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255,255,255, 1);
  flex-shrink: 0;
}

.stars-container {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
}

.star-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #fbbf24;
  fill: currentColor;
}

/* Google Badge */
.google-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.google-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.google-badge span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}

/* Review Text */
.review-text {
  color: #fff;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
  height: 200px; /* adjust as needed */
  overflow-y: auto;
  padding-right: 0.75rem; /* space for scrollbar */
  scrollbar-gutter: stable both-edges; /* prevents layout shift */
}

/* Chrome, Edge, Safari */
.review-text::-webkit-scrollbar {
  width: 8px;
}

.review-text::-webkit-scrollbar-track {
  background: var(--color-dark-bg-alt);
  border-radius: 8px;
}

.review-text::-webkit-scrollbar-thumb {
  background-color: var(--color-primary-light);
  border-radius: 8px;
  border: 2px solid var(--color-dark-bg-alt);
  transition: background-color var(--transition-base);
}

.review-text::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-primary);
}

/* Firefox */
.review-text {
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-light) var(--color-dark-bg-alt);
}

/* Reviewer Info */
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.reviewer-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.reviewer-details p:first-child {
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 0.25rem;
}

.reviewer-details p:last-child {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Dots Navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover:not(:disabled) {
  background-color: #9ca3af;
}

.carousel-dot.active {
  background-color: rgba(2, 4, 39, 1);
  width: 2rem;
  border-radius: 0.375rem;
}

.carousel-dot:disabled {
  cursor: not-allowed;
}

/*SERVICE PAGE BASE STYLES*/

.intro-section {
  text-align: center;
  margin-bottom: 4rem;
}

.intro-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark-bg);
  margin-bottom: 1rem;
}

.intro-section p {
  color: var(--color-gray-dark);
  background:var(--color-gray-light);
  border-left:5px solid var(--color-primary);
  padding:1rem;
  margin-inline: auto;
  text-align: left;
}

/* --- Step Section --- */
.step-section {
  margin-bottom: 5rem;
}

.step-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark-bg);
  margin-bottom: 3rem;
}

.info-grid {
  display: grid;
  gap: 2rem;
}

.info-card {
  background-color: var(--color-white);
  border: 1px solid rgba(2, 4, 39, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.info-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.info-content {
  padding: 2rem;
}

.info-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.info-content p {
  color: var(--color-gray-dark);
  line-height: 1.6;
}

/* --- Image Feature Section --- */
.image-feature {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.image-feature-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-feature-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark-bg);
  margin-bottom: 1rem;
}

.image-feature-text p {
  color: var(--color-gray-dark);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* --- Call-to-Action Section --- */
.cta-section {
  text-align: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 2rem;
  border-radius: 0.75rem;
  margin:0 auto 3rem;
  max-width: 900px;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.cta-section .btn {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
}

.cta-section .btn:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white);
}

/* ===================================
   DESKTOP MEDIA QUERY (> 1100px)
   =================================== */
@media (min-width: 1100px) {
  .hero-title {
    font-size: 4rem;
  }

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

  /*TESTIMONIALS DESKTOP*/

  .testimonials-section {
    padding: 6rem 0;
  }

  .testimonials-header {
    margin-bottom: 4rem;
  }

  .testimonials-header h2 {
    font-size: 3rem;
  }

  .testimonials-header p {
    font-size: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .carousel-arrow-prev {
    left: -3.1rem;
  }

  .carousel-arrow-next {
    right: -3.1rem;
  }

  /*SERVICE PAGE DESKTOP STYLES*/

  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .image-feature {
    grid-template-columns: 1fr 1fr;
  }

  .intro-section h2,
  .step-section h2,
  .image-feature-text h2,
  .cta-section h2 {
    font-size: 2rem;
  }

}

/* ===================================
   TABLET MEDIA QUERY (< 1099px)
   =================================== */
@media (max-width: 1099px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 3rem;
  }

  .projects-layout {
    grid-template-columns: 1fr;
  }

  .project-categories {
    flex-direction: column;
    /*overflow-x: auto;*/
  }

  .project-category {
    min-width: 200px;
  }

  .project-display {
    grid-template-columns: 1fr;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .excellence-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-section .section-title {
    font-size: 2.5rem;
  }
  
  .blog-post {
    gap: 2rem;
  }
  
  .blog-content h3 {
    font-size: 1.875rem;
  }

  .excellence-grid {
    grid-template-columns: 1fr;
  }

  .excellence-text {
    padding: 3rem 2rem;
  }

  .excellence-text h2 {
    font-size: 3rem;
  }

  /*TESTIMONIALS TABLET*/

  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .testimonials-header h2 {
    font-size: 2.25rem;
  }

  .testimonials-header p {
    font-size: 1.125rem;
  }

  .carousel-arrow-prev {
    left: -1rem;
  }

  .carousel-arrow-next {
    right: -1rem;
  }

  /*SERVICE PAGE TABLET STYLES*/

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

  .image-feature {
    grid-template-columns: 1fr;
  }

  .image-feature-image {
    order: -1;
  }

  /*ABOUT PAGE TABLET*/

  .about-wrapper {
    padding: 30px;
  }
  
  .about-image {
    flex: 0 0 350px;
  }
  
  .subpage-content.about-bg,
  .subpage-content.experience-bg {
    grid-template-columns: repeat(3, 1fr);
  } 

}

/* ===================================
   MOBILE MEDIA QUERY (< 768px)
   =================================== */
@media (max-width: 768px) {

  .sidenav {
    display: none;
  }

  .nav-badge{
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .premium-products{
    margin-bottom: 0;
  }

  .blog-section {
    padding: 3rem 0;
  }
  
  .blog-section .section-title {
    font-size: 2rem;
  }
  
  .blog-section .section-description {
    font-size: 1rem;
  }
  
  .blog-posts {
    gap: 4rem;
  }
  
  .blog-post,
  .blog-post-reverse {
    flex-direction: column;
    gap: 2rem;
  }
  
  .blog-grid-pattern {
    display: none;
  }
  
  .blog-image {
    height: 16rem;
  }
  
  .blog-content h3 {
    font-size: 1.5rem;
  }
  
  .blog-content p {
    font-size: 1rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-column:first-of-type, .footer-column:last-of-type{
    grid-column: span 2;
  }

  .footer-column:first-of-type {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-column:first-of-type p{
    width: 100%;
    max-width: 500px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .excellence-text h2 {
    font-size: 2rem;
  }

  .about-intro-content h2 {
    font-size: 2rem;
  }

  /*TESTIMONIALS MOBILE*/

  .testimonials-section {
    padding: 4rem 0;
  }

  .testimonials-header {
    margin-bottom: 2.5rem;
  }

  .testimonials-header h2 {
    font-size: 2rem;
  }

  .testimonials-header p {
    font-size: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .carousel-arrow-prev {
    left: -15px;
  }

  .carousel-arrow-next {
    right:-15px;
  }

  /*SERVICE PAGE MOBILE STYLES*/

  .intro-section p{
    padding:0;
    padding-left:1rem;
    background-color: transparent;
  }

  .intro-section h2,
  .step-section h2,
  .image-feature-text h2,
  .cta-section h2 {
    font-size: 1.75rem;
  }

  .info-content {
    padding: 1.5rem;
  }

  .info-card img {
    height: 200px;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  /*ABOUT PAGE MOBILE*/

  .about-wrapper {
    flex-direction: column;
    padding: 25px;
  }
  
  .about-image {
    flex: 1;
    width: 100%;
  }
  
  .about-text h2 {
    font-size: 28px;
  }
  
  .subpage-content.about-bg,
  .subpage-content.experience-bg {
    padding: 40px 15px;
  }

}

/* ===================================
   SMALL MOBILE MEDIA QUERY (< 480px)
   =================================== */
@media (max-width: 480px) {

  .subpage-content{
    padding:4rem 0;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

  .project-categories {
    flex-direction: column;
  }

  .project-category {
    min-width: auto;
  }

  .premium-products{
    padding: 3rem 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .mobile-menu {
    width: 100%;
    right: -100%;
  }

  /* Further adjust excellence section for small mobile */
  .excellence-text {
    padding: 2rem 1.5rem;
  }

  .excellence-text h2 {
    font-size: 2rem;
  }

  .contact-form{
    padding:0;
    background-color: transparent;
    border:none;
  }

  .contact-info-item{
    padding:0;
    background-color: transparent;
    border:none;
  }

  .contact-info-content h4{
    margin-bottom: .2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /*TESTIMONIALS SMALL MOBILE*/

  .testimonials-section {
    padding: 3rem 0;
  }

  .testimonials-container {
    padding: 0 1rem;
  }

  .testimonials-header h2 {
    font-size: 1.75rem;
  }

  .testimonials-header p {
    font-size: 0.9375rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .carousel-arrow {
    padding: 0.5rem;
  }

  .carousel-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
  }

}
