/*
Theme Name: Sloan West Designs
Theme URI: https://rakib.pro/
Author: MD RAKIBUZZAMAN
Author URI: https://rakib.pro/
Description: A minimal single-page custom theme for Sloan West Designs. Uses CMB2 options for editable content.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sloan-west-designs
Tags: one-column, flexible-header, custom-logo
*/

/* Base styles and the small inline CSS extracted from the original HTML */
body {
  font-family: 'Inter', sans-serif;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}
.faq-answer {
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 1.5rem;
}
.faq-item.open {
    border-color: #c7d2fe;
    background-color: #fafbff;
}
.faq-item.open .plus-icon {
    opacity: 0;
    transform: rotate(90deg);
}
.faq-item.open .minus-icon {
    opacity: 1;
    transform: rotate(0deg);
}
.plus-icon, .minus-icon {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.minus-icon {
    transform: rotate(-90deg);
}
#toast {
  transition: opacity 0.3s, transform 0.3s;
}
.nav-active {
    color: #4f46e5;
    background-color: #eef2ff;
}
.hero-background {
    position: relative;
    overflow: hidden;
}
#contact-form input {
    border: 1px solid #dddddd;
}

#contact-form textarea#message {
    border: 1px solid #dddddd;
}
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.9) 100%), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d1d5db' fill-opacity='0.8'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: auto;
    z-index: 0;
}
