/* ==========================================================================
   CSS Variables for Consistency & Easy Maintenance
   ========================================================================== */
:root {
    --primary-color: #004aad;
    --accent-color: #2ecc71;
    --background-color: #f9f9f9;
    --text-color: #333;
    --light-text: #888;
    --hero-overlay: rgba(0, 0, 0, 0.4);
    --header-height: 60px;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
    line-height: 1.6;
    background: #f7f7f7;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* ==========================================================================
   Header
   ========================================================================== */
header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

header .logo {
    width: 120px;
    display: inline-block;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2));
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

header nav ul li {
    margin-left: 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background: url(banner.jpg) no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    background-attachment: fixed;
}

@supports (background-image: url("banner.webp")) {
    .hero {
        background: url(banner.webp) no-repeat center center/cover;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background-color: #28b463;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background: #fff;
    padding: 60px 20px;
    border-top: 5px solid var(--accent-color);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

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

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--background-color);
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 10px;
}

.service-content {
    padding: 20px;
}

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

.service-item p {
    font-size: 1rem;
    line-height: 1.6;
}

.service-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.service-button:hover {
    background-color: #28b463;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Pricing Styles (for Service Cards)
   ========================================================================== */
.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 15px 0;
    background: #e8f4f8;
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.price:hover {
    background: #d0e7f9;
}

.price .normal-price {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--light-text);
    margin-left: 10px;
}

.price del {
    color: var(--light-text);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 100px 20px 60px;
    background: #e8f4f8;
    border-top: 5px solid var(--accent-color);
    margin-top: 60px;
}

.centered-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
    color: var(--text-color);
}

.about-content h2.sub-title {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.about-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 20px;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.contact form {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact form button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact form button:hover {
    background-color: #28b463;
    transform: translateY(-3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #002f5c;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

footer .footer-logo {
    width: 100px;
    display: block;
    margin: 0 auto 10px;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2));
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #28b463;
}

/* ==========================================================================
   Mailchimp Styles
   ========================================================================== */
#mc_embed_signup {
    background: #fff;
    margin: 0 auto;
    padding: 20px;
    max-width: 600px;
    border-radius: 8px;
    font: 14px Helvetica, Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#mc_embed_signup h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mc-field-group {
    margin-bottom: 15px;
}

.mc-field-group label {
    display: block;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.mc-field-group input[type="text"],
.mc-field-group input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.mc-field-group.input-group ul {
    list-style-type: none;
    padding: 0;
}

.mc-field-group.input-group li {
    margin-bottom: 10px;
}

.mc-field-group.input-group input[type="radio"] {
    margin-right: 10px;
}

#mc-embedded-subscribe {
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#mc-embedded-subscribe:hover {
    background-color: #28b463;
}

/* Hide Mailchimp Branding */
.refferal_badge {
    display: none !important;
}

.mc-field-group.input-group strong {
    color: var(--text-color);
    font-weight: bold;
}

/* ==========================================================================
   Success Lab Promotion Section
   ========================================================================== */
.success-lab {
  background: #f9f9f9;
  padding: 40px 0;
  text-align: center;
  border-top: 3px solid #2ecc71;
  margin-bottom: 40px;
}

.success-lab h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.success-lab p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#countdown {
  margin: 20px 0;
}

#countdown h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

#countdown-timer {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e74c3c;
}

.cta-button {
  background: #2ecc71;
  color: #fff;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
}

