/* Fonts */
@font-face {
  font-family: 'Segoe';
  src: url('fonts/segoepr.ttf') format('truetype');
}

@font-face {
  font-family: 'ChaparralItalicLight';
  src: url('fonts/chaparralpro-lightit.otf') format('opentype');
}

/* General body */
body {
  margin: 0;
  font-family: 'ChaparralItalicLight', serif;
  background-color: #eeeeee; /* gri deschis */
  color: #333;
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Header image */
header img.header-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 250px;
}

/* Section setup */
.section {
  padding: 60px 20px;
  margin: 40px auto;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border-radius: 12px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
}

/* Profile image */
.profile-img {
  width: 150px;
  border-radius: 12px;
  float: left;
  margin-right: 20px;
}

/* Titles */
h2 {
  font-family: 'Segoe', sans-serif;
  font-size: 30px;
  text-align: center;
  margin-top: 0;
}

/* Icons inside titles */
h2 img.icon, h3 img.icon {
  height: 60px;
  width: auto;
  vertical-align: middle;
}

/* Contact Title */
h2.contact-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Contact icon */
.contact-icon {
  height: 60px;
  width: auto;
}

/* Subtitle under titles */
.subtitle {
  text-align: center;
  font-size: 22px;
  font-family: 'Segoe', sans-serif;
  margin-bottom: 30px;
}

/* Paragraphs */
p {
  font-size: 19px;
}

/* Bullets */
.bullets {
  list-style: none;
  padding: 0;
}

.bullets li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 19px;
}

.bullets img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* Services grid */
.services-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Service box */
.service {
  flex: 1;
  background: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  min-width: 280px;
}

/* Service image */
.service img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Service title */
.service h3 {
  font-family: 'Segoe', sans-serif;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Contact grid */
.contact-grid {
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

/* Left and right side of Contact */
.left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.right {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Contact items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-item a img {
  width: 300px;
  height: auto;
}

/* Small icons */
.small-icon {
  width: 50px; 
  height: 50px;
}

/* QR code */
.qr-img {
  width: 300px;
  height: auto;
}

/* Bottom logo */
.bottom-logo img, .bottom-logo .colegiu-img {
  width: 120px;
  margin: 30px auto 0 auto;
  display: block;
}

/* Scroll Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1001;
}

/* ------------------- Mobile Responsive ------------------- */
@media (max-width: 768px) {

  .services-grid,
  .contact-grid {
    flex-direction: column;
    gap: 20px;
  }

  .left, .right {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
  }

  .contact-item a img {
    width: 90%;
    max-width: 300px;
    height: auto;
  }

  .profile-img {
    float: none;
    margin: 0 auto 20px;
    display: block;
    width: 150px;
  }
}

footer {
text-align: center;
font-size: 0.9em;
color: #777;
margin-top: 50px;
padding: 20px 0;
}