/* General Styles */
body {
  font-family: "Roboto", sans-serif;
  background: #111827 url("./bg.webp") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

h2,
h4 {
  color: #ffffff;
  font-weight: 600;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

button {
  transition: all 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Custom File Input Button */
#photoUpload {
  display: none; /* Hide the default file input button */
}

/* Canvas Styling */
#photoCanvas {
  border-radius: 10px; /* Rounded corners */
  overflow: hidden;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

/* Crop Modal Styling */
#cropModal {
  display: none;
  position: fixed;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 400px;
  background: white;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow: hidden;
}

#cropImage {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
}

/* Button Styling */
.btn {
  border-radius: 5px;
}

/* Modal Image Styling */
#cropModal img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Styles */
@media (max-width: 768px) {
  #cropModal {
    width: 90%;
    height: 400px;
  }

  #photoCanvas {
    width: 100%;
    height: auto;
  }
}

/* Header Section */
header {
  position: relative; /* Allows child absolute positioning */
}

/* Horizontal Flag Lines Fixed at Header Bottom */
.header-lines {
  position: absolute;
  bottom: 0; /* Aligns lines to the bottom of the header */
  width: 100%; /* Ensures lines span the full width of the header */
  display: flex;
  flex-direction: column;
}

/* Horizontal Flag Lines Fixed at Footer Top */
.footer-lines {
  position: relative; /* Keeps the lines at the top of the footer */
  top: 0; /* Aligns lines to the top of the footer */
  width: 100%; /* Ensures lines span the full width of the footer */
  display: flex;
  flex-direction: column;
}

.line {
  width: 100%; /* Full width */
  height: 3px; /* Height of each line */
}

.saffron {
  background-color: #ff9933; /* Saffron color */
}

.white {
  background-color: #ffffff; /* White color */
}

.green {
  background-color: #138808; /* Green color */
}

@font-face {
    font-family: "Akshar";
    src: url("./fonts/Akshar.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.specialHeaderFonts {
    font-family: "Akshar", sans-serif;
}

@font-face {
    font-family: "Jost";
    src: url("./fonts/Jost.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.specialBodyFonts {
    font-family: "Jost", sans-serif;
}

@font-face {
    font-family: "Itim";
    src: url("./fonts/Itim-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.specialItimFonts {
    font-family: "Itim", sans-serif;
}