 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: "Inter", "Segoe UI", Arial, sans-serif;
     background: #e7eefd;
     color: #172033;
     line-height: 1.65;
 }

 a {
     color: inherit;
     text-decoration: none;
 }

 .top-bar {
     background: #0b1220;
     color: #dbeafe;
     padding: 10px 20px;
     text-align: center;
     font-size: 14px;
     letter-spacing: 0.3px;
 }

 header {
     background: rgba(255, 255, 255, 0.96);
     border-bottom: 1px solid #e5eaf3;
     position: sticky;
     top: 0;
     z-index: 999;
     backdrop-filter: blur(12px);
 }

 .nav-wrap {
     max-width: 1180px;
     margin: auto;
     padding: 18px 20px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 24px;
     position: relative;
 }

 .brand-logo {
     display: inline-flex;
     align-items: center;
     font-size: 22px;
     font-weight: 800;
     color: #0b1220;
 }

 .brand-logo img {
     max-height: 54px;
     width: auto;
     display: block;
 }

 .hamburger {
     display: none;
     width: 44px;
     height: 44px;
     border: 1px solid #cbd5e1;
     background: #fff;
     border-radius: 10px;
     cursor: pointer;
     align-items: center;
     justify-content: center;
     flex-direction: column;
     gap: 5px;
 }

 .hamburger span {
     width: 22px;
     height: 2px;
     background: #0b1220;
     display: block;
     transition: 0.25s;
 }

 .hamburger.active span:nth-child(1) {
     transform: translateY(7px) rotate(45deg);
 }

 .hamburger.active span:nth-child(2) {
     opacity: 0;
 }

 .hamburger.active span:nth-child(3) {
     transform: translateY(-7px) rotate(-45deg);
 }

 .nav-menu {
     display: flex;
     align-items: center;
     gap: 26px;
 }

 nav ul {
     list-style: none;
     display: flex;
     align-items: center;
     gap: 26px;
 }

 nav a {
     font-size: 14px;
     font-weight: 700;
     color: #334155;
     transition: 0.25s;
 }

 nav a:hover {
     color: #2563eb;
 }

 .btn {
     display: inline-block;
     padding: 12px 22px;
     border-radius: 10px;
     font-size: 14px;
     font-weight: 800;
     transition: 0.25s;
     text-align: center;
     border: none;
     cursor: pointer;
     font-family: inherit;
 }

 .btn-primary {
     background: #2563eb;
     color: #fff;
     box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
 }

 .btn-outline {
     border: 1px solid #cbd5e1;
     color: #0f172a;
     background: #fff;
 }

 .btn:hover {
     transform: translateY(-2px);
     opacity: 0.92;
 }

 .hero {
     padding: 100px 20px 80px;
     background:
         radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 32%),
         linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
 }

 .hero-inner {
     max-width: 1180px;
     margin: auto;
     display: grid;
     grid-template-columns: 1.1fr 0.9fr;
     gap: 55px;
     align-items: center;
 }

 .eyebrow {
     display: inline-flex;
     background: #e0ecff;
     color: #1d4ed8;
     border: 1px solid #bfdbfe;
     padding: 7px 12px;
     border-radius: 999px;
     font-size: 13px;
     font-weight: 800;
     margin-bottom: 22px;
 }

 img {
     max-width: 100%;
 }

 .hero h1 {
     font-size: clamp(42px, 6vw, 72px);
     line-height: 1.02;
     letter-spacing: -2.5px;
     color: #0b1220;
     margin-bottom: 24px;
 }

 .hero h1 span {
     color: #2563eb;
 }

 .hero p {
     max-width: 650px;
     color: #475569;
     font-size: 18px;
     margin-bottom: 32px;
 }

 .hero-actions {
     display: flex;
     gap: 14px;
     flex-wrap: wrap;
     margin-bottom: 34px;
 }

 .quick-stats {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 14px;
     max-width: 560px;
 }

 .stat {
     background: #fff;
     border: 1px solid #e2e8f0;
     border-radius: 14px;
     padding: 18px;
     box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
 }

 .stat strong {
     display: block;
     font-size: 25px;
     color: #0b1220;
 }

 .stat span {
     font-size: 13px;
     color: #64748b;
     font-weight: 700;
 }

 .profile-card {
     background: #0b1220;
     color: #fff;
     border-radius: 26px;
     padding: 34px;
     box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
     position: relative;
     overflow: hidden;
 }

 .profile-card::before {
     content: "";
     position: absolute;
     width: 260px;
     height: 260px;
     background: rgba(37, 99, 235, 0.45);
     border-radius: 50%;
     right: -90px;
     top: -100px;
     pointer-events: none;
     z-index: 0;
 }

 .profile-card-content {
     position: relative;
     z-index: 2;
 }

 .avatar {
     width: 96px;
     height: 96px;
     border-radius: 22px;
     background: linear-gradient(135deg, #2563eb, #60a5fa);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 34px;
     font-weight: 900;
     margin-bottom: 22px;
 }

 .profile-card h2 {
     font-size: 30px;
     margin-bottom: 10px;
 }

 .profile-card p {
     color: #cbd5e1;
     margin-bottom: 22px;
 }

 .skill-tags {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
 }

 .skill-tags span {
     background: rgba(255, 255, 255, 0.08);
     border: 1px solid rgba(255, 255, 255, 0.12);
     color: #dbeafe;
     padding: 8px 11px;
     border-radius: 999px;
     font-size: 13px;
     font-weight: 700;
 }

 .section {
     padding: 85px 20px;
 }

 .container {
     max-width: 1180px;
     margin: auto;
 }

 .section-title {
     max-width: 760px;
     margin-bottom: 42px;
 }

 .section-title.center {
     text-align: center;
     margin-left: auto;
     margin-right: auto;
 }

 .section-title span {
     color: #2563eb;
     font-weight: 900;
     text-transform: uppercase;
     font-size: 13px;
     letter-spacing: 1.8px;
 }

 .section-title h2 {
     color: #0b1220;
     font-size: clamp(32px, 4vw, 48px);
     line-height: 1.08;
     margin: 10px 0 14px;
 }

 .section-title p {
     color: #64748b;
     font-size: 17px;
 }

 /* 
   AJ: Scroll animation for page sections.
   Sections start slightly below their final position and invisible.
   When JavaScript adds the .box-show class, they fade in and slide up. 
*/
 section.box {
     /* All sections with the .box class start hidden (opacity: 0) and slightly lower on the page (translateY(30px)). */
     /* Hide the section initially */
     opacity: 0;

     /* Move the section 30px downward from its final position */
     transform: translateY(30px);

     /* Animate both opacity and position changes smoothly */
     transition: opacity 1s ease, transform 1s ease;
 }

 /* Applied by JavaScript when the section enters the viewport */
 section.box-show {
     /* Make the section fully visible */
     opacity: 1;

     /* Return the section to its original position */
     transform: translateY(0);
 }

 .about {
     background: #fff;
 }

 .about-grid {
     display: grid;
     grid-template-columns: 0.9fr 1.1fr;
     gap: 34px;
 }

 .about-box,
 .highlight-box {
     border-radius: 22px;
     padding: 34px;
     border: 1px solid #e2e8f0;
     box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
 }

 .about-box {
     background: #f8fafc;
 }

 .highlight-box {
     background: #0b1220;
     color: #fff;
 }

 .about-box h3,
 .highlight-box h3 {
     font-size: 26px;
     margin-bottom: 14px;
 }

 .about-box p {
     color: #475569;
     margin-bottom: 14px;
 }

 .highlight-box p {
     color: #cbd5e1;
     margin-bottom: 14px;
 }

 .check-list {
     list-style: none;
     margin-top: 18px;
 }

 .check-list li {
     padding: 10px 0 10px 30px;
     position: relative;
     color: #dbeafe;
     font-weight: 650;
 }

 .check-list li::before {
     content: "✓";
     position: absolute;
     left: 0;
     color: #60a5fa;
     font-weight: 900;
 }

 .skills {
     background: #f5f7fb;
 }

 .skills-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 22px;
 }

 .service-card,
 .list-card {
     background: #fff;
     padding: 0 32px;
 }

 .list-card {
     /* accordion hidden state */
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.4s ease, padding 0.4s ease;
 }

 .work-card.active .list-card {
     /* enough for the content */
     max-height: 600px;
     padding: 0 32px 32px;
 }

 /* Accordion button styling */
 /* 
   This button replaces the static heading (<h3>) 
   and acts as the clickable trigger for the accordion.

   When clicked, JavaScript toggles a class on the parent container (.work-card) 
   to show or hide the related content (.list-card).
*/
 .accordion-btn {

     /* Makes the button take full width of the card so the entire header area is clickable */
     width: 100%;

     /* Removes default browser button styling (border, background) */
     border: none;
     background: transparent;

     /* Changes cursor to pointer to indicate interactivity (clickable element) */
     cursor: pointer;

     /* Adds spacing inside the button for better visual layout and click area */
     padding: 26px;

     /* Aligns text to the left (like a standard heading layout in cards) */
     text-align: left;

     /* Typography styling for the accordion title */
     font-size: 22px;
     font-weight: 700;
     color: #0b1220;
 }

 .service-card {
     border: 1px solid #e2e8f0;
     border-radius: 22px;
     box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
 }

 .service-icon {
     width: 52px;
     height: 52px;
     background: #e0ecff;
     color: #2563eb;
     border-radius: 14px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 900;
     font-size: 22px;
     margin-bottom: 20px;
 }

 .service-card h3 {
     color: #0b1220;
     font-size: 24px;
     margin-bottom: 12px;
 }

 .service-card p {
     color: #64748b;
     margin-bottom: 18px;
 }

 .service-card ul,
 .list-card ul {
     list-style: none;
 }

 .service-card li,
 .list-card li {
     color: #334155;
     font-size: 14px;
     font-weight: 700;
     padding: 7px 0;
     border-top: 1px solid #eef2f7;
 }

 .list-card li {
     padding-left: 15px;
     padding-right: 15px;
 }

 .list-card li:hover {
     background-color: #0f172a;
     color: #cbd5e1;
 }

 .tech {
     background: #0b1220;
     color: #fff;
 }

 .tech .section-title h2 {
     color: #fff;
 }

 .tech .section-title p {
     color: #cbd5e1;
 }

 .tech-grid {
     display: grid;
     grid-template-columns: repeat(6, 1fr);
     gap: 14px;
 }

 .tech-item {
     background: rgba(255, 255, 255, 0.06);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 16px;
     padding: 18px 12px;
     text-align: center;
     color: #dbeafe;
     font-weight: 800;
     font-size: 14px;
 }

 .work {
     background: #fff;
 }

 .work-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 22px;
 }

 .work-card {
     background: #f8fafc;
     border: 1px solid #e2e8f0;
     border-radius: 22px;
     overflow: hidden;
     box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
 }

 .work-image {
     height: 180px;
     background:
         linear-gradient(135deg, rgba(37, 99, 235, 0.88), rgba(15, 23, 42, 0.88)),
         repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.08) 10px, rgba(255, 255, 255, 0.08) 20px);
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-weight: 900;
     font-size: 20px;
 }

 .work-content {
     padding: 26px;
 }

 .work-content h3 {
     color: #0b1220;
     font-size: 22px;
     margin-bottom: 10px;
 }

 .work-content p {
     color: #64748b;
     font-size: 15px;
 }

 .cta {
     background: linear-gradient(135deg, #0b1220, #111c33);
     color: #fff;
     text-align: center;
 }

 .cta h2 {
     font-size: clamp(34px, 5vw, 56px);
     line-height: 1.08;
     margin-bottom: 18px;
 }

 .cta p {
     color: #cbd5e1;
     max-width: 720px;
     margin: 0 auto 28px;
     font-size: 18px;
 }

 .contact {
     background: #f5f7fb;
 }

 .contact-grid {
     display: grid;
     /* 
     defines how wide each column is in a grid layout: 
     fr = fraction of available space == Instead of using pixels ==> Split the container into flexible parts
     fr = flexible share of space
     Left column =>	0.85 parts
     Right column => 1.15 parts
     */
     /* grid-template-columns: 0.85fr 1.15fr; */
     grid-template-columns: 1fr 1fr;
     gap: 28px;
 }

 /* AJ: Contact Form GitHub Link Icon: */
 .github-btn {
     display: inline-block;
     margin: 10px auto;
     padding: 10px 18px;
     background: #24292e;
     color: #fff;
     text-decoration: none;
     border-radius: 6px;
     font-size: 14px;
     transition: 0.2s ease;
 }

 .github-btn:hover {
     background: #000;
     transform: translateY(-1px);
 }

 .contact-card {
     background: #fff;
     border: 1px solid #e2e8f0;
     border-radius: 22px;
     padding: 34px;
     box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
 }

 /* Ending GitHub Source Code Icon */

 .contact-card h3 {
     color: #0b1220;
     font-size: 28px;
     margin-bottom: 28px;
 }

 .contact-row {
     padding: 16px 0;
     border-bottom: 1px solid #eef2f7;
     color: #334155;
 }

 .contact-row strong {
     display: block;
     color: #0b1220;
     margin-bottom: 6px;
     font-size: 15px;
 }

 .contact-row a {
     color: #2563eb;
     font-weight: 800;
 }

 .linkedin-link {
     display: inline-flex;
     align-items: center;
     gap: 10px;
 }

 .social-link {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     text-decoration: none;
 }

 .social-link i {
     font-size: 18px;
 }


 /* LinkedIn Icon: */
 .linkedin-icon {
     width: 26px;
     height: 26px;
     background: #0a66c2;
     color: #ffffff;
     border-radius: 5px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-weight: 900;
     font-size: 15px;
     font-family: Arial, sans-serif;
     line-height: 1;
 }

 /* Github Icon: */
 .github-icon {
     width: 26px;
     height: 26px;
     background: #24292f;
     color: #ffffff;
     border-radius: 5px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-weight: 900;
     font-size: 14px;
     font-family: Arial, sans-serif;
     line-height: 1;
 }

 form {
     display: grid;
     gap: 14px;
 }

 input,
 textarea {
     width: 100%;
     padding: 15px 16px;
     border: 1px solid #cbd5e1;
     border-radius: 12px;
     font: inherit;
     outline: none;
     background: #fff;
     color: #0f172a;
 }

 textarea {
     min-height: 150px;
     resize: vertical;
 }

 input:focus,
 textarea:focus {
     border-color: #2563eb;
     box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
 }

 .captcha-wrap {
     margin: 4px 0 6px;
     overflow-x: auto;
 }

 .form-note {
     font-size: 13px;
     color: #64748b;
     line-height: 1.5;
 }

 footer {
     background: #0b1220;
     color: #94a3b8;
     text-align: center;
     padding: 28px 20px;
     font-size: 14px;
 }

 footer strong {
     color: #fff;
 }


 /* 
 Newly AJ Updated:
 */

 /* 
Styling the case studies and .article_content class:
*/
 .article_content {
     background-color: #d7e5ef;
     padding: 15px;
     border: 1px solid #8a8a8a;
     border-radius: 10px;
 }

 article ul,
 article ol {
     margin: 0 0 20px 30px;
 }

 article pre {
     background-color: #133951;
     color: #DBE9EC;
     padding: 5px 0;
     /* overflow-x: auto; */
     border-left: 5px solid #1d74be;
     /* width: 50%; */
 }

 .workflow {
     text-align: center;
     background-color: #e1e1e1;
     padding: 10px;
     border-left: 5px solid #133951;
     border-right: 5px solid #133951;
     font-weight: bold;
     margin: 10px;
     border-radius: 10px;
 }

 /* Case Study Screenshot */
 /* image stays on right */
 img.case-study-img,
 .contact-placeholder-img {
     width: 50%;
     max-width: 300px;
     height: auto;
     border: 2px solid #fff;
     border-radius: 30px;
     padding: 10px;
 }

 /* AJ: Contact Image */
 .contact-placeholder-img {
     display: block;
     /* max-width: 180px; */
     /* height: auto; */
     margin: 20px auto;
     border-color: #133951;
 }

 /* 
 Working with Media Queries:
 */
 @media (max-width: 980px) {
     .nav-wrap {
         padding: 14px 16px;
     }

     .hamburger {
         display: inline-flex;
     }

     .nav-menu {
         display: none;
         position: absolute;
         top: 100%;
         left: 16px;
         right: 16px;
         background: #ffffff;
         border: 1px solid #e2e8f0;
         border-radius: 16px;
         padding: 18px;
         box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
         flex-direction: column;
         align-items: stretch;
         gap: 16px;
     }

     .nav-menu.active {
         display: flex;
     }

     nav ul {
         flex-direction: column;
         align-items: stretch;
         gap: 0;
     }

     nav li {
         border-bottom: 1px solid #eef2f7;
     }

     nav a {
         display: block;
         padding: 13px 4px;
         font-size: 15px;
     }

     .nav-menu .btn {
         width: 100%;
     }

     .hero-inner,
     .about-grid,
     .contact-grid {
         grid-template-columns: 1fr;
     }

     .skills-grid,
     .work-grid {
         grid-template-columns: 1fr;
     }

     .tech-grid {
         grid-template-columns: repeat(3, 1fr);
     }

     .quick-stats {
         grid-template-columns: 1fr;
     }
 }

 @media (max-width: 620px) {
     .brand-logo img {
         max-height: 44px;
     }

     .hero {
         padding: 70px 16px 60px;
     }

     .hero h1 {
         letter-spacing: -1.4px;
     }

     .hero-actions {
         flex-direction: column;
     }

     .hero-actions .btn {
         width: 100%;
     }

     .section {
         padding: 65px 16px;
     }

     .tech-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }