:root {
    --color-primary: #0A1D56; /* Deep Navy Blue */
    --color-secondary: #1976D2; /* Medium Blue */
    --color-accent: #64B5F6; /* Light Blue Accent */
    --color-background: #F4F7FA; /* White */
    --color-text: #0A1D56; /* Primary text color */
}


body {
    background-color: var(--color-background);
    display: flex;
    height: 100vh;
    margin: 0;
    padding: 0;
    flex-direction: column;
}

.header_section {
    display: flex;
    flex: 0 0 5%;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
    background-color: #040732;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
}

.logo {
    margin: 0;
}

.navigation_bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navigation_item {
    margin-left: 20px;
}

.navigation_item a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.navigation_item a:hover {
    color: var(--color-secondary)
}

.navigation_item a.active {
    color: var(--color-secondary)
}

.content_section {
    background-color: var(--color-background);
    display: flex;
    flex: 1 1 95%;
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
}

.content_section h1 {
  /*  margin-top: 0; */
    color: #333;
}

.content_section p {
    color: #555;
    font-size: 18px;
}

     /* Home Section Styles */
.home_section {
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--color-background);
}

.home_image img {
  width: 250px;
  height: 250px;
  border-radius: 50%; /* Makes it circular */
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.home_intro {
  max-width: 600px;
}

.home_intro h1 {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}

.home_intro  .highlight {
    color: var(--color-secondary);
    font-weight: bold;
}

.home_intro p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #444;
}


.contact_button {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.contact_button:hover {
    background-color: var(--color-secondary);
    color: white;
}

 /* About Section Styles */
.about_section {
    display: flex;
    flex: 0 0 100%;
    background-color: var(--color-background);
}

/* Projects Section Styles */
.project_section {
  padding: 80px 20px;
  background: #f5f7fa;
  text-align: center;
}

.project_header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #222;
}

.project_header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.projects_row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: nowrap;    /* keep cards in one row */
  overflow-x: auto;     /* scroll horizontally if needed */
  padding-bottom: 20px;
}

.project_card {
  flex: 0 0 430px;      /* fixed card width */
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project_card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #222;
}

.project_card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
}

.project_technologies {
  margin-bottom: 20px;
}

.tech_tag {
  display: inline-block;
  margin: 5px 8px 0 0;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  background: #eef2f7;
  color: #333;
}

.visit_btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: #0077ff;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.visit_btn:hover {
  background: #005fcc;
  transform: scale(1.05);
}

.project_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Horizontal scrollbar styling */
.projects_row::-webkit-scrollbar {
  height: 8px;
}

.projects_row::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}



/* Accomplishment Section Styles */

.accomplishment_section {
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    background-color: var(--color-background);
}


.accomplishment_items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
    background-color: var(--color-background);
    width: 100%;
    padding: 1rem;
}


.content_section img {
    border-radius: 10px;
    max-width: 100%;
    cursor: pointer;
    transition: transform 0.4s ease-in-out;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(500px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accomplishment_item {
    display: flex;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    animation-delay: 0.5s;
}

.accomplishment_item.show {
    animation: fadeInUp 1s ease-out forwards;
}


.image-container {
  position: relative;
  overflow: hidden;
    height: 100%;
  /*border-radius: 10px;*/
}

.image-container img {
  width: 100%;
  height: 100%;
  /*display: block;*/
  transition: transform 0.4s ease-in-out;
}

.image-container:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgba(255, 255, 255, 0.76);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container:hover .overlay {
  opacity: 1;
}

.overlay-text {
  color: rgba(0, 0, 0, 1);
  font-size: 15px;
  text-align: center;
  padding: 0 10px;
}

.accomplishment_caption {
    background-color: #f9f9f9;
    border: 1px solid lightgray;
    padding: 12px;
    margin-top: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}




.contact_section {
    display: flex;
    flex: 0 0 100%;
    background-color: aquamarine;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%
}

.contact_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(145deg, #181818, #202020);
    padding: 3em 1em;
    text-align: center;
    border-bottom: 1px solid #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.contact_header h1 {
    color: #f0f0f0;
    font-size: 2.3rem;
    margin: 0;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.contact_header span {
    color: #c0c0c0;
    font-size: 1.125rem;
    max-width: 600px;
    line-height: 1.7;
    margin-top: 1em;
    font-weight: 400;
}

.contact_header span strong {
    color: #5ac8fa;
}


.contact_content {
    display: flex;
    flex: 80%;
    background-color: #121212; /* deep dark */
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2em 0;
}

.contact_inputs {
    display: flex;
    flex-direction: column;
    background-color: #1f1f1f;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 500px;
    padding: 2em;
    gap: 1em;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.contact_inputs input,
.contact_inputs textarea {
    height: 40px;
    width: 100%;
    max-width: 400px;
    padding: 0.6em 1em;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c2c2c;
    color: #f0f0f0;
    transition: all 0.3s ease;
}

.contact_inputs textarea {
    height: 150px;
    resize: vertical;
}

.contact_inputs input:focus,
.contact_inputs textarea:focus {
    outline: none;
    background-color: #3a3a3a;
    box-shadow: 0 0 0 2px #5ac8fa;
}

.contact_inputs input::placeholder,
.contact_inputs textarea::placeholder {
    color: #999;
}

.contact_inputs button {
    background-color: #5ac8fa;
    color: #121212;
    border: none;
    border-radius: 8px;
    padding: 0.8em 0.9em;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.1s ease, transform 0.1s ease;
}

.contact_inputs button:hover {
    background-color: var(--color-secondary);
}

.contact_inputs button:active {
    transform: translateY(0);
}


#iconBar {
    position: fixed;
    background: #040737;
    right: 2.8em;
    top: -4em;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9999;
    transition: all 0.3s ease;
    transform: translate(20px, 100px); /* initial position */
}

#iconBar a {
    color: #fff;
    font-size: 24px;
    margin: 10px 0;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

#iconBar a:hover {
    transform: scale(1.2);
    color: #00aced;
}

#iconBarHeader {
    cursor: grab;
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
}


:root {
  --primary-color: #5ac8fa;
  --card-bg: linear-gradient(135deg, #ffffff, #f0f4f8);
  --card-border: #e3e9ed;
}

.about_section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.about_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.about_column h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #343a40;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about_card {
  background: var(--card-bg);
  padding: 22px;
  margin-bottom: 20px;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.about_card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px 0;
  color: #212529;
}

.about_card p {
  margin: 0;
  color: #495057;
}

/* Icon Styling */
.about_card i {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-right: 10px;
}

.about_card .icon-badge {
  background: rgba(90, 200, 250, 0.12);
  padding: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: background 0.3s ease;
}

.about_card:hover .icon-badge {
  background: rgba(90, 200, 250, 0.2);
}

/* Card Hover Effect */
.about_card:hover {
  transform: translateY(-6px) rotateX(1deg) rotateY(-1deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Section reveal animation (with JS trigger adding .in-view) */
.about_card.in-view:nth-child(odd) {
  animation: slideInLeft 0.7s ease forwards;
}

.about_card.in-view:nth-child(even) {
  animation: slideInRight 0.7s ease forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}


.about_card {
  background: var(--card-bg);
  padding: 22px;
  margin-bottom: 20px;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.about_card:hover {
  transform: translateY(-6px) rotateX(1deg) rotateY(-1deg) scale(1.03);
  border-color: var(--primary-color);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 8px 24px rgba(0, 0, 0, 0.08);
  animation: borderGlow 2.5s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 8px 2px rgba(90, 200, 250, 0.5);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 12px 4px rgba(90, 200, 250, 0.8);
  }
}

.about_card:hover .icon-badge {
  background: var(--primary-color);
  box-shadow: 0 0 18px 3px rgba(90, 200, 250, 0.6);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}


.about_card {
  position: relative;
  background: var(--card-bg);
  padding: 22px;
  margin-bottom: 20px;
  border-radius: 18px;
  border: 1.5px solid var(--card-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

/* Logo badge positioned at bottom-right inside the card */
.about_card .logo-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 39px;
  height: auto;
  border-radius: 8px;
  background: transparent;
  object-fit: contain;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

/* Slightly scale logo on card hover */
.about_card:hover .logo-badge {
  transform: scale(1.05);
  opacity: 1;
}

/* Remove image background fill if any — assumes transparent PNG/SVG */
.about_card .logo-badge {
  background-color: transparent;
}




