/* Section Styling for SafeDown Website */

/* Full-width section backgrounds */
.section-full-width {
    width: 100%;
    margin: 0;
    padding: 80px 0;
    position: relative;
    left: 0;
    right: 0;
    max-width: none;
}

/* Section with content container */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Gradient backgrounds for sections */
.bg-gradient-blue {
    background-image: linear-gradient(135deg, #0051b5 0%, #2887f7 100%);
    color: white;
}

.bg-gradient-light {
    background-image: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bg-gradient-accent {
    background-image: linear-gradient(316deg, #0078f1 0%, #001929 100%);
    color: white;
}

/* Consistent section title styling */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.8rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.bg-gradient-blue .section-title {
    color: white;
}

.bg-gradient-blue .section-title::after {
    background: white;
}

/* 3D elements section */
.interactive-elements-section {
    background-image: linear-gradient(135deg, #f0f4f8 0%, #e6f0ff 100%);
    padding: 80px 0;
    margin: 0;
    overflow: hidden;
    text-align: center;
}

.interactive-elements-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.element-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* About section with improved spacing */
.about-content {
    /* max-width: 900px; */
    margin: 0 auto;
}

.about-text {
    width: 100%;
    display: flow-root;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-image-static {
    float: right;
    max-width: 220px;
    margin: 0 0 20px 20px;
    text-align: center;
}

.about-image-static img {
    max-width: 100%;
    height: auto;
    /* box-shadow: var(--shadow-md); */
    /* background-color: white; */
    padding: 10px;
    border-radius: 8px;
}

/* Ensure strong text stands out in accent gradient sections */
#about strong, #guarantee strong {
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Improved contact form */
.contact-form-container {
    background-color: white;
    box-shadow: var(--shadow-md);
    padding: 3rem;
    margin: 3rem auto;
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.contact-form-container .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

#contact-form {
    background: white;
    padding: 0;
    box-shadow: none;
    max-width: 100%;
}

#contact-form .form-group {
    margin-bottom: 1.8rem;
}

#contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 81, 181, 0.1);
    outline: none;
}

#contact-form button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-details {
    text-align: center;
    margin-top: 2rem;
    color: white;
}

.contact-details p {
    margin-bottom: 0.8rem;
}

.contact-details a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

/* Section separator */
.section-separator {
    height: 6px;
    background: var(--gradient-primary);
    width: 100%;
    margin: 0;
    padding: 0;
}
