* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

a:link, a{
	color: #2B1578;
}

.nav {
	width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 20px;
  background: #fff;
  position: fixed;
	border-bottom: #2A4072 2px solid;
}

/* ===== LAYOUT ===== */
.main-content {
	padding: 100px 10px 20px 10px;;
	flex: 1;
}

.logo {
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.logo img {
    width: 100px;
	height: inherit;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: #34317F;
	font-weight: bold;
  text-decoration: none;
}

.hero {
  display: flex;
	flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #facc15, #3C5BED);
  color: white;
  gap: 30px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 15px;
}

/* Make all cards consistent */
.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);

  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Fix image alignment */
.card img {
  width: 100%;
  height: 220px;        /* key fix */
  object-fit: cover;    /* keeps images proportional */
  border-radius: 10px;
  margin-bottom: 15px;
  display: block;
}

/* Ensure grid items align evenly */
.services-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: stretch; /* important */
}

/* Keep content spacing consistent */
.card ul {
  margin-top: 10px;
  padding-left: 18px;
}

.card ul li {
  margin-bottom: 6px;
}

.btn {
  display: inline-block;
  background: gold;
  color: #2B1578;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

.feature {
  background: #f9fafb;
  padding: 20px;
  border-radius: 10px;
}

.cta {
  text-align: center;
  padding: 50px 20px;
  background:#2B1578;
  color: white;
}

/* CONTACT FORM IMPROVEMENT */
.contact-form {
  max-width: 800px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-row {
    flex-direction: row;
  }

/* Checkbox container */
.checkbox-group {
  margin: 15px 0 20px;
}

/* Each row */
.checkbox-group label {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  column-gap: 10px;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
  color: #333;

  margin-bottom: 12px;
  cursor: pointer;
}

/* Checkbox */
.checkbox-group input[type="checkbox"] {
  margin: 2px 0 0 0;
  width: 16px;
  height: 16px;
}


/* Inputs styling */
.contact-form input,
.contact-form select,
.contact-form textarea {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  width: 100%;
}

/* Textarea tweak */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button */
.contact-form button {
  background: #2B1578;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #15803d;
}

/* Contact details section */
.contact-details {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
	position: relative;
}

.contact-details h2 {
  margin-bottom: 15px;
}

.contact-details p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-details a {
  color: #16a34a;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-details img{
	position: absolute;
	width: 100px;
	right: 5px;
	bottom: 5px;
}


/* PRIVACY POLICY */
.privacy-container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
  line-height: 1.8;
}

.privacy-container h2 {
  margin-top: 35px;
  margin-bottom: 12px;
  color: #111;
  font-size: 24px;
}

.privacy-container p,
.privacy-container li {
  color: #444;
  font-size: 16px;
}

.privacy-container ul {
  padding-left: 20px;
  margin-top: 10px;
}

.privacy-container a {
  color: #16a34a;
  text-decoration: none;
}

.privacy-container a:hover {
  text-decoration: underline;
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    justify-content: space-around;
    padding: 12px;
    z-index: 1000;
  }

  .mobile-action-bar a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
  }
}

/* Mobile fix (stack fields) */
@media (max-width: 768px) {
  .contact-form .form-row {
    flex-direction: column;
  }
}

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px;
}

@media(max-width:768px) {
  .menu-toggle {
      display: block;
	  color: #000;
  }

    nav ul {
    display: none;
    flex-direction: column;
    background:#DFF466;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
	margin-top: 20px;
		z-index: 999;
  }
	
  nav ul li{
	  border-bottom: #000000 1px dotted;
	  padding-left: 5px;
	  line-height: 25px;
  }

  nav ul.active {
    display: flex;
  }
	.hero{
		flex-direction: column;
	}

  .hero-text h1 {
    font-size: 32px;
  }
	
	.hero-image {
	  flex: 1;
	  width: 100%;
	}
}