/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==') repeat;
}

#wrapper {
    background: #fff;
    width: 960px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.container {
    width: 920px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
#header {
    background: #2c3e50;
    background: -webkit-gradient(linear, left top, left bottom, from(#34495e), to(#2c3e50));
    background: -moz-linear-gradient(top, #34495e, #2c3e50);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#34495e', endColorstr='#2c3e50');
    color: #fff;
    padding: 20px 0;
    border-bottom: 3px solid #1a252f;
}

#header .container {
    overflow: hidden;
}

#logo {
    float: left;
}

#logo h1 {
    font-size: 36px;
    font-weight: normal;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

#logo .tagline {
    font-size: 14px;
    color: #ecf0f1;
    margin-top: -5px;
}

#contact-header {
    float: right;
    text-align: right;
    margin-top: 15px;
}

#contact-header p {
    margin: 2px 0;
    color: #ecf0f1;
}

/* Navigation */
#nav {
    background: #34495e;
    background: -webkit-gradient(linear, left top, left bottom, from(#4a5f7a), to(#34495e));
    background: -moz-linear-gradient(top, #4a5f7a, #34495e);
    border-bottom: 1px solid #2c3e50;
}

#nav ul {
    list-style: none;
    overflow: hidden;
}

#nav li {
    float: left;
}

#nav a {
    display: block;
    padding: 12px 20px;
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    border-right: 1px solid #2c3e50;
}

#nav a:hover, #nav a.active {
    background: #2c3e50;
    background: -webkit-gradient(linear, left top, left bottom, from(#2c3e50), to(#1a252f));
    background: -moz-linear-gradient(top, #2c3e50, #1a252f);
}

/* Main Content Area */
#main {
    background: #fff;
    padding: 30px 0;
    overflow: hidden;
}

#content {
    float: left;
    width: 620px;
}

#sidebar {
    float: right;
    width: 260px;
}

/* Typography */
h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #e1e1e1;
    padding-bottom: 10px;
}

h3 {
    font-size: 20px;
    color: #34495e;
    margin: 20px 0 10px;
}

h4 {
    font-size: 16px;
    color: #34495e;
    margin: 10px 0;
}

p {
    margin-bottom: 15px;
}

.intro {
    font-size: 16px;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

/* Feature Box */
.feature-box {
    background: #f8f8f8;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: inset 0 1px 0 #fff;
}

.feature-box ul {
    list-style: none;
    margin-left: 0;
}

.feature-box li {
    padding: 5px 0 5px 20px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFVJREFUeNpi/P//PwMhwIRNAUgRLrCts4EBmxjcBJAiJiKsB3EYkcRgJuCSBClCBiAFIJORTYCZhKwY2QQWJDEQhrkDbhITA7rFeEAkAT0swgbAAIAAAwCjTBHhNKqM3QAAAABJRU5ErkJggg==') no-repeat left center;
}

/* Services Grid */
.services-grid {
    overflow: hidden;
    margin: 20px -10px;
}

.service-item {
    float: left;
    width: 290px;
    margin: 0 10px 20px;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
}

.service-item h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

/* CTA Box */
.cta-box {
    background: #3498db;
    background: -webkit-gradient(linear, left top, left bottom, from(#5dade2), to(#3498db));
    background: -moz-linear-gradient(top, #5dade2, #3498db);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

.cta-box h3 {
    color: #fff;
    margin: 0 0 10px;
}

.button {
    display: inline-block;
    padding: 10px 30px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    margin-top: 10px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}

.button:hover {
    background: #1a252f;
}

/* Sidebar Widgets */
.widget {
    background: #f8f8f8;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.widget h3 {
    font-size: 16px;
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 5px 0;
    border-bottom: 1px dotted #ccc;
}

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

.widget a {
    color: #3498db;
    text-decoration: none;
}

.widget a:hover {
    text-decoration: underline;
}

.testimonial {
    font-style: italic;
    color: #666;
}

.testimonial cite {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
#footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0 0;
    border-top: 3px solid #1a252f;
}

.footer-column {
    float: left;
    width: 230px;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: #ecf0f1;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    padding: 3px 0;
}

.footer-column a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 13px;
}

.footer-column a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    clear: both;
    background: #1a252f;
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
    color: #95a5a6;
}

.footer-bottom a {
    color: #95a5a6;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ecf0f1;
    text-decoration: underline;
}

/* About Page Specific */
.team-member {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e1e1;
}

.team-member h4 {
    margin-top: 0;
}

/* Services Page */
.service-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e1e1e1;
}

.service-section:last-child {
    border-bottom: none;
}

/* Contact Page */
.contact-info {
    background: #f8f8f8;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    margin-bottom: 30px;
}

.map-container {
    margin: 20px 0;
    padding: 10px;
    background: #f8f8f8;
    border: 1px solid #e1e1e1;
    text-align: center;
    color: #999;
}

/* Images */
.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    margin: 20px 0;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.inline-image {
    float: right;
    margin: 0 0 20px 20px;
    border: 1px solid #e1e1e1;
    padding: 3px;
    background: #fff;
    border-radius: 3px;
}

.team-member img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Utility Classes */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}