/* Base styles and variables - using colors from host.leavitt.pro */
:root {
    --primary-color: #eee8e0; /* Light beige background */
    --secondary-color: #1a293f; /* Dark blue for service cards and other elements */
    --accent-color: #f7931e; /* Orange accent */
    --dark-color: #0e1e36; /* Darker blue for contrast */
    --light-color: #f5f2ed; /* Lighter beige tint */
    --text-color: #333333; /* Dark text for light backgrounds */
    --text-dark: #1a293f; /* Dark blue text */
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

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

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

ul {
    list-style: none;
}

p {
    padding: 10px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn.accent {
    background-color: var(--accent-color);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover.accent {
    background-color: #e07e0a; /* Darker orange */
}

.pad-me {
    padding-top: 160px;
    padding-bottom: 80px;
}

/* Header styles */
header {
    background-color: var(--secondary-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo h1 a {
    color: var(--white);
    text-decoration: none;
}

.logo h1 a:hover {
    color: var(--white);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--white);
    font-weight: 600;
    padding: 10px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* Hero section */
.hero {
    background: #243552; /* Slightly lighter blue than #1a293f */
    color: var(--white);
    text-align: center;
    padding: 150px 20px 100px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Services section */
.services {
    padding: 80px 0;
    background-color: var(--primary-color);
    position: relative;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background-color: #1a293f;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: #243552; /* Slightly lighter shade of #1a293f */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: #c5d1e6; /* Light blue-gray for better readability */
}

.service-card p a {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-card p a:hover {
    text-decoration: underline;
}

/* CTA section */
.cta {
    background-color: #243552; /* Slightly lighter blue than #1a293f */
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Contact section */
.contact {
    padding: 80px 0;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

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

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(238, 232, 224, 0.5) 0%, rgba(238, 232, 224, 0) 70%);
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.contact-info p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 24px;
    color: var(--secondary-color);
}

.social-links a:hover {
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(26, 41, 63, 0.2);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    background-color: var(--white);
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--light-color);
    box-shadow: 0 0 8px rgba(247, 147, 30, 0.2);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-size: 22px;
}

.footer-logo p {
    color: #c5d1e6;
}

.footer-links h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #c5d1e6;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #c5d1e6;
}

/* Service Page Styles */
.service-hero {
    background: #243552;
    color: var(--white);
    text-align: center;
    padding: 150px 20px 80px;
    position: relative;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
    z-index: 2;
}

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

.service-hero .service-icon {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.service-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.service-details {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.service-info {
    margin-bottom: 60px;
}

.service-info h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-info p {
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-info h3, 
.service-benefits h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.service-list li i {
    color: var(--accent-color);
    font-size: 20px;
    margin-top: 3px;
}

.service-list li h4 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 8px;
}

.service-list li p {
    color: var(--text-color);
    margin-bottom: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.benefit-icon {
    font-size: 30px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.benefit-card h4 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Mobile menu styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 101;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #1a293f;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 100;
        padding-top: 80px;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        margin-top: 0;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
    }
    
    .hero {
        padding: 150px 20px 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .service-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}