/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

nav ul a,
nav .brand-logo {
  color:#FFFFFF;
}

p {
  line-height: 2rem;
}

.button-collapse {
  color: #26a69a;
}

.parallax-container {
  min-height: 380px;
  line-height: 0;
  height: auto;
  color: rgba(255,255,255,.9);
}
  .parallax-container .section {
    width: 100%;
  }
  
/* Removes any phantom lines from the parallax image */
.parallax img {
    min-width: 100.5% !important; /* Forces overlap to hide sub-pixel gaps */

}  
  

@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #index-banner .section {
    top: 10%;
  }
}

@media only screen and (max-width : 600px) {
  #index-banner .section {
    top: 0;
  }
}

@media only screen and (min-width: 601px) {
  nav.nav-extended .nav-wrapper {
    min-height: 76px;
  }
  nav, nav .nav-wrapper i, nav a.sidenav-trigger, nav a.sidenav-trigger i {
    height: 76px;
    line-height: 76px;
  }
  .navbar-fixed {
    height: 76px;
  }
}


.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
  font-size: inherit;
}

.justify-align {
  text-align: justify;
}

.logo-margin-left {
	margin:0px 0px 0px 40px;
}

.navbtn-margin-right {
	margin-right:10px ;
}

/* Customisation for navigation background colour */
.cetacean-blue {
  background-color: #001333 !important;
}

/* Light blue colour when hovering over menu items */
nav ul a:hover {
  background-color: rgba(138, 192, 249, 0.7);
}


/* --- Applies to all desktop/mobile --- */
footer.page-footer {
	margin: 0;
}
.footer-container {
	max-width: 1536px;
	width: 100%;
	padding: 0 15px;
}

footer.page-footer p {
  font-size: 12px;
  color: #ffffff;
  line-height: 1rem;
  margin: 5px 0 10px 0;
}

footer.page-footer span.bright {
	color: #FEE5C3;
	font-weight: 600;
}
.social-container {
	display: flex;
	gap: 15px;
}

.menu-column-footer {
	display: flex;
	flex-direction: column;
}

/* --- Stacking & Centering for mobile --- */
@media only screen and (max-width: 992px) {
  footer.page-footer {
	  height: auto;
	  padding-bottom: 30px;
	  text-align: center;
  }
  
  .footer-left-content { 
    display: flex; flex-direction: column; align-items: center; 
  }
  
  footer.page-footer img { display: block; margin: 0 auto 15px auto; }
  
  .social-column-center, .menu-column-footer {
    display: flex; justify-content: center; align-items: center; margin-top: 20px;
  }
}

/* --- Equal spacing & Centering for desktop --- */
@media only screen and (min-width: 993px) {
  .footer-container {
	  padding-left: 206px;
	  padding-right: 6px;
  }
  footer.page-footer { height: 235px; }

  /* Left: Image next to text */
  .footer-left-content { 
    display: flex; flex-direction: row; align-items: flex-start; padding-top: 40px; 
  }
  .footer-left-content img { margin-right: 20px; }

  /* Middle: True center alignment */
  .social-column-center {
    display: flex; justify-content: center; align-items: center; height: 235px;
  }

  /* Right: Aligned to the start of its column */
  .menu-column-footer { align-items: flex-start; padding-top: 40px; }
}


/* Align the icon's visual edge with the text */
.menu-column-footer .material-icons {
    margin-left: -3px; 
    margin-bottom: 1px; /* Adjust this to change vertical gap */
}

/* Strip all default browser spacing from the list */
.menu-column-footer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* Tighten line spacing between links */
.menu-column-footer ul li {
    line-height: 1.4;
}

/* Base link style */
.menu-column ul li a {
    transition: all 0.3s ease; /* Makes the hover effect smooth */

}

/* Hover effect: change color */
.menu-column-footer ul li a:hover {
    color: #0d47a1 !important; /* Materialize Amber color or any color you like */
  
}

.social-container a img {
    filter: grayscale(100%);
    opacity: 0.6; /* Makes them look "lightened" against the teal */
    transition: all 0.3s ease; /* Smooth transition for the hover */
    height: 30px; /* Adjust size as needed */
}

/* Hover state: Full color and fully bright */
.social-container a img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1); /* Optional: slight pop effect */
}

/* Add a solid color #333333 to the main footer to prevent white showing through */
footer.page-footer {
  background-color: #333333; /* Use main footer color */
  padding-top: 0;
  margin: 0;
}

/* Remove the gap caused by Materialize row margins */
footer.page-footer .row {
  margin-bottom: 0 !important;
}

/* Customise the Copyright Bar */

footer.page-footer .footer-copyright {
  background-color: #048e81 !important; /* Forces your specific green */
  height: 50px !important;
  line-height: 50px !important;
  padding: 0 !important; /* Removes Materialize's default padding */
  overflow: hidden;
}

/* Ensure the container inside the copyright doesn't add extra space */
footer.page-footer .footer-copyright .footer-container {
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
}

footer.page-footer .footer-copyright span {
  color: #ffffff !important;
  font-size: 12px;
}


/* Cusotmise link inside Copyright */
footer.page-footer .footer-copyright a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 300;
}

/* Change color on hover */
footer.page-footer .footer-copyright a:hover {
    color: #0d47a1 !important; /* Changes to deep blue on hover */
    text-decoration: underline;
}


