*,*::after,*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    font-family: inherit
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth
}

@media only screen and (max-width: 75em) {
    html {
        font-size:59%
    }
}

@media only screen and (max-width: 56.25em) {
    html {
        font-size:56%
    }
}

@media only screen and (min-width: 112.5em) {
    html {
        font-size:65%
    }
}

body {
    box-sizing: border-box;
    position: relative;
    line-height: 1.5;
    font-family: sans-serif;
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: 'Source Sans Pro', sans-serif
}

a {
    text-decoration: none;
    color: inherit
}

li {
    list-style: none
}

input:focus,button:focus,a:focus,textarea:focus {
    outline: none
}

button {
    border: none;
    cursor: pointer
}

textarea {
    resize: none
}
.header__logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
    transition: color .3s;
    background-color: #799EFF;
    
}
.header__logo-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    display: block
}
.header__logo-sub {
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px
}
.header__logo-img-cont {
    width: 5rem;
    height: 5rem;
    border-radius: 50px;
    overflow: hidden;
    margin-right: 1.5rem;
}
.heading-primary {
    font-size: 6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    color: #AFDDFF;
    font-weight: 800
}

@media only screen and (max-width: 37.5em) {
    .heading-primary {
        font-size:4.5rem
    }
}

.heading-sec__mb-bg {
    margin-bottom: 11rem
}

@media only screen and (max-width: 56.25em) {
    .heading-sec__mb-bg {
        margin-bottom:8rem
    }
}

.heading-sec__mb-med {
    margin-bottom: 9rem
}

@media only screen and (max-width: 56.25em) {
    .heading-sec__mb-med {
        margin-bottom:8rem
    }
}

.heading-sec__main {
    display: block;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    color: #aabecc
}

.heading-sec__main--lt {
    color: #aabecc;
    font-weight: 800
}

.heading-sec__main--lt::after {
    content: '';
    background: #3674B5 !important
}

.heading-sec__main::after {
    content: '';
    position: absolute;
    top: calc(100% + 1.5rem);
    height: 5px;
    width: 3rem;
    background: #3cdfc4;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px
}

@media only screen and (max-width: 37.5em) {
    .heading-sec__main::after {
        top:calc(100% + 1.2rem)
    }
}

.heading-sec__sub {
    display: block;
    text-align: center;
    color: #7a9fbc;
    font-size: 2rem;
    font-weight: 500;
    max-width: 80rem;
    margin: auto;
    line-height: 1.6
}

@media only screen and (max-width: 37.5em) {
    .heading-sec__sub {
        font-size:1.8rem
    }
}

.heading-sec__sub--lt {
    color: #333
}

.heading-sm {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.main-container {
    max-width: 120rem;
    margin: auto;
    width: 92%
}

.btn {
    background: rgba
#4e87e47e(59, 130, 246, .5);
    color: #AFDDFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    font-weight: 700;
    border-radius: 5px;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,0.15);
    transition: transform .3s
}

.btn:hover {
    transform: translateY(-3px);
    background-color: #1172bc;
    transition: 0.5s;
    color: #031f4b;
}

.btn--bg {
    background-color: #053860;
    padding: 1.5rem 8rem;
    font-size: 2rem
}

.btn--med {
    background-color: #053860;
    padding: 1.5rem 5rem;
    font-size: 1.6rem
}

.sec-pad {
    padding: 12rem 0
}

@media only screen and (max-width: 56.25em) {
    .sec-pad {
        padding:8rem 0
    }
}



.splitter-row {
  display: block;
  overflow: hidden;
  text-align: start;
  position: relative;
}

.splitter-wrap {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}
.paragraph-split .splitter-wrap {
  
    font-size: 2rem;
    width: 100%;
    letter-spacing: 1px;
    text-align: center;
    color: #AFDDFF;
    font-weight: 800
}



@media only screen and (max-width: 37.5em) {
    .text-primary {
        font-size:2rem
    }
}

.d-none {
    display: none
}

.home-hero {
  color: #fff;
  background:
    /* 1) the cursor spotlight */
    radial-gradient(600px circle at var(--spot-x) var(--spot-y),
      rgba(29,78,216,.15), transparent 60%),

    /* 2) your existing white overlay */
    linear-gradient(to right, rgba(245,245,245,0.8), rgba(245,245,245,0.8));

  /* pin only the spotlight to the viewport so it follows the cursor smoothly */
  background-attachment: fixed, scroll, scroll;

  background-position: center;
  height: 100vh;
  min-height: 80rem;
  max-height: 120rem;
  position: relative;
}


@media only screen and (max-width: 37.5em) {
    .home-hero {
        height:unset;
        min-height: unset
    }
}

.home-hero__socials {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #578FCA;
    box-shadow: rgba(100,100,111,0.2) 0px 7px 29px 0px;
    padding: .5rem;
    border-radius: 5px;
}

@media only screen and (max-width: 56.25em) {
    .home-hero__socials {
        display:none
    }
}

.home-hero__mouse-scroll-cont {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%)
}

@media only screen and (max-width: 37.5em) {
    .home-hero__mouse-scroll-cont {
        display:none
    }
}

.home-hero__social {
    width: 5rem
}

.home-hero__social-icon-link {
    width: 100%;
    display: block;
    padding: 1rem;
    transition: background .3s;
    border-radius: 5px
}

.home-hero__social-icon-link:hover {
    background: #3674B5
}

.home-hero__social-icon-link--bd-none {
    border-bottom: 0
}

.home-hero__social-icon {
    width: 100%
}

.home-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90rem;
    width: 92%
}

@media only screen and (max-width: 37.5em) {
    .home-hero__content {
        padding:19rem 0 13rem 0;
        margin: auto;
        position: static;
        transform: translate(0, 0)
    }
}

.home-hero__info {
    margin: 3rem auto 0 auto;
    max-width: 80rem
}

.home-hero__cta {
    margin-top: 5rem;
    text-align: center
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10rem
}

@media only screen and (max-width: 56.25em) {
    .about__content {
        grid-template-columns:1fr;
        grid-gap: 8rem
    }
}
.about__content-title {
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #aabecc;
}
@media only screen and (max-width: 37.5em) {
    .about__content-title {
        font-size:2.4rem
    }
}

.about__content-details-para {
    font-size: 1.8rem;
    color: #7a9fbc;
    max-width: 60rem;
    line-height: 1.7;
    margin-bottom: 1rem
}

.about__content-details-para--hl {
    font-weight: 700;
    margin: 0 3px
}

.about__content-details-para:last-child {
    margin-bottom: 4rem
}

.about__content-details-para a {
    text-decoration: underline;
    font-weight: 700;
    color: #7a9fbc;
    margin: 0 3px
}

/* Projects Section */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Project Card */
.project-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

.project-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f3f4f6;
}

.project-card__body {
  padding: 1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card__title {
  font-size: 1.15rem;
  margin: 0 0 .5rem;
  font-weight: 600;
}

.project-card__desc {
  flex-grow: 1;
  font-size: .95rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.project-card__tech li {
  font-size: .8rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: .5rem;
  padding: .25rem .6rem;
}

.project-card__actions {
  display: flex;
  gap: .6rem;
}

.btn.btn--sm {
  font-size: .85rem;
  padding: .5rem .9rem;
  border-radius: .6rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .project-card__img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .projects__grid {
    gap: 1rem;
  }
  .project-card__img {
    height: 160px;
  }
}



.skills {
    display: flex;
    flex-wrap: wrap
}

.skills__skill {
    padding: 1rem 2rem;
    margin-bottom: 1.5rem;
    margin-right: 1.5rem;
    font-size: 1.6rem;
    background: #7edca824;
    border-radius: 5px;
    font-weight: 600;
    color: #3cdfc4
}

.skills__skill:hover {
    transform: translateY(-3px);
    background-color: #7edca83c;
    transition: 0.5s;
    color: #FFF2E0;
}

/* ===== Global unified background + spotlight ===== */
:root{
  --site-bg: rgba(0, 19, 50, 0.983);         /* one base color site-wide */
  --spot-size: 700px;         /* spotlight radius */
  --spot-intensity: 0.8;     /* 0.08–0.18 looks good */
  --spot-x: 50vw;             /* updated by your JS */
  --spot-y: 50vh;
  --spot-rgb:11 61 145;
  --spot-alpha:0.35;
}

html, body { min-height: 100%; }

body{
  position: relative;          /* create stacking context for :before */
  background: var(--site-bg);  /* single base color */
  overflow-x: hidden;
}

/* One fixed spotlight layer for the WHOLE page */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;                  /* below content, above body bg */
  pointer-events: none;
  background:
    radial-gradient(var(--spot-size) circle at var(--spot-x) var(--spot-y),
      rgba(var(--spot-rgb)/var(--spot-alpha)), transparent 60%);
}

/* Make all content sit above the spotlight */
header, section, footer { position: relative; z-index: 1; }

/* Remove section-specific backgrounds so the global one shows through */
.home-hero,
#about,
.projects,
.about {
  background: transparent !important;
}



/* Global selected-text colors */
::selection {
  background: #3cdfc4;   /* selection highlight */
  color: #0f172a;        /* selected text color */
  text-shadow: none;     /* avoid fuzzy looking text */
}
