/* ===== BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css?family=Raleway:300&display=swap');
@import url('https://fonts.googleapis.com/css?family=Monoton&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:500&display=swap');

:root {
  --primary-color: #00909e;
  --secondary-color: #c70039;
  --bg-dark: #101010;
  --bg-darker: #050505;
  --bg-darkest: #020202;
  --text-light: whitesmoke;
  --text-muted: rgba(255, 255, 255, 0.8);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg-dark);
  scroll-behavior: smooth;
}

body {
  user-select: none;
  height: auto;
  overflow-x: hidden;
  width: 100%;
  background: #171717;
  font-family: 'Poppins', sans-serif;
  color: var(--text-light);
}

/* ===== UTILITY CLASSES ===== */
.color { color: var(--primary-color); }
.colors { color: var(--text-light); }
.section { display: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 4px;
  color: var(--secondary-color);
  transition: all .4s ease;
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color); 
  border-radius: 4px;
  transition: all .4s ease;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark); 
  border-radius: 4px;
}

/* ===== FORM ELEMENTS ===== */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

/* ===== LOADER ===== */
#loader {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  z-index: 100;
  background-color: #202020;
  color: var(--text-light);
  font-size: 70px;
  width: 100%;
}

/* ===== HEADER ===== */
#header {
  background:#171717;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  animation: scale 1.5s ease;
  position: relative;
  display: block;
  z-index: 1; /* Add this line to establish stacking context */
}

.header-content {
  height: 100vh;
  width: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-light);
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 50px;
  z-index: 2; /* Ensure this is higher than #header */
}

.header-content-box {
  z-index: 2;
  text-align: center;
  height: auto;
  padding-right: 60px;
  width: auto;
}

.header-content .firstline {
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 65px;
}

.header-content .secondline {
  font-size: 30px;
  padding-top: 20px;
  font-weight: 500;
  color: var(--text-muted);
}
.header-content .contact{
    display: flex;
    position: absolute;
    width: 10%;
    right: 0;
    top: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 3;
}
.header-content .contact a{
    z-index: 3;
}
.header-content .contact img{
    margin:10px;
    height:30px;
    opacity: .6;
    transition: all .4s ease;
}
.header-content .contact img:hover{
    opacity: 1;
    transform: scale(1.1);
}

/* ===== NAVIGATION ===== */
#navigation-bar {
  position: fixed;
  height: 100px;
  width: 100%;
  z-index: 3;
  padding: 10px;
  background: transparent;
  overflow: hidden;
}

.centered-container {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.centered-container nav {
  display: flex;
  gap: 6px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 6px;
}

.clickable-text {
  white-space: nowrap;
  padding: 10px 22px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border-radius: 10px;
  transition: color .25s ease, background .25s ease;
  text-decoration: none;
}

.clickable-text:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.08);
}

/* ===== SOCIAL MEDIA ===== */
.social-media-links {
  height: 100vh;
  position: absolute;
  z-index: 3; /* Higher than header-content */
  padding: 60px;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#particles {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
  background-size: cover;
  background-position: 50% 50%;
  display: block;
  z-index: 1; /* Behind content but above header background */
}


.social-media {
  color: var(--text-light);
  width: 21px;
  opacity: .6;
  margin: 8px;
  transition: all .4s ease;
}

.social-media:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ===== ABOUT SECTION ===== */
#about {
  height:auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1.5%;
  padding-right: 2%;
  padding-top: 50px;
  padding-bottom: 40px;
}

#about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  justify-content: center;
  height: auto;
  width: 100%;
  padding: 30px;
}

.about-header {
  height: auto;
  width: 100%;
  text-align: center;
  font-size: 45px;
  font-family: 'Raleway', sans-serif;
  color: var(--text-light);
  padding: 10px;
  padding-bottom: 30px;
  padding-top: 60px;
  font-weight: 900;
}

.about-first-paragraph {
  color: var(--text-light);
  justify-content: center;
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  padding: 30px;
  font-weight: 400;
}

.about-first-paragraph .color {
  font-size: 40px;
}

.about-first-line {
  font-size: 35px;
  opacity: 1;
  margin-bottom: 10px;
  display: block;
}

.about-second-line {
  opacity: .8;
  font-size: 18px;
  font-weight: 200;
}

.about-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: auto;
  padding: 0 6vw;
  gap: 4vw;
  flex-direction: row;
}

.about-text-col {
  flex: 1.2;
  min-width: 0;
}

.about-certs-col {
  flex: 1;
  min-width: 0;
}

/* ===== SERVICES ===== */
.services-content {
  height: auto;
  width: 100%;
  overflow: hidden;
  text-align: center;
  padding: 0.5%;
}

.service {
  height: 380px;
  width: 28%;
  margin: 1.5%;
  background-color: #191919;
  display: inline-block;
  box-shadow: 0px 0px 25px rgba(0,0,0,0.05);
  position: relative;
  text-align: center;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
  animation: opacity 1.4s ease;
}

.service-img img {
  display: inline-block;
  z-index: 2;
  position: relative;
  margin: 20px;
  border-radius: 30%;
  padding: 10px;
  border: 0px solid var(--secondary-color);
  background: var(--secondary-color);
  box-shadow: 0px 0px 0px 0px var(--secondary-color);
  height: 100px;
  transition: all .8s ease;
}

.service:hover .service-img img {
  box-shadow: 0px 0px 0px 400px var(--secondary-color);
}

.service-description {
  font-family: 'Poppins', sans-serif;
  color: var(--text-light);
  position: relative;
  display: inline-block;
  z-index: 2;
}

.service-description h2 {
  padding: 10px;
  margin: 5px;
  font-weight: 200;
  font-size: 25px;
}

.service-description p {
  padding: 10px;
  font-weight: 200;
  font-size: 16px;
  opacity: .8;
}

/* ===== PORTFOLIO ===== */
#portfolio {
  height:auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1.5%;
  padding-right: 2%;
  padding-top: 50px;
  padding-bottom: 40px;
}

.portfolio-header {
  height: auto;
  width: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 45px;
  font-family: 'Raleway', sans-serif;
  transition: all .4s ease;
  color: var(--text-light);
  padding: 10px;
  padding-bottom: 30px;
  padding-top: 60px;
  font-weight: 900;
}

.header-caption {
  opacity: .8;
  display: block;
  font-size: 20px;
  font-family: 'Raleway', sans-serif;
  padding: 8px;
  padding-top: 15px;
  color: var(--text-light);
  font-weight: 400;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.project {
  width: 32%;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  color: whitesmoke;
  backdrop-filter: blur(8px);
  transition: transform .3s ease, box-shadow .3s ease;
}

.project:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: transform 0.5s ease, object-fit 0.5s ease;
}

.project img:hover {
  object-fit: contain;
  transform: scale(1.1);
}

.project-icon {
  width: 24px;
  height: auto;
  object-fit: unset;
  transition: none;
}

.project h2 {
  font-size: 22px;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  padding: 0 4px;
  color: var(--primary-color);
}

.project h3 {
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
  padding: 2px;
}

/* Tech Stack Badges */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  color: #bbb;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: translateY(-2px);
}

.tech-badge i {
  font-size: 14px;
}

.project h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: gray;
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
}

.project p {
  padding: 5px;
  color: var(--text-light);
  opacity: .9;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 10px;
}


.project-links {
  list-style: none;
  padding: 10px;
  margin: 0;
}

.project-links img {
  width: 24px;
  height: auto;
  object-fit: unset;
  transition: none;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-container a {
  display: flex;
  align-items: center;
}

.header-container img {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
  border-radius: 0;
  object-fit: contain;
  transition: none;
}

.team-size {
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 8px;
  border-radius: 20px;
  font-size: 14px;
  color: #bbb;
}

/* ===== HIGHLIGHTED PROJECT CARD ===== */
@property --aura-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.project.project-highlight {
  position: relative;
  overflow: visible;
  border: none;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
}

.project.project-highlight::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 18px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    #7c3aed,
    #a855f7,
    #c084fc,
    #7c3aed,
    #6d28d9,
    #a855f7,
    #7c3aed
  );
  z-index: -1;
  animation: aura-rotate 4s linear infinite;
  opacity: 0.7;
  filter: blur(4px);
}

.project.project-highlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: rgba(23, 23, 23, 0.95);
  z-index: -1;
}

.project.project-highlight h2 {
  color: #a855f7;
}

.project.project-highlight h2 a {
  color: inherit;
  text-decoration: none;
}

.project.project-highlight h2 a:hover {
  text-decoration: underline;
}

.project.project-highlight:hover {
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.project.project-highlight:hover::before {
  opacity: 1;
  filter: blur(6px);
}

@keyframes aura-rotate {
  from { --aura-angle: 0deg; }
  to { --aura-angle: 360deg; }
}

/* ===== COURSEWORK ===== */
#coursework {
  height:auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1.5%;
  padding-right: 2%;
  padding-top: 50px;
  padding-bottom: 40px;
}

.coursework-header {
  font-family: 'Raleway', sans-serif;
  font-size: 45px;
  text-align: center;
  padding: 60px 0 30px;
  color: var(--text-light);
  font-weight: 900;
}

.cw-section {
  width: 100%;
}

.coursework-area {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: var(--primary-color);
  margin: 40px 0 20px;
  padding-left: 3vw;
  border-left: 4px solid var(--primary-color);
}

/* Per-category color overrides */
.cw-ai .coursework-area      { color: #00c2d4; border-left-color: #00c2d4; }
.cw-ai .course-card          { border-color: rgba(0, 194, 212, 0.25); }
.cw-ai .course-card h3       { color: #00c2d4; }
.cw-ai .course-card:hover    { box-shadow: 0 8px 24px rgba(0, 194, 212, 0.2); }

.cw-games .coursework-area   { color: #a855f7; border-left-color: #a855f7; }
.cw-games .course-card       { border-color: rgba(168, 85, 247, 0.25); }
.cw-games .course-card h3    { color: #a855f7; }
.cw-games .course-card:hover { box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2); }

.cw-cs .coursework-area      { color: #3b82f6; border-left-color: #3b82f6; }
.cw-cs .course-card          { border-color: rgba(59, 130, 246, 0.25); }
.cw-cs .course-card h3       { color: #3b82f6; }
.cw-cs .course-card:hover    { box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2); }

.cw-devops .coursework-area   { color: #f97316; border-left-color: #f97316; }
.cw-devops .course-card       { border-color: rgba(249, 115, 22, 0.25); }
.cw-devops .course-card h3    { color: #f97316; }
.cw-devops .course-card:hover { box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2); }

.cw-math .coursework-area   { color: #22c55e; border-left-color: #22c55e; }
.cw-math .course-card       { border-color: rgba(34, 197, 94, 0.25); }
.cw-math .course-card h3    { color: #22c55e; }
.cw-math .course-card:hover { box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2); }

.cw-network .coursework-area   { color: #ef4444; border-left-color: #ef4444; }
.cw-network .course-card       { border-color: rgba(239, 68, 68, 0.25); }
.cw-network .course-card h3    { color: #ef4444; }
.cw-network .course-card:hover { box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2); }

.cw-econ .coursework-area   { color: #eab308; border-left-color: #eab308; }
.cw-econ .course-card       { border-color: rgba(234, 179, 8, 0.25); }
.cw-econ .course-card h3    { color: #eab308; }
.cw-econ .course-card:hover { box-shadow: 0 8px 24px rgba(234, 179, 8, 0.2); }

.coursework-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 0 2vw 50px;
}

.course-card {
  flex: 1 1 320px;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 25px;
  color: var(--text-light);
  backdrop-filter: blur(8px);
  transition: transform .3s ease, box-shadow .3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.course-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.course-card .meta {
  font-size: 14px;
  opacity: .75;
  margin-bottom: 12px;
}

.course-card p {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  opacity: .9;
  line-height: 1.4;
}

/* ===== CERTIFICATIONS ===== */
.certifications {
  width: 100%;
  padding: 20px 0;
  color: var(--text-light);
  text-align: center;
}

.cert-title {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  margin-bottom: 30px;
}

.cert-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cert-card {
  position: relative;
  flex: 1 1 260px;
  max-width: 300px;
  padding: 24px 20px;
  background-color: rgba(70, 70, 70, 0.136);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform .3s ease;
  z-index: 1;
}

.cert-card:hover {
  transform: translateY(-4px);
}

.cert-card.udemy::before,
.cert-card.nvidia::before,
.cert-card.anthropic::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .10;
  background-size: 120px auto;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.cert-card.udemy::before {
  background-image: url('../images/udemy.png');
}

.cert-card.nvidia::before {
  background-image: url('../images/nvidia.png');
}

.cert-card.anthropic::before {
  background-image: url('../images/anthropic.jpg');
}

.cert-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.cert-card .issuer {
  font-size: 13px;
  opacity: .7;
  margin-bottom: 12px;
  user-select: text;
}

.cert-btn {
  font-family: 'Poppins', sans-serif;
  display: inline-block;
  padding: 4px 12px;
  color: #fff;
  font-size: 12px;
  border-radius: 5px;
}

/* ===== CONTACT ===== */
#contact {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 0;
}

.contact-header {
  height: auto;
  width: 100%;
  text-align: center;
  font-size: 45px;
  font-family: 'Raleway', sans-serif;
  color: var(--text-light);
  padding: 10px 10px 20px;
  padding-top: 60px;
  font-weight: 900;
}

.contact-header-caption {
  padding: 10px;
  color: var(--text-light);
  opacity: .9;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
}

.contact-content {
  flex: 1;
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}

.contact-info {
  width: 100%;
  height: 55vh;
  background: url(../images/contact-bridge.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--bg-dark);
  opacity: .65;
  pointer-events: none;
}

.contact-form {
  height: 550px;
  padding-right: 40px;
  width: 60%;
  display: flex;
  flex-direction: column;
}

form {
  display: flex;
  flex-direction: column;
  height: auto;
  width: auto;
  align-items: center;
  position: relative;
}

.input-line {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.input-name {
  width: 40%;
  padding: 10px 20px;
  margin: 14px;
  border-radius: 8px;
  outline: none;
  background: var(--bg-darker);
  border: none;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
}

.form-header {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text-light);
  padding: 28px;
}

.input-subject {
  width: 84%;
  padding: 10px 20px;
  margin: 24px;
  border-radius: 8px;
  outline: none;
  background: var(--bg-darker);
  border: none;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
}

.input-textarea {
  width: 84%;
  padding: 10px 20px;
  margin: 15px;
  height: 150px;
  border-radius: 8px;
  outline: none;
  background: var(--bg-darker);
  border: none;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
}

form button {
  padding: 8px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: var(--text-light);
  background: #BB0035;
  opacity: .8;
  margin: 20px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  transition: all .4s ease;
}

form button:hover {
  opacity: 1;
}

.contact-info-header {
  position: relative;
  z-index: 2;
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text-light);
  padding: 12px 30px;
  text-align: center;
}

.contact-info-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 0 40px;
}

.contect-info-content-line {
  height: auto;
  padding: 10px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 12px;
  margin-left: 0;
}

.contact-info-icon-text {
  color: var(--text-light);
  padding: 15px;
  font-family: 'Poppins', sans-serif;
}

.contact-info-icon-text h6 {
  font-size: 15px;
  opacity: .8;
}

.contact-info-icon-text p {
  font-size: 14px;
  opacity: .7;
}

.icon {
  height: 40px;
  opacity: .8;
}

/* ===== FOOTER ===== */
.footer {
  background: #080808;
  width: 100%;
  padding: 20px;
  color: var(--text-light);
  display: flex;
  flex-direction: row;
  font-family: 'Poppins', sans-serif;
  align-items: center;
  justify-content: center;
}

.footer .footer-text {
  position: relative;
  display: inline;
  font-size: 18px;
  font-weight: 400;
  opacity: 1;
}

#breaker{
    height: 100vh;
    width: 200%;
    background-color: #c70039;
    opacity: 1;
    animation: breakeranimate 2s linear;
    display: none;
    transition: all .1s ease;
    border-radius: 5px;
    z-index: 10;
    position: fixed;
}

/* ===== ANIMATIONS ===== */
@keyframes animateslash {
  0% { opacity: 1; z-index: 2; }
  100% { opacity: 0; z-index: 0; }
}
@-webkit-keyframes animateslash {
  0% { opacity: 1; z-index: 2; }
  100% { opacity: 0; z-index: 0; }
}

@keyframes breakeranimate {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}
@-webkit-keyframes breakeranimate {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

@keyframes scale {
  0% { transform: scale(.6); }
  100% { transform: scale(1); }
}
@-webkit-keyframes scale {
  0% { transform: scale(.6); }
  100% { transform: scale(1); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@-webkit-keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.slash {
  animation-name: animateslash;
  animation-duration: .8s;
  animation-iteration-count: infinite;
  animation-play-state: running;
}

/* ===== CURSOR ===== */
.cursor {
  height: 50px;
  width: 50px;
  display: block;
  border-radius: 50%;
  border: 1px solid var(--text-light);
  background: transparent;
  pointer-events: none;
  position: fixed;
  top: -25px;
  left: -25px;
  z-index: 10;
  opacity: .6;
  transition: scale 0.15s ease, opacity 0.15s ease;
}

.cursor-small {
  height: 50px;
  width: 50px;
  display: block;
  border-radius: 50%;
  border: 1px solid var(--text-light);
  background: transparent;
  pointer-events: none;
  position: fixed;
  top: -25px;
  left: -25px;
  z-index: 10;
  opacity: .6;
  transition: scale .4s ease;
}

/* ===== RESPONSIVE DESIGN ===== */
@media only screen and (max-width: 550px) {
  /* Mobile styles */
  .header-content {
    font-size: 40px;
    letter-spacing: 2px;
  }
  
  .contact {
    display: none;
  }
  
  .header-image {
    width: 0%;
  }
  
  .social-media-links {
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 10px;
    flex-direction: row;
  }
  
  .header-content-box {
    padding-right: 0;
  }
  
  #breaker {
    height: 50vh;
  }
  
  .about-first-paragraph {
    width: 95%;
    padding: 10px;
  }

  .about-first-line {
    font-size: 28px;
  }

  .about-second-line {
    font-size: 15px;
  }

  .about-main {
    padding: 0 10px;
    gap: 0;
    flex-direction: column;
  }

  .about-text-col,
  .about-certs-col {
    flex: none;
    width: 100%;
  }

  .about-img img {
    width: 280px;
    height: 220px;
    padding: 5px;
  }

  .about-img {
    width: 100%;
    height: 250px;
  }
  
  .service {
    width: 90%;
    height: 320px;
  }
  
  .service-img img {
    height: 80px;
  }
  
  .portfolio {
    flex-direction: column;
  }
  
  .portfolio-text {
    width: 90%;
    margin-left: 0;
    margin-top: 0;
  }
  
  .portfolio-text h2 {
    font-size: 22px;
  }
  
  .portfolio-text p {
    font-size: 15px;
  }
  
  .cursor {
    display: none;
  }
  
  .portfolio-image img {
    height: 300px;
  }
  
  .portfolio-image {
    width: 90%;
    height: 300px;
  }
  
  #navigation-bar img {
    display: none;
  }
  
  .blogs {
    width: 90%;
  }
  
  .contact-content {
    flex-direction: column;
  }

  .contact-info {
    width: 100%;
    border-radius: 0;
  }

  .contact-info-content {
    flex-direction: column;
    padding: 10px;
  }

  .contact-form {
    width: 90%;
    padding-right: 0;
  }

  .input-line {
    flex-direction: column;
  }

  .input-name,
  .input-subject,
  .input-textarea {
    width: 90%;
  }

  .contect-info-content-line {
    margin-left: 5%;
  }

  .hire-me-section {
    display: none;
  }
}

@media all and (max-width: 1025px) and (min-width: 551px) {
  /* Tablet styles */
  .header-content {
    font-size: 40px;
    letter-spacing: 2px;
  }
  
  .header-image {
    width: 0%;
  }
  
  .social-media-links {
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 10px;
    flex-direction: row;
  }
  
  .contact {
    display: none;
  }
  
  #breaker {
    height: 50vh;
  }
  
  .about-first-paragraph {
    width: 95%;
    padding: 25px;
  }

  .about-first-line {
    font-size: 32px;
  }

  .about-second-line {
    font-size: 24px;
  }

  .about-main {
    padding: 0 10px;
    gap: 2vw;
    flex-direction: column;
  }

  .about-text-col,
  .about-certs-col {
    flex: none;
    width: 100%;
  }
  
  .service {
    width: 45%;
    height: auto;
    padding: 10px;
  }
  
  .service-description h2 {
    font-size: 22px;
  }
  
  .service-description p {
    font-size: 15px;
  }
  
  .portfolio {
    flex-direction: column;
  }
  
  .portfolio-text {
    width: 70%;
  }
  
  .portfolio-text h2 {
    font-size: 35px;
  }
  
  .portfolio-text p {
    font-size: 20px;
  }
  
  .cursor {
    display: none;
  }
  
  .portfolio-image img {
    height: 380px;
  }
  
  .portfolio-image {
    width: 70%;
    height: 380px;
  }
  
  .blogs {
    width: 75%;
  }
  
  .contact-content {
    flex-direction: column;
  }

  .contact-info {
    width: 100%;
    border-radius: 0;
  }

  .contact-form {
    width: 90%;
    padding-right: 0;
  }

  .input-line {
    flex-direction: column;
  }

  .input-name,
  .input-subject,
  .input-textarea {
    width: 80%;
  }

  .contect-info-content-line {
    margin-left: 0;
  }

  .hire-me-section {
    display: none;
  }

}

@media all and (max-width: 9000px) and (min-width: 1441px) {
  /* Large desktop styles */
  .portfolio-image img {
    height: 500px;
  }
  
  .portfolio-image {
    height: 500px;
  }
  
  .about-img img {
    height: 450px;
  }
  
  .about-img {
    width: 40%;
    height: 450px;
  }
  
  .about-first-line {
    font-size: 45px;
  }
  
  .about-first-line .color {
    font-size: 46px;
  }
  
  .about-second-line {
    font-size: 28px;
  }
  
  .service {
    height: 400px;
    padding: 10px;
  }
  
  .service-img img {
    height: 120px;
  }
  
  .service-description h2 {
    font-size: 32px;
  }
  
  .service-description p {
    font-size: 17px;
  }
  
  .blogs {
    width: 30%;
  }
  
  .contact-form {
    height: 600px;
  }
  
  .input-name,
  .input-subject,
  .input-textarea {
    width: 60%;
  }
}