html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f8fafc;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #38bdf8;
    cursor: pointer;
}

.header a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #f1f5f9;
    transition: color 0.3s ease;
}

.header a:hover {
    color: #38bdf8;
}

.header button {
    margin-left: 1.5rem;
    text-decoration: none;
    font-size: 16px;
    color: #f1f5f9;
    background-color: transparent;
    border: none;
    transition: color 0.3s ease;
}

.header button:hover {
    color: #38bdf8;
    cursor: pointer;
}

.about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.about-me img {
    width: 250px;
    height: 240px;
    border-radius: 50%;
    border: 4px solid #38bdf8;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

.about-me h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
    animation: fadeIn 1.2s ease forwards;
}

.about-me p {
    max-width: 800px;
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.footer {
    text-align: center;
    padding: 2rem;
    background: #0f172a;
    margin-top: auto;
}

.footer strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #38bdf8;
}

.footer a {
    margin: 0 0.8rem;
    text-decoration: none;
    color: #cbd5e1;
    transition: color 0.3s;
}

.footer a:hover {
    color: #38bdf8;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cta-btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: #38bdf8;
    color: #0f172a;
    border-radius: 9999px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.cta-btn:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
}

.projects {
    flex: 1;
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.projects h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.content h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.project {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 12px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.project-header {
    padding: 1rem 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #f1f5f9;
    background: rgba(56, 189, 248, 0.1);
    transition: background 0.3s ease;
}

.project-header:hover {
    background: rgba(56, 189, 248, 0.2);
}

.project-header span {
    font-size: 1.2rem;
}

.project-header .icon {
    transition: transform 0.3s;
}

.project.open .project-header .icon {
    transform: rotate(90deg);
}

.project-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.2rem;
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
    font-size: 0.95rem;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.project.open .project-content {
    max-height: 500px; 
    padding: 1rem 1.2rem;
}

.card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 12px;
    width: 100%;
    margin-bottom: 2rem;
    padding: 2rem;
}

.resume {
    margin-bottom: 2.5rem;
    text-align: center;
}

.resume iframe {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.content {
    flex: 1;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.service {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.service h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.tabs-container {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.tabs-container input[type="radio"] {
  display: none;
}

.tabs {
  display: flex;
  flex-direction: column;
  min-width: 260px;
}

.tabs label {
  padding: 1rem;
  margin-bottom: 0.8rem;
  background: rgba(30, 41, 59, 0.7);
  color: #f1f5f9;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  text-align: left;
  transition: background 0.25s, transform 0.15s, color 0.25s;
}

.tabs label:hover {
  transform: translateX(6px);
  background: rgba(56, 189, 248, 0.08);
  color: #e6f8ff;
}

.tab-content-container {
  flex: 1;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 2rem;
  color: #cbd5e1;
  min-height: 120px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.35s ease;
}

#tab1:checked ~ .tab-content-container #content1,
#tab2:checked ~ .tab-content-container #content2,
#tab3:checked ~ .tab-content-container #content3 {
  display: block;
}

#tab1:checked ~ .tabs label[for="tab1"],
#tab2:checked ~ .tabs label[for="tab2"],
#tab3:checked ~ .tabs label[for="tab3"] {
  background: linear-gradient(90deg, rgba(56,189,248,0.12), rgba(56,189,248,0.06));
  color: #38bdf8;
  border-color: rgba(56,189,248,0.6);
}

.links {
    color: #0077cc;
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}

.links:hover {
    color: #005fa3;
    text-decoration: underline;
}

.links:active {
    color: #003d66;
}