* {
  border: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: #001f3f; /* Navy Blue Text */
}

#nav_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5vh;
  background: linear-gradient(120deg, #f9f9f9, #90bdea);
}
#scroll-side-buttons {
  position: fixed;
  top: 50%;
  left: -50px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  transition: left 0.4s ease, opacity 0.3s ease;
  opacity: 0.5;
}

#scroll-side-buttons a {
  width: 45px;
  height: 45px;
  background: linear-gradient(145deg, #0047ab, #007bff);
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 45px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.3s ease;
  cursor: pointer;
}

#scroll-side-buttons a:hover {
  background: #0066cc;
  transform: scale(1.1);
}

#scroll-side-buttons.show {
  left: 10px;
  opacity: 1;
}

@media (max-width: 768px) {
  #scroll-side-buttons {
    display: none;
  }
}
a {
  text-decoration: none;
  margin-left: 20px;
  color: #0047ab; /* Royal Blue */
  font-weight: bolder;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

#main_logo_id {
  height: 40px;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100vh;
  padding: 2rem 4rem;
  background: #f0f4f8; /* Light background */
  color: #001f3f;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-left {
  max-width: 50%;
  padding: 2rem;
}

.intro-line {
  font-size: 3rem;
  color: #0047ab; /* Royal Blue */
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.subtext {
  font-size: 1.2rem;
  color: #001f3f;
  margin-bottom: 2rem;
  font-family: "Montserrat", sans-serif;
}

.cta-button {
  background-color: #0047ab;
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #0066cc;
  transform: scale(1.05);
}

.hero-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

/* BrajCoders Section */
.brajcoders-slider-section {
  padding: 3rem 0;
  background: linear-gradient(120deg, #001f3f, #004080);
  color: #e0f2ff;
}

.brajcoders_page h1 {
  text-align: center;
  font-size: 2.8rem;
  color: #007bff;
  margin-bottom: 1rem;
  font-weight: bold;
}

.brajcoders_page p {
  text-align: center;
  color: #525252;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  width: calc(250px * 8);
  animation: scroll 20s linear infinite;
}

.slider-track img {
  height: 200px;
  width: 250px;
  object-fit: cover;
  margin: 0 1rem;
  border-radius: 1rem;
  border: 3px solid #007bff;
  box-shadow: 0 8px 20px rgba(0, 31, 63, 0.2);
  transition: transform 0.3s ease;
}

.slider-track img:hover {
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Project and Contact Section */
.projects_page,
.contactus_page {
  padding: 4rem 2rem;
  background: #f8fafc;
  color: #001f3f;
  text-align: center;
}

.projects_page h2,
.contactus_page h2 {
  font-size: 2.5rem;
  color: #0047ab;
  margin-bottom: 1rem;
}

.section-subtext {
  font-size: 1.1rem;
  color: #334155;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Project Cards */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #ccd6f6;
  box-shadow: 0 4px 12px rgba(0, 31, 63, 0.08);
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card img{
  height: 150px;;
}
.project-card h3 {
  color: #0047ab;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-card p {
  font-size: 1rem;
  color: #334155;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 31, 63, 0.15);
}

/* Contact Form */
#contactus_page {
  background: linear-gradient(
    135deg,
    #ffffff 50%,
    #e6e6e6 100%
  ); /* White to light gray gradient */
  padding: 4rem 2rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1c2526; /* Navy Blue */
}

.contactus_page {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.contactus_page h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: #1c2526; /* Navy Blue */
  margin-bottom: 1rem;
  animation: fadeIn 1s ease-in-out;
}

.section-subtext {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  color: #1c2526; /* Navy Blue */
  margin-bottom: 3rem;
  animation: fadeIn 1s ease-in-out 0.3s;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.contact-form {
  background-color: #ffffff; /* White */
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-in-out;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 2px solid #1c2526; /* Navy Blue */
  border-radius: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #1c2526;
  background-color: #f8f9fa;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff6f61; /* Vibrant Coral for focus */
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  background-color: #1c2526; /* Navy Blue */
  color: #ffffff; /* White */
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background-color: #2a3a3f; /* Lighter Navy Blue */
  transform: scale(1.05);
}

.contact-form button:active {
  animation: bounce 0.5s ease;
}

.success-message {
  display: none;
  font-family: "Montserrat", sans-serif;
  color: #1c2526;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-info {
  text-align: left;
  animation: fadeInUp 1s ease-in-out 0.3s;
}

.contact-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: #1c2526; /* Navy Blue */
  margin-bottom: 1rem;
}

.map-placeholder {
  width: 100%;
  height: 200px;
  background-color: #e6e6e6;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1c2526;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  color: #1c2526; /* Navy Blue */
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #ff6f61; /* Vibrant Coral */
  transform: scale(1.2);
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  #contactus_page {
    padding: 2rem 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.6rem;
  }

  .contact-form button {
    padding: 0.6rem 1.5rem;
  }

  .map-placeholder {
    height: 150px;
  }
}

/* Footer */
footer {
  background-color: #001f3f; /* Midnight Blue */
  color: #ffffff; /* White */
  padding: 4rem 2rem;
  font-family: "Montserrat", sans-serif;
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #001f3f; /* Slightly lighter navy blue */
}

.footer-section {
  animation: fadeInUp 1s ease-in-out;
}

.footer-section h3 {
  font-family: "Playfair Display", serif;
  color: #d4af37; /* Deep Gold */
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ff6f61; /* Vibrant Coral */
}

.footer-about p {
  line-height: 1.5;
}

.footer-links a {
  display: block;
  margin-bottom: 0.5rem;
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  font-size: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.2);
  color: #ff6f61; /* Vibrant Coral */
}

.footer-newsletter form {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-newsletter input {
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  width: 100%;
  max-width: 200px;
}

.footer-newsletter button {
  background-color: #ff6f61; /* Vibrant Coral */
  color: #ffffff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-newsletter button:hover {
  background-color: #ff8780; /* Lighter Coral */
  transform: scale(1.05);
}

.footer-newsletter .success-message {
  display: none;
  color: #ffffff;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.footer-bottom span {
  color: #ff6f61; /* Vibrant Coral */
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social .social-icons {
    justify-content: center;
  }

  .footer-newsletter form {
    flex-direction: column;
    align-items: center;
  }

  .footer-newsletter input {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 2rem;
    height: auto;
  }

  .hero-left {
    max-height: 100%;
    max-width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
  }

  .hero-right {
    position: relative;
    width: 100%;
    height: 50vh;
    margin-top: 2rem;
  }

  .intro-line {
    font-size: 2rem;
  }

  .subtext {
    font-size: 1rem;
  }
}
#brajimg {
  border-radius: 20px;
}
