@font-face {
    font-family: 'MauritiusCondensed';
    src: url('Mauritius W01 Condensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'MauritiusItalic';
    src: url('Mauritius W01 Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: 'MauritiusCondensed', sans-serif;
    color: #084c61;
    line-height: 1.6;
    background-color: #f7eee3;
  }
  
  p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
  }

  /* Header */
   header {
    background-color: #f7eee3;
    text-decoration: none;
  }
  
  .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 20px 20px;
  background-color: #f7eee3;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-left: auto;
  margin-top: 0;
}

.nav-links li a {
  text-decoration: none;
  list-style: none;
  color: #084c61;
  font-family: Arial, Helvetica, sans-serif;
}

.logo img {
  max-width: 100%;
  background-color: #f7eee3;
  background: none;
  text-align: right;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-right: 20px;
  padding: 0;
  margin-left: auto;
  background-color: #f7eee3;
  text-decoration: none;
}

nav a {
  text-decoration: none;
  color: #084c61;
  position: relative;
  text-align: right;
  background-color: #f7eee3;
}

.navbar a.active {
  border-radius: 1rem;
  background-image: url('ELEMENTS/CIRCLE\ 1.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
  position: relative;
  padding: 15px;
  text-decoration: none;
}

.navbar a:hover {
  text-decoration: none;
}

.content-title {
color: #f7eee3;
font-size: 100px;
font-family: 'MauritiusCondensed', serif;
margin: 0;
line-height: 1;
text-align: center;
text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
}

.content-title.sub {
  margin-top: -0.5rem;
  color: #f7eee3;
  font-family: 'MauritiusItalic', serif;
  font-style: italic;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
  }

  .parallax-section-1 {
    position: relative;
    background-image: url(MODELING/PARRALLEX.jpg);
    width: 100vw;
    height: 540px;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax-section-2 {
  position: relative;
  background-image: url(MODELING/IMG-8664.JPG);
  width: 100vw;
  height: 540px;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parallax-section-3 {
  position: relative;
  background-image: url(MODELING/9Z6A9450\ 2.jpg);
  width: 100vw;
  height: 540px;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parallax-section-4 {
  position: relative;
  background-image: url(MODELING/IMG_9729.JPG);
  width: 100vw;
  height: 540px;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parallax-section-5 {
  position: relative;
  background-image: url(MODELING/IMG_6011.jpg);
  width: 100vw;
  height: 540px;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parallax-section-6 {
  position: relative;
  background-image: url(MODELING/IMG_7593_Original\ copy\ 2.JPG);
  width: 100vw;
  height: 540px;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parallax-section-7 {
  position: relative;
  background-image: url(MODELING/IMG_7981_Original\ copy.JPG);
  width: 100vw;
  height: 540px;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parallax-section-8 {
  position: relative;
  background-image: url(MODELING/IMG_7722_Original\ copy.JPG);
  width: 100vw;
  height: 540px;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parallax-text {
  color: #f7eee3;
  font-size: 3rem;
  text-align: center;
  z-index: 3;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
}

.domain {
  color: #f7eee3;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

.domain:after {
  content: 'vol.1';
  position: absolute;
  top: -110px;
  right: -370px;
  font-size: 1.5rem;
  background-color: #D84727;
  color: white;
  padding: 0 10px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.domain-1 {
  color: #f7eee3;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

.domain-1:after {
  content: 'vol.2';
  position: absolute;
  top: -110px;
  right: -370px;
  font-size: 1.5rem;
  background-color: #D84727;
  color: white;
  padding: 0 10px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.domain-2 {
  color: #f7eee3;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

.domain-2:after {
  content: 'vol.3';
  position: absolute;
  top: -110px;
  right: -370px;
  font-size: 1.5rem;
  background-color: #D84727;
  color: white;
  padding: 0 10px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.domain-3 {
  color: #f7eee3;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

.domain-3:after {
  content: 'vol.3';
  position: absolute;
  top: -110px;
  right: -370px;
  font-size: 1.5rem;
  background-color: #D84727;
  color: white;
  padding: 0 10px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.domain-4 {
  color: #f7eee3;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

.domain-4:after {
  content: 'vol.4';
  position: absolute;
  top: -110px;
  right: -370px;
  font-size: 1.5rem;
  background-color: #D84727;
  color: white;
  padding: 0 10px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.domain-5 {
  color: #f7eee3;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

.domain-5:after {
  content: 'vol.1';
  position: absolute;
  top: -100px;
  right: -130px;
  font-size: 1.5rem;
  background-color: #D84727;
  color: white;
  padding: 0 10px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.domain-6 {
  color: #f7eee3;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

.domain-6:after {
  content: 'vol.2';
  position: absolute;
  top: -100px;
  right: -130px;
  font-size: 1.5rem;
  background-color: #D84727;
  color: white;
  padding: 0 10px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.domain-7 {
  color: #f7eee3;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}

.domain-7:after {
  content: 'vol.3';
  position: absolute;
  top: -100px;
  right: -130px;
  font-size: 1.5rem;
  background-color: #D84727;
  color: white;
  padding: 0 10px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.content {
    background-color:  #f7eee3;
    color: #f7eee3;  
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
    align-items: start;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.content-title {
  color: #f7eee3;
  font-size: 100px;
  font-family: 'MauritiusCondensed', serif;
  margin: 0;
  line-height: 1;
  text-align: center;
}

.content-title.sub {
  margin-top: -0.5rem;
  font-family: 'MauritiusItalic', serif;
  color: #f7eee3;
}

@media (max-width: 1024px) {
  .parallax-section-1,
  .parallax-section-2,
  .parallax-section-3,
  .parallax-section-4,
  .parallax-section-5,
  .parallax-section-6,
  .parallax-section-7,
  .parallax-section-8 {
    background-attachment: scroll !important; /* Force scroll on mobile */
    background-position: center center;
    background-size: cover;
  }
.domain:after, .domain-1:after, .domain-2:after, 
.domain-3:after, .domain-4:after {
  top: -120px;  /* Move higher up */
  right: -150px; /* Move slightly less to the right */
}

.domain-5:after, .domain-6:after, .domain-7:after {
  top: -120px;  /* Move higher up */
  right: -100px; /* Move slightly less to the right */
}

}

@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */
  .parallax-section-1,
  .parallax-section-2,
  .parallax-section-3,
  .parallax-section-4,
  .parallax-section-5,
  .parallax-section-6,
  .parallax-section-7,
  .parallax-section-8 {
    background-attachment: scroll !important;
    background-size: cover;
  }
}

@media (max-width:900px){
    .content img {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width:600px){
    .content img {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:500px){
  .content img {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:400px){
    .content img {
        grid-template-columns: repeat(2, 1fr);
    }
}

.content p {
    font-size: 18px;
    text-align: center;
    font-style: italic;
}

.content img {
        width: 225px;
        height: 325px;
        border-radius: 10px;
        align-self: start;
        position: relative;
        background-color: #f7eee3;
}

.calender{
    background-color: #084c61;
    color: #f7eee3;  
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 0px;
    align-items: start;
    align-self: start;
    position: relative;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.calender p {
    font-size: 18px;
    text-align: center;
    font-style: italic;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin: 1rem 0 0 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 0.5rem;
    background-color: #f7eee3;
    text-align: left;
  }

    h1 {
        font-size: 40px;
    }
    
    .content {
      .content img {
        grid-template-columns: repeat(2, 1fr);
    }
    }
      .parallax-text {
    width: 90%;
    margin: 0 auto;
  }

  .content-title {
    font-size: 60px; /* Smaller font size for mobile */
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
  }

  .content-title.sub {
    font-size: 55px; /* Slightly smaller for subtitle */
  }


  .domain:after, .domain-1:after, .domain-2:after, 
.domain-3:after, .domain-4:after {
  top: -90px;  /* Move higher up */
  right: -110px; /* Move slightly less to the right */
}

.domain-5:after, .domain-6:after, .domain-7:after {
  top: -90px;  /* Move higher up */
  right: -80px; /* Move slightly less to the right */
}
}

footer {
  background-color: #084c61;
  color: #D4F8F8;
  padding: 50px 80px;
  font-family: Arial, Helvetica, sans-serif;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  align-items: flex-start;
}

.footer-contacts {
  flex: 1;
}

.footer-nav {
  flex: 1;
  text-align: right;
}

.socials {
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials li {
  margin-right: 30px;
  margin-bottom: 10px;
}

.footer-contacts a {
  color: #D4F8F8;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #D4F8F8;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copyright {
  border-top: 1px solid rgba(212, 248, 248, 0.2);
  padding-top: 20px;
  text-align: center;
}

#email {
  color: #cbebea;
  cursor: pointer;
}

#email:hover{
  text-decoration: underline;
}

#popup {
  position: absolute;
  background-color: #f7eee3;
  color: #084c61;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 14px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
}

  @media (max-width: 480px) {
    header {
      padding: 1rem;
    }
    
    .navbar {
      flex-direction: column;
    }
    
    nav ul {
      flex-direction: column;
      align-items: center;
      margin-top: 1rem;
    }
  .content-title {
    font-size: 46px; /* Even smaller for very small screens */
  }
  
  .content-title.sub {
    font-size: 42px;
  }

  /* Adjust badge positioning further for very small screens */
  .domain:after, .domain-1:after, .domain-2:after, 
  .domain-3:after, .domain-4:after {
    right: -80px;
    top: -70px;
    font-size: 1.2rem;
  }

  .domain-5:after, .domain-6:after, .domain-7:after {
    right: -50px;
    top: -70px;
    font-size: 1.2rem;
  }

  /* Fix content grid layout for tiny screens */
  .content {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    padding: 15px 10px;
  }
  
  .content img {
    width: 100%;
    height: auto;
    max-width: 225px;
    margin: 0 auto;
  }

  }

  @media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-nav {
    text-align: left;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;       
    align-items: center;       
    justify-content: space-between;      
    padding: 10px 20px;
    font-size: small;
    padding-top: 34px;
  }

  .logo {
    max-width: 120px;
    flex-shrink: 0;
  }

  .logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .nav-links {
    flex-direction: row;       
    gap: 12px;
    margin-left: auto;
    width: auto;
    font-size: small;
  }

  .nav-links li a {
    font-size: 14px;
    padding: 6px 10px;
    background-color: transparent;
    text-align: right;
  }

  .navbar a.active {
    padding: 12px;
  }
}

@media (max-width: 540) {
  .nav-links li a
  {font-size: 12px;}
}

@media (max-width: 768px) {
.navbar {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  padding-top: 35px;
  font-size: small;
}

  .burger {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-left: auto;
  }

  .burger .bar {
    width: 25px;
    height: 3px;
    background-color: #084c61;
    transition: all 0.3s;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 10px;
    background-color: #f7eee3;
    text-align: right;
    border-bottom: 1px solid #084c613b;
  }

  .navbar a.active {
    background-image: none;
    border-radius: 0;
    padding: 12px;
  }
}