:root {
    --primary: #1a3a7a;
    --secondary: #a83232;
    --accent: #b3eeff;
    --light: #f5f5f5;
    --dark: #333;
    --gray: #727272;
    --lightblue: #c4eeff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

header {
    background-color: var(--lightblue); /* Light blue color similar to the logo background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span {
    color: var(--secondary);
    font-weight: 500;
}

nav ul {
    display: flex;
    list-style: none;
}

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

/* For the navigation links, you might want to adjust their color too */
nav ul li a {
    text-decoration: none;
    color: var(--primary); /* Using your primary color for better contrast against light blue */
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary); /* Changed hover to secondary for better effect */
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: var(--dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #e3aa00;
    transform: translateY(-3px);
}

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

.btn-primary:hover {
    background-color: #12285a;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title2 h2 {
    font-size: 2.5rem;
    color: var(--lightblue);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.service-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.before-after {
    position: relative;
    background-color: var(--primary);
    color: white;
}

.before-after::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.before-after .container {
    position: relative;
    z-index: 1;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.before-after-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.comparison {
    position: relative;
    height: 250px;
}

.before, .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.before {
    z-index: 1;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-label {
    position: absolute;
    background-color: var(--accent);
    color: var(--dark);
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.before-label {
    top: 10px;
    left: 10px;
}

.after-label {
    top: 10px;
    right: 10px;
}

.divider {
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.slider-handle {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-handle::before, .slider-handle::after {
    content: '';
    width: 2px;
    height: 10px;
    background-color: var(--dark);
    position: absolute;
}

.slider-handle::before {
    transform: translateX(-4px);
}

.slider-handle::after {
    transform: translateX(4px);
}

.comparison-text {
    padding: 15px;
    text-align: center;
    color: var(--dark);
}

.comparison-text h4 {
    margin-bottom: 5px;
}

.why-us {
    background-color: #f9f9f9;
}

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

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.testimonials {
    background-color: white;
}

.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.control-btn {
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.control-btn:hover {
    background-color: #12285a;
}

.pricing {
    background-color: #f9f9f9;
}

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

.pricing-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-header {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.pricing-content {
    padding: 30px;
}

.price {
    text-align: center;
    margin-bottom: 20px;
}

.price span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.price small {
    color: var(--gray);
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    color: var(--primary);
    margin-right: 10px;
    font-weight: bold;
}

.pricing-footer {
    text-align: center;
}

.special-offer {
    background-color: var(--accent);
    color: var(--dark);
    padding: 40px 0;
    text-align: center;
}

.special-offer h2 {
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.special-offer p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.discount-badge {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact {
    background-color: white;
}

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

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info .info-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.footer-col p {
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        z-index: 1000;
        transition: right 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 50px 30px;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 20px;
    }
    
    .mobile-menu {
        display: block;
        z-index: 1001;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}