/* General Reset */
body, h1, h2, p, div, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: cursive; /* Original font-family */ 

    background-color: #111314;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    background-image: url('internPlace_photos/IG_bright.jpg'); /* Replace with an image related to NIT Warangal */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: rgb(222, 230, 233);
}

/* Preloader Styles */
#preloader {
    position: fixed; /* Overlay the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark background for the preloader */
    z-index: 9999; /* Ensures it appears above all other elements */
    display: flex; /* Centers the animation */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents scrolling */
}

/* Preloader Bulb Animation (Glow Effect on Border) */
.preloader-img {
    width: 150px; /* Bulb size */
    height: auto;
    animation: glow-border 2s ease-in-out infinite; /* Glowing border animation */
    border-radius: 50%; /* Keep bulb circular */
}

/* Glowing Effect on Border Animation for Bulb */
@keyframes glow-border {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2); /* Initial soft glow */
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 0, 0.7), 0 0 50px rgba(255, 255, 0, 0.4); /* Stronger yellow glow */
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2); /* Soft glow again */
    }
}

/* Preloader Content */
.preloader-content {
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

/* Animation for Fading In Preloader Content */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Left Sidebar Styles */
.content {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

.left-sidebar {
    width: 30%;
    padding: 20px;
    background-color: rgba(244, 6, 6, 0.2);
    color: rgb(22, 24, 24);
    height: 100%;
    z-index: 2;
    font-size: 1.2rem;
    animation: slideIn 1.5s forwards;
}

/* Slide-In Animation for Left Sidebar */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Header Styling */
.left-sidebar h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Typing Effect for Title */
.typing-effect {
    overflow: hidden;
    white-space: nowrap;
}

/* Paragraph Styling */
.left-sidebar p {
    margin-bottom: 20px;
}

/* Button Box Container */
.button-box-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Button Box Styling (Retaining the Original Size and Hover Color) */
.button-box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.827);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s, opacity 0.5s ease, transform 0.5s ease;
    text-decoration: none;
    opacity: 1;
    width: 45%; /* Original width */
    transform: translateY(20px); /* Original position effect */
}

/* Hover effect for Button Boxes (Original Hover Color and Behavior) */
.button-box:hover {
    background-color: rgba(141, 27, 27, 0.9); /* Hover color retained */
}

/* Icon Styling */
.button-box i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Main Content Area */
.main-content {
    width: 70%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}
/* Navigation Bar Styling */
/* nav bar  starts */ 
nav {
    background: #0e0e0e;
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  nav .mainMenu {
    display: flex;
    list-style: none;
  }
  nav .mainMenu li a {
    display: inline-block;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    font-size: 18px;
    transition: 0.2s ease;
    background: #0e0e0e;
  }
  nav .mainMenu li a:hover {
    color: #ffcc00;
  }
  nav .openMenu {
    font-size: 2rem;
    margin: 20px;
    display: none;
    cursor: pointer;
  }
  nav .mainMenu .closeMenu,
  .icons i {
    font-size: 2rem;
    display: none;
    cursor: pointer;
  }
  .fa-facebook:hover {
    color: rgb(0, 110, 255);
  }
  .fa-linkedin:hover {
    color: rgb(86, 154, 243);
  }
  .fa-instagram:hover {
    color: rgb(255, 0, 191);
  }
  nav .logo {
    margin: 6px;
    cursor: pointer;
    text-transform: uppercase; 
  }
  nav .logo-container {
    display: flex;
    align-items: center;
  }
  
  nav .logo-container img {
    height: 40px; /* Adjust logo size */
    margin: 0 10px; /* Add spacing */
  }
  
  nav .logo h1 {
    margin: 0 10px;
    text-transform: uppercase;
    color: white; /* Heading text color */
    font-weight: 450; /* Adjust the boldness: 100 (thin) to 900 (bold) */
    font-size: 24px; /* Optional: Adjust size if needed */
  }
  
  nav .openMenu {
    background: #0e0e0e; /* Update hamburger menu background */
  }
  /* nav bar end */ 




/* Ensure content doesn't overlap with navbar */
.content {
    margin-top: 80px; /* Adds space for the navbar */
}

h3 {
    margin: 0;
    color: white;
}
/* query for getting hamburger type nav bar */ 
@media (max-width: 800px) {
    nav .mainMenu {
      height: 100vh;
      position: fixed;
      top: 0px;
      right: 0px;
      left: 0px;
      z-index: 10;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: #0e0e0e;
      transition: top 1s ease 0s;
      display: none;
    }
    nav .mainMenu .closeMenu {
      display: block;
      position: absolute;
      top: 20px;
      right: 20px;
    }
    nav .openMenu {
      display: block;
    }
    nav .mainMenu li a:hover {
      color: #ffcc00;
    }
    .icons i {
      display: inline-block;
      padding: 12px;
    }
  } 













