/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- CSS Variables (Root) for Easy Theme Management --- */
:root {
    --primary-color: #005f73;
    --secondary-color: #00a8e8;
    --accent-color: #ffafcc;
    --light-bg: #f8f9fa;
    --dark-text: #333333;
    --light-text: #ffffff;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s ease;
}

/* --- General Body Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: var(--dark-text);
    line-height: 1.7;
}

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

h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}
a:hover { color: var(--primary-color); }
img { max-width: 100%; height: auto; }
section { padding: 80px 0; }

/* --- Header & Navigation --- */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }

/* --- LOGO FIX --- */
.logo img { 
    height: 150px; /* Increased from 60px to make the logo larger */
    width: auto; 
}

.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 35px; }
.main-nav a { font-weight: 600; font-size: 1rem; color: var(--primary-color); padding-bottom: 5px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--secondary-color); border-bottom-color: var(--secondary-color); }
.mobile-nav-toggle { display: none; }

/* --- Hero Section (Homepage) --- */
.hero {
    background: linear-gradient(rgba(0, 95, 115, 0.7), rgba(0, 95, 115, 0.7)), url('https://images.unsplash.com/photo-1584515933487-779824d279f1?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=3600') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 100px 20px;
}
.hero-content h1 { color: var(--light-text); font-size: 3.5rem; text-shadow: 1px 1px 5px rgba(0,0,0,0.2); }
.hero-content p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; }
.cta-button {
    background: var(--secondary-color);
    color: var(--light-text);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
}
.cta-button:hover {
    background-color: var(--light-text);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* --- General Content Sections & Cards --- */
.intro { text-align: center; }
.intro p { max-width: 800px; margin: -1rem auto 0; font-size: 1.1rem; color: #555; }
.services-overview { background-color: var(--light-bg); }
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; transition: transform var(--transition-speed), box-shadow var(--transition-speed); }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card h3 { margin: 25px 0 10px; }
.card p { padding: 0 25px; margin-bottom: 25px; color: #666; }
.card .learn-more { font-weight: 600; display: block; padding: 20px; background: var(--light-bg); }

/* --- Page Header for Inner Pages --- */
.page-header {
    background-color: var(--light-bg);
    text-align: center;
    padding: 60px 20px;
}

/* --- Services Page Styles --- */
.services-page-content { padding-top: 40px; padding-bottom: 40px; }
.service-block { display: flex; align-items: center; gap: 50px; margin-bottom: 60px; }
.service-block.reverse { flex-direction: row-reverse; }
.service-image-box { flex: 1; height: 400px; border-radius: var(--border-radius); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.service-image-box h2 { color: var(--light-text); font-size: 2.8rem; text-shadow: 1px 1px 5px rgba(0,0,0,0.15); }
.service-image-box.style-1 { background-color: #94d2bd; }
.service-image-box.style-2 { background-color: var(--secondary-color); }
.service-image-box.style-3 { background-color: var(--accent-color); }
.service-description { flex: 1.5; }
.service-description h3 { margin-top: 0; font-size: 2rem; }
.service-description ul { list-style: none; padding-left: 0; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.service-description li { padding-left: 25px; position: relative; }
.service-description li::before { content: '✔'; color: var(--primary-color); position: absolute; left: 0; font-weight: 600; }

/* --- Footer --- */
.main-footer { background-color: var(--primary-color); color: #e0e0e0; padding: 60px 0 20px; }
.main-footer a { color: #e0e0e0; }
.main-footer a:hover { color: var(--light-text); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-section h4 { color: var(--light-text); margin-bottom: 20px; font-size: 1.2rem; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section li { margin-bottom: 10px; }
.footer-bottom { text-align: center; border-top: 1px solid #2a7f8e; padding-top: 20px; font-size: 0.9rem; }

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr; }
    .service-block, .service-block.reverse { flex-direction: column; gap: 0; }
    .service-image-box { width: 100%; height: 200px; border-radius: var(--border-radius) var(--border-radius) 0 0; }
    .service-description { border: 1px solid #eee; border-top: none; padding: 30px; border-radius: 0 0 var(--border-radius) var(--border-radius); }
    .service-description ul { grid-template-columns: 1fr; }
}
