
/* ========================================
   VARIABLES & GLOBAL STYLES
   ========================================
*/
:root {
    --primary-color: #412ca5;
    --primary-color-dark: #352484;
    --primary-color-light: #F0EDF9;
    --primary-color-light-text: #B0A2D8;

    --text-color-dark: #1f2937;
    --text-color-medium: #374151;
    --text-color-light: #6b7280;
    --text-color-footer: #9ca3af;
    
    --bg-white: #ffffff;
    --bg-light-gray: #f9fafb;
    --bg-medium-gray: #f3f4f6;
    --bg-dark: #111827;
    
    --font-family-sans: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-radius-2xl: 1rem;
    --border-radius-full: 9999px;
    --transition: all 0.3s ease-in-out;
}

/* Global Reset & Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    background-color: var(--bg-white);
    color: var(--text-color-medium);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style-type: none;
}

/* Utility Class */
.container {
    width: 90%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color-dark);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-color-light);
    margin-top: 1rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.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;
}

/* ========================================
   TOP BAR
   ========================================
*/
.top-bar {
    background-color: var(--primary-color-dark);
    color: var(--bg-white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}
.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}
.top-bar-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.top-bar-social a {
    color: var(--bg-white);
    opacity: 0.8;
}
.top-bar-social a:hover {
    opacity: 1;
}

/* ========================================
   HEADER / NAVIGATION
   ========================================
*/
.header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    transition: var(--transition);
}

.header-light {
    background-color: var(--bg-white);
}

.header-light .logo {
    color: var(--primary-color);
}
.header-light .nav-link, .header-light .nav-dropdown-toggle {
    color: var(--text-color-medium);
    opacity: 1;
}
.header-light .nav-link:hover, .header-light .nav-dropdown-toggle:hover,
.header-light .nav-link.active, .header-light .nav-dropdown-toggle.active {
    color: var(--primary-color);
}
.header-light .nav-dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: var(--primary-color-light);
}
.header-light .nav-cta-button {
    background-color: var(--primary-color);
    color: var(--bg-white);
}
.header-light .nav-cta-button:hover {
    background-color: var(--primary-color-dark);
}
.header-light .mobile-menu-btn .bar {
    background-color: var(--primary-color);
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.logo {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--bg-white);
    flex-shrink: 0;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    margin-left: auto; /* Added for centering */
    margin-right: auto; /* Added for centering */
}

.nav-links > li {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--bg-white);
    opacity: 0.8;
}

.nav-link.active,
.nav-link:hover {
    opacity: 1;
    color: var(--bg-white);
}

/* Desktop Dropdown Menu */
.nav-item-has-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
}
.nav-dropdown-toggle .dropdown-indicator {
    display: inline-block;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.nav-item-has-dropdown:hover .nav-dropdown-toggle .dropdown-indicator {
    transform: rotate(45deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: #fff;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0; /* No margin needed for top-origin transform */
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    transform-origin: top center;
    transform: scaleY(0) translateZ(50px);
    transition: opacity 200ms ease, visibility 200ms ease, transform 400ms ease;
    z-index: 100;
}

.nav-item-has-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1) translateZ(0px);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color-medium);
    font-weight: 500;
    white-space: nowrap;
}

.nav-dropdown-menu li + li {
    border-top: 1px solid var(--bg-medium-gray);
}

.nav-dropdown-menu a:hover {
    background-color: var(--bg-light-gray);
    color: var(--text-color-dark);
}

.header-light .nav-dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: var(--primary-color-light);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-cta-button {
    display: none;
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.nav-cta-button:hover {
    background-color: var(--bg-medium-gray);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* --- START: NEW MOBILE MENU --- */
.mobile-menu-btn {
    display: block;
    position: relative;
    z-index: 100;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
}

.mobile-menu-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--bg-white);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-menu-btn .bar-top { top: 0; }
.mobile-menu-btn .bar-middle { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn .bar-bottom { bottom: 0; }

/* Hamburger to X animation */
.mobile-menu-btn.active .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-btn.active .bar-middle {
    opacity: 0;
}
.mobile-menu-btn.active .bar-bottom {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 90;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    padding: 6rem 0 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mobile-menu-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bg-white);
    opacity: 0.8;
    padding: 1rem 2rem;
    transition: var(--transition);
}
.mobile-menu-link:hover, .mobile-menu-link.active {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile Dropdown */
.mobile-nav-item-has-dropdown {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav-item-has-dropdown:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-item-has-dropdown .mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-nav-item-has-dropdown .mobile-menu-link .dropdown-indicator {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    transition: var(--transition);
}
.mobile-nav-item-has-dropdown .mobile-menu-link.active .dropdown-indicator {
     transform: rotate(45deg);
}

.mobile-dropdown-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
}
.mobile-dropdown-menu a {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-color-light-text);
    padding: 0.75rem 2rem 0.75rem 3rem;
}
.mobile-dropdown-menu a:hover {
    color: var(--bg-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-cta-wrapper {
    margin-top: auto;
    padding: 1rem 2rem;
}

.mobile-menu-cta {
    display: block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.85rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mobile-menu-cta:hover {
    background-color: var(--primary-color-dark);
}
/* --- END: NEW MOBILE MENU --- */

/* ========================================
   HERO SECTION
   ========================================
*/
.hero-section {
    position: relative;
    padding: 8rem 0;
    color: var(--bg-white);
    background: linear-gradient(rgba(25, 25, 45, 0.7), rgba(25, 25, 45, 0.7)), url('../images/skizo-abt.jpg') no-repeat center center/cover;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 50rem;
}

.hero-tagline {
    display: block;
    color: var(--bg-white);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem auto 0;
    max-width: 40rem;
}

.hero-cta {
    display: inline-block;
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 0.85rem 2.5rem;
    border-radius: var(--border-radius-full);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    background-color: var(--bg-medium-gray);
    transform: scale(1.05);
}

/* ========================================
   ABOUT (FEATURES) SECTION
   ========================================
*/
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-light-gray);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--bg-medium-gray);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--primary-color-light);
}

.feature-icon-wrapper {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    width: 4rem;
    height: 4rem;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon-wrapper i {
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color-dark);
}

.feature-description {
    margin-top: 0.5rem;
    color: var(--text-color-light);
}

/* ========================================
   SERVICES & BLOG POSTS SECTION
   ========================================
*/
.services-section, .blog-posts-section {
    padding: 6rem 0;
    background-color: var(--bg-light-gray);
}

.service-grid, .blog-post-grid {
    display: grid;
    gap: 2rem;
}

.service-card, .blog-post-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover, .blog-post-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.service-image, .blog-post-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.service-content, .blog-post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title, .blog-post-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color-dark);
    line-height: 1.4;
}

.service-description, .blog-post-excerpt {
    margin-top: 0.75rem;
    color: var(--text-color-light);
    flex-grow: 1;
}
.service-link {
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}
.service-link:hover {
    color: var(--primary-color-dark);
}


.blog-post-date {
    font-size: 0.875rem;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
}

.blog-post-link {
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.blog-post-link:hover {
    color: var(--primary-color-dark);
}

/* ========================================
   PROMISE SECTION
   ========================================
*/
.blog-section { /* Re-using blog styles for the promise section */
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.blog-container {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.blog-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-xl);
}

.blog-tagline {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-color-dark);
}

.blog-description {
    font-size: 1.125rem;
    color: var(--text-color-light);
    margin-top: 1.5rem;
}

.blog-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.blog-list-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* ========================================
   GALLERY SECTION
   ========================================
*/
.gallery-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 1 / 1;
    position: relative;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}
.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(65, 44, 165, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* FIX for product page gallery layout */
.gallery-section.product-page-gallery .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ========================================
   PROCESS SECTION
   ========================================
*/
.process-section {
    padding: 6rem 0;
    background-color: var(--bg-light-gray);
}

.process-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
    text-align: center;
    position: relative;
}

.process-step {
    padding: 1rem;
    position: relative;
    background-color: var(--bg-light-gray);
}

.process-number {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 4px solid var(--bg-white);
    outline: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.5rem;
}

/* ========================================
   CONTACT SECTION
   ========================================
*/
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark));
    color: var(--bg-white);
}

.contact-container {
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--primary-color-light-text);
    max-width: 42rem;
    margin: 1rem auto 0;
}

.contact-form {
    margin-top: 3rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: 1.25rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 1px solid var(--primary-color-dark);
    font-size: 1rem;
    font-family: var(--font-family-sans);
    transition: var(--transition);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--primary-color-light-text);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-color-light-text);
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color-light-text);
}

.submit-btn {
    width: 100%;
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-full);
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--bg-medium-gray);
    transform: scale(1.05);
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    min-height: 1.5rem; /* Reserve space */
    color: transparent; /* Hide text color by default */
    background-color: transparent;
    transition: all 0.3s ease;
    text-align: center;
}
.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
}
.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
}


/* ========================================
   FOOTER
   ========================================
*/
.footer {
    padding: 5rem 0 3rem;
    background-color: var(--bg-dark);
    color: var(--text-color-footer);
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

.footer-logo {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--bg-white);
}
.footer-logo img {
    max-width: 120px;
    height: auto;
}

.footer-tagline {
    margin-top: 1rem;
    font-size: 0.875rem;
    max-width: 25ch;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.875rem;
}

.footer-link:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 4rem;
    border-top: 1px solid var(--text-color-medium);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
}

/* ========================================
   ABOUT PAGE STYLES
   ========================================
*/
.page-header-section {
    background-color: var(--bg-light-gray);
    padding: 4rem 0;
    text-align: center;
}
.page-header-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-color-dark);
}
.page-header-subtitle {
    font-size: 1.125rem;
    color: var(--text-color-light);
    margin-top: 0.5rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.about-story-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.why-choose-us-section {
    padding: 6rem 0;
    background-color: var(--bg-light-gray);
}

.why-choose-us-grid {
    display: grid;
    gap: 2rem;
}

.choice-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--bg-medium-gray);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.choice-icon {
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
}

.choice-icon i {
    font-size: 2.5rem;
}

.choice-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color-dark);
}

.choice-description {
    margin-top: 0.75rem;
    color: var(--text-color-light);
}

.benefits-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}
.benefits-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}
.benefits-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-xl);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.benefit-icon {
    flex-shrink: 0;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-icon i {
    font-size: 1.5rem;
}
.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.25rem;
}
.benefit-description {
    color: var(--text-color-light);
}


.faq-section {
    padding: 6rem 0;
    background-color: var(--bg-light-gray);
}

.faq-accordion {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--bg-medium-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: var(--bg-white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color-dark);
    transition: background-color 0.2s;
}
.faq-question:hover {
    background-color: var(--bg-light-gray);
}
.faq-question.active {
    color: var(--primary-color);
}
.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-color-light);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color-light);
}
.faq-answer p {
    max-width: 65ch;
}

/* ========================================
   BLOG PAGE & POST STYLES
   ========================================
*/
.blog-listing-section {
    padding: 6rem 0;
}
.blog-listing-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.post-page-section {
    padding: 6rem 0;
}
.post-container {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.post-header {
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 1px solid var(--bg-medium-gray);
    padding-bottom: 2rem;
}
.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color-dark);
    line-height: 1.2;
}
.post-meta {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-color-light);
}
.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.7;
}

.post-content p {
    margin-bottom: 1.5rem;
}
.post-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.post-content ul,
.post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}
.post-content ul {
    list-style-type: disc;
}
.post-content ol {
    list-style-type: decimal;
}
.post-content li {
    margin-bottom: 0.75rem;
}
.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-color-dark);
}
.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
.post-content a:hover {
    color: var(--primary-color-dark);
}
.back-to-blog-link {
    display: inline-block;
    margin-top: 3rem;
    color: var(--primary-color);
    font-weight: 600;
}
.back-to-blog-link:hover {
    color: var(--primary-color-dark);
}

/* ========================================
   PAGINATION STYLES
   ========================================
*/
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    padding: 0;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-item {
    margin: 0.25rem;
}

.pagination-link {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border: 1px solid var(--bg-medium-gray);
    background-color: var(--bg-white);
    color: var(--text-color-medium);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.pagination-link:hover {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    border-color: var(--primary-color-light);
}

.pagination-item.active .pagination-link {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    cursor: default;
}

.pagination-item.disabled .pagination-link {
    color: var(--text-color-light);
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--bg-light-gray);
}
.pagination-item.disabled .pagination-link:hover {
    background-color: var(--bg-light-gray);
    border-color: var(--bg-medium-gray);
    color: var(--text-color-light);
}

/* ========================================
   SERVICES PAGE STYLES
   ========================================
*/
.service-details-section {
    padding: 6rem 0;
}
.service-item {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: 5rem;
}
.service-item:last-child {
    margin-bottom: 0;
}

.service-item-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-item-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 1rem;
}
.service-item-description {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
}
.service-item-features {
    list-style-type: none;
    padding-left: 0;
}
.service-item-features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-color-medium);
}
.service-item-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 1rem;
}
/* New styles for Service Detail Pages */
.service-detail-hero {
    display: grid;
    align-items: center;
    gap: 3rem;
}
.service-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color-dark);
    line-height: 1.2;
}
.service-detail-intro {
    font-size: 1.125rem;
    color: var(--text-color-light);
    margin-top: 1rem;
    max-width: 60ch;
}
.service-detail-hero-image {
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

/* ========================================
   PRODUCT GALLERY (REDESIGNED V2)
   ========================================
*/
.product-gallery-v2 {
    display: grid;
    grid-template-columns: 1fr 100px; /* Main image and thumbnail strip */
    gap: 1.5rem;
    max-width: 60rem;
    margin: 3rem auto 0;
    width: 100%; /* FIX: Ensures gallery respects container width */
}

.featured-image-v2 {
    grid-column: 1 / 2;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    aspect-ratio: 16 / 11;
}

#featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.thumbnail-list-v2 {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px; /* Adjust based on featured image height */
    overflow-y: auto;
}

/* Hide scrollbar for thumbnail list */
.thumbnail-list-v2::-webkit-scrollbar {
    display: none;
}
.thumbnail-list-v2 {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.thumbnail-item-v2 {
    width: 100px;
    height: 100px; 
    object-fit: cover;
    border-radius: var(--border-radius-md);
    border: 3px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.thumbnail-item-v2:hover {
    opacity: 1;
}

.thumbnail-item-v2.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}


/* ========================================
   GALLERY PAGE (SOCIAL FEED) STYLES
   ========================================
*/
.social-gallery-section {
    padding: 6rem 0;
}
.social-feed {
    margin-bottom: 5rem;
}
.social-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.social-feed-header .section-title {
    margin-bottom: 0;
}

.social-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    color: var(--bg-white);
}
.social-follow-btn i {
    font-size: 1.25rem;
}
.facebook-btn {
    background-color: #1877F2;
}
.facebook-btn:hover {
    background-color: #166fe5;
}
.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.instagram-btn:hover {
    opacity: 0.9;
}

.third-party-feed-container {
    margin-top: 2rem;
    width: 100%;
}

.social-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.social-gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}
.social-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.social-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.social-gallery-overlay i {
    color: var(--bg-white);
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.facebook-overlay {
    background-color: rgba(24, 119, 242, 0.7);
}
.instagram-overlay {
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.7) 0%, rgba(220, 39, 67, 0.7) 50%, rgba(188, 24, 136, 0.7) 100%);
}
.social-gallery-item:hover .social-gallery-image {
    transform: scale(1.1);
}
.social-gallery-item:hover .social-gallery-overlay {
    opacity: 1;
}


/* ========================================
   PROJECTS PAGE STYLES
   ========================================
*/
.projects-section {
    padding: 6rem 0;
}

.project-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background-color: var(--bg-light-gray);
    color: var(--text-color-medium);
    border: 1px solid var(--bg-medium-gray);
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    border-color: var(--primary-color-light);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.project-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.project-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(25, 25, 45, 0.85) 0%, rgba(65, 44, 165, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.project-item:hover .project-item-overlay {
    opacity: 1;
}
.project-item:hover .project-item-image {
    transform: scale(1.05);
}

.project-item-content {
    color: var(--bg-white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.project-item:hover .project-item-content {
    transform: translateY(0);
    opacity: 1;
}

.project-item-category {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color-light-text);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.project-item-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ========================================
   CONTACT PAGE STYLES
   ========================================
*/
.contact-page-section {
    padding: 6rem 0;
}
.contact-page-grid {
    display: grid;
    gap: 4rem;
    align-items: flex-start;
}
.contact-info-col .section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.contact-info-card + .contact-info-card {
    margin-top: 2rem;
}
.contact-info-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.contact-info-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color-dark);
}
.contact-info-text {
    color: var(--text-color-light);
    margin-top: 0.25rem;
    line-height: 1.7;
}
.contact-info-text a {
    color: var(--primary-color);
    font-weight: 500;
}
.contact-info-text a:hover {
    text-decoration: underline;
}

.contact-form-col {
    background-color: var(--bg-light-gray);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
}
.contact-form-col .section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}
.contact-form-col .form-input,
.contact-form-col .form-textarea {
    background-color: var(--bg-white);
    color: var(--text-color-medium);
    border-color: var(--bg-medium-gray);
}
.contact-form-col .form-input::placeholder,
.contact-form-col .form-textarea::placeholder {
    color: var(--text-color-light);
}
.contact-form-col .form-input:focus,
.contact-form-col .form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-light);
    background-color: var(--bg-white);
}
.contact-form-col .submit-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
}
.contact-form-col .submit-btn:hover {
    background-color: var(--primary-color-dark);
}
.contact-form-col .form-message {
    color: var(--text-color-medium);
}
.contact-map-section {
    padding-bottom: 6rem;
}
.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ========================================
   ANIMATION STYLES
   ========================================
*/
.wow {
    visibility: hidden;
}


/* ========================================
   CALCULATOR PAGE
   ========================================
*/
.calculator-section {
    padding: 4rem 0 6rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Controls Panel */
.calculator-controls {
    padding: 2.5rem;
    background-color: #fdfdff;
    border-right: 1px solid var(--bg-medium-gray);
}

.calculator-controls h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 2rem;
}

.control-group {
    margin-bottom: 1.75rem;
}

.control-label {
    display: block;
    font-weight: 600;
    color: var(--text-color-medium);
    margin-bottom: 0.75rem;
}

.control-label strong {
    color: var(--primary-color);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.radio-button {
    flex-grow: 1;
    background-color: var(--bg-light-gray);
    color: var(--text-color-medium);
    border: 1px solid var(--bg-medium-gray);
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-align: center;
}

.radio-button:hover {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    border-color: var(--primary-color-light-text);
}

.radio-button.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

/* Slider Styles */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--bg-medium-gray);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

/* Input with Currency */
.input-with-currency {
    display: flex;
    align-items: center;
}

.input-with-currency span {
    padding: 0.75rem 1rem;
    background-color: var(--bg-medium-gray);
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    font-weight: 500;
    color: var(--text-color-light);
}

.contact-form .form-input, .calculator-controls .form-input {
    background-color: var(--bg-white);
    color: var(--text-color-dark);
    border-color: #d1d5db;
}

.calculator-controls .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-size: 1rem;
    font-family: var(--font-family-sans);
}
.calculator-controls .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color-light);
}

#calculator-error {
    color: #b91c1c;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

/* Results Panel */
.results-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: var(--bg-white);
    position: relative;
}

.results-panel .image-wrapper {
    width: 100%;
    text-align: center;
}

.placeholder-content .placeholder-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    color: var(--primary-color-light-text);
    max-width: 350px;
    margin: 0 auto;
}

.result-content {
    opacity: 0;
    transform: translateY(20px);
}

.result-content.reveal {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color-light-text);
}

.result-amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0.5rem 0;
    color: var(--bg-white);
    letter-spacing: -1px;
}

.result-tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.result-cta {
    display: inline-block;
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.result-cta:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ai-disclaimer {
    margin-top: auto;
    padding-top: 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}


/* ========================================
   COMPARISON PAGE STYLES
   ========================================
*/
.comparison-section {
    padding: 4rem 0 6rem;
    background-color: var(--bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto; /* Enables horizontal scrolling on small screens */
    -webkit-overflow-scrolling: touch; /* Smoother scrolling on iOS */
    border: 1px solid var(--bg-medium-gray);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Ensures table looks good even when scrolling */
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid var(--bg-medium-gray);
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-color-dark);
}
.comparison-table td:first-child small {
    display: block;
    font-weight: 400;
    color: var(--text-color-light);
    margin-top: 0.25rem;
}

.comparison-table thead th {
    background-color: var(--bg-light-gray);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color-dark);
    border-bottom-width: 2px;
}
.comparison-table thead .col-upvc {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: 0;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: var(--bg-light-gray);
}
.comparison-table .col-upvc {
    background-color: var(--primary-color-light);
}

.comparison-table i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}
.comparison-table .positive {
    color: #10b981;
}
.comparison-table .negative {
    color: #ef4444;
}
.comparison-table .neutral {
    color: #f59e0b;
}

.conclusion-section {
    margin-top: 4rem;
    text-align: center;
    background-color: var(--bg-light-gray);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
}
.conclusion-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color-dark);
}
.conclusion-section p {
    max-width: 45rem;
    margin: 1rem auto 0;
    color: var(--text-color-light);
}

/* ========================================
   NEW ADDITIONS FOR CASEMENT PAGE
   ========================================
*/

/* Styles Grid */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.style-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-medium-gray);
    transition: var(--transition);
}

.style-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color-light);
}

.style-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.style-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 0.5rem;
}

.style-description {
    color: var(--text-color-light);
    line-height: 1.5;
}

/* Specs Table */
.specs-table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-medium-gray);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.specs-table th, .specs-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-medium-gray);
}

.specs-table th {
    background-color: var(--bg-light-gray);
    font-weight: 600;
    color: var(--text-color-dark);
    width: 35%;
}

.specs-table tr:last-child th, .specs-table tr:last-child td {
    border-bottom: none;
}


/* ========================================
   AI CHAT ASSISTANT
   ========================================
*/
#chat-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
}
#chat-fab:hover {
    background-color: var(--primary-color-dark);
    transform: scale(1.1);
}
#chat-fab i {
    font-size: 1.75rem;
    line-height: 1;
}

#chat-window {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    width: 350px;
    max-width: calc(100% - 4rem);
    height: 500px;
    max-height: calc(100vh - 9rem);
    background-color: var(--bg-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
#chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.chat-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}
#chat-close-btn {
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
}
#chat-close-btn:hover {
    opacity: 1;
}

#chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.chat-message {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-lg);
    max-width: 85%;
    line-height: 1.5;
    word-wrap: break-word;
}
.chat-message.ai {
    background-color: var(--bg-light-gray);
    color: var(--text-color-medium);
    border-bottom-left-radius: 0;
    align-self: flex-start;
}
.chat-message.user {
    background-color: var(--primary-color-light);
    color: var(--primary-color-dark);
    border-bottom-right-radius: 0;
    align-self: flex-end;
}
/* Styles for markdown content */
.chat-message.ai strong {
    color: var(--primary-color-dark);
}
.chat-message.ai ul, .chat-message.ai ol {
    list-style-position: inside;
    padding-left: 0.5rem;
    margin-top: 0.5rem;
}
.chat-message.ai p {
    margin-bottom: 0.5rem;
}
.chat-message.ai p:last-child {
    margin-bottom: 0;
}
.chat-message.ai a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}
.chat-message.ai img {
    max-width: 100%;
    border-radius: var(--border-radius-md);
    margin-top: 0.5rem;
}

/* Typing Indicator */
.chat-message.ai.typing-indicator {
    font-style: italic;
    color: var(--text-color-light);
    background-color: var(--bg-light-gray);
    align-self: flex-start;
    padding: 0.75rem 1rem;
}
.typing-indicator span {
    animation: blink 1.4s infinite both;
    font-weight: bold;
}
.typing-indicator span:nth-child(2) {
    animation-delay: .2s;
}
.typing-indicator span:nth-child(3) {
    animation-delay: .4s;
}
@keyframes blink {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
}

/* Conversation Starters */
.conversation-starters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.25rem 0 0;
    justify-content: flex-start;
}
.starter-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--primary-color-light-text);
    color: var(--primary-color-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}
.starter-btn:hover {
    background-color: var(--primary-color-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}


#chat-form {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--bg-medium-gray);
    flex-shrink: 0;
}
#chat-input {
    flex-grow: 1;
    border: 1px solid var(--bg-medium-gray);
    border-radius: var(--border-radius-full);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    margin-right: 0.5rem;
}
#chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-light);
}
#send-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#send-btn:hover {
    background-color: var(--primary-color-dark);
}
#send-btn:disabled {
    background-color: var(--primary-color-light-text);
    cursor: not-allowed;
}


/* ========================================
   RESPONSIVE DESIGN
   ========================================
*/

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }

    /* Hero section adjustments for mobile */
    .hero-section {
        padding: 6rem 0;
        min-height: 0; /* Let content define height */
    }
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-top: 1.25rem;
    }
    .hero-cta {
        margin-top: 2rem;
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .page-header-title {
        font-size: 2.25rem;
    }
    .page-header-subtitle {
        font-size: 1rem;
    }
    .about-story-section .blog-title {
        font-size: 1.875rem;
    }
    .why-choose-us-section .section-title,
    .benefits-section .section-title,
    .faq-section .section-title,
    .comparison-section .section-title {
        font-size: 2.25rem;
    }

    .choice-card {
        padding: 2rem 1.5rem;
    }
    .choice-icon i {
        font-size: 2.25rem;
    }
    .choice-title {
        font-size: 1.25rem;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .benefit-item .benefit-text {
        text-align: center;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
    .post-title {
        font-size: 2rem;
    }
    .social-feed-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .service-detail-hero-image {
        order: -1;
    }
    .service-detail-title {
        font-size: 2rem;
    }

    /* Responsive Product Gallery V2 */
    .product-gallery-v2 {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .featured-image-v2 {
        aspect-ratio: 16 / 10;
        width: 100%; /* Ensure it takes full width of flex container */
    }
    .thumbnail-list-v2 {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        padding-bottom: 10px; /* Space for scrollbar if visible */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .thumbnail-item-v2 {
        flex: 0 0 80px; /* Fixed width for thumbnails on mobile */
        width: 80px;
        height: 80px;
        scroll-snap-align: start;
    }


    .contact-form-col {
        padding: 2rem;
    }
    .comparison-table th, .comparison-table td {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
    /* Sticky column for mobile comparison table */
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: -webkit-sticky;
        position: sticky;
        left: 0;
        z-index: 2;
        background-color: var(--bg-white); /* Default background */
        /* Add a subtle shadow to indicate it's above other content */
        box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    }
    .comparison-table thead th:first-child {
        z-index: 3; /* Ensure it's above body cells */
        background-color: var(--bg-light-gray); /* Match header bg */
    }
    .comparison-table tbody tr:nth-child(even) td:first-child {
        background-color: var(--bg-light-gray); /* Match alternating row bg */
    }
    
    .styles-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
    .hero-title {
        font-size: 3.75rem;
    }
    .nav {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
        justify-content: space-between;
    }

    .logo {
        justify-self: start;
    }

    .nav-links {
        display: flex;
        justify-self: center;
    }

    .nav-actions {
        justify-self: end;
    }
    .nav-cta-button {
        display: inline-block;
    }
    .mobile-menu-btn {
        display: none;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-grid, .blog-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
     .blog-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .blog-container {
        grid-template-columns: 1fr 1fr;
    }
    .blog-image-wrapper {
        order: -1;
    }
    #local-focus .blog-image-wrapper,
    .about-story-section .blog-image-wrapper {
        order: 0;
    }
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .process-step:not(:last-child)::after {
        content: '\f178'; /* Font Awesome long arrow right */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        font-size: 2.5rem;
        color: var(--primary-color-light-text);
        top: 2rem; /* Aligns vertically with the center of the number circle */
        transform: translateY(-50%);
        left: 85%; /* Position towards the right of the container */
        z-index: 1;
    }
    .contact-form {
        grid-template-columns: 1fr 1fr;
    }
    .form-group-full {
        grid-column: 1 / -1;
    }
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-details-section .service-item-reversed .service-item-image {
        order: 2;
    }
    .social-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
     .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
     .contact-page-grid {
        grid-template-columns: 1fr 1.25fr;
    }
    .calculator-grid {
        grid-template-columns: 420px 1fr;
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .service-grid, .blog-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
     .blog-listing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
     .social-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
     .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .why-choose-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }
     .service-detail-hero {
        grid-template-columns: 1fr 1fr;
    }
}
