/* Base Styles */
:root {
    --primary-color: #0F689D; /* Changed from #56A2BC to #0F689D */
    --secondary-color: #3A8BB3; /* Adjusted secondary color to complement the new primary color */
    --dark-color: #49575F;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust this value based on your header height */
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--dark-color);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.8rem auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #4589a0;
}

/* Header */
.site-header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    background-color: transparent; /* Ensure no background color */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline from link */
}

.logo img {
    max-height: 50px; /* Adjust based on your logo size */
    width: auto;
    margin-right: 10px; /* Space between logo and text */
    background-color: transparent; /* Ensure no background color */
}

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

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active:after,
.main-nav a:hover:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--dark-color);
    transition: all 0.3s ease;
}

/* Media query for mobile logo */
@media (max-width: 768px) {
    .logo-link {
        flex-direction: row; /* Keep logo and text side by side on mobile */
        align-items: center;
    }
    
    .logo img {
        max-height: 40px; /* Slightly smaller on mobile */
    }
    
    .logo h1 {
        font-size: 1.5rem; /* Smaller text on mobile */
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(73, 87, 95, 0.7), rgba(73, 87, 95, 0.7)), url('../images/hero.jpeg') no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 60px; /* Account for fixed header */
}

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

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #eef7fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Try to fit all 5 in one row */
    gap: 1.5rem; /* Slightly reduced gap to help fit */
}

.service-card {
    background: white;
    padding: 1.5rem; /* Slightly reduced padding */
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem; /* Slightly smaller icons */
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem; /* Slightly smaller headings */
}

.service-card p {
    font-size: 0.95rem; /* Slightly smaller text */
}

/* Media queries for responsive layout */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3-2 layout on medium screens */
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }
}

@media (max-width: 500px) {
    .services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

/* Why Choose Us Section */
.why-us {
    padding: 5rem 0;
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

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

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #eef7fa;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.client h4 {
    margin-bottom: 0.5rem;
}

.stars {
    color: #FFD700;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(73, 87, 95, 0.8), rgba(73, 87, 95, 0.8)), url('../images/cta-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-info h3,
.footer-links h3,
.footer-newsletter h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-info p {
    margin-bottom: 0.8rem;
}

.footer-info i {
    margin-right: 0.5rem;
}

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

.footer-links a {
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-newsletter form {
    display: flex;
    margin-top: 1rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #555;
    padding-top: 2rem;
}

.social-icons a {
    color: white;
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 0.8rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-icons {
        margin-top: 1rem;
    }
    
    .social-icons a {
        margin: 0 0.5rem;
    }
}

@media (max-width: 500px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input,
    .footer-newsletter button {
        width: 100%;
        border-radius: 5px;
    }
    
    .footer-newsletter button {
        margin-top: 0.5rem;
    }
}

/* Contact Page Styles */
.page-hero {
    background: linear-gradient(rgba(73, 87, 95, 0.8), rgba(73, 87, 95, 0.8)), url('../images/contact-hero.jpg') no-repeat center center/cover;
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
    margin-top: 60px; /* Account for fixed header */
}

.page-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-section {
    padding: 5rem 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info, .contact-form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info > p {
    margin-bottom: 2rem; /* Adds extra space below the paragraph */
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-method h4 {
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

/* Media query for contact page on mobile */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero h2 {
        font-size: 2.5rem;
    }
}

/* Interactive contact links - obvious styling without emojis */
.contact-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #0a4e77; /* Darker shade for hover */
}

.footer-contact-link {
    color: #88C6D8; /* Lighter color to stand out against dark footer */
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: white;
}

/* Checkbox styling */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-item {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Pricing Page Styles */
.pricing-section {
    padding: 5rem 0;
    background-color: #fff;
}

.pricing-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

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

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

.pricing-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    height: 100px; /* Set a fixed height for all headers */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.pricing-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.pricing-details {
    padding: 1.5rem;
}

.pricing-description {
    text-align: center;
    margin-bottom: 1rem;
    color: #666;
    min-height: 40px; /* Set minimum height for description */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-price {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    min-height: 60px; /* Ensure consistent height for price section */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
}

.pricing-features {
    margin-bottom: 1.5rem;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.pricing-features i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.pricing-card .btn {
    display: block;
    text-align: center;
    margin: 0 1.5rem 1.5rem;
}

.additional-services {
    margin-top: 2rem;
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-pricing-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.service-icon {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 100px;
}

.service-details {
    padding: 1.5rem;
}

.service-details h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.service-details p {
    margin-bottom: 0.8rem;
    color: #666;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* More specific selector for service price styling */
.service-pricing-card .service-details .service-price {
    font-weight: 700;
    color: var(--primary-color) !important; /* Using !important to override any conflicting styles */
    font-size: 1.5rem;
    margin-top: 0.5rem;
    text-align: center;
}

.service-pricing-card .service-details .service-price span {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
}

/* Add styling for the button in service card */
.service-price-action {
    margin-top: 1rem;
}

.service-price-action .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

.pricing-notes {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.pricing-notes h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.pricing-notes ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.pricing-notes li {
    margin-bottom: 0.5rem;
    color: #555;
}

.pricing-cta {
    text-align: center;
    background-color: #eef7fa;
    padding: 3rem;
    border-radius: 8px;
}

.pricing-cta h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.pricing-cta p {
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments for pricing page */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .service-pricing-card {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        justify-content: center;
    }
    
    .pricing-cta {
        padding: 2rem 1rem;
    }
}

@media (max-width: 500px) {
    .pricing-header h3 {
        font-size: 1.3rem;
    }
    
    .pricing-price {
        font-size: 1.5rem;
    }
    
    .pricing-notes, 
    .service-pricing-card {
        padding: 1.2rem;
    }
}

/* Specific styling for the pricing page hero */
.pricing-hero {
    background: linear-gradient(rgba(73, 87, 95, 0.7), rgba(73, 87, 95, 0.7)), url('../images/banner2.jpeg') no-repeat center center/cover !important;
}

/* Create a specific class for the contact page hero */
.contact-hero {
    background: linear-gradient(rgba(73, 87, 95, 0.7), rgba(73, 87, 95, 0.7)), url('../images/banner3.jpeg') no-repeat center center/cover !important;
}
