@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0d0d0d;
    color: #f3f4f6;
    line-height: 1.6;
}

header {
    width: 100%;
    padding: 1.2rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    color: #d1d5db;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #f97316;
}

.hero {
    height: 100vh;
    background: url('images/background.png') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    background: linear-gradient(to right, #fdba74, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #d1d5db;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: linear-gradient(to right, #fdba74, #f97316);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.portfolio {
    padding: 6rem 2rem;
    background-color: #111;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(31, 41, 55, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    text-align: center;
}

.card img {
    width: 100%;
    display: block;
}

.card h3 {
    padding: 1rem;
    color: #f3f4f6;
}

.card:hover {
    transform: translateY(-10px);
}

.contact {
    padding: 6rem 2rem;
    text-align: center;
    background: #0d0d0d;
}

footer {
    padding: 2rem;
    text-align: center;
    background: #000;
    color: #9ca3af;
}
.about-page {
    padding: 8rem 2rem 6rem;
    background: #111;
    color: #f3f4f6;
}

.about-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: auto;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 55%;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #d1d5db;
    line-height: 1.8;
}

.about-image {
    flex: 1 1 40%;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease-in-out;
}

.about-image img:hover {
    transform: scale(1.05);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0d0d0d;
    color: #f3f4f6;
    line-height: 1.6;
}

/* Header */
header {
    width: 100%;
    padding: 1.2rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    color: #d1d5db;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #f97316;
}
.container.about-container .about-image img {
    border-radius: 25px;
}


/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: url('images/background.png') center/cover no-repeat fixed;
}

.hero-portfolio {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('images/portfolio-bg.jpg') center/cover no-repeat fixed;
}

.hero-content h2 {
    font-size: 3rem;
    background: linear-gradient(to right, #fdba74, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #d1d5db;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 2rem;
    background: #111;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fdba74;
}

.overlay p {
    font-size: 1rem;
    color: #d1d5db;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: #000;
    color: #9ca3af;
    margin-top: 2rem;
}

/* ================= Gallery Page ================= */
.gallery {
  padding: 8rem 2rem 6rem;
  background: #111;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: #222;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ================= Education Page (Modern Timeline) ================= */
.education-page {
  padding: 8rem 2rem 6rem;
  background: #0d0d0d;
  color: #f3f4f6;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
  padding: 2rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, #fdba74, #f97316);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 4px;
}

.timeline-item {
  padding: 2rem;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item .content {
  background: rgba(31, 41, 55, 0.9);
  padding: 1.5rem;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item .content:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(to right, #fdba74, #f97316);
  border: 3px solid #0d0d0d;
  z-index: 1;
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right::before {
  left: -10px;
}

.year {
  font-size: 1rem;
  font-weight: bold;
  color: #fdba74;
  display: block;
  margin-bottom: 0.5rem;
}

.content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #fff;
}

.content p {
  color: #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ================= Contact Page (Professional) ================= */
.contact-hero {
  height: 40vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url('images/contact-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-hero .hero-content h2 {
  font-size: 2.5rem;
  color: #fff;
}

.contact-hero .hero-content p {
  color: #d1d5db;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.contact-page {
  padding: 6rem 2rem;
  background: #0d0d0d;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
}

/* Glass Effect Form */
.contact-form {
  flex: 1 1 400px;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form h3 {
  margin-bottom: 1rem;
  color: #fdba74;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 8px;
  background: #1f2937;
  color: #f3f4f6;
  font-size: 1rem;
  outline: none;
  transition: background 0.3s, transform 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #374151;
  transform: scale(1.02);
}

.contact-form .btn {
  background: linear-gradient(to right, #fdba74, #f97316);
  border: none;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  padding: 0.9rem;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(249,115,22,0.4);
}

/* Contact Info */
.contact-info {
  flex: 1 1 300px;
  background: rgba(31, 41, 55, 0.95);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.contact-info h3 {
  margin-bottom: 1.2rem;
  color: #fdba74;
}

.contact-info p {
  margin-bottom: 1rem;
  color: #d1d5db;
  font-size: 1rem;
}

.contact-info i {
  margin-right: 0.5rem;
  color: #f97316;
}

/* Social Links */
.socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.socials a {
  font-size: 1.4rem;
  color: #f3f4f6;
  transition: color 0.3s, transform 0.3s;
}

.socials a:hover {
  color: #f97316;
  transform: scale(1.2);
}
.grid .card h3 {
}
