/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Global Styles */
html {
  scroll-behavior: smooth;
  background-color: white;
}
body {
  font-family: 'Hind Madurai', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Typography */
h1, h2, .page-title {
  font-family: 'Montserrat', sans-serif;
}
h3, h4, .card-header h4 {
  font-family: 'Lora', serif;
}
a {
  text-decoration: none;
  color: inherit;
}
/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  background-color: white;
}
/* Navigation */
.nav-container {
  background: white;
  border-bottom: 1px solid #eee;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo-image {
  height: 40px;
  width: auto;
}
/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}
.nav-links a:hover {
  color: #ff6b00;
}
.nav-links a.active {
  color: #ff6b00;
  font-weight: 600;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(255, 107, 0, 0.1);
  border: 2px solid #ff6b00;
}
/* Content Wrapper */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  flex: 1;
}
/* Page Header */
.page-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
}
.page-description {
  color: #666;
  margin-bottom: 4rem;
  line-height: 1.8;
  font-size: 1.1rem;
}
/* Home Page Styles */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.intro-content {
  padding-right: 2rem;
}
.intro-text {
  margin-bottom: 2rem;
}
.intro-text p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
/* Profile Content */
.profile-content {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  width: 100%;
}
.profile-image {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
/* Roles Section */
.roles-section {
  margin-bottom: 2rem;
}
.roles-title {
  font-style: italic;
  color: #333;
  margin-bottom: 1rem;
}
.roles-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.roles-list li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Connect Section */
.connect-section {
  margin-top: 2.5rem;
}
.connect-section p {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.social-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0066cc;
  transition: transform 0.3s ease;
}
.social-icon {
  width: 32px;
  height: 32px;
}
.social-link:hover {
  transform: translateY(-2px);
}
.contact-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid #333;
  border-radius: 25px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.contact-button:hover {
  background: #333;
  color: white;
  transform: translateY(-2px);
}
/* About Page Styles */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-subtitle {
  color: #1a365d;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 600;
}
.about-section {
  margin-bottom: 3rem;
}
.about-section h3 {
  color: #1a365d;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.about-section p {
  margin-bottom: 1rem;
  color: #4a5568;
  line-height: 1.7;
}
.expertise-area {
  margin-bottom: 2rem;
}
.expertise-area h4 {
  color: #2d4a8c;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.about-section ul {
  list-style-type: none;
  padding-left: 1.5rem;
}
.about-section li {
  position: relative;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.about-section li::before {
  content: "•";
  position: absolute;
  left: -1.5rem;
  color: #1a365d;
}
/* Project Section */
.project-section {
  margin-bottom: 4rem;
}
.section-title {
  font-size: 1.75rem;
  color: #1a56db;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #ff6b00;
}
/* Company Link */
.company-link {
  text-align: left;
  margin-bottom: 2rem;
  color: #666;
}
.company-link a {
  color: #1a56db;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}
.company-link a:hover {
  color: #1e40af;
}
/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}
/* Project Card */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  opacity: 0;
  transform: translateY(20px);
}
.project-card.animate {
  opacity: 1;
  transform: translateY(0);
}
.project-card:not(.expanded):hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

/* Project Image and Overlay */
.project-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  background: #fff;
  transition: transform 0.3s ease;
}
.project-card:not(.expanded):hover .project-image img {
  transform: scale(1.02);
}
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.project-card:hover .image-overlay {
  opacity: 1;
}
.view-link {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: background 0.3s ease;
}
.view-link:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* Project Content */
.project-content {
  padding: 2rem;
  flex-grow: 1;
  background: white;
  max-height: 280px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.project-card.expanded .project-content {
  max-height: 2000px;
}
.project-title {
  font-size: 1.5rem;
  color: #1a56db;
  margin-bottom: 1rem;
  font-weight: 600;
}
.project-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1rem;
}
/* Feature Sections */
.feature-section {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  visibility: hidden;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}
.project-card.expanded .feature-section {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.content-subtitle {
  color: #1a56db;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.feature-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
  line-height: 1.5;
}
.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1a56db;
  font-weight: bold;
}
/* Show More/Less Button */
.expand-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: none;
  color: #1a56db;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}
.expand-button:hover {
  color: #1e40af;
}
.expand-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.project-card.expanded .expand-icon {
  transform: rotate(180deg);
}
/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1a56db;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 100;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #1e40af;
  transform: translateY(-2px);
}
/* Site Message */
.site-message {
  margin: 3rem 0;
  padding: 0 1rem;
}
.message-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.message-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #e1e1e1;
}
.update-note {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}
.message-text {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 1rem;
}
.contact-text {
  margin-top: 1.5rem;
  color: #666;
}
.thank-you {
  margin-top: 1rem;
  font-weight: 500;
  color: #333;
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid #eee;
  padding: 2rem 0;
  margin-top: auto;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  height: 30px;
  width: auto;
}
.footer-copyright {
  color: #666;
  font-size: 0.875rem;
}
/* Hide prototype button */
.view-prototype-btn {
  display: none;
}
/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Focus States */
a:focus, button:focus, .project-card:focus {
  outline: 2px solid #1a56db;
  outline-offset: 2px;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .content-wrapper {
    padding: 3rem 1.5rem;
  }
  .hamburger-menu {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}
@media (max-width: 768px) {
  .home-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .intro-content {
    padding-right: 0;
  }
  .profile-content {
    justify-content: center;
    order: -1;
  }
  .profile-image {
    max-width: 400px;
  }
  .page-title {
    font-size: 2rem;
  }
  .project-image {
    height: 250px;
  }
  .project-image img {
    height: 250px;
  }
  .project-content {
    padding: 1.5rem;
  }
  .nav-content {
    padding: 1rem;
  }
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .project-image {
    height: 200px;
  }
  .project-image img {
    height: 200px;
  }
  .project-content {
    padding: 1.25rem;
  }
  .page-title {
    font-size: 1.75rem;
  }
  .page-description {
    font-size: 1rem;
  }
  .profile-image {
    max-width: 320px;
  }
  .about-section h3 {
    font-size: 1.3rem;
  }
  .message-box {
    padding: 1.5rem;
  }
  .update-note {
    font-size: 1.1rem;
  }
  .message-text {
    font-size: 1rem;
  }
}
/* Print Styles */
@media print {
  .nav-container, .footer, .view-prototype-btn, .site-message, .back-to-top {
    display: none;
  }
  .project-card {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  .project-image {
    max-height: 200px;
  }
  body {
    font-size: 12pt;
  }
  a {
    text-decoration: none;
    color: #000;
  }
  .page-title {
    font-size: 24pt;
    margin-bottom: 1cm;
  }
}