@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

body {
  font-family: "Inter", sans-serif;
}


.bg-primary {
  background: linear-gradient(to bottom, black, #0e1424);
}

.gradient-text {
  background: linear-gradient(to right, #60a5fa, #2563eb); /* blue shades */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.line {
  position: relative;
  display: inline-block; 
}
.line::after {
  content: "";
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -2px; 
  height: 2px;
  background-color: #3b82f6; 
  transition: width 0.3s ease;
}

/* 1️⃣ White → Blue → Black */
.gradient-1 {
  background: linear-gradient(120deg, #ffffff, #3b82f6, #000000);
}

/* 2️⃣ Yellow → Blue → White */
.gradient-2 {
  background: linear-gradient(90deg, #facc15, #3b82f6, #ffffff);
}

/* 3️⃣ Black → Yellow → Blue */
.gradient-3 {
  background: linear-gradient(135deg, #000000, #facc15, #3b82f6);
}

/* 4️⃣ Blue → White → Yellow */
.gradient-4 {
  background: linear-gradient(150deg, #3b82f6, #ffffff, #facc15);
}

/* 5️⃣ Subtle blend: White → Yellow → Black → Blue */
.gradient-5 {
  background: linear-gradient(160deg, #ffffff, #facc15, #000000, #3b82f6);
}


.card-container{
    margin: 3rem auto ;
    display: grid;
    grid-template-columns: auto;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    height: auto;
    
}




.card{    
    height: 350px;
      background: linear-gradient(to right bottom, #60a5fa, #2563eb); /* blue shades */
    border-radius: 6px;
    padding: 10px;
    position: relative;
}

.imageContainer{
    width: 95%;
    margin: 0 auto;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 300ms ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.imageContainer:hover{
    transform: scale(1.1);
}

.imageContainer img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1.5px solid var(--white);
}

.content{
    color: var(--white);
    margin-top:1rem ;
}

.content h1{
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.content p{
    font-size: 14px;
    color: var(--para);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.buttonContainer{
    display: flex;
    justify-content: end;
    align-items: end;
    position: absolute;
    bottom: 10px;
    right: 5px;
}

.buttonContainer button{
    background: black;
    padding: 8px 12px;
    border-radius: 7px;
    font-weight: 400;
}



.buttonContainer button a{
    color: gray;
    font-size: 1rem;
}
.buttonContainer button:hover a{
  color:white;
}

/* Custom gradient scrollbar */
/* filepath: e:\Projects\Web-Dev\HCJ\vanillajs-2\src\style.css */

/* For Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 12px;
  background: #0e1424;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  border-radius: 8px;
  border: 2px solid #0e1424;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #2563eb #0e1424;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

 @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }
        .float-animation {
            animation: float 6s ease-in-out infinite;
        }
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        .animate-gradient {
            background-size: 200% 200%;
            animation: gradient 8s ease infinite;
        }
