﻿/* ========== RESET ========== */
* {
	margin: 0;
	padding: 0;

}
body {
	font-family: Georgia, "Times New Roman", Times, serif;
/*background-color: #FFFFCC;*/
	color: #222;
}

/* ========== HEADER ========== */
#NEheaderWrapper{
  display: flex;
   padding: 5px 25px;
   border-bottom: 2px solid #ccc;
}

#NEheleft {
width: 350px;
	height: 80px;
	padding: 0 15px;
}
#NEStitle {
	align-items: center;
	text-decoration: none;
}

#NELogo {
	height: 45px;
}
#NELogo img { 
 width:50px;
 float:left;
}

#NELogo h2 {
	font-size: 30px;
	float: left;
	padding-top: 10px;
	text-transform: uppercase;
	float: left;
	color: #143B5B;
}

#NESlo{
	color: #333;
	border-bottom: thin grey solid;
	border-top: thin grey solid;
	text-align: center;
}

#NESlo h3{ 
 font-size: .8em;
 padding: 2px;
 color: grey;
}
/* ========== carsole ========== */

#NEcarWrapper{
	background: url('img/Slide1.jpeg') no-repeat fixed center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	overflow-x: hidden;
	margin-bottom: 0;
	height: 80vh;
	
	display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */

  /* OR */
  min-height: 100px; /* Optional: Set a minimum height for the parent */
	
	
	
	
}
    /* --- Carousel Container --- */
    #NE-carousel {
      width: 100%;
      max-width: 600px;
      position: relative;
      overflow: hidden;
      border-radius: 16px;
     /* background: #ffffff;*/
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
      height: 220px;

    }

    /* --- Slides Wrapper --- */
    .slides {
      position: relative;
      width: 100%;
      height: 100%;
    }

    /* --- Individual Slide --- */
    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      text-align: center;
      transition: opacity 1.5s ease;
      animation: fade 18s infinite;
    }

    /* --- Quote Text Styles --- */
    blockquote {
      font-size: 1.25rem;
      font-style: italic;
      color: orangered;
      line-height: 1.6;
      max-width: 90%;
      margin: 0 auto;
    }

    cite {
      display: block;
      margin-top: 12px;
      font-size: 1rem;
      color: whitesmoke;
      font-style: normal;
    }

    /* --- Fade Animation --- */
    @keyframes fade {
      0% { opacity: 0; }
      8% { opacity: 1; }
      33% { opacity: 1; }
      41% { opacity: 0; }
      100% { opacity: 0; }
    }

    /* --- Delay Each Slide --- */
    .slide:nth-child(1) { animation-delay: 0s; }
    .slide:nth-child(2) { animation-delay: 6s; }
    .slide:nth-child(3) { animation-delay: 12s; }

    /* --- Optional: Pause on Hover --- */
    #NE-carousel:hover .slide {
      animation-play-state: paused;
    }

    /* --- Responsive Adjustments --- */
    @media (max-width: 480px) {
      blockquote {
        font-size: 1.1rem;
      }
      cite {
        font-size: 0.9rem;
      }
    }
    
      /* === NAVIGATION === */
  .main-nav {
    background: #222;
    text-align: center;
  }

  .main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-nav li {
    margin: 5px 10px;
  }

  .main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    border-radius: 5px;
    transition: 0.3s;
  }

  .main-nav a:hover {
    background: #444;
  }


/* ========== POPUPS ========== */
   .popup {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.8);
      justify-content: center;
      align-items: center;
      z-index: 1000;
     
    }

    .popup:target {
      display: flex;
    }

    .popup-content {
   background-color: #FFFFCC;
      padding:.5em;
      max-width: 850px;
      max-height: 90vh;
      overflow-y: auto;
      border-radius: 12px;
      position: relative;
      box-shadow: 0 0 25px rgba(0,0,0,0.4);
    }

    .popup .close {
      position: absolute;
      top: 15px;
      right: 20px;
      text-decoration: none;
      font-size: 1.8rem;
      color: #555;
      transition: color 0.3s;
    }

    .popup .close:hover {
      color: #000;
    }

    /* ABOUT POPUP */
.POPRp{
/*	width: 600px;*/
	margin: auto;
	padding: 10px 20px;
	border-radius: 10px;
}

.POPBanhold{
		margin: auto;
}

.POPBaninn h2{
text-transform: uppercase;
  padding: 10px 0;
}

.POPBaninn{
	margin: left;
	border: thin orange solid;
	width:80%;
	padding: 0px 10px;
	border-radius: 5px;
	background-color: #F0851D;
	text-shadow: 3px 2px 3px rgba(255,255,255,.2), 2px 2px 2px rgba(160,89,19,0);
color: #A05913;
background: #F0851D;
}

.POPRp P {
	padding: 5px 15px 15px 5px;
	text-align: justify;
	letter-spacing: 1px;
	line-height: 1.3;
  font-size: 13px;
}

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }

    .grid-item {
      text-align: center;
    }

    .grid-item img {
      width: 200px;
      height: 100px;
      object-fit: contain;
    }

    .grid-item h4 {
      margin: 10px 0 5px;
      color: #0a1a2a;
    }

    /* INTRO POPUP */
    .INHeadWrapper h2 {
      text-align: center;
      margin: 20px 0;
      color: #0a1a2a;
    }

    .INMessCont {
      padding: 10px 0;
      line-height: 1.6;
    }

    .INChrsig img {
      display: block;
      margin: 20px auto;
    }

    .INPopBottombann img {
      display: block;
      width: 100%;
      border-radius: 10px;
      margin-top: 10px;
    }


    /* INTRO POPUP */
.INPOPwrapper{

  padding: 15px;
  width: 600px;
}
.INLogoHolder{
 
  
}
.INLogoHolder img{
  width: 150px;
  height: 150px;;

}
.INHeadWrapper h2 {
      text-align: center;
      margin:  0;
  padding-bottom: 10px;
      color: #0a1a2a;
    }
.INMessCont {
  padding: 2px 0;
  line-height: 1.6;
  font-size: .9em;
  text-align:justify;
    }
.INChrsig img {
      display: block;
      margin:auto;
      float: left;
      width: 150px;
      height: 100px;
    }

    .INPopBottombann img {
      display: block;
      width: 100%; height: 250px;
      border-radius: 1px;
      margin-top:5px;
    }

 /* CONTACT POPUP */

.contatWrapper {
  padding: 10px;

}
.contatWrapper h2{
    padding: 10px;

}
  .content {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
    }
 .left-side, .right-side {
      flex:1;
      min-width: 100px;
    }
    .details {
      margin-bottom: 20px;
    }
    .details .topic {
      font-weight: 600;
      margin-bottom: 5px;
      color: #0a1a2a;
    }
    .topic-text {
      font-size: 1.4rem;
      color: #0a1a2a;
      margin-bottom: 10px;
    }
    form .input-box {
      margin-bottom: 15px;
    }
    form input, form textarea {
      width: 95%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-family: inherit;
    }

    form textarea {
      height: 100px;
      resize: none;
    }

    form .button input {
      background: #0a1a2a;
      color: #fff;
      border: none;
      cursor: pointer;
      padding: 10px 20px;
      border-radius: 5px;
      transition: background 0.3s;
    }

    form .button input:hover {
      background: #143b60;
    }
  



