/* Custom Color Palette for YL Security Systems */

:root {
    --primary-color: #1F2A44;    /* Dark Blue - for headers, navigation bar, and strong backgrounds */
    --secondary-color: #E5E9F0;  /* Cool Light Gray - for backgrounds and layout balance */
    --accent-color: #FF8C00;     /* Deep Orange - for buttons, links, and call-to-actions */
    --text-color: #333333;       /* Dark Gray - for body text */
    --success-color: #4CAF50;    /* Tech Green - for status indicators or feature highlights */
    --light-text: #FFFFFF;       /* White text for dark backgrounds */
    --light-text-alt: #F2F2F2;   /* Slightly off-white for dark backgrounds */
    --dark-text: #222222;        /* Darker text for light backgrounds */
}

/* Base styles */
body {
    color: var(--text-color);
}

/* Header and Navigation */
#header {
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

#header.alt {
    background-color: transparent;
    box-shadow: none;
}

.fixed-header {
    background-color: rgba(31, 42, 68, 0.95) !important; /* primary color with opacity */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

#header h1 {
    margin: 0;
    flex: 1;
    font-size: 1.8em;
    font-weight: 700;
}

#header h1 a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

#header h1 a:hover {
    color: var(--accent-color);
}

#nav {
    display: flex;
    align-items: center;
}

#nav a {
    color: var(--light-text-alt);
    text-decoration: none;
    margin: 0 1em;
    font-weight: 600;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5em 0;
    position: relative;
    transition: all 0.3s ease;
}

#nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

#nav a:hover {
    color: var(--light-text);
}

#nav a:hover::after {
    width: 100%;
}

/* Banner */
#banner {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(23, 42, 74, 0.65), rgba(23, 42, 74, 0.65)), url("../../assets/images/pexels-scottwebb-430208.jpg");
    background-size: cover;
    background-position: center;
    padding: 10em 0 8em 0;
    position: relative;
    overflow: hidden;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,140,0,0.15) 0%, rgba(31,42,68,0.2) 70%);
    z-index: 1;
}

#banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

#banner .inner {
    position: relative;
    z-index: 2;
}

#banner h2 {
    color: var(--light-text);
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 0.5em;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

#banner p {
    color: var(--light-text);
    font-size: 1.3em;
    margin-bottom: 2.5em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

#banner .button.primary {
    background-color: var(--accent-color);
    color: var(--dark-text) !important;
    border-color: var(--accent-color);
    margin-right: 1em;
}

#banner .actions {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

@media screen and (max-width: 736px) {
    #banner .actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    #banner .button {
        margin: 0.5em 0;
        width: 100%;
        max-width: 300px;
    }
    
    #banner .button.primary {
        margin-right: 0;
    }
}

/* Buttons */
/* Standardized Button Styles */
.button {
    background-color: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    min-height: 48px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.button:hover {
    background-color: var(--light-text);
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Responsive button styles */
@media screen and (max-width: 736px) {
    .button {
        padding: 10px 20px;
        font-size: 14px;
        min-height: 44px;
        width: 100%;
        max-width: 100%;
    }
    
    ul.actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    ul.actions li {
        width: 100%;
        margin: 0.5em 0;
    }
}

@media screen and (max-width: 480px) {
    .button {
        padding: 8px 16px;
        font-size: 14px;
        min-height: 40px;
    }
}

.button.primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-text) !important;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button.primary:hover {
    background-color: #e67e00;
    border-color: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
/* Sections */
.wrapper.style1 {
    background-color: var(--secondary-color);
    color: var(--dark-text);
    padding: 6em 0;
    position: relative;
    overflow: hidden;
}

.wrapper.style1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/pattern.png');
    opacity: 0.03;
    z-index: 0;
}

.wrapper.style1 .inner {
    position: relative;
    z-index: 1;
}

.wrapper.style1 h2 {
    color: var(--primary-color);
    margin-bottom: 1em;
    text-align: center;
}

.wrapper.style1 h3, .wrapper.style1 h4, .wrapper.style1 h5, .wrapper.style1 h6 {
    color: var(--primary-color);
}

/* About section */
#about {
    position: relative;
}

/* Adjust spacing between trusted security section and testimonials */
#about header.major {
    margin-bottom: 0.5rem;
}

/* Reduce spacing between hero section and about section */
#banner {
    padding: 6em 0 2em 0;
}

#about {
    padding: 2em 0 2em 0;
}

#about .content {
    margin-top: 2em;
}

#about p {
    line-height: 1.6;
    margin-bottom: 1em;
}

#about .image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

#about .image img {
    display: block;
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

#about .image:hover img {
    transform: scale(1.05);
}

#about .features {
    margin-top: 3em;
}

#about .features li {
    padding: 1.5em;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5em;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

#about .features li:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

#about .features h3 {
    margin-bottom: 0.5em;
}

#about .features p {
    margin-bottom: 0;
}

.wrapper.style2 {
    background-color: var(--primary-color);
    color: var(--light-text-alt);
    padding: 6em 0;
    position: relative;
    overflow: hidden;
}

.wrapper.style2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.wrapper.style2 .inner {
    position: relative;
    z-index: 1;
}

.wrapper.style2 h2 {
    color: var(--light-text);
    margin-bottom: 1em;
    text-align: center;
}

.wrapper.style2 h3, .wrapper.style2 h4, .wrapper.style2 h5, .wrapper.style2 h6 {
    color: var(--light-text);
}

/* CTA Section */
#cta {
    background-image: linear-gradient(rgba(23, 42, 74, 0.9), rgba(23, 42, 74, 0.9)), url("../../images/cta-bg.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 8em 0;
}

#cta h2 {
    margin-bottom: 0.5em;
}

#cta p {
    max-width: 800px;
    margin: 0 auto 2em;
    line-height: 1.6;
}

#cta .actions {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    flex-wrap: wrap;
}

#cta .button {
    background-color: var(--accent-color);
    color: var(--dark-text) !important;
    border-color: var(--accent-color);
    max-width: 300px;
}

@media screen and (max-width: 736px) {
    #cta .actions {
        flex-direction: column;
        align-items: center;
    }
    
    #cta .button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        background-color: var(--accent-color);
        color: var(--dark-text) !important;
        border-color: var(--accent-color);
    }
}

.wrapper.style3 {
    background-color: var(--secondary-color);
    color: var(--dark-text);
}

.wrapper.style3 h2, .wrapper.style3 h3, .wrapper.style3 h4, .wrapper.style3 h5, .wrapper.style3 h6 {
    color: var(--primary-color);
}

.wrapper.style3 .features li {
    border-color: rgba(31, 42, 68, 0.2);
}

.wrapper.style4 {
    background-color: var(--primary-color);
    color: var(--light-text-alt);
}

.wrapper.style4 h2, .wrapper.style4 h3, .wrapper.style4 h4, .wrapper.style4 h5, .wrapper.style4 h6 {
    color: var(--light-text);
}

/* Spotlight sections */
.spotlight .content h2 {
    color: var(--light-text);
}

.spotlight .content p {
    color: var(--light-text-alt);
}

/* Service section images */
.spotlight .image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.spotlight .image:hover img {
    transform: scale(1.05);
}

/* Icons */
.icon.major {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.features li .icon {
    color: var(--accent-color);
}

/* Dark background sections - ensure text is light */
.wrapper.style2 .features li, 
.wrapper.style4 .features li {
    color: var(--light-text-alt);
}

.wrapper.style2 .features li h3, 
.wrapper.style4 .features li h3 {
    color: var(--light-text);
}

/* Footer */
#footer {
    background-color: var(--primary-color);
    color: var(--light-text-alt);
    padding: 5em 0 3em;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color), var(--primary-color));
}

#footer .inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3em;
}

#footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
    color: var(--light-text);
    font-weight: 700;
    margin-bottom: 1.5em;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

#footer a:not(.icon)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

#footer a:hover {
    color: var(--accent-color);
}

#footer a:not(.icon):hover::after {
    width: 100%;
}

/* Footer icons styling moved to #footer ul.icons */

#footer .icons a {
    color: var(--light-text-alt);
    font-size: 1.4em;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0;
}

#footer .icons a:hover {
    color: var(--dark-text);
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#footer .copyright {
    margin-top: 3em;
    padding-top: 2em;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
}

#footer .copyright li {
    margin: 0;
    padding: 0;
}

#footer .copyright a {
    color: rgba(255, 255, 255, 0.7);
}

#footer .copyright a:hover {
    color: var(--accent-color);
}

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

#footer ul.icons {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin: 1.5em auto;
    width: 100%;
    flex-wrap: wrap;
}

#footer ul.icons li {
    margin: 0;
    padding: 0;
}

#footer ul.links li {
    margin-bottom: 0.8em;
}

#footer ul.links a {
    display: block;
    padding: 0.3em 0;
}

#footer p {
    line-height: 1.6;
    margin-bottom: 1.5em;
}

/* Form elements */
input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="tel"], 
select, 
textarea {
    border: 2px solid rgba(31, 42, 68, 0.3);
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    color: var(--dark-text);
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 0.8em;
}

input[type="text"]::placeholder, 
input[type="password"]::placeholder, 
input[type="email"]::placeholder, 
input[type="tel"]::placeholder, 
select::placeholder, 
textarea::placeholder {
    color: #666666;
    opacity: 0.8;
}

input[type="text"]:hover, 
input[type="password"]:hover, 
input[type="email"]:hover, 
input[type="tel"]:hover, 
select:hover, 
textarea:hover {
    border-color: var(--primary-color);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus, 
input[type="password"]:focus, 
input[type="email"]:focus, 
input[type="tel"]:focus, 
select:focus, 
textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    outline: none;
}

/* Form labels */
form label {
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 0.5em;
    display: block;
}
/* Dark background forms */
.wrapper.style2 form label,
.wrapper.style4 form label {
    color: var(--light-text);
}

.wrapper.style2 input[type="text"],
.wrapper.style2 input[type="password"],
.wrapper.style2 input[type="email"],
.wrapper.style2 input[type="tel"],
.wrapper.style2 select,
.wrapper.style2 textarea,
.wrapper.style4 input[type="text"],
.wrapper.style4 input[type="password"],
.wrapper.style4 input[type="email"],
.wrapper.style4 input[type="tel"],
.wrapper.style4 select,
.wrapper.style4 textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
}

.wrapper.style2 input::placeholder,
.wrapper.style2 textarea::placeholder,
.wrapper.style4 input::placeholder,
.wrapper.style4 textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Submit button */
input[type="submit"],
input[type="reset"],
input[type="button"] {
    background-color: var(--accent-color);
    color: var(--dark-text);
    font-weight: 600;
    border-radius: 6px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    min-height: 48px;
    white-space: nowrap;
    box-sizing: border-box;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Links */
a {
    color: var(--accent-color);
    border-bottom-color: rgba(255, 140, 0, 0.3);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: #e67e00;
    border-bottom-color: transparent;
}

/* Light background links */
.wrapper.style1 a, .wrapper.style3 a {
    color: var(--primary-color);
    border-bottom: 1px dotted rgba(23, 42, 74, 0.3);
}

.wrapper.style1 a:hover, .wrapper.style3 a:hover {
    color: var(--accent-color);
    border-bottom-color: transparent;
}

/* Dark background links */
.wrapper.style2 a, .wrapper.style4 a {
    color: var(--accent-color);
    border-bottom: 1px dotted rgba(255, 140, 0, 0.3);
}

.wrapper.style2 a:hover, .wrapper.style4 a:hover {
    color: #ffffff;
    border-bottom-color: transparent;
}

/* Success/highlight elements */
.highlight {
    color: var(--success-color);
    font-weight: 600;
}

/* Contact section specific styles */
#contact {
    background-color: #f5f7fa;
    color: var(--dark-text);
    padding: 6em 0;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/pattern.png');
    opacity: 0.03;
    z-index: 0;
}

#contact .inner {
    position: relative;
    z-index: 1;
}

#contact h2 {
    color: var(--primary-color);
    margin-bottom: 1em;
    text-align: center;
}

#contact h3, #contact h4 {
    color: var(--primary-color);
    margin-bottom: 0.8em;
}

#contact .grid-form {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3em;
    margin-top: 3em;
    align-items: stretch;
}

#contact .grid-form > div {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-top: 4px solid var(--accent-color);
}

@media screen and (max-width: 980px) {
    #contact .grid-form {
        grid-template-columns: 1fr;
    }
}

#contact .contact-info-content {
    padding: 3em;
    position: relative;
    z-index: 1;
}

#contact .contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31,42,68,0.03) 0%, rgba(255,255,255,0) 100%);
    z-index: 0;
}

#contact .contact-info-content {
    position: relative;
    z-index: 1;
}

#contact .contact-info a {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

#contact .contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

#contact .contact-info a:hover {
    color: var(--accent-color);
}

#contact .contact-info a:hover::after {
    width: 100%;
}

#contact .contact-info i {
    color: var(--accent-color);
    margin-right: 0.5em;
    font-size: 1.2em;
}

#contact p {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 1em;
}

#contact .form-content {
    padding: 3em;
    position: relative;
    z-index: 1;
}

#contact form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,140,0,0.03) 0%, rgba(255,255,255,0) 100%);
    z-index: 0;
}

#contact .form-content {
    position: relative;
    z-index: 1;
}

#contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

#contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

#contact a:hover {
    color: var(--accent-color);
}

#contact a:hover::after {
    width: 100%;
}

/* Contact form specific styles */
.contact-form {
    position: relative;
}

.contact-form form {
    position: relative;
}

/* Form field icons */
.contact-form .field-icon {
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    z-index: 2;
    pointer-events: none;
}

.contact-form .col-6,
.contact-form .col-12 {
    position: relative;
}

/* Specific icons for each field */
.contact-form .name-field::before,
.contact-form .email-field::before,
.contact-form .phone-field::before,
.contact-form .service-field::before,
.contact-form .message-field::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 1.25em;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    z-index: 2;
    font-size: 1rem;
    width: 1.25em;
    text-align: center;
    pointer-events: none;
}

.contact-form .name-field::before {
    content: '\f007'; /* user icon */
}

.contact-form .email-field::before {
    content: '\f0e0'; /* envelope icon */
}

.contact-form .phone-field::before {
    content: '\f095'; /* phone icon */
}

.contact-form .service-field::before {
    content: '\f7d9'; /* tools icon */
}

.contact-form .message-field::before {
    content: '\f075'; /* comment icon */
    top: 1.5em;
    transform: none;
    left: 1.25em;
}

.contact-form label {
    color: var(--dark-text);
    margin-bottom: 0.5em;
    display: block;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8em 0.8em 0.8em 3.5em; /* Increased left padding for icons */
    margin-bottom: 1.5em;
    border: 2px solid rgba(23, 42, 74, 0.15);
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    position: relative;
    height: 3em;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-form textarea {
    height: auto;
    min-height: 8em;
    padding-top: 1.2em;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
    outline: none;
    background-color: #ffffff;
}

.contact-form input[type="submit"],
.contact-form input[type="reset"] {
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 12px 24px;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    min-height: 48px;
    white-space: nowrap;
    box-sizing: border-box;
}

.contact-form ul.actions {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    width: 100%;
    margin: 1em 0 0 0;
    padding: 0;
}

.contact-form ul.actions li {
    width: auto;
    flex: 1;
    max-width: 200px;
    list-style: none;
}

.contact-form input[type="submit"]:hover,
.contact-form input[type="reset"]:hover {
    background-color: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.contact-form input[type="reset"] {
    background-color: #f0f0f0;
}

/* Form status messages */
#form-status {
    margin-bottom: 1em;
    font-weight: 500;
}

#form-status .sending {
    color: #2c3e50;
    background-color: #f8f9fa;
    padding: 0.75em 1em;
    border-radius: 4px;
    border-left: 4px solid #3498db;
}

#form-status .success {
    color: #155724;
    background-color: #d4edda;
    padding: 0.75em 1em;
    border-radius: 4px;
    border-left: 4px solid #28a745;
}

#form-status .error {
    color: #721c24;
    background-color: #f8d7da;
    padding: 0.75em 1em;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
}
    color: var(--dark-text);
    border: 2px solid #d0d0d0;
    font-weight: 600;
}

.contact-form input[type="reset"]:hover {
    background-color: #e0e0e0;
    border-color: #c0c0c0;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.contact-info {
    padding: 0;
}

.contact-info h3 {
    margin-bottom: 1em;
}

.contact-info p {
    margin-bottom: 1em;
    line-height: 1.6;
}

.contact-info i {
    width: 1.5em;
    color: var(--accent-color);
    font-size: 1.2em;
    vertical-align: middle;
}

.contact-info .address,
.contact-info .phone,
.contact-info .email {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2em;
}

.contact-info .icon {
    margin-right: 1.2em;
    color: var(--accent-color);
    font-size: 1.5em;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info .text {
    flex: 1;
}

.contact-info .text strong {
    display: block;
    margin-bottom: 0.5em;
    color: var(--primary-color);
}

/* Testimonials Section */
#testimonials {
    background-color: #f5f7fa;
    padding: 6em 0;
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/pattern.png');
    opacity: 0.03;
    z-index: 0;
}

#testimonials .inner {
    position: relative;
    z-index: 1;
}

#testimonials h2 {
    color: var(--primary-color);
    margin-bottom: 1em;
    text-align: center;
}

#testimonials p.lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2em;
    color: var(--dark-text);
    line-height: 1.6;
}

.testimonial-heading {
    text-align: center;
    color: var(--primary-color);
    margin: 0 0 1em;
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5em;
    margin-top: 1.5em;
    width: 100%;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1em;
    border-top: 4px solid var(--accent-color);
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,140,0,0.03) 0%, rgba(255,255,255,0) 100%);
    z-index: 0;
}

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

.testimonial-content {
    padding: 2.5em;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 8em;
    color: rgba(255, 140, 0, 0.08);
    position: absolute;
    top: -0.2em;
    left: 0.1em;
    line-height: 1;
    z-index: 0;
}

.testimonial-content::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 8em;
    color: rgba(255, 140, 0, 0.08);
    position: absolute;
    bottom: -0.5em;
    right: 0.1em;
    line-height: 1;
    z-index: 0;
}

.stars {
    color: #FFD700; /* Gold color for stars */
    font-size: 1.2em;
    margin-bottom: 0.8em;
    letter-spacing: 0.1em;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5em;
    position: relative;
    z-index: 1;
    color: var(--dark-text);
    line-height: 1.6;
    flex: 1;
}

.testimonial-author-container {
    margin-top: auto;
    position: relative;
    padding-top: 1.5em;
    z-index: 1;
}

.testimonial-author-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.testimonial-author {
    color: var(--primary-color);
    margin-bottom: 0.2em;
}

.testimonial-company {
    color: var(--text-color);
    font-style: italic;
}

@media screen and (max-width: 736px) {
    .testimonial-card {
        flex: 100%;
        max-width: 100%;
    }
}

/* Additional Services section */
#additional-services {
    background-color: #f9f9f9;
    padding: 5em 0;
}

#additional-services h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1em;
    font-size: 1.5em;
}

#additional-services p {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 1.5em;
}

#additional-services .box {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 2em;
    height: 100%;
    border-top: 4px solid var(--accent-color);
}

#additional-services .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

#additional-services .button.small {
    background-color: var(--accent-color);
    color: var(--dark-text) !important;
    border-color: var(--accent-color);
    /* Other properties inherited from .button */
    padding: 10px 20px;
    min-height: 40px;
    font-size: 14px;
}

#additional-services .button.small:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Services section */
#services {
    background-color: var(--primary-color);
    padding: 5em 0;
}

#services .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    margin-top: 3em;
}

#services .features li {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2.5em;
    margin-bottom: 2em;
    transition: all 0.3s ease;
    flex: 1 1 calc(50% - 2em);
    min-width: 280px;
    max-width: calc(50% - 2em);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

#services .features li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 0;
}

#services .features li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

#services h3 {
    color: var(--light-text);
    font-weight: 700;
    font-size: 1.5em;
    margin-bottom: 1em;
    position: relative;
}

#services p {
    color: var(--light-text-alt);
    line-height: 1.6;
    margin-bottom: 1.5em;
    position: relative;
}

#services .button {
    background-color: var(--accent-color);
    color: var(--dark-text) !important;
    border-color: var(--accent-color);
    /* Other properties inherited from .button */
}

#services .button:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 980px) {
    #services .features li {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Always visible navigation menu */
#nav {
  display: flex !important;
  justify-content: center;
  background-color: var(--primary-color);
  padding: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#nav a {
  color: var(--light-text) !important;
  transition: color 0.3s ease;
  margin: 0 1em;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.3em;
}

#nav a:hover {
  color: var(--accent-color) !important;
  border-bottom: 2px solid var(--accent-color);
}

#nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

#nav li a:hover {
  color: #FF6C00;
}

.menuToggle {
  display: none !important;
}

/* Responsive navigation */
@media screen and (max-width: 980px) {
  #header {
    padding: 0 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  #header h1 {
    margin-bottom: 1rem;
  }
  
  #nav {
    width: 100%;
  }
  
  #nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 736px) {
  #nav ul {
    gap: 1rem;
  }
  
  #nav li a {
    font-size: 0.9rem;
  }
}