/* ====== GLOBAL STYLES ====== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ====== NAVIGATION ====== */
header {
  background-color: #000;
  color: white;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: white;
  border-radius: 15px;
  margin: 20px auto;
  width: 90%;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #6c63ff;
}

/* ====== PAGE HEADER ====== */
.page-header {
  background: linear-gradient(to right, #6c63ff, #5bc0f8);
  color: white;
  text-align: center;
  padding: 60px 0;
}
.page-header h1 {
  font-size: 40px;
  margin: 0;
}
.page-header p {
  margin: 10px 0 0;
  font-size: 18px;
}

/* ====== GALLERY SECTION (PORTFOLIO) ====== */
.gallery-container {
  padding: 60px 8%;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Each Image Box */
.gallery-item {
  background: #f9f9f9;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

/* Image Style */
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #6c63ff;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  opacity: 0.9;
}

/* Project Title */
.gallery-item h4 {
  margin: 15px 0;
  font-size: 1.1rem;
  color: #6c63ff;
  font-weight: 600;
}

/* ====== ABOUT SECTION (Used on Home & About) ====== */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  gap: 40px;
  flex-wrap: wrap;
}
.about-container img {
  max-width: 400px;
  border-radius: 10px;
}
.about-text h4 {
  color: gray;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}
.about-text h2 {
  font-size: 30px;
  margin: 10px 0;
}
.about-text p {
  color: #555;
  line-height: 1.6;
}

/* ====== SKILLS SECTION ====== */
.skills-section {
  padding: 50px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
}
.skill-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}
.progress-bar {
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  height: 8px;
}
.progress {
  height: 8px;
  background: linear-gradient(to right, #7b8df5, #4fc3f7);
}

/* ====== CONTACT PAGE ====== */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px;
  max-width: 1100px;
  margin: auto;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  margin-top: 0;
  color: #6c63ff;
}

.contact-info p {
  color: #555;
  margin-bottom: 20px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form h3 {
  margin-top: 0;
  color: #6c63ff;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.contact-form button {
  background: linear-gradient(to right, #6c63ff, #5bc0f8);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: linear-gradient(to right, #5bc0f8, #6c63ff);
}


/* ====== FOOTER ====== */
footer {
  background: #f7f7f7;
  padding: 20px;
  text-align: center;
  color: #555;
  font-size: 14px;
  border-top: 1px solid #e0e0e0;
}
/* ====== LOGIN PAGE (New Styles) ====== */
.login-container {
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-form {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}
.login-form h3 {
    color: #6c63ff;
    margin-bottom: 25px;
}
.login-form input {
    width: 90%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}
.login-form button {
    width: 100%;
    background: linear-gradient(to right, #6c63ff, #5bc0f8);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}
.login-form button:hover {
    background: linear-gradient(to right, #5bc0f8, #6c63ff);
}