/* 1. Reset / Normalize */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-family-base);
  scroll-behavior: smooth;
  font-size: 16px; /* Base font size */
  scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
  font-family: var(--font-family-base);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.7; /* Slightly more line height */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 1.05rem; /* Slightly larger base text */
  /* Faceted geometric pattern inspired by logo (more subtle) */
  background-color: var(--color-background); /* Base color */
  background-image:
    /* Lighter triangles */
    linear-gradient(30deg, rgba(0,0,0,0.005) 12%, transparent 12.5%, transparent 87%, rgba(0,0,0,0.005) 87.5%, rgba(0,0,0,0.005)),
    linear-gradient(150deg, rgba(0,0,0,0.005) 12%, transparent 12.5%, transparent 87%, rgba(0,0,0,0.005) 87.5%, rgba(0,0,0,0.005)),
    /* Darker Triangles (slightly offset) */
    linear-gradient(30deg, rgba(0,0,0,0.008) 12%, transparent 12.5%, transparent 87%, rgba(0,0,0,0.008) 87.5%, rgba(0,0,0,0.008)),
    linear-gradient(150deg, rgba(0,0,0,0.008) 12%, transparent 12.5%, transparent 87%, rgba(0,0,0,0.008) 87.5%, rgba(0,0,0,0.008)),
    /* Horizontal lines */
    linear-gradient(90deg, rgba(0,0,0,0.008) 25%, transparent 25.5%, transparent 75%, rgba(0,0,0,0.008) 75.5%, rgba(0,0,0,0.008));
  background-size: 40px 70px; /* Adjust size/aspect ratio of the pattern */
  background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0; /* Offset the darker triangles */
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  line-height: 1.3; /* Adjust line height */
  margin-bottom: calc(var(--spacing-unit) * 1.5); /* More space below headings */
  font-weight: 700; /* Ensure headings are bold */
  color: var(--color-heading);
}

h1 { font-size: 2.8rem; font-weight: 800; } /* Larger, bolder H1 */
h2 { font-size: 2.2rem; } /* Slightly larger H2 */
h3 { font-size: 1.5rem; } /* Slightly smaller H3 for cards etc */
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* 2. Root Variables */
:root {
  --color-primary: #0078D4;
  --color-primary-dark: #005A9E;
  --color-secondary: #605E5C; /* Warmer mid Grey */
  --color-accent: #4DB6AC; /* Muted Teal/Aqua Accent */
  --color-background: #ffffff;
  --color-surface: #F5F5F5; /* Warmer Light Grey */
  --color-text: #323130;
  --color-heading: #1B1B1B;
  --color-border: #E1DFDD;
  --color-white: #ffffff;
  --color-black: #000000;

  --font-family-base: 'Inter', sans-serif;
  --font-family-heading: 'Poppins', sans-serif;

  --container-width: 1140px;
  --spacing-unit: 1rem;
  --color-primary-rgb: 0, 120, 212; /* Add this if missing - based on #0078D4 */
}

/* 3. Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--spacing-unit) * 1.5);
  padding-right: calc(var(--spacing-unit) * 1.5);
}

/* Ensure main content takes available space */
#main-content {
    flex-grow: 1;
}

/* 4. Header Styling */
.site-header {
  background: var(--color-primary);
  padding: var(--spacing-unit) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--spacing-unit);
    text-align: left;
}

.site-branding img {
  max-height: 50px;
  width: auto;
  margin-bottom: 0;
}

.site-title-tagline {
}

.site-title a {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 1.4rem;
  display: block;
}

.site-tagline {
  color: #d1eaff;
  font-size: 0.8em;
  margin-top: 0;
  display: block;
}

.site-navigation {
     margin-bottom: 0;
}

.site-navigation ul {
  list-style: none;
  display: flex;
  gap: calc(var(--spacing-unit) * 1.5);
  padding: 0;
  margin: 0;
}

.site-navigation a {
  color: var(--color-white);
  font-weight: 400;
  text-decoration: none;
  padding: 0.5em 0;
  position: relative;
  transition: color 0.3s ease;
}

.site-navigation a:hover,
.site-navigation .current-menu-item a {
  color: var(--color-surface);
}

.site-navigation a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 5px;
  right: 50%;
  background: var(--color-white);
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
}

.site-navigation a:hover::after,
.site-navigation .current-menu-item a::after {
  width: 100%;
  left: 0;
   background: var(--color-surface);
}

.header-support-button {
   margin-left: calc(var(--spacing-unit) * 1.5);
}

.support-button {
  background-color: var(--color-white);
  color: var(--color-primary);
  padding: calc(var(--spacing-unit) * 0.6) calc(var(--spacing-unit) * 1.2);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.support-button:hover {
  background-color: #e2e6ea;
  color: var(--color-primary-dark);
}

.menu-toggle {
  display: none;
  position: static;
}


/* Responsive adjustments */
@media (max-width: 768px) { 
  .site-header .container {
     flex-wrap: wrap;
     align-items: center;
     text-align: center;
  }

  .site-branding {
       width: auto;
       margin-bottom: 0; 
       text-align: left;
  }

  .site-navigation {
      order: 3;
      width: 100%;
      display: none;
  }
  .site-navigation.is-active {
      display: block;
       background-color: var(--color-primary-dark);
       position: absolute;
       top: 100%;
       left: 0;
       right: 0;
       padding: var(--spacing-unit) 0;
       box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .site-navigation ul {
      flex-direction: column;
      align-items: center;
      gap: var(--spacing-unit);
  }
   .site-navigation a::after {
      display: none;
   }
   
  .header-support-button {
       order: 2;
       margin-left: auto;
       margin-top: 0;
       display: none; /* Hide support button on mobile */
  }

  .menu-toggle {
    display: block;
    order: 2;
    margin-left: var(--spacing-unit);
     position: static;
     background: none;
     border: 1px solid var(--color-white);
     padding: 5px 8px;
     cursor: pointer;
     color: var(--color-white);
     font-size: 1.5rem;
     line-height: 1;
  }
   .menu-toggle span { display: none; }
   .menu-toggle::before { content: '\2630'; }
   .menu-toggle.is-active::before { content: '\00D7'; }

}

/* --- END: Custom Header Styles --- */

/* ================================
   Team Page Styles
   ================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 2.5);
}

.team-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: calc(var(--spacing-unit) * 2);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-unit);
    display: block;
    border: 4px solid var(--color-surface);
}

.team-card h4 {
    font-family: var(--font-family-heading);
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 0.25);
    color: var(--color-heading);
}

.team-role {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 0.25);
    min-height: 2.85em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-location {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 0;
}

.team-blurb {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 90, 158, 0.95);
    color: var(--color-white);
    padding: calc(var(--spacing-unit) * 2);
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.35s ease;
    text-align: center;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.5;
}

.team-card:hover .team-blurb {
    opacity: 1;
}

.team-blurb::-webkit-scrollbar {
    width: 6px;
}
.team-blurb::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}
.team-blurb::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

.team-section {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.team-member {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}


/* --- START: Hero Section Styles --- */

#hero-section {
    position: relative;
    background-image: url('../img/pexels-fauxels-3183190-scaled.jpg');
    background-size: cover;
    background-position: center center;
    color: var(--color-white);
    padding-top: calc(var(--spacing-unit) * 7);
    padding-bottom: calc(var(--spacing-unit) * 7);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: auto;
}

#hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(27, 27, 27, 0.75);
    z-index: 1;
}

#hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: block;
    text-align: center;
     gap: 0;
}

.hero-content {
    max-width: 100%;
    margin: 0 auto;
    flex: none;
    max-width: none;
}

.hero-title {
    color: var(--color-white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-unit);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.hero-subtitle {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    max-width: 90%;
}

.hero-image-container { display: none; }

.hero-partner-banner {
    margin-top: calc(var(--spacing-unit) * 2);
    opacity: 0.8;
}
.hero-partner-banner img {
    filter: brightness(0) invert(1);
}

/* --- Revised CTA Section --- */
#cta-section {
    background: linear-gradient(135deg, var(--color-heading) 0%, var(--color-black) 100%);
    color: var(--color-white);
    padding: calc(var(--spacing-unit) * 6) 0;
    text-align: center;
    border-bottom: none;
    padding-top: calc(var(--spacing-unit) * 6);
    padding-bottom: calc(var(--spacing-unit) * 6);
    margin-top: 0;
    z-index: auto;
}

.cta-container {
    max-width: 800px;
}

.cta-title {
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-unit);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    padding: calc(var(--spacing-unit) * 0.9) calc(var(--spacing-unit) * 2.2);
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--color-surface);
    color: var(--color-primary-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    text-decoration: none;
}

#hero-section .container { display: block; }

.shape-divider { display: none; }

/* --- END: Hero Section Styles --- */

#hero-section {
    padding: calc(var(--spacing-unit) * 5) 0;
}
#hero-section .container {
    display: flex;
    align-items: center;
    text-align: left;
    gap: calc(var(--spacing-unit) * 4);
}

.hero-content {
    flex: 1;
    max-width: 55%;
    margin: 0;
}

.hero-image-container {
     flex: 1;
     max-width: 45%;
}

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

@media (max-width: 768px) {
    #hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content, .hero-image-container {
        max-width: 100%;
    }
     .hero-image-container {
         order: -1;
         margin-bottom: var(--spacing-unit);
     }
}

/* --- Section Specific Styles --- */

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: calc(var(--spacing-unit) * 1.25);
  color: var(--color-white);
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: calc(var(--spacing-unit) * 2.5);
  max-width: 90%;
}

.button {
  display: inline-block;
  padding: calc(var(--spacing-unit) * 0.8) calc(var(--spacing-unit) * 1.8);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
  text-decoration: none;
}

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

.button-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.button-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.button-secondary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.hero-button {
  font-size: 1.1rem;
}

#about-intro,
#testimonial-section,
#worry-free-it,
#services-overview,
#cta-section {
  padding: calc(var(--spacing-unit) * 3) 0;
}

#testimonial-section,
#services-overview {
  background-color: var(--color-surface);
}

/* --- START: About Intro Section Styles --- */
#about-intro {
  text-align: center; /* Center content for this section */
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: calc(var(--spacing-unit) * 0.6);
  margin-bottom: calc(var(--spacing-unit) * 2.5); /* Even more space */
  font-weight: 700; /* Explicitly bold */
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px; /* Wider underline */
  height: 4px; /* Thicker underline */
  background-color: var(--color-accent); /* Use accent color */
  border-radius: 2px; /* Slightly rounded */
}

.section-title[style*="text-align: center"]::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-intro-text {
  max-width: 700px; /* Constrain paragraph width */
  margin: 0 auto calc(var(--spacing-unit) * 1.5); /* Center block and add bottom margin */
  color: var(--color-text);
}

/* Secondary Button Style */
.button-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.button-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-2px);
}
/* --- END: About Intro Section Styles --- */

/* --- START: Testimonial Section Styles --- */
#testimonial-section {
  background-color: var(--color-surface); /* Alternating background */
  text-align: center;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto; /* Center the testimonial block */
  padding: calc(var(--spacing-unit) * 2);
  background-color: var(--color-white); /* White background for contrast */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 5px solid var(--color-primary); /* Accent border */
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--spacing-unit);
  quotes: "\201C" "\201D"; /* Add quote marks */
}

.testimonial-text::before {
  content: open-quote;
  font-size: 2em;
  line-height: 0;
  margin-right: 0.1em;
  vertical-align: -0.2em;
  color: var(--color-primary);
}

.testimonial-text::after {
  content: close-quote;
  font-size: 2em;
  line-height: 0;
  margin-left: 0.1em;
  vertical-align: -0.2em;
  color: var(--color-primary);
}

.testimonial-author {
  display: block; /* Place author on new line */
  font-weight: 600;
  color: var(--color-secondary);
  font-style: normal;
  margin-top: var(--spacing-unit);
}
/* --- END: Testimonial Section Styles --- */

/* --- START: Worry-Free IT Section Styles --- */
#worry-free-it {
  background-color: var(--color-white); /* Or alternate with --color-surface */
  padding: calc(var(--spacing-unit) * 4) 0; /* Add more vertical padding */
}

.worry-free-container {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 4); /* Space between text and image */
}

.worry-free-content {
  flex: 1; /* Take up available space */
  max-width: 55%; /* Adjust ratio as needed */
}

.worry-free-image {
  flex: 1;
  max-width: 45%;
  text-align: center; /* Center image within its container */
}

.worry-free-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* Optional rounding */
}

.benefits-list {
  list-style: none;
  padding-left: 0;
  margin: calc(var(--spacing-unit) * 1.5) 0 calc(var(--spacing-unit) * 2) 0; /* Add bottom margin before button */
}

.benefits-list li {
  margin-bottom: var(--spacing-unit);
  padding-left: calc(var(--spacing-unit) * 1.8); /* Space for icon */
  position: relative;
  font-size: 1.05rem; /* Slightly larger list item text */
}

/* Placeholder icon style - replace with actual icon */
.benefits-list li::before {
  /* Use Font Awesome Check Circle */
  content: '\f058'; /* Unicode for fa-check-circle */
  font-family: "Font Awesome 6 Free"; /* Specify Font Awesome family */
  font-weight: 900; /* Use the solid style weight */
  position: absolute;
  left: 0;
  top: 4px; /* Adjust vertical alignment */
  color: var(--color-primary);
  /* font-weight: bold; Removed, use font-weight above */
}

/* --- Responsive adjustments for Header --- */
@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
  }
  .site-navigation {
    order: 3; /* Move below logo */
    width: 100%;
    display: none; /* Hide by default */
  }
  .site-navigation.is-active { /* Class toggled by JS */
    display: block; /* Show when active */
    background-color: var(--color-primary-dark); /* Background for mobile menu */
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    right: 0;
    padding: var(--spacing-unit) 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .site-navigation ul {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    gap: var(--spacing-unit);
  }
   .site-navigation a::after {
     display: none; /* Remove underline on mobile */
   }
  /* Add Menu Toggle Button Style */
  .menu-toggle {
    display: block; /* Show toggle button */
    order: 2; /* Position after branding */
    margin-left: auto; /* Push to the right */
    background: none;
    border: 1px solid var(--color-white);
    padding: 5px 8px;
    cursor: pointer;
     color: var(--color-white); /* Icon color */
     font-size: 1.5rem; /* Icon size */
     line-height: 1; /* Prevent extra spacing */
  }
  /* Basic hamburger icon - replace with SVG/icon font later */
  .menu-toggle span { display: none; } /* Hide text if any */
  .menu-toggle::before { content: '\2630'; } /* Hamburger icon */
  .menu-toggle.is-active::before { content: '\00D7'; } /* Times symbol when active */
}

/* --- Responsive adjustments for Worry-Free IT --- */
@media (max-width: 768px) {
  .worry-free-container {
    flex-direction: column-reverse; /* Stack image above text */
    text-align: center;
  }
  .worry-free-content,
  .worry-free-image {
    max-width: 100%;
  }
  .worry-free-image {
    margin-bottom: calc(var(--spacing-unit) * 2); /* Add space below image when stacked */
  }
   .benefits-list {
     text-align: left; /* Keep list items left-aligned */
     display: inline-block; /* Center the block itself */
     margin-bottom: calc(var(--spacing-unit) * 2.5); /* More space before button on mobile */
   }
}
/* --- END: Worry-Free IT Section Styles --- */

/* --- START: Services Overview Section Styles --- */
#services-overview {
    background-color: var(--color-surface); /* Alternating background */
    padding: calc(var(--spacing-unit) * 4) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid - 3 columns on wider screens */
    gap: calc(var(--spacing-unit) * 1.5);
    margin-top: calc(var(--spacing-unit) * 2); /* Add some space above the grid */
}

.service-card {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    padding: calc(var(--spacing-unit) * 1.5);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align items to the top */
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.8rem; /* Adjusted icon size */
    color: var(--color-primary);
    margin-bottom: var(--spacing-unit);
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: rgba(var(--color-primary-rgb, 0, 120, 212), 0.1); /* Fallback primary RGB if not defined */
    border-radius: 50%;
    display: inline-block;
}

.service-title {
    font-size: 1.4rem;
    color: var(--color-heading); /* Use heading color */
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    font-weight: 600;
}

.service-description {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
    flex-grow: 1; /* Allow description to take available space */
}

/* Adjust grid for smaller screens if needed */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust minmax for tablets */
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr; /* Single column on small mobile */
    }
}

/* --- END: Services Overview Section Styles --- */

/* --- START: Footer Social Link Styles --- */
.social-links {
    margin-top: var(--spacing-unit);
}

.social-links a {
    color: var(--color-surface); /* Light color on dark background */
    font-size: 1.5rem; /* Icon size */
    margin: 0 calc(var(--spacing-unit) * 0.75); /* Spacing between icons */
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-primary); /* Primary color on hover */
}
/* --- END: Footer Social Link Styles --- */

/* Add wrapper style for responsiveness */
.pricing-table-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling on smaller screens */
    -webkit-overflow-scrolling: touch; /* Optional: Improves scrolling feel on iOS */
    margin-bottom: var(--spacing-unit); /* Add some space below the scrollable area */
}

/* --- START: Basic Table Styles --- */
table.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-unit);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: var(--color-white);
}

table.pricing-table th,
table.pricing-table td {
    border: 1px solid var(--color-border);
    padding: var(--spacing-unit);
    text-align: left;
}

table.pricing-table th {
    background-color: var(--color-surface);
    font-weight: 600;
    color: var(--color-heading);
}

table.pricing-table td ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

table.pricing-table td ul li {
    margin-bottom: calc(var(--spacing-unit) / 2);
    padding-left: var(--spacing-unit);
    position: relative;
}

table.pricing-table td ul li::before {
    content: '\f00c'; /* Font Awesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: -5px; /* Adjust position */
    top: 4px;
    color: var(--color-primary);
    font-size: 0.8em;
}

table.pricing-table .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
}

table.pricing-table .period {
    font-size: 0.9rem;
    color: var(--color-secondary);
    display: block;
}

table.pricing-table .plan-name {
     font-size: 1.2rem;
     font-weight: bold;
}

table.pricing-table .popular {
    border: 2px solid var(--color-primary);
}
table.pricing-table .popular th {
    background-color: var(--color-primary);
    color: var(--color-white);
}
/* --- END: Basic Table Styles --- */

/* --- START: Contact Page Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

.contact-info, .contact-form {
    /* Basic styling for columns */
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-unit) 0;
}

.contact-list li {
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    display: flex;
    align-items: center;
}

.contact-list i {
    margin-right: var(--spacing-unit);
    color: var(--color-primary);
    width: 20px; /* Ensure icon alignment */
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: var(--spacing-unit);
}

.contact-form label {
    display: block;
    margin-bottom: calc(var(--spacing-unit) / 3);
    font-weight: 600;
    color: var(--color-heading);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 0.75);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.3); /* Microsoft-style focus ring */
}


.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
}

.contact-form button[type="submit"] {
    width: auto; /* Adjust button width if needed */
    margin-top: var(--spacing-unit);
}

/* --- END: Contact Page Styles --- */

/* --- START: About Page Styles --- */
.content-image-grid {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 4);
}

.content-column {
    flex: 1;
    max-width: 60%; /* Adjust ratio */
}

.image-column {
    flex: 1;
    max-width: 40%;
}

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

@media (max-width: 768px) {
    .content-image-grid {
        flex-direction: column-reverse; /* Stack image first */
    }
    .content-column, .image-column {
        max-width: 100%;
    }
    .image-column {
        margin-bottom: var(--spacing-unit) * 2;
    }
}
/* --- END: About Page Styles --- */

/* --- START: Page Header Styles --- */
.page-header-section {
    position: relative; /* Needed for overlay */
    background-size: cover;
    background-position: center center;
    padding: calc(var(--spacing-unit) * 5) 0; /* Adjust padding */
    text-align: center;
    color: var(--color-white); /* Text on overlay */
    background-color: var(--color-primary-dark); /* Fallback color */
}

.page-header-section::before { /* Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.page-header-section .container {
    position: relative; /* Ensure content is above overlay */
    z-index: 2;
}

.page-header-section .section-title {
    color: var(--color-white); /* Ensure title is white */
     margin-bottom: 0;
}

/* Specific background images per page */
.services-page .page-header-section {
     background-image: url('../img/pexels-fauxels-3183190-scaled.jpg');
}

.contact-page .page-header-section {
     background-image: url('../img/pexels-fauxels-3184306-scaled.jpg');
}

/* About page uses simple background color, no image needed */
.about-page .page-header-section {
    background-color: var(--color-surface);
    color: var(--color-heading); /* Adjust text color for light background */
    padding: calc(var(--spacing-unit) * 3) 0;
}
 .about-page .page-header-section .section-title {
     color: var(--color-heading);
 }
 .about-page .page-header-section::before { /* Remove overlay for about page */
     content: none;
 }
/* --- END: Page Header Styles --- */

/* --- Simple Fade-in Animation --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* Optional: slight upward move */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to main sections */
/* Consider adding a common class like .content-section if preferred */
#hero-section,
#about-intro,
#testimonial-section,
#worry-free-it,
#services-overview,
#cta-section,
#company-overview, /* For about page */
#our-values,       /* For about page */
#meet-the-team,    /* For about page */
#intro,            /* For services page */
#support,          /* For services page */
#cloud,            /* For services page */
#security,         /* For services page */
#hardware,         /* For services page */
#custom-plans,     /* For services page */
#contact-details,  /* For contact page */
#map-location,     /* For contact page */
#policy-content    /* For privacy page */
 {
  animation: fadeIn 0.8s ease-out forwards;
   /* Start sections initially invisible if JS isn't handling timing */
   /* opacity: 0;  */
   /* Note: For better performance on scroll, use Intersection Observer in JS */
   /* to add an 'animate' class only when the section enters the viewport. */
   /* For now, this CSS applies the animation on page load. */
}

/* Stagger animation slightly for sequential sections (optional) */
/* This is a very basic way; JS Intersection Observer is better for reliability */
#about-intro, #company-overview, #support, #contact-details { animation-delay: 0.1s; }
#testimonial-section, #our-values, #cloud { animation-delay: 0.2s; }
#worry-free-it, #meet-the-team, #security { animation-delay: 0.3s; }
#services-overview, #hardware { animation-delay: 0.4s; }
#cta-section, #custom-plans, #map-location { animation-delay: 0.5s; }

/* --- END: Section Specific Styles --- */

/* Adding a common class for easier targeting */
.content-section {
  padding-top: calc(var(--spacing-unit) * 5);
  padding-bottom: calc(var(--spacing-unit) * 5);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
/* Apply to sections in index.html */
#hero-section, #about-intro, #testimonial-section, #worry-free-it, #services-overview, #cta-section {
    /* padding-top: calc(var(--spacing-unit) * 5); */ /* Base handled by .content-section */
    /* padding-bottom: calc(var(--spacing-unit) * 5); */
    /* border-bottom: 1px solid var(--color-border); */ /* Removing all default borders */
    border-bottom: 1px solid var(--color-border); /* Restore border */
    /* position: relative; */ /* Base handled by .content-section */
    margin-bottom: 0; /* Remove overlap margin */
    clip-path: none !important; /* Explicitly remove clip-path */
    z-index: auto; /* Reset z-index */
    padding-top: calc(var(--spacing-unit) * 5); /* Restore consistent padding */
    padding-bottom: calc(var(--spacing-unit) * 5);
}
/* Remove bottom border from last section */
#cta-section { border-bottom: none; }

/* Apply alternating background */
#testimonial-section, #services-overview { background-color: var(--color-surface); }
/* Apply to sections on other pages too if desired (using body classes) */
.about-page #our-values, .about-page #meet-the-team { background-color: var(--color-surface); }
.services-page #support, .services-page #security, .services-page #custom-plans { background-color: var(--color-surface); }
.contact-page #map-location { background-color: var(--color-surface); }

/* Revised Section Title */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: calc(var(--spacing-unit) * 0.6);
  margin-bottom: calc(var(--spacing-unit) * 2.5); /* Even more space */
  font-weight: 700; /* Explicitly bold */
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px; /* Wider underline */
  height: 4px; /* Thicker underline */
  background-color: var(--color-accent); /* Use accent color */
  border-radius: 2px; /* Slightly rounded */
}
.section-title[style*="text-align: center"]::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Revised Service Card */
.service-card {
    background-color: var(--color-white);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 10px; /* More rounded */
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* Softer, slightly larger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* Refined transition */
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border); /* Add subtle border */
    border-top: 5px solid transparent; /* Make top border thicker */
}

.service-card:hover {
    transform: translateY(-8px); /* More lift */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Stronger shadow */
    border-color: var(--color-border); /* Keep side borders */
    border-top-color: var(--color-primary); /* Primary color top border on hover */
}

.service-icon i { /* Target the icon directly */
    font-size: 1.8rem; /* Slightly smaller icon to fit background */
    color: var(--color-primary);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    display: inline-flex; /* Use flex to center icon inside padding */
    transition: color 0.3s ease, background-color 0.3s ease; /* Include background */
    padding: 8px; /* Add base padding for smooth transition */
    border-radius: 50%; /* Add base radius */
    width: calc(2.2rem + 16px); /* Adjust width to contain padding */
    height: calc(2.2rem + 16px); /* Adjust height to contain padding */
    align-items: center;
    justify-content: center;
}
/* Example: Icon background on hover */
.service-card:hover .service-icon i {
     color: var(--color-white);
     background-color: var(--color-primary); /* // Add padding/border-radius if using background */
     transition: background-color 0.3s ease, color 0.3s ease; /* Ensure smooth transition */
}

/* Revised Button Hover */
.button:hover {
    transform: translateY(-3px) scale(1.03); /* Add slight scale */
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
    text-decoration: none;
}
.button-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
}
.button-secondary:hover {
    background-color: var(--color-primary-dark); /* Darker background on hover */
    border-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* --- END: Section Specific Styles --- */

/* --- START: Shape Divider Styles --- */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg); /* Flip if needed */
    z-index: 10; /* Ensure it's above background, below next section's content if overlapping */
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px); /* Slight overshoot for edge cases */
    height: 70px; /* Adjust height */
}

.shape-divider .shape-fill {
    fill: var(--color-background); /* Should match the background of the section BELOW the divider */
}
/* --- END: Shape Divider Styles --- */

/* --- Angled Section Transitions --- */

/* Adjust padding and remove default border for sections involved */
#hero-section, #about-intro, #testimonial-section, #worry-free-it, #services-overview, #cta-section,
.about-page #company-overview, .about-page #our-values, .about-page #meet-the-team,
.services-page #intro, .services-page #support, .services-page #cloud, .services-page #security, .services-page #hardware, .services-page #custom-plans,
.contact-page #contact-details, .contact-page #map-location,
#policy-content {
    border-bottom: 1px solid var(--color-border); /* Restore border */
    padding-top: calc(var(--spacing-unit) * 5); /* Restore base padding */
    padding-bottom: calc(var(--spacing-unit) * 5);
    margin-bottom: 0; /* Remove overlap margin */
    position: relative; /* Needed for z-index if content overlaps */
    clip-path: none !important; /* Ensure removal */
    z-index: auto;
    margin-top: 0; /* Reset margin-top */
}

/* Restore specific hero/cta padding */
#hero-section { 
    padding-top: calc(var(--spacing-unit) * 7); 
    padding-bottom: calc(var(--spacing-unit) * 7); 
}
#cta-section { 
    padding-top: calc(var(--spacing-unit) * 6); 
    padding-bottom: calc(var(--spacing-unit) * 6); 
    border-bottom: none;
}
/* Restore alternating backgrounds */
#testimonial-section, #services-overview { background-color: var(--color-surface); }
.about-page #our-values, .about-page #meet-the-team { background-color: var(--color-surface); }
.services-page #support, .services-page #security, .services-page #custom-plans { background-color: var(--color-surface); }
.contact-page #map-location { background-color: var(--color-surface); }

/* Remove Page-Specific Overrides for clip-path */
.services-page #intro,
.services-page #support,
.services-page #cloud,
.services-page #security,
.services-page #hardware,
.services-page #custom-plans {
     margin-top: 0;
     clip-path: none;
     z-index: auto;
     padding-top: calc(var(--spacing-unit) * 5); /* Restore consistent padding */
     padding-bottom: calc(var(--spacing-unit) * 5);
     border-bottom: 1px solid var(--color-border);
}
.services-page #custom-plans { border-bottom: none; } /* Last section */

/* Delete Shape Divider Styles Block */

/* --- Revised Footer Styles --- */
.site-footer {
  background-color: var(--color-heading);
  color: #adb5bd; /* Lighter grey for general text */
  padding: calc(var(--spacing-unit) * 4) 0 calc(var(--spacing-unit) * 2) 0; /* More top padding, less bottom */
  margin-top: calc(var(--spacing-unit) * 4);
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.footer-main {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.footer-column {
    flex: 1; /* Try to distribute space */
    min-width: 200px; /* Prevent columns from becoming too narrow */
    margin-bottom: calc(var(--spacing-unit) * 2); /* Space when wrapped */
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-unit);
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-primary-dark); /* Subtle underline */
    font-weight: 600;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: var(--spacing-unit);
}

.footer-about p {
    margin-bottom: var(--spacing-unit);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.footer-links a {
    color: #adb5bd; /* Match general text */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-subscribe-form {
    display: flex;
    gap: 10px; /* Space between input and button */
    margin-top: var(--spacing-unit);
}

.footer-subscribe-form input[type="email"] {
    flex-grow: 1; /* Allow input to take available space */
    padding: calc(var(--spacing-unit) * 0.6);
    border: 1px solid var(--color-primary-dark); /* Darker border */
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    color: var(--color-white);
    font-size: 0.9rem;
}
.footer-subscribe-form input[type="email"]::placeholder {
    color: #adb5bd;
    opacity: 0.8;
}

.footer-subscribe-form button {
    padding: calc(var(--spacing-unit) * 0.6) var(--spacing-unit);
    font-size: 0.9rem;
    /* Inherit button styles, potentially override */
    flex-shrink: 0; /* Prevent button from shrinking */
    cursor: pointer;
    /* Ensure button styles align with primary button */
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: inline-flex; /* Align icon and text */
    align-items: center;
}

.footer-subscribe-form button:hover {
    background-color: var(--color-primary-dark);
}

.footer-subscribe-form button i {
    margin-left: 5px;
}

.footer-about .social-links {
    margin-top: var(--spacing-unit);
}

.footer-about .social-links a {
    color: #adb5bd; /* Match general text */
    margin-right: 15px; /* Spacing between icons */
    font-size: 1.2rem; /* Adjust icon size */
    transition: color 0.3s ease;
}
.footer-about .social-links a:hover {
    color: var(--color-white); /* Lighter hover */
}

.copyright {
    margin-top: calc(var(--spacing-unit) * 2);
    border-top: 1px solid var(--color-primary-dark); /* Darker border */
    padding-top: calc(var(--spacing-unit) * 2);
    color: #adb5bd; /* Match general text */
    font-size: 0.85rem;
    text-align: center;
}
.copyright a {
    color: #adb5bd; /* Match general text */
    text-decoration: underline;
}
.copyright a:hover {
    color: var(--color-white);
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column; /* Stack columns on smaller screens */
        align-items: center; /* Center content when stacked */
        text-align: center;
    }

    .footer-column {
        min-width: 100%; /* Full width when stacked */
        margin-bottom: calc(var(--spacing-unit) * 3);
    }

    .footer-subscribe-form {
        flex-direction: column; /* Stack input and button */
        align-items: stretch;
    }
    .footer-subscribe-form button {
        margin-top: 10px;
    }
    .footer-about .social-links {
        justify-content: center;
        display: flex;
    }
    .footer-about .social-links a:last-child {
      margin-right: 0;
    }

}

/* Hide the old simple structure if it ever existed */
.footer-content { 
    display: none; 
}

/* ================================
   ADDED: About Page - Values/Vision Layout
   ================================ */

/* Container for side-by-side sections */
.about-layout-container {
    background-color: var(--color-surface); /* Apply background here */
    padding: calc(var(--spacing-unit) * 3) 0; /* Apply padding here */
}

.about-layout-container .container {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    align-items: flex-start; /* Align tops of columns */
    /* Remove padding from inner container if needed */
     padding-left: var(--spacing-unit); /* Add padding back to inner container */
     padding-right: var(--spacing-unit);
}

/* Assign flex proportions */
.about-layout-container #our-values {
    flex: 2; /* Takes 2/3 width */
    padding: 0; /* Ensure no extra padding */
}

.about-layout-container #our-vision {
    flex: 1; /* Takes 1/3 width */
    padding: 0; /* Remove padding, handled by parent */
    background-color: transparent; /* Remove background */
    border-radius: 0; /* Remove radius */
}

/* Style Section Titles within this layout */
.about-layout-container .section-title {
    font-size: 2.5rem; /* Larger title */
    margin-bottom: calc(var(--spacing-unit) * 2); /* More space below title */
    display: block; /* Ensure it takes full width for left alignment */
}

/* Override centered underline for these specific titles */
.about-layout-container .section-title::after {
    left: 0; /* Align underline left */
    transform: none; /* Remove centering transform */
     background-color: var(--color-accent); /* Use accent color */
     height: 4px; /* Thicker underline */
     width: 60px; /* Wider underline */
}


/* Style the grid within #our-values */
#our-values .values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: calc(var(--spacing-unit) * 2); /* Increased gap */
}

#our-values .value-item {
    background-color: transparent; /* Remove background from cards */
    padding: 0; /* Remove padding from cards, let grid gap handle spacing */
    border-radius: 0;
    border: none; /* Remove border from cards */
}

#our-values .value-item h4 {
    color: var(--color-primary); /* Blue title */
    margin-bottom: calc(var(--spacing-unit) * 0.75); /* More space below h4 */
    font-size: 1.3rem; /* Slightly larger h4 */
}

#our-values .value-item p {
    font-size: 1rem; /* Ensure paragraph text size */
    color: var(--color-text);
}

/* Style the #our-vision section content */
#our-vision .section-title {
    font-size: 2.5rem; /* Ensure matching title size */
    line-height: 1.2;
    /* Style inherited from .about-layout-container .section-title */
}

#our-vision p {
    margin-bottom: calc(var(--spacing-unit) * 2); /* More space below paragraph */
    font-size: 1.05rem; /* Slightly larger text */
}

#our-vision .button {
    display: inline-block; /* Ensure button behaves correctly */
    width: auto;
    font-size: 1.05rem; /* Match button text size */
}

/* Responsive adjustments for About page layout */
@media (max-width: 992px) { /* Adjust breakpoint if needed */
    .about-layout-container .container {
        flex-direction: column; /* Stack columns */
    }
    .about-layout-container #our-values,
    .about-layout-container #our-vision {
        flex: none; /* Reset flex property */
        width: 100%; /* Take full width when stacked */
    }
    .about-layout-container #our-vision {
         margin-top: calc(var(--spacing-unit) * 2); /* Add space when stacked */
    }
}

@media (max-width: 576px) { /* Stack value items on small screens */
     #our-values .values-grid {
        grid-template-columns: 1fr; /* Single column */
    }
}

/* --- Preloader Styles --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary); /* Use site primary color */
    z-index: 9999; /* Ensure it's on top */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease-out; /* Faster fade out transition */
}

.spinner {
    border: 6px solid rgba(255, 255, 255, 0.3); /* Light border */
    border-top: 6px solid var(--color-white); /* White top border */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style to hide preloader when body gets 'loaded' class */
body.loaded #preloader {
    opacity: 0;
    pointer-events: none; /* Allow interaction with page below */
}
/* Optional: Delay hiding completely until fade-out finishes */
body.loaded #preloader {
    transition-delay: 0.3s; /* Match faster opacity transition duration */
    /* Alternatively, use JS setTimeout to set display: none after transition */
} 