/* Base Styles */
:root {
  --primary-color: #535C91;
  --secondary-color: #1B1A55;
  --accent-color: #9290C3;
  --light-color: #f8f8ff;
  --dark-color: #070F2B;
  --text-color: #333;
  --text-light: #f8f8ff;
  --success-color: #4CAF50;
  --warning-color: #FFC107;
  --error-color: #F44336;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-color);
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-icon {
  margin-right: 10px;
  color: var(--accent-color);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 0 auto;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

/* Navbar Styles */
.navbar {
  background-color: var(--dark-color);
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.logo-text {
  color: var(--light-color);
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--light-color);
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.nav-links a i {
  margin-right: 8px;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
  color: white;
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  flex: 1;
  padding-right: 50px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.cta-button {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.cta-button {
  background: var(--accent-color);
  color: white;
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.cta-button.secondary:hover {
  background: var(--accent-color);
  color: white;
}

.hero-image {
  flex: 1;
  position: relative;
}

.profile-img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent-color);
  box-shadow: 0 0 30px rgba(146, 144, 195, 0.5);
  animation: float 3s ease-in-out infinite;
}

.social-links {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-down a {
  color: white;
  font-size: 1.5rem;
}

/* Interests Section */
.interest-section {
  background-color: var(--dark-color);
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin: 32px;
}

.interest-card {
  background: var(--primary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.interest-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.interest-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.interest-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.interest-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Works Section */
.works-section {
  background-color: var(--dark-color);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 32px;
}

.work-card {
  background: var(--primary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: block;
  color: var(--text-color);
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.work-image {
  background-color: black;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.work-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(83, 92, 145, 0.1), rgba(83, 92, 145, 0.7));
  opacity: 0;
  transition: var(--transition);
}

.work-card:hover .work-image::before {
  opacity: 1;
}

.work-info {
  padding: 20px;
}

.work-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--light-color);
}

.work-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.view-project {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.view-project i {
  margin-left: 5px;
  transition: var(--transition);
}

.work-card:hover .view-project {
  color: var(--text-color);
}

.work-card:hover .view-project i {
  transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--dark-color);
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 32px;
}

.testimonial-card {
  background: var(--primary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.quote-icon {
  color: var(--accent-color);
  font-size: 1.5rem;
  opacity: 0.5;
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  color: var(#f8f8ff);
  margin: 15px 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.author-info p {
  color: var(--light-color);
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--dark-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 32px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition) border-color 0.3s;
  border-radius: 20px;
  border: 2px solid lightblue;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
  border-color: #535C91;
}

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  bottom: 0;
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

/* Comment Form */
.comment-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  width: 100%;
  margin: 24px auto 0 auto;
  background: var(--primary-color);
  padding: 32px 48px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(83,92,145,0.08);
}

.comment-form .form-group {
  width: 100%;
  margin-bottom: 14px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 4px;
}

.comment-form textarea {
  resize: none;
  min-height: 100px;
}

.comment-form button {
  margin-top: 10px;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  background: #8492e1;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.comment-form button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.comment-section {
  max-width: 11000px;
  margin: 40px auto 0 auto;
  background: var(--dark-color);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(83,92,145,0.08);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comment-title {
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  font-weight: 600;
}

.sort-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

#sort_type {
  padding: 8px 15px;
  border-radius: 6px;
  background: #2d2d2d;
  color: #e0e0e0;
  border: 1px solid #444;
  cursor: pointer;
}

.comment-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 30px auto;
  padding: 18px 18px 8px 18px;
  background: linear-gradient(120deg, #535C91 100%);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(83,92,145,0.13);
  overflow-y: auto;
}

.comment {
  background: #2d2d2d;
  border-radius: 8px;
  padding: 18px 18px 12px 18px;
  margin-bottom: 18px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 2px 8px rgba(83,92,145,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.comment:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 18px rgba(83,92,145,0.18);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-header strong {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.comment-date {
  color: #b0b0b0;
  font-size: 0.85rem;
}

.comment-text {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 1rem;
}

.upper-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: #23234a;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(83,92,145,0.10);
  border-left: 4px solid var(--accent-color);
  transition: box-shadow 0.2s, transform 0.2s;
}

.upper-tags:hover {
  box-shadow: 0 6px 18px rgba(83,92,145,0.18);
  transform: translateY(-2px) scale(1.02);
}

.user-tag {
  font-weight: 700;
  color: var(--accent-color);
  min-width: 90px;
  text-align: left;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.user-comment {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
  margin-left: 0;
}

/* Contact Section */
.contact-section {
  background-color: var(--dark-color);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
  margin: 32px;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info p {
  color: #666;
  margin-bottom: 30px;
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1rem;
}

.contact-form {
  background: var(--primary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  margin: 0 350px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--light-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(146, 144, 195, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-checkbox input {
  margin-right: 10px;
}

.submit-button {
  width: 100%;
  padding: 12px;
  background: #8492e1;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  background: #96a5fd;
}

/* Goals Section */
.goals-section {
  background-color: var(--dark-color);
}

.goals-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 32px;
}

.goal-card {
  background: var(--primary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.goal-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.goal-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(83, 92, 145, 0.1);
  line-height: 1;
}

.goal-card h3 {
  font-size: 1.3rem;
  color: var(--text-light);
}

/* Add at the end of your style.css */
.footer {
  background: linear-gradient(90deg, #222, #535C91 80%);
  color: #fff;
  text-align: center;
  padding: 28px 0 18px 0;
  font-size: 1rem;
  margin-top: 40px;
  letter-spacing: 1px;
  border-top: 3px solid #57a6fa;
  box-shadow: 0 -2px 12px rgba(83,92,145,0.15);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.footer-logo {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(87,166,250,0.08);
}

.footer-social {
  margin-top: 6px;
  font-size: 1.1rem;
}

.footer-social a {
  color: #57a6fa;
  margin: 0 8px;
  display: inline-block;
  transition: color 0.2s, transform 0.2s;
  font-size: 1.3em;
  vertical-align: middle;
}

.footer-social a:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.15);
  text-decoration: none;
}

/* Media Responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}