/* Regular */
@font-face {
  font-family: 'comic sans ms';
  src: url('/fonts/comic.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'comic sans ms';
  src: url('/fonts/comicbd.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Italic */
@font-face {
  font-family: 'comic sans ms';
  src: url('/fonts/comici.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* Bold Italic */
@font-face {
  font-family: 'comic sans ms';
  src: url('/fonts/comicz.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
}
.page-title {
    text-align: left; /* Completely aligns text to the left */
    font-family: "comic sans ms", sans-serif; /* Professional-looking font */
    color: #ffffff; /* Keeps text pure white */
    width:60%;        
    margin-bottom: 240px; /* Adjusted spacing to keep it clean */
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
    .page-title {
         font-family: "comic sans ms", sans-serif;
        font-size: 24px; /* Reduces font size for smaller screens */
        width: 90%; /* Allows better readability on mobile */
        margin-bottom: 200px; /* Reduces spacing for compact view */
        
        }
}
.brand-text, .tm-text {
    font-family: "Adolfine", sans-serif !important; /* Set to normal Arial */
    color: #FFFFFF; /* Ensures pure white color */
}
/* Navbar Styling */
.navbar {
    background: linear-gradient(45deg, rgba(0, 0, 0, 1), rgba(10, 10, 10, 1));
    box-shadow: 0px 0px 50px rgba(0, 0, 255, 1);
    height: 55px; /* Maintained height */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Fixes alignment */
    padding: 0 20px;
}

/* Fix Navbar Brand Alignment */
.navbar-brand {
    font-size: 28px;
    font-weight: bold;
    color: #FFFFFF !important;
    font-family: "Arial", sans-serif;
    position: relative; /* Keeps it properly positioned */
    left: 20px; /* Moves brand name slightly to the left */
    top:-5px;
    
}

/* Fix Navbar Links Alignment */
.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center; /* Ensures menu stays on the right */
    gap:30;
    width:auto;
    position:relative;
    top:-5px;
}

/* Navbar Links - Styled in Comic Sans MS */
.navbar-nav li a {
    font-family: "Comic Sans MS", cursive, sans-serif;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 15px;
   box-sizing:border-box;
list-style:none;
 text-transform: capitalize;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

/* Hover Effect for Navbar Links */
.navbar-nav li a:hover {
    color:   #66B2FF; /* Changes text color to gold (or any desired color) */
    background:none;
    border:none;
    outline:none;
}


/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body font and background */
body {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  background-color: #000;
  color: #fff;
}

/* Search Form in Navbar */
.navbar form[role="search"] {
  display: flex;
  align-items: center;
  margin-left: auto;
  position: relative;
  top:-2.5px;  
  gap:30;
  width:auto;
  border-radius: 30px;
  background-color: #fff;
  padding: 4px 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Input group wrapper for rounded pill effect */
.navbar form[role="search"] .input-group {
  display: flex;
  border-radius: 30px;
  overflow: hidden;
}

/* Input field */
.navbar form[role="search"] input[type="search"] {
  border: none;
  outline: none;
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 0;
  width: 250px;
  font-family: inherit;
}

/* Submit button */
.navbar form[role="search"] button {
  background-color: transparent;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Magnifying icon */
.navbar form[role="search"] i {
  color:rgba(0, 0, 255, 1);
  font-size: 16px;
}

/* Optional focus style */
.navbar form[role="search"] input[type="search"]:focus {
  box-shadow: none;
}
@media (max-width: 768px) {
  .navbar form[role="search"] {
    display: none;
  }
}
/* Mobile-specific styles */
@media (max-width: 768px) {
    .navbar-nav {
        display: none; /* Initially hides the menu */
    }
  .navbar-brand {
        top: 10px; /* Moves the brand logo downward */
left: 5px;        
display: block; /* Ensures visibility */
        text-align: center; /* Optional: Center text */
    }
    .navbar-nav.active {
        display: flex; /* Displays the menu when toggled */
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 200px;
        border-radius: 5px;
    }
/* Show toggle button only on mobile */
    .toggle {
        display: block;
    }
}

/* Hide toggle button in desktop view */
@media (min-width: 769px) {
    .toggle {
        display: none;
    }
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Comic Sans MS", sans-serif; /* Apply Comic Sans MS globally */
}

body {
    background-color: #000000; /* Deep midnight black */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Sidebar Menu - Positioned on the Right */
.slide {
    height: 100%;
    width: 180px;
    position: fixed;
    right: -180px; /* Initially hidden */
    top: 0;
    background-color: #000000; 
    transition: 0.5s ease-in-out; /* Smooth sliding animation */
    padding-top: 20px;
}


/* Sidebar Header (Menu) */
h1 {
    color: #FFFFFF; /* Pure white */
    font-weight: bold; /* Makes text bold */
    font-size: 24px; /* Adjust size if needed */
    text-align: center;
    padding: 10px 0;
    pointer-events: none;
}


/* Sidebar Links */
ul {
    padding: 0;
}

ul li {
    list-style: none;
    padding: 10px;
    text-align: center;
}

ul li a {
    color: #FFFFFF; 
    font-weight: bold;
    display: block;
    text-transform: capitalize;
    text-decoration: none;
    transition: 0.2s ease-out;
    padding: 8px;
}

ul li:hover a {
    color:   #66B2FF; /* Changes text color to gold (or any desired color) */
    background:none;
    border:none;
    outline:none;

}

/* Toggle Button - Positioned on the Right */
.toggle {
    position: absolute;
    height: 24px; /* Smaller button */
    width: 28px;
    top: 18px;
    right: 15px; /* Moved to right */
    z-index: 2;
    cursor: pointer;
    background: none;
    border: none;
}

/* Smaller Toggle Lines */
.toggle .common {
    position: absolute;
    height: 2px; /* Thinner lines */
    width: 24px;
    border-radius: 50px;
    background-color: #FFFFFF;
    transition: 0.3s ease;
}

.toggle .topline {
    top: 6px;
    right: 50%;
    transform: translateX(50%);
}

.toggle .bottomline {
    top: 16px;
    right: 50%;
    transform: translateX(50%);
}

/* Animation for Sidebar Slide */
input {
    display: none;
}

input:checked ~ .slide {
    right: 0; /* Sidebar slides in from the right */
    box-shadow: 0px 0px 50px rgba(0, 0, 255, 1); }

input:checked ~ .toggle .topline {
    top: 10px;
    width: 24px;
    transform: rotate(-45deg);
}

input:checked ~ .toggle .bottomline {
    top: 10px;
    width: 24px;
    transform: rotate(45deg);
}
/* Background Section */
.section_top {
    position: relative;
    width: 100%;
    height: 100vh; /* full viewport height */
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: 100;
    text-align: center;
    display: flex;
    flex-direction: column; /* stack children vertically */
    justify-content: space-between; /* push title up, button down */
    align-items: center;
}

/* Background Layers */
.bg-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0; /* keep behind content */
}

.bg-layer.active {
    opacity: 1;
}

/* Page Title */
.page-title {
    position: relative;
    z-index: 2; /* ensure text stays above fading backgrounds */
    margin: 80px 0;
    padding: 0 10px;
    max-width: 90%; /* prevent text from stretching edge-to-edge */
    line-height: 1.5; /* improve readability */
}

/* Centered Content */
.content {
    position: relative; /* keep button above backgrounds */
    z-index: 1;
    margin-bottom: 40px;
    text-align: center;
    width: max-content;
}

/* Button Styling */
.content a {
    background: rgba(0, 0, 255, 1);
    padding: 10px 24px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 20px;
    color: white;
}

.content a:hover {
    background: rgba(0, 0, 150, 1);
    color: #fff;
}

/* --- Responsive Rules --- */

/* General small screens */
@media screen and (max-width: 320px) {
    .content {
        font-weight: 40;
    }
}

/* Chrome-specific hack for mobile */
@supports (-webkit-touch-callout: none) {
  @media screen and (max-width: 480px) {
    .content {
      margin-bottom: 80px; /* move button upwards only in Chrome mobile */
    }
  }

  @media screen and (max-width: 320px) {
    .content {
      font-weight: 40; /* Chrome small screens also get font-weight */
    }
  }
}