/*

TemplateMo 567 Nomad Force

https://templatemo.com/tm-567-nomad-force

*/

/*---------------------------------------
  MODERN DESIGN SYSTEM TOKENS             
-----------------------------------------*/
:root {
  /* Brand Colors */
  --brand-primary: #7A5AF8; /* Athena purple */
  --brand-secondary: #00E6B8; /* accent teal */
  --brand-dark: #0B0C10;
  --brand-light: #FAFAFA;
  
  /* Surface Colors */
  --surface: #141414;
  --surface-alt: #1F1F1F;
  --surface-elevated: #2A2A2A;
  
  /* Text Colors */
  --text-primary: #F2F3F4;
  --text-secondary: #A1A1AA;
  --text-muted: rgba(242, 243, 244, 0.6);
  
  /* Border & Accent */
  --border-color: #2A2A2A;
  --border-color-light: rgba(42, 42, 42, 0.3);
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 20px rgba(122, 90, 248, 0.3);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  
  /* Typography */
  --font-sans: 'Poppins', 'Noto Sans JP', sans-serif;
  --font-display: 'Clash Display', 'Poppins', sans-serif;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.6s ease-out;
  
  /* Animation Durations */
  --aos-duration: 0.8s;
  --aos-delay: 0.2s;
}

/* Light Mode Override */
.light {
  --surface: #FFFFFF;
  --surface-alt: #F5F5F5;
  --surface-elevated: #FFFFFF;
  --text-primary: #1E1E1E;
  --text-secondary: #4B5563;
  --text-muted: rgba(30, 30, 30, 0.6);
  --border-color: #E5E7EB;
  --border-color-light: rgba(229, 231, 235, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body,
html {
  height: 100%;
}

body {
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/*---------------------------------------
  MODERN TYPOGRAPHY SYSTEM               
-----------------------------------------*/

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: var(--font-weight-black);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: var(--font-weight-semibold);
}

h5 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--font-weight-medium);
}

h6 {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: var(--font-weight-medium);
}

p {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: var(--font-weight-normal);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.text-secondary-white-color {
  color: var(--text-muted);
}

.lead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  line-height: 1.6;
}

.small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

a, 
button {
  touch-action: manipulation;
  transition: all var(--transition-normal);
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

a:hover {
  color: var(--brand-secondary);
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--brand-primary);
  color: var(--text-primary);
}

::-moz-selection {
  background: var(--brand-primary);
  color: var(--text-primary);
}

.custom-underline {
  border-bottom: 2px solid var(--brand-secondary);
  color: var(--text-primary);
  padding-bottom: 4px;
  transition: all var(--transition-normal);
}

.custom-underline:hover {
  border-bottom-color: var(--brand-primary);
}

.videoWrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.overlay {
  background: linear-gradient(
    135deg,
    rgba(11, 12, 16, 0.8) 0%,
    rgba(122, 90, 248, 0.1) 50%,
    rgba(0, 230, 184, 0.1) 100%
  );
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

/*---------------------------------------
  MODERN BUTTONS & LINKS               
-----------------------------------------*/

.btn {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), #8B6CF7);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-secondary), #00D4AA);
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(122, 90, 248, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: var(--space-sm) var(--space-md);
}

.btn-ghost:hover {
  color: var(--brand-primary);
  background: var(--surface-alt);
}

.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all var(--transition-normal);
  color: var(--text-primary);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width var(--transition-slow);
  background: var(--brand-secondary);
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover {
  color: var(--brand-secondary);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  MODERN NAVIGATION               
-----------------------------------------*/

.navbar {
  z-index: 1000;
  right: 0;
  left: 0;
  padding: var(--space-md) 0;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color-light);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.navbar-brand:hover {
  color: var(--brand-secondary);
  transform: scale(1.05);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: var(--space-sm) var(--space-md);
  margin: 0 var(--space-xs);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.navbar-nav .nav-link {
  color: #374151 !important;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-secondary);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: #7A5AF8 !important;
  background: rgba(122, 90, 248, 0.15) !important;
  border-radius: 6px;
}

.navbar .navbar-nav .nav-item.active .nav-link {
  color: #7A5AF8 !important;
  font-weight: 600;
  background: rgba(122, 90, 248, 0.1) !important;
  border-radius: 6px;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  background: #00E6B8 !important;
}

.navbar .navbar-nav .nav-item.active .nav-link::after {
  width: 100%;
  background: #7A5AF8 !important;
}

.nav-link:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.navbar-toggler {
  border: 0;
  padding: var(--space-sm);
  cursor: pointer;
  margin: 0;
  width: 40px;
  height: 40px;
  outline: none;
  background: transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--brand-secondary);
}

.navbar-toggler:hover {
  background: rgba(122, 90, 248, 0.1);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top var(--transition-normal), transform var(--transition-normal);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--text-primary);
  transition: all var(--transition-normal);
  display: block;
  width: 24px;
  height: 2px;
  position: relative;
  border-radius: 2px;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top var(--transition-normal), transform var(--transition-normal);
  position: absolute;
  right: 0;
  left: 0;
  background: var(--text-primary);
  width: 24px;
  height: 2px;
  content: '';
  border-radius: 2px;
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  MODERN HERO SECTION              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .custom-video,
  .news-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }
}

.heroText {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  text-align: center;
  padding: var(--space-xl);
}

.heroText h1 {
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.heroText p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/*---------------------------------------
  MODERN ABOUT & TEAM SECTIONS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow);
}

.about-image:hover,
.team-image:hover {
  transform: scale(1.02);
}

.team-thumb {
  background: var(--surface-elevated);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 65%;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.team-thumb h3 {
  color: var(--text-primary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-xs);
}

.team-thumb p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.carousel-control-next, 
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-elevated);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.carousel-control-prev {
  right: 4rem;
  left: auto;
}

.carousel-control-next:hover,
.carousel-control-prev:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: scale(1.1);
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--text-primary);
  background-size: 50% 50%;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  transition: all var(--transition-normal);
}

.carousel-control-next:hover .carousel-control-next-icon,
.carousel-control-prev:hover .carousel-control-prev-icon {
  background-color: var(--text-primary);
}

/*---------------------------------------
  MODERN PORTFOLIO SECTION               
-----------------------------------------*/
.portfolio-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.portfolio-thumb:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.portfolio-info {
  padding: var(--space-lg);
  background: var(--surface-alt);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.portfolio-title {
  color: var(--text-primary);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
}

.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0;
  font-weight: var(--font-weight-medium);
}

/*---------------------------------------
  MODERN NEWS & EVENTS SECTION               
-----------------------------------------*/

.news,
.related-news {
  background: var(--surface-alt);
}

.news-thumb {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.news-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-category {
  background: var(--brand-primary);
  color: var(--text-primary);
  position: absolute;
  z-index: 9;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  display: inline-block;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-text-info {
  padding: var(--space-lg);
}

.news-title {
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

.news-title-link {
  color: var(--text-primary);
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  transition: color var(--transition-normal);
}

.news-title-link:hover {
  color: var(--brand-primary);
}

.portfolio-image,
.news-image {
  display: block;
  transition: transform var(--transition-slow);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-normal);
  height: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width var(--transition-slow);
  background: var(--brand-secondary);
}

.news-image-hover-warning::after {
  background: #ffc107;
}

.news-image-hover-primary::after {
  background: var(--brand-primary);
}

.news-image-hover-success::after {
  background: var(--brand-secondary);
}

.news-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .portfolio-image,
.news-image-hover:hover .news-image {
  transform: scale(1.05);
}

.news-two-column {
  min-height: 199px;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.news-two-column:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-link,
.social-share-link + span {
  color: var(--text-muted);
}

/*---------------------------------------
  MODERN SECTION LAYOUT               
-----------------------------------------*/
.section-padding {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

@media (min-width: 992px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}

/*---------------------------------------
  MODERN CONTACT SECTION              
-----------------------------------------*/
.contact-info {
  padding: var(--space-2xl);
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form {
  background: var(--surface);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-form .form-control {
  background: var(--surface-alt);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: var(--font-weight-normal);
  padding: var(--space-md);
  transition: all var(--transition-normal);
  font-size: 0.875rem;
}

.contact-form .form-control:focus {
  background: var(--surface-elevated);
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(122, 90, 248, 0.1);
  outline: none;
}

.contact-form .form-control::placeholder {
  color: var(--text-muted);
}

.contact-form button[type='submit'] {
  background: linear-gradient(135deg, var(--brand-primary), #8B6CF7);
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  padding: var(--space-md) var(--space-xl);
  transition: all var(--transition-normal);
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.contact-form button[type='submit']:hover {
  background: linear-gradient(135deg, var(--brand-secondary), #00D4AA);
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-form button[type='submit']:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

.form-label {
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.form-check-input {
  background-color: var(--surface-alt);
  border: 2px solid var(--border-color);
}

.form-check-input:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(122, 90, 248, 0.1);
}

.form-check-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.map-iframe {
  display: block;
  border-radius: var(--radius-lg);
  filter: grayscale(100%) contrast(1.2);
  transition: filter var(--transition-normal);
}

.map-iframe:hover {
  filter: grayscale(50%) contrast(1.1);
}

/*---------------------------------------
  MODERN SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--brand-dark);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
}

.site-footer .custom-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition-normal);
}

.site-footer .custom-link:hover {
  color: var(--brand-secondary);
}

.copyright-text {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

/*---------------------------------------
  MODERN SOCIAL ICONS               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.social-icon li {
  list-style: none;
  display: inline-block;
}

.social-icon-link {
  color: var(--text-muted);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.social-icon-link:hover {
  color: var(--brand-secondary);
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/*---------------------------------------
  MODERN ANIMATIONS & MICRO-INTERACTIONS               
-----------------------------------------*/

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* AOS Animation Overrides */
[data-aos] {
  transition-duration: var(--aos-duration);
  transition-delay: var(--aos-delay);
}

[data-aos="fade-up"] {
  animation: fadeInUp 0.8s ease-out;
}

[data-aos="fade-in"] {
  animation: fadeInScale 0.6s ease-out;
}

[data-aos="slide-left"] {
  animation: slideInLeft 0.8s ease-out;
}

/* Hover animations for interactive elements */
.portfolio-thumb,
.news-thumb,
.team-thumb {
  transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-thumb:hover,
.news-thumb:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Button ripple effect */
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Glassmorphism hover effects */
.navbar,
.team-thumb,
.carousel-control-next,
.carousel-control-prev {
  transition: backdrop-filter var(--transition-normal);
}

.navbar:hover {
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

/*---------------------------------------
  MODERN RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
  
  .container {
    max-width: 1400px;
  }
}

@media screen and (max-width: 991px) {
  .navbar {
    padding: var(--space-sm) 0;
  }

  .section-padding {
    padding: clamp(3rem, 6vw, 6rem) 0;
  }

  .team-thumb {
    left: var(--space-md);
    right: var(--space-md);
    width: auto;
    bottom: var(--space-md);
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: var(--space-xl);
  }

  .heroText {
    padding: var(--space-lg);
  }

  .carousel-control-prev {
    right: 3rem;
    left: auto;
  }
}

@media screen and (max-width: 767px) {
  .news-detail-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .contact-info {
    padding: var(--space-lg);
  }

  .social-icon {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .social-icon-link {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .heroText {
    padding: var(--space-md);
  }

  .heroText h1 {
    margin-bottom: var(--space-md);
  }

  .heroText p {
    margin-bottom: var(--space-lg);
  }

  .section-padding {
    padding: clamp(2rem, 4vw, 4rem) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
  }

  .form-control {
    padding: var(--space-sm);
  }
}

/* Dark mode toggle support */
@media (prefers-color-scheme: light) {
  body:not(.dark) {
    --surface: #FFFFFF;
    --surface-alt: #F5F5F5;
    --surface-elevated: #FFFFFF;
    --text-primary: #1E1E1E;
    --text-secondary: #4B5563;
    --text-muted: rgba(30, 30, 30, 0.6);
    --border-color: #E5E7EB;
    --border-color-light: rgba(229, 231, 235, 0.3);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  [data-aos] {
    transition: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #FFFFFF;
    --text-secondary: #FFFFFF;
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

