/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background-color: #ebebeb;
  line-height: 1.5;
}

/* SIDEBAR PROFILE */
.profile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background-color: rgb(49, 45, 45);
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
}

.profile {
  text-align: center;
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.profile h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 5px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: orange;
  transform: scale(1.2);
}
.profile p {
  font-size: 14px;
  color: #aca0a0;
  margin-bottom: 10px; /* Add spacing below role */
}

.social-icons {
  margin-top: 10px; /* Adjusted spacing */
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}



/* TOP NAVIGATION */
.top-nav {
  position: fixed;
  top: 0;
  left: 220px;
  right: 0;
  height: 60px;
  background-color: rgb(34, 120, 233);
  display: flex;
  align-items: center;
  padding: 0 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 90;
}

.nav-links a {
  text-decoration: none;
  color: inherit; /* optional - keeps the text same color as parent */
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  justify-content: flex-start;
  align-items: center;
}

.top-nav .nav-links li {
  display: inline-block;
  margin-right: 20px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
}

.top-nav .nav-links li:hover {
  color: #ffcc00;
  text-decoration: underline;
}

/* DASHBOARD CONTAINER */
.dashboard-container {
  margin-left: 220px;
  margin-top: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* DASHBOARD GRID */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 900px;
  width: 100%;
}

/* DASHBOARD CARD UPDATED DESIGN */
.dashboard-card {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 18px;
  box-shadow: 0 15px 25px rgba(37, 117, 252, 0.3);
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 25px 20px 40px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 35px rgba(37, 117, 252, 0.5);
}

.dashboard-card img {
  width: 100px;             /* thoda bada kar diya */
  height: 100px;            /* equal height */
  object-fit: cover;        /* full image crop ho jaye */
  margin-bottom: 20px;
  border-radius: 50%;       /* circle banane ke liye */
  border: 3px solid rgba(255, 255, 255, 0.7);  /* halka white border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);   /* subtle shadow */
  filter: none;             /* drop-shadow hata diya kyunki shadow yahan de rahe */
  transition: transform 0.3s ease;
}

/* Optional: Hover effect on image */
.dashboard-card:hover img {
  transform: scale(1.1);
}


.dashboard-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.dashboard-card p {
  font-size: 1rem;
  line-height: 1.4;
  color: #d0d6f9;
  max-width: 240px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* WELCOME SECTION */
.wel{
  color: red;
}
.welcome-section {
  margin-bottom: 30px;
  text-align: center;
  color: #444;
  max-width: 800px;
  color: #000000;
}

.welcome-section h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.welcome-section p {
  font-size: 1.1rem;
  color: #494949;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .profile-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgb(49, 45, 45); /* keep same background */
  }

  .profile {
    text-align: center;
  }



  .profile-img {
    width: 60px;
    height: 60px;
  }

  .top-nav {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 10px 20px;
    flex-wrap: wrap;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-links li {
    font-size: 16px;
    padding: 8px;
  }

  .dashboard-container {
    margin: 10px 0 0;
    padding: 20px;
    margin-left: 0;
    align-items: stretch;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .welcome-section {
    max-width: 100%;
    padding: 0 10px;
  }
  
}
.about-section {
  background: linear-gradient(135deg, #ffffff, #f3f7ff);
  padding: 60px 40px;
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
  color: #222;
  font-size: 1.05rem;
  font-family: 'Segoe UI', sans-serif;
  border: 1px solid #dfe9ff;
  animation: fadeIn 1.5s ease-in-out;
  overflow: hidden;
}

/* Animated headings */
.about-section h2,
.about-section h3,
.about-section h4 {
  opacity: 0;
  animation: slideUp 1s forwards;
}

.about-section h2 {
  font-size: 2.5rem;
  color: #1a237e;
  text-align: center;
  font-weight: 800;
  border-bottom: 4px solid #3949ab;
  display: inline-block;
  padding-bottom: 8px;
  animation-delay: 0.3s;
}

.about-section h3 {
  font-size: 1.6rem;
  color: #3949ab;
  font-weight: 700;
  border-left: 6px solid #5c6bc0;
  padding-left: 15px;
  margin-top: 40px;
  margin-bottom: 16px;
  background: rgba(92, 107, 192, 0.1);
  padding: 12px;
  border-radius: 6px;
  animation-delay: 0.5s;
}

.about-section h4 {
  font-size: 1.2rem;
  color: #2b2b2b;
  font-weight: 600;
  border-bottom: 2px solid #b0bec5;
  padding-bottom: 6px;
  margin-top: 25px;
  margin-bottom: 12px;
  text-transform: uppercase;
  animation-delay: 0.7s;
}

/* Animated paragraphs */
.about-section p {
  margin-bottom: 20px;
  color: #424242;
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1.3s ease forwards;
  animation-delay: 0.9s;
}

/* Styled and animated list */
.about-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
  opacity: 0;
  animation: fadeUp 1.3s ease forwards;
  animation-delay: 1.1s;
}

.about-section ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  transition: transform 0.3s;
}

.about-section ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #43a047;
  font-weight: bold;
}

/* Hover effect for list items */
.about-section ul li:hover {
  transform: translateX(5px);
}

/* Highlighted text */
.about-section p strong {
  color: #1565c0;
  font-weight: 700;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-section {
    padding: 30px 20px;
    margin: 20px 10px;
    font-size: 1rem;
  }

  .about-section h2 {
    font-size: 2rem;
  }

  .about-section h3 {
    font-size: 1.3rem;
  }

  .about-section h4 {
    font-size: 1.1rem;
  }
}

/* FOOTER STYLES */
.footer {
  background-color: rgb(34, 120, 233);
  color: white;
  padding: 40px 20px;
  margin-top: 60px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-section h4 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  border-left: 6px solid orange;
  padding-left: 10px;
  font-weight: 700;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: orange;
  text-decoration: underline;
}

.footer-section p {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #ddd;
}

.footer-section p a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer-section p a:hover {
  color: orange;
  text-decoration: underline;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 25px;
  }
}

/* Services  */

.services-section {
  margin-top: 60px; /* adds space below dashboard */
  padding: 40px 20px;
  background-color: #f4f9ff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.services-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #1f3c88;
  font-weight: 700;
  border-bottom: 3px solid #1f3c88;
  display: inline-block;
  padding-bottom: 10px;
}


.services-grid {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-top: 40px;
}

.service-card {
  background: rgba(245, 171, 12, 0.2); /* Less transparent, more visible */
  border-radius: 12px;
  padding: 25px;
  width: 85%;
  text-align: left;
  color: #db0000; /* Dark text for better contrast */
  border: 1px solid rgba(150, 106, 12, 0.35);
  box-shadow: 0 8px 20px rgba(54, 226, 83, 0.25);
  transition: all 0.3s ease;
  animation: pulseBG 4s ease-in-out infinite;
}

@keyframes pulseBG {
  0%, 100% {
    background-color: rgba(141, 129, 103, 0.20);
    box-shadow: 0 8px 20px rgba(141, 129, 103, 0.25);
  }
  50% {
    background-color: rgba(141, 129, 103, 0.35);
    box-shadow: 0 12px 30px rgba(22, 167, 41, 0.4);
  }
}

.service-card:hover {
  background: rgba(141, 129, 103, 0.40);
  box-shadow: 0 15px 40px rgba(141, 129, 103, 0.60);
  transform: translateY(-6px);
}


/* Alternating left and right */
.services-grid .service-card:nth-child(odd) {
  margin-left: 0;
  margin-right: auto;
}

.services-grid .service-card:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
}

.service-card img {
  width: 750px; /* parent card width ke barabar */
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}


.service-card h4 {
  font-size: 1.4rem;
  color: #0f4c81;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Responsive */
@media (max-width: 768px) {
  .service-card {
    width: 100% !important;
    margin: 0 auto !important;
  }
  
 .service-card img {
  width: 350px;
  height: 150px; /* Adjusted size */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}


