@media (max-width: 768px) {

  /* NAV RESPONSIVE */
  nav ul {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* HEADER RESPONSIVE */
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }

  /* INTRO & ABOUT */
  .intro, 
  .about-card {
    padding: 20px;
    margin: 20px;
  }

  /* CONTACT CARD */
  .contact-card {
    width: 90%;
  }

  /* HERO TEXT (you already had this) */
  .hero-text {
    font-size: 1.5rem;
  }

  /* IMAGES FULL WIDTH */
  img {
    width: 100%;
  }
}


/* Global styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f9f9f9;
    color: #111;
}

/* Header / Hero */
header {
    background-color: #0b2b40;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #00bcd4;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: #f4c430;
    color: #0b2b40;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    background-color: #0b2b40;
    margin: 0;
    padding: 10px 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: 0.3s;
}

nav ul li a:hover {
    background-color: #f4c430;
    color: #0b2b40;
    border-radius: 6px;
}

/* Intro Section */
.intro {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #eee;
    font-size: 0.9rem;
}

footer a {
    color: #0b2b40;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #f4c430;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
/* ---------- PROJECT PAGE LAYOUT ---------- */
.project-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.project-section h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #0b2b40;
    font-weight: 700;
}

/* ---------- PROJECT GRID ---------- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 10px;
}

/* ---------- PROJECT CARD ---------- */
.project-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    text-align: left;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ---------- PROJECT IMAGE ---------- */
.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* ---------- PROJECT TITLE ---------- */
.project-card h3 {
    font-size: 1.4rem;
    color: #0b2b40;
    margin-bottom: 8px;
    font-weight: 600;
}

/* ---------- PROJECT DESCRIPTION ---------- */
.project-card p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ---------- GITHUB BUTTON ---------- */
.project-card a {
    display: inline-block;
    padding: 10px 16px;
    background-color: #00bcd4;
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.project-card a:hover {
    background: #f4c430;
    color: #0b2b40;
}
/* ---------- SKILLS PAGE ---------- */
.skills-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.skills-section h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #0b2b40;
    font-weight: 700;
}

/* ---------- SKILLS GRID ---------- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 10px;
}

/* ---------- SKILL CARD ---------- */
.skill-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ---------- SKILL TITLE ---------- */
.skill-card h3 {
    font-size: 1.4rem;
    color: #0b2b40;
    margin-bottom: 10px;
    font-weight: 600;
}

/* ---------- SKILL TEXT ---------- */
.skill-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}
/* =============== CONTACT PAGE - 3 BOXES STYLE =============== */

.contact-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa; /* light background */
}

.contact-section h1 {
    font-size: 42px;
    color: #001f4d; /* navy blue */
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 18px;
    color: #001f4d; /* navy blue */
    margin-bottom: 50px;
}

/* Container for 3 boxes */
.contact-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Individual boxes */
.contact-card {
    background: #ffffff; /* white box */
    padding: 30px;
    width: 250px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #001f4d; /* navy blue border */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Icons */
.contact-icon {
    font-size: 42px;
    margin-bottom: 15px;
    color: #001f4d; /* navy blue icon */
}

/* Headings inside boxes */
.contact-card h3 {
    color: #001f4d;
    font-size: 20px;
    margin-bottom: 8px;
}

/* Text / links */
.contact-card p,
.contact-card a {
    color: #001f4d;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: #003366; /* darker navy on hover */
    text-decoration: underline;
}
/* =============== ABOUT PAGE =============== */

.about-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa; /* light background */
}

/* Heading */
.about-section h1 {
    font-size: 42px;
    color: #001f4d; /* navy blue */
    margin-bottom: 20px;
}

/* Card / Box for about text */
.about-card {
    background: #ffffff; /* white card */
    max-width: 800px;
    margin: 0 auto; /* center horizontally */
    padding: 30px 40px;
    border-radius: 16px;
    border: 2px solid #001f4d; /* navy border */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-align: left;
}

/* Text inside card */
.about-card p {
    font-size: 18px;
    line-height: 1.7;
    color: #001f4d; /* navy text */
    margin-bottom: 15px;
}

/* Optional: make card lift on hover */
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}
.about-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.about-section h1 {
    font-size: 42px;
    color: #001f4d; /* navy blue */
    margin-bottom: 20px;
}

.about-card {
    background: #ffffff; /* white box */
    max-width: 800px;
    margin: 0 auto; /* center horizontally */
    padding: 30px 40px;
    border-radius: 16px;
    border: 2px solid #001f4d; /* navy border */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-align: left;
}

.about-card p {
    font-size: 18px;
    line-height: 1.7;
    color: #001f4d;
    margin-bottom: 15px;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}
