/*
 Theme Name:   Astra Child
 Template:     astra
*/


/* Under Construction page style */
body {
    font-family: Arial, sans-serif !important;
    background-color: #f3f3f3 !important;
    color: #333 !important;
    text-align: center !important;
    padding-top: 0px !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}
h1 {
    color: #29abe2 !important;
    font-size: 48px !important;
    margin-bottom: 20px !important;
}
p {
    font-size: 20px !important;
    margin: 0 !important;
}




/* ---------- Under Construction page style ---------- */
.megl-under-construction {
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
    color: #333;
    text-align: center;
    padding: 120px 20px;
    margin: 0;
    min-height: 100vh;
}
.megl-under-construction h1 {
    color: #29abe2;
    font-size: 42px;
    margin-bottom: 12px;
}
.megl-under-construction p { font-size: 20px; margin: 0; }

/* ---------- Site layout styles (home shortcode) ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }

.megl-hero { background: #fff; padding: 80px 15px; text-align: center; }
.megl-hero h1 { font-size: 36px; color: #0b2b4a; margin-bottom: 10px; }
.megl-hero .tagline { font-size: 18px; color: #555; margin-bottom: 18px; }
.megl-cta { display: inline-block; padding: 12px 20px; background: #29abe2; color: #fff; text-decoration: none; border-radius: 6px; }

.megl-services { padding: 60px 15px; background: #f7f8fa; }
.megl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.megl-card { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); text-align: left; }

.megl-about { padding: 40px 15px; background: #fff; text-align: center; }
.megl-contact { padding: 40px 15px; background: #fff; text-align: center; }

#megl-footer-info { border-top: 1px solid rgba(0,0,0,0.06); background: #fafafa; }

/* Responsive */
@media (max-width: 600px) {
    .megl-hero h1 { font-size: 28px; }
}



/* Footer styling */
/* Footer Styling */
.site-footer {
  background: #1c2d5a;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  width: 100%;          /* Full width */
  clear: both;          /* Push below floats */
  display: block;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;       /* Center align */
}

.footer-logo {
  height: 40px;
  margin-bottom: 15px;
}

.footer-nav {
  margin: 15px 0;
}

.footer-nav a {
  margin: 0 12px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #29abe2;
}


/* General Reset */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fb;
}
h1, h2, h3 {
  color: #1c2d5a;
  margin-top: 0;
}
a {
  text-decoration: none;
  color: inherit;
}






/* General Styles */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fb;
}
h1, h2, h3 { color: #1c2d5a; margin-top: 0; }
a { text-decoration: none; color: inherit; }



/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1c2d5a, #29abe2);
  color: #fff;
}
.hero h2 { font-size: 40px; margin-bottom: 15px; }
.hero p { font-size: 20px; margin-bottom: 30px; }
.hero .buttons a {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 6px;
  font-weight: 600;
  background: #fff;
  color: #1c2d5a;
  transition: all 0.3s ease;
}
.hero .buttons a:hover { background: #29abe2; color: #fff; }

/* About */
.about { max-width: 1000px; margin: 50px auto; padding: 0 20px; text-align: center; }
.about p { font-size: 18px; margin-bottom: 25px; }
.about ul { list-style: none; padding: 0; }
.about ul li {
  background: #fff;
  margin: 10px 0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-size: 17px;
}

/* Services */
.services { max-width: 1100px; margin: 50px auto; padding: 0 20px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); }
.card h3 { margin-bottom: 10px; font-size: 20px; }

/* CTA */
.cta {
  text-align: center;
  padding: 60px 20px;
  background: #29abe2;
  color: #fff;
}
.cta h2 { font-size: 28px; margin-bottom: 15px; }
.cta a {
  display: inline-block;
  padding: 12px 25px;
  background: #1c2d5a;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 15px;
  transition: background 0.3s ease;
}
.cta a:hover { background: #0f1b3d; }

/* Footer */
footer {
  background: #1c2d5a;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}
footer nav { margin: 10px 0; }
footer nav a { margin: 0 10px; color: #fff; font-weight: 500; }
footer nav a:hover { text-decoration: underline; }



/* Ensure footer stays at bottom for Astra theme */
html, body {
    height: 100%;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content {
    flex: 1;
}

/* Your existing footer styles - keep these */
.site-footer {
    background: #1c2d5a;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    margin-top: auto; /* This pushes footer to bottom */
}

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

.footer-logo {
    max-width: 100px;   /* Adjust width */
    height: auto;       /* Keeps proportions */
    display: block;
    margin: 0 auto 20px;  /* Center + spacing */
}

@media (max-width: 768px) {
    .footer-logo {
        max-width: 100px;
    }
}


.footer-nav {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-nav a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #29abe2;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        gap: 8px;
    }
}
