body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 800;
    color: #0f4c81 !important;
    font-size: 1.5rem;
}
.nav-link {
    color: #334155 !important;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
}
.nav-link:hover { color: #0f4c81 !important; }
.navbar-toggler {
  padding: 0.5rem 1rem;
}
@media (max-width: 768px) {
  section.py-5 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}


/* HERO */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(to right, #f8fafc, #ffffff);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}
.gradient-text {
  background: linear-gradient(90deg, #0f4c81, #2563eb, #3b82f6);
  background-clip: text;         /* optional for Chrome */
  -webkit-background-clip: text; /* required for Chrome */
  -webkit-text-fill-color: transparent;
}


.hero p {
    color: #475569;
    font-size: 1.1rem;
    margin-top: 20px;
}
.hero-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transition: 0.3s;
}
.hero-card:hover { transform: translateY(-5px); }

/* HERO FLOATING SHAPES */
.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
}
.shape1 {
    width: 200px;
    height: 200px;
    background: #0f4c81;
    top: -50px;
    right: -50px;
    animation: float1 6s ease-in-out infinite alternate;
}
.shape2 {
    width: 150px;
    height: 150px;
    background: #3b82f6;
    bottom: -30px;
    left: -30px;
    animation: float2 8s ease-in-out infinite alternate;
}
@keyframes float1 { 0% { transform: translateY(0); } 100% { transform: translateY(20px); } }
@keyframes float2 { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } }

/* PROFILE CARD */
.profile-card {
    background: #e0f2fe;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.07);
    transition: 0.3s;
}
.profile-card:hover { transform: translateY(-5px); }
.profile-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 15px;
}
.profile-card h5 { font-weight: 700; margin-bottom: 5px; }
.profile-card p { color: #475569; }

/* BUTTONS */
.btn-main {
    border: 1px solid #0f4c81;
    color: #0f4c81;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600
}
.btn-main:hover 
{ 
    background: #0f4c81;
    color: white;
}
 
.btn-outline {
    border: 1px solid #0f4c81;
    color: #0f4c81;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
}
.btn-outline:hover {
    background: #0f4c81;
    color: white;
}
.btn-outline i { margin-right: 8px; }

/* SECTION TITLE */
.section-title {
    font-weight: 800;
    margin-bottom: 40px;
    color: #0f172a;
    text-align: center;
}

/* PROFESSIONAL RECTANGULAR SKILL BADGES */

/* Tech icon style same as project section */
/* Circular tech icons with hover animation */
.tech-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.tech-icon-circle:hover {
    transform: scale(1.2);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
small {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: #1e293b;
}
/* PROJECTS */
.project-box {
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-box:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.2); }
.project-box img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; }
.project-box .tech-icons i {
    font-size: 24px;
    margin-right: 10px;
    padding: 6px;
    border-radius: 50%;
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-box .tech-icons i:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* CONTACT */
#contact a { font-size: 1.1rem; }

/* FOOTER */
footer {
    margin-top: 70px;
    padding: 30px;
    text-align: center;
    background: #ffffff;
    color: #64748b;
    font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero .row {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .hero-card, .profile-card {
    width: 90%;
    margin: 15px 0;
  }
}

/* HORIZONTAL PROJECTS */
.projects-horizontal {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 15px;
}

.projects-horizontal::-webkit-scrollbar {
    height: 8px;
}

.projects-horizontal::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.project-item {
    min-width: 420px;
    flex-shrink: 0;
}
.project-video {
  width: 100%;       /* full width of parent */
  max-width: 600px;  /* max width so it doesn't stretch too much */
  height: auto;      /* keep aspect ratio */
  display: block;
  margin: 0 auto;    /* center the video */
}
.project-video {
  width: 100%;
  height: auto;
  max-height: 280px;
}

@media (max-width: 768px) {
  .project-item {
    min-width: 280px;
  }
  .project-video {
    height: 180px;
  }
}

/* Contact Cards */
.contact-card {
    background: #e0f2fe;
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.contact-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f4c81;
}
.contact-card p {
    color: #475569;
    font-weight: 500;
}
@media (max-width: 768px) {
  #contact .row.justify-content-center {
    flex-direction: column;
    align-items: center;
  }
  .contact-card, .hero-card {
    width: 90%;
    margin-bottom: 20px;
  }
}
@media (max-width: 576px) {
  #skills .row {
    justify-content: center;
  }
}

/* Social Links */
.social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 20px;
    color: #0f4c81;
    border: 1px solid #0f4c81;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 43px;
    text-align: center;
    transition: all 0.3s;
}
.social-links a:hover {
    background: #0f4c81;
    color: #fff;
    transform: scale(1.2);
}
.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer; /* shows pointer on hover */
}

.project-card:hover {
  transform: scale(1.05); /* slightly bigger */
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2); /* stronger shadow */
}
.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Form container card */
.hero-card {
    background: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s;
}
.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Social Links */
.social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 20px;
    color: #0f4c81;
    border: 1px solid #0f4c81;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 43px;
    text-align: center;
    transition: all 0.3s;
}
.social-links a:hover {
    background: #0f4c81;
    color: #fff;
    transform: scale(1.2);
}

