/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Homepage Styles */

/* Top Navigation */
.top-nav {
  font-family: 'Poppins', sans-serif;
  background-color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  line-height: 64px;
}

.top-nav .container {
  height: 64px;
}

.top-nav .nav-wrapper {
  height: 64px;
  line-height: 64px;
}

.top-nav .brand-logo {
  color: white;
  font-weight: 500;
  font-size: 1.5rem;
  display: inline-block !important;
  vertical-align: middle !important;
  line-height: 64px !important;
  height: 64px !important;
  padding: 0 !important;
  margin-left: 0 !important;
}

.nav-signature {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
}

.top-nav .right {
  line-height: 64px;
  height: 64px;
}

.top-nav .right li {
  height: 64px;
  line-height: 64px;
}

.top-nav .right a {
  color: white;
  font-weight: 400;
  transition: color 0.3s ease, background-color 0.3s ease;
  height: 64px;
  line-height: 64px;
  padding: 0 20px;
  display: block;
}

.top-nav .right a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Main content with top nav offset */
body.homepage main {
  margin-top: 64px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  overflow-x: hidden;
}

/* Override the sidebar padding for homepage */
body.homepage header,
body.homepage footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* Ensure body itself has no padding */
body.homepage {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Mobile Navigation */
.side-nav {
  background-color: white;
  box-shadow: 2px 0 4px rgba(0,0,0,0.1);
}

.side-nav li a {
  color: #333;
  font-weight: 400;
  padding: 0 30px;
  line-height: 48px;
}

.side-nav li a:hover {
  background-color: #f5f5f5;
  color: #2c3e50;
}

/* Hero Section */
.hero-section {
  background: #2c3e50;
  color: white;
  padding: 6rem 0 4rem 0;
  margin-bottom: 0;
  position: relative;
}

/* Curved bottom edge using clip-path */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #2c3e50;
  border-radius: 0 0 100% 100%;
  transform: scaleX(1.2);
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ecf0f1;
}

.hero-description {
  font-size: 1.2rem;
  font-style: italic;
  color: #bdc3c7;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main Content */
.main-content {
  padding: 2rem 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Fix for full-width content without sidebar gap */
.homepage .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Ensure full width for homepage sections */
.homepage .row {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0 !important; /* Override the 20px margin from index.css */
}

/* Override excessive top margin for section rows */
.homepage .main-content .row {
  margin-top: 0 !important;
}

/* Add minimal top margin only to first section after hero */
.homepage .main-content .row:first-child {
  margin-top: 1rem !important; /* 16px */
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-top: 0 !important; /* Override the 5rem top margin from thi_scss.css */
  margin-bottom: 2rem;
  color: #20b2aa;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Quick Navigation */
.quick-nav {
  margin-bottom: 3rem;
}

.quick-nav-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.quick-nav-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-5px);
}

.quick-nav .card {
  height: 200px;
  transition: box-shadow 0.3s ease;
}

.quick-nav .card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.quick-nav .card-content {
  padding: 2rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quick-nav .card-content i {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.quick-nav .card-content h5 {
  margin: 0 0 0.5rem 0;
  font-weight: 500;
  color: #333;
}

.quick-nav .card-content p {
  margin: 0;
  color: #666;
  text-align: center;
}

/* Blog Posts Preview */
.blog-posts-preview {
  margin-bottom: 3rem;
}

.blog-card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-card .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-meta i {
  margin-right: 0.5rem;
  color: #20b2aa;
}

.blog-summary {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card .card-action {
  border-top: 1px solid #eee;
  padding: 1rem;
}

.blog-card .btn-small {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  height: auto;
  line-height: 1;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(44, 62, 80, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 32px;
}

.blog-card .btn-small:hover {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(44, 62, 80, 0.3);
  color: white;
  text-decoration: none;
}

/* Categories Overview */
.categories-overview {
  margin-bottom: 2rem;
}

.category-chip {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}

.category-chip:hover {
  text-decoration: none;
  color: inherit;
}

.category-chip-content {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #495057;
  padding: 0.75rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.category-chip-content:hover {
  background-color: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.category-chip-content i {
  margin-right: 0.5rem;
}

.category-chip-content .badge {
  background-color: #667eea;
  color: white;
  border-radius: 50%;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  min-width: 1.5rem;
  text-align: center;
}

.category-chip-content:hover .badge {
  background-color: white;
  color: #667eea;
}

/* Book Section */
.book-section {
  background-color: white;
  padding: 3rem 0;
  margin-bottom: 0;
}

.book-cover {
  text-align: center;
  padding: 1rem;
}

.book-cover-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.book-details h3 {
  color: #20b2aa;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.book-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.book-btn {
  background: linear-gradient(135deg, #20b2aa 0%, #1a9b94 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.875rem 2rem;
  text-transform: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(32, 178, 170, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
}

.book-btn:hover {
  background: linear-gradient(135deg, #1a9b94 0%, #20b2aa 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(32, 178, 170, 0.3);
  color: white;
  text-decoration: none;
}

/* Industry Experience Section */
.industry-section {
  text-align: center;
  padding: 3rem 0;
  background-color: #f8f9fa;
  margin-bottom: 0;
}

.industry-section .container {
  max-width: 1200px;
  padding-left: .25rem;
  padding-right: .25rem
}

/* Quote Section */
.quote-section {
  background-color: #2c3e50;
  padding: 3rem 0;
  margin-bottom: 0;
  text-align: center;
}

/* Blog Posts Section */
.blog-posts-section {
  background-color: white;
  padding: 3rem 0;
  margin-bottom: 0;
}

.quote-text {
  font-family: 'Poppins', sans-serif;
  color: white;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  padding: 0;
  border: none;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.quote-author {
  color: #bdc3c7;
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
}

.industry-tagline {
  font-family: 'Poppins', sans-serif;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.industry-section .section-title {
  color: #20b2aa;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.company-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: #bdc3c7 transparent;
}

.company-logos::-webkit-scrollbar {
  height: 6px;
}

.company-logos::-webkit-scrollbar-track {
  background: transparent;
}

.company-logos::-webkit-scrollbar-thumb {
  background-color: #bdc3c7;
  border-radius: 3px;
}

.company-logos::-webkit-scrollbar-thumb:hover {
  background-color: #95a5a6;
}

.logo-item {
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  flex: 1;
  min-width: 0;
}

.company-logo {
  max-height: 70px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logo-item:hover .company-logo {
  filter: grayscale(0%);
}

.logo-item:hover {
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .quick-nav .card {
    height: 150px;
  }
  
  .quick-nav .card-content {
    padding: 1rem;
  }
  
  .quick-nav .card-content i {
    font-size: 2rem;
  }
  
  .book-cover {
    margin-bottom: 0.5rem;
    padding: 0;
  }
  
  .book-cover-image {
    max-width: 200px;
    margin-bottom: 0.5rem;
  }
  
  .book-details h4 {
    margin-top: 2rem;
  }
  
  .book-description {
    font-size: 1rem !important;
  }
  
  .company-logos {
    gap: 1rem;
  }
  
  .logo-item {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
}

/* Button Styles */
.btn {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.875rem 2rem;
  text-transform: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  line-height: 1;
  min-height: 44px;
}

.btn:hover {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.3);
  color: white;
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2);
}

/* Card Hover Effects */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
  margin-bottom: 0;
}

.about-image {
  text-align: center;
  padding-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.about-image-mobile {
  margin-bottom: 2rem;
  text-align: center;
}

.profile-photo {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  border: 1px solid white;
  display: block;
  margin: 0 auto;
}

.about-content {
  max-width: 500px;
  margin: 0 auto;
}

.about-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Responsive about section */
@media (max-width: 768px) {
  .about-section {
    padding: 1.5rem;
  }
  
  .about-image {
    padding-right: 0;
    margin-bottom: 1rem;
  }
  
  .profile-photo {
    width: 100%;
    max-width: 300px;
    height: 300px;
  }
  
  .about-content p {
    font-size: 1rem;
  }
}

/* Contact Section Home */
.contact-section-home {
  background-color: white;
  padding: 3rem 0;
  margin-bottom: 0;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content p {
  color: #555;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.3);
  color: white;
  text-decoration: none;
}

.contact-link i {
  color: white;
  font-size: 1.1rem;
}
