* {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
  text-decoration: none;
}

:root {
  --primary-color: #169ac2;
  --secondary-color: #106f8b;
  --dark-color: #242424;
  --light-color: #fff;
  --bg-dark: rgba(36, 35, 35, 0.85);
  --shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  border-radius: 0;
  background: var(--secondary-color);
}

html, body {
  height: 100%;
  margin: 0;
  font-size: 16px;
}

body {
  display: flex;
  flex-direction: column;
  background: url(ascension.png) no-repeat center/cover fixed;
  background-color: var(--dark-color);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: 56px; /* For fixed navbar */
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
#main-nav {
  background-color: var(--bg-dark);
  padding: 10px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#main-nav .navbar-brand {
  color: var(--light-color);
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 600;
}

#main-nav .navbar-toggler {
  border: none;
  color: var(--light-color);
}

#main-nav .nav-link {
  color: var(--light-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

#main-nav .nav-link:hover,
#main-nav .nav-link.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background-color: var(--bg-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
}

.hero-content h1 {
  color: var(--light-color);
  font-family: 'Dancing Script', cursive;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-content .lead {
  color: var(--light-color);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.profile-image-container {
  position: relative;
  display: inline-block;
  padding: 8px;
  background: linear-gradient(130deg, var(--primary-color), #cfcfcf);
  border-radius: 50%;
  background-size: 200% 200%;
  animation: animated-gradient 2s linear infinite;
  box-shadow: var(--shadow);
}

.profile-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--light-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  color: var(--light-color);
  border-color: var(--light-color);
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section Styling */
section {
  padding: 80px 0;
}

.pages-section {
  background-color: var(--light-color);
}

.documents-section {
  background-color: #f8f9fa;
}

.section-header h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-header p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

/* Page Cards */
.page-card {
  border-radius: 10px;
  border: none;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.page-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.page-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.page-card .card-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}

.page-card .card-text {
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.highlight-card {
  border-left: 4px solid var(--primary-color);
}

.content p {
  max-width: 800px;
  line-height: 1.6;
  font-size: 1.1rem;
  text-align: justify;
  margin-bottom: 1rem;
}

/* Cursor Effects */
.cursor {
  position: fixed;
  width: 50px;
  height: 50px;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: 0.1s;
  z-index: 9999;
}

.cursor2 {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: 0.15s;
  z-index: 9999;
}

.content:hover ~ .cursor {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: rgba(198, 198, 198, 0.5);
  opacity: 0.5;
}

.content:hover ~ .cursor2 {
  opacity: 0;
}

/* Profile Card */
.profile-card {
  text-align: center;
  overflow: auto;
  max-height: 100vh;
  width: 100%;
  max-width: 100vw;
}

.card-header {
  width: 100%;
  background: rgba(36, 35, 35, 0.85);
  padding: 5% 5%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pic {
  display: inline-block;
  padding: 4px;
  background: linear-gradient(130deg, var(--primary-color), #cfcfcf);
  margin: 0 auto 20px;
  border-radius: 50%;
  background-size: 200% 200%;
  animation: animated-gradient 2s linear infinite;
  box-shadow: var(--shadow);
}

@keyframes animated-gradient {
  25%, 100% {
    background-position: left top;
  }
  50% {
    background-position: right bottom;
  }
  75% {
    background-position: right top;
  }
}

.pic img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.name {
  color: var(--light-color);
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  font-weight: 600;
  margin: 20px 0 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-in-out;
}

.desc {
  font-size: 1.3rem;
  color: var(--light-color);
  font-weight: bold;
  margin-bottom: 20px;
  animation: slideUp 0.7s ease-in-out;
}

button:focus {
  outline: none;
}

.sm {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.linkedin-button {
  width: 130px;
  height: 40px; 
  background-image: url(img/LinkedIn_Logo.svg.png);
  background-size: cover;
  background-position: center;
  border: 4px solid var(--light-color); 
  cursor: pointer; 
  border-radius: 10px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.linkedin-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.sm a {
  color: var(--light-color);
  width: 56px;
  font-size: 35px;
  transition: var(--transition);
  margin: 0 10px;
}

.sm a:hover {
  color: var(--primary-color);
  transform: translateY(-5px);
}

.contact-btn {
  display: inline-block;
  padding: 12px 35px;
  color: var(--light-color);
  font-weight: 600;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  margin: 10px 5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
}

.contact-btn:hover {
  color: var(--light-color);
}

.contact-btn:hover:before {
  width: 100%;
}

.numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
}

.item {
  flex: 1;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--light-color);
  font-weight: 550;
  padding: 0 20px;
  position: relative;
}

.item span {
  display: block;
  color: var(--light-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 5px;
}

.border {
  width: 1px;
  height: 30px;
  background: #bbb;
}

footer {
  padding: 20px 0;
  text-align: center;
  color: var(--light-color);
  font-size: 0.9rem;
  margin-top: auto;
}

/* PDF Viewer */
.pdf-container {
  width: 100%;
  height: 600px;
  margin: 20px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.pdf-embed {
  width: 100%;
  height: 100%;
  border: none;
}

/* Table Styles */
.competency-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.competency-table th {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 15px;
  text-align: left;
}

.competency-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
}

.competency-table tr:nth-child(even) {
  background-color: rgba(240, 240, 240, 0.3);
}

.competency-table tr:hover {
  background-color: rgba(22, 154, 194, 0.1);
}

/* Internship Certificate */
.attestation-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 20px;
  margin: 20px 0;
  position: relative;
}

.attestation-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.attestation-card p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.attestation-card .stamp {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(236, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(15deg);
  border: 2px dashed #ec0000;
}

.attestation-card .stamp span {
  color: #ec0000;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
}

/* Footer */
.footer-section {
  background-color: var(--bg-dark);
  color: var(--light-color);
  padding: 40px 0;
}

.footer-section h3 {
  color: var(--primary-color);
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: var(--light-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

/* Responsive Media Queries */
@media (max-width: 1600px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .profile-image {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .profile-image {
    width: 220px;
    height: 220px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .pdf-container {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 60px 0;
  }
  
  .hero-content {
    margin-bottom: 40px;
  }
  
  .profile-image {
    width: 200px;
    height: 200px;
  }
  
  .document-card {
    padding: 15px 10px;
  }
  
  .contact-btn {
    display: block;
    width: 80%;
    max-width: 300px;
    margin: 10px auto;
    text-align: center;
  }
  
  .pdf-container {
    height: 400px;
  }
  
  .cursor, .cursor2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .profile-image {
    width: 180px;
    height: 180px;
  }
  
  section {
    padding: 40px 0;
  }
  
  .document-card {
    flex-direction: column;
    text-align: center;
  }
  
  .document-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .page-icon {
    font-size: 2rem;
  }
  
  .pdf-container {
    height: 300px;
  }
  
  .attestation-card .stamp {
    width: 70px;
    height: 70px;
    font-size: 12px;
  }
}

/* Document Styles */
.document-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 15px 0;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.document-icon {
  font-size: 2.5rem;
  margin-right: 15px;
  color: var(--primary-color);
}

.document-info {
  flex: 1;
}

.document-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.document-desc {
  font-size: 0.9rem;
  color: #666;
}

.document-link {
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 20px;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.document-link:hover {
  background-color: var(--secondary-color);
}
