/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*------------------------------------My style starts----------------
---------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*--------------------------------------------------------------------------------------*/
	/*-------------------------------layout-----------------------------------------------*/
body{
	/* background-color:honeydew; */
	font-family:"Arimo",Georgia, 'Times New Roman', Times, serif ;
    line-height: 1.6;
	overflow-x: hidden;
}


     /*----------------------------------navigation------------
     ---------------------------*/

/* ===== Header ===== */
header {
  background-color: #efefef;
  padding: 0.75rem 1rem;
}

/* ===== Nav ===== */
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
header nav img {
  width: 100px;
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Hamburger icon */
header nav label {
  font-size: 1.8rem;
  cursor: pointer;
  color: #374151;
}

/* Menu (hidden on mobile) */
header nav ul {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #efefef;
  display: none;
  flex-direction: column;
  border-top: 1px solid #e5e7eb;
}

/* Show menu when checked */
#menu-toggle:checked + label + ul {
  display: flex;
}

/* Menu items */
header nav ul li {
  text-align: center;
}

header nav ul li a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: #374151;
  font-size: 1rem;
  font-weight: 500;
}

header nav ul li a:hover {
  color: #ff681a;
}



/*----------------------------HOME SECTION-----------
------------------*/
.home{
	padding: 0 1rem;
}

 .home section:first-of-type{
	background: url(images/bg.jpg);
	min-height: auto;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 92vh;
	margin-bottom: 2rem;
 }

.home section:first-of-type h1 {
  color: white;
  display: flex;
  justify-content: flex-end;   
  align-items: center;
  height: 100%;
  padding-right: 2rem;        
  font-size: 4rem;
  font-weight: 700;
  font-family: "DM Serif Text", Cambria, Cochin, Georgia, serif;
  text-shadow: 2px 2px 4px #000000;
}


/* ===== Section ===== */
main.home section:nth-of-type(2) {
  padding: 2rem 1rem;
  background-color: #f9fafb;
}

main.home section:nth-of-type(2) > h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: "DM Serif Text", Cambria, Cochin, Georgia, serif;
  font-size: 2rem;
  color: #111827;
}

/* ===== Grid container ===== */
main.home section:nth-of-type(2) > div {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: 1.25rem;
}

/* ===== Card ===== */
main.home section:nth-of-type(2) article {
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;;
}

main.home section:nth-of-type(2) article:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Image */
main.home section:nth-of-type(2) article img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Text */
main.home section:nth-of-type(2) article h3 {
  padding: 1rem 1rem 0.25rem;
  font-size: 1.2rem;
  color: #111827;
  font-family: "DM Serif Text", Cambria, Cochin, Georgia, serif;
}

main.home section:nth-of-type(2) article p {
  padding: 0 1rem 1.25rem;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
}

/* ===== Brand Section ===== */
main.home section:nth-of-type(3) {
  padding: 2.5rem 1rem;
  background-color: #f9fafb;
}

main.home section:nth-of-type(3) > h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: "DM Serif Text", Cambria, Cochin, Georgia, serif;
  font-size: 2rem;
  color: #111827;
}

/* ===== Grid ===== */
main.home section:nth-of-type(3) > div {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* mobile */
  gap: 1.5rem;
  justify-items: center;
}

/* ===== Brand Card ===== */
main.home section:nth-of-type(3) figure {
  width: 260px;
  text-align: center;
}

main section:nth-of-type(3) img {
  width: 100%;
  height: auto;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

main.home section:nth-of-type(3) figure:hover img {
  transform: scale(1.05);
}

main section:nth-of-type(3) figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-family: "DM Serif Text", Georgia, serif;
  color: #374151;
}

/* ===== Why Choose Us Section ===== */
main.home section:nth-of-type(4) {
  padding: 2.5rem 1rem;
  background-color: #ffffff;
}

main section:nth-of-type(4) > h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: "DM Serif Text", Cambria, Cochin, Georgia, serif;
  font-size: 2rem;
  color: #111827;
}


main.home section:nth-of-type(4) ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr; 
  gap: 1rem;
}


main.home section:nth-of-type(4) li {
  padding: 1rem 1.25rem;
  background-color: #f9fafb;
  border-radius: 10px;
  font-family: "Arimo", Arial, sans-serif;
  font-size: 1rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

main.home section:nth-of-type(4) li::before {
  content: "✔";
  color: #ff681a;
  font-weight: bold;
}

/* MAP SECTION */
.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  width: 100%;
}






/*----------------------------------LOCATE US SECTION---------
------------- */
.locateus{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem 1rem;
	gap: 1rem;
}
 .locateus section{
	text-align: center;
 }		
.locateus section h2 {
  margin-bottom: 1.5rem;
  font-family: "DM Serif Text", Cambria, Cochin, Georgia, serif;
  font-size: 2rem;
  color: #111827;	
}	


/*------------------ABOUT US SECTION-------------
---------------------*/


/* ===== About Us Zig-Zag ===== */
.aboutus {
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.aboutus section {
  display: flex;
  flex-direction: column; /* mobile stack */
  gap: 1.5rem;
}

.aboutus figure {
  margin: 0;
}

.aboutus img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

/* Text */
.aboutus h1,
.aboutus h2 {
  color: #111827;
  margin-bottom: 0.75rem;
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 1.3rem;


}

.aboutus p {
  font-family: "Arimo", Arial, sans-serif;
  line-height: 1.7;
  color: #374151;
}



/*-------------------------SERVICE SECTION----------
------------------------*/

/* ===== Services Page ===== */
main.services section:first-of-type {
  padding: 2.5rem 1rem;
  background-color: #f9fafb;
}

/* Page heading */
main.services h1 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 2rem;
  color: #111827;
  font-family: "DM Serif Text", Georgia, serif;
}

/* Services list */
main.services ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: 1.5rem;
}

/* Service card */
main.services li {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main.services li:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Service title */
main.services li h2 {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

/* Service description */
main.services li p {
  font-family: "Arimo", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}


/*--------------------------------FOOTER SECTION------
-----------------------*/
/* ===== Footer ===== */
footer {
  background-color: #efefef;
  text-align: center;
  padding: 1.5rem 1rem;
}

/* Footer text */
footer p {
  margin: 0.3rem 0;
  font-family: "Arimo", Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Slight emphasis on name */
footer p:first-of-type {
  font-weight: 600;
}




/*-------------------------------------Media queries-----
-------------------------------*/

/* Tablets and above */
@media (min-width: 768px) {
 header {
    padding: 0.75rem 6rem;
  }

  /* Hide hamburger */
  header nav label {
    display: none;
  }

  header nav {
    flex-direction: row-reverse; /* 👈 logo goes right */
  }

  header nav ul {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    width: auto;
    border: none;
  }


/* HOME....... */
	.home{
		padding: 0 3rem;
	}

	main.home section:nth-of-type(2) > div {
		grid-template-columns: repeat(3, 1fr);
	}

	main.home section:nth-of-type(3) > div {
		grid-template-columns: repeat(2, 1fr);
	}

	main.home section:nth-of-type(4) ul {
    grid-template-columns: repeat(2, 1fr);
   } 

/* ABOUT US */
	.aboutus {
		max-width: 1100px;
		margin: 0 auto;
	}

	.aboutus section {
		flex-direction: row;
		align-items: center;
		gap: 3rem;
	}

	.aboutus section figure,
	.aboutus section div {
		flex: 1;
	}

	.aboutus section:nth-of-type(even) {
		flex-direction: row-reverse;
	}


/* SERVICE SECTION */
	main.services ul {
		grid-template-columns: repeat(2, 1fr);
	}


/* FOOTER SECTION */
	footer {
		padding: 2rem 1rem;
	}

	footer p {
		font-size: 0.9rem;
	}

}


/* Large screens */
@media (min-width: 1024px) {

	main.home section:nth-of-type(2) > div {
	grid-template-columns: repeat(4, 1fr);
	}

	main.home section:nth-of-type(3) > div {
		grid-template-columns: repeat(3, 1fr); 
	}

	main.home section:nth-of-type(4) ul {
		grid-template-columns: repeat(3, 1fr);
	}

	main.services section:first-of-type ul {
		grid-template-columns: repeat(3, 1fr);
	}

	main.services ul {
		grid-template-columns: repeat(3, 1fr);
	}

		.locateus{
		flex-direction: row;
	}
	.locateus section{
		width: 50%;
		text-align: center;
	}	

}

/* Extra large screens */
@media (min-width: 1200px) {

.home{
	padding: 0 6rem;
}


}