/* RESET CSS START */

/* Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
}

body {
  /* Add accessible line-height */
  line-height: 1.5;
  /* Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/* Create a root stacking context - for JS framework */
#root, #__next {
  isolation: isolate;
}

/* RESET CSS END */


body {
  font-family: 'Arial', sans-serif;
  color: #262626;
}

/* Header Styles */
header {
  background-color: #ffffff;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  clip-path: inset(0px -5px 0px -5px);
}

header img {
  max-width: 171px;
}

header .logo a {
display: inline-block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  background-color: #4945d2;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: #3532a7;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(73, 69, 210, 0.3);
}

/* Main Content Styles */
main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem 1rem;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  clip-path: inset(0px -5px 0px -5px);
}

/* Main Title Styles */
main h1 {
text-align: center;
font-size: 2.5rem;
color: #444;
margin-bottom: 2rem;
}

section:last-child {
  margin-bottom: 0;
}

.image-gallery {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.image-gallery img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

.section1 {
  margin-bottom: 4rem;
}

.section2,
.section3 {
  margin-bottom: 4rem;
  padding: 2rem 5%;
  background-color: #ccc;
  border-radius: 10px;
}
.section2 .content,
.section3 .content {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.section2 .text,
.section3 .text {
  flex: 1;
  min-width: 300px;
}

.section2 h2,
.section3 h2 {
  margin-bottom: 1rem;
  color: #333;
}

.section2 .image img,
.section3 .image img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Banner Styles */
.banner {
  width: 100%;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
  min-height: 250px;
  display: block;
  object-fit: cover;
}

/* Footer Styles */
footer {
  background-color: #333;
}

footer > div {
  color: white;
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

footer .links {
  display: flex;
  gap: 2rem;
}

footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #a5b4fd;
}

/* Responsive Design */
@media (max-width: 956px) {
  .section2 .image,
  .section3 .image {
    order: 1;
  }
}

@media (max-width: 768px) {
  .section2 .content,
  .section3 .content {
    flex-direction: column;
    text-align: center;
  }
  
  footer > div {
    flex-direction: column-reverse;
    gap: 1.2rem;
    text-align: center;
  }
}