/* 1. Global Reset & Box Sizing */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: Black;
    background-color: white;
}

body::before {
    content: "";
    position: fixed; /* Keeps it in the background while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('sun.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.07; /* This creates the 'faded' effect (0.1 is 10%, 0.05 is 5%) */
    z-index: -1;   /* Places it behind all your text and images */
    pointer-events: none; /* Ensures you can still click buttons through it */
}

/* 2. Header & Branding */
header {
    background-color: #010101;
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

header h1 {
    font-size: clamp(1rem, 6vw, 2rem); /* Responsive sizing */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
header h2 {
    font-size: clamp(.9rem, 4vw, 1.7rem);
    margin: 0.5rem 0 0;
    font-weight: normal;
    color: #225ce2;
    font-style: italic;
}

/* 3. Main Content Area */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.topnav{
    background-color: #333;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.topnav a {
color: white;
text-align: center;
padding: 20px 16px;
text-decoration: none;
font-size: 1.2rem;
border-bottom: 1px solid #444;
width: 100%;
display: block;
}

.topnav a:last-child {
    border-bottom:none;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

@media (min-width: 768px) {
    .topnav {
        flex-direction: row;
        justify-content: center;
    }
    .topnav a {
        border-bottom: none;
        border-right: 1px solid #444;
        width: auto;
    }
    .topnav a:last-child {
        border-right: none;
    }
}

/* Typography Fixes */
p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 1.5rem;
}
a {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    color: #225ce2;
    font-size: clamp(2rem, 7vw, 3.5rem);
    margin: 1rem 0;
    padding: 0px 0px;

}

/* 4. Images */
img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    border-radius: 15px;
    margin: 2rem auto;
}

.top {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    margin: 2rem auto;
}

.rounded-image {
    max-width: 350px;
    border-radius: 50%;
}

/* 5. Contact Buttons (The "Call" and "Email" links) */
.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /*Allows buttons to stack if the screen is small*/
    gap: 20px;
    margin: 1rem 0;
    font-size: 1rem;
}

.btn {
    background-color: #225ce2;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: transform 0.2s, background-color 0.2s;
    border: 2px solid #225ce2;
    min-width: 160px; /*To make sure buttons are uniform*/
}

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

/* 6. Table Styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 6px rgba(229, 226, 226, 0.1);
}

caption {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: bold;
    margin-bottom: 10px;
    color: #225ce2;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

th {
    background-color: #eee;
    font-weight: bold;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

/* 7. Services List */
ul {
    padding: 0;
    display: inline-block;
    text-align: left;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    list-style: none;
}

ul li {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

ul li::before {
    content: "✓"; /* Unicode checkmark */
    color: #225ce2;
    font-weight: bold;
    margin-right: 10px;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

/* 8. Footer */
footer {
    background-color: #333; /* Darker footer looks more modern */
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    font-size: 1.5rem;
}

.h2Services {
    margin-top: 4rem;
}

.reviews-container ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-container li {
    background-color: #225ce2;
    border: 2px solid #000102;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    line-height: 1.6;
    color: white;
    box-shadow: 2px 4px 10px rgba(137, 142, 148, 0.1);
    position: relative;
}
.h2Reviews {
    text-align: center;
    color:#225ce2;
    margin-bottom: 30px;
}
