/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* CRITICAL: Force Dark Theme Override - Applied First */
html, body {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Force color for most text elements but allow backgrounds to be custom */
*, *::before, *::after {
    color: #ffffff !important;
}

/* Color Variables for RENK Music Group Theme - Enhanced Dark Theme */
:root {
    --color-background: #000000;          /* Pure black background */
    --color-background-light: #1a1a1a;    /* Slightly lighter black */
    --color-background-lighter: #2a2a2a;  /* Card/component backgrounds */
    --color-primary: #ffffff;             /* Pure white for primary text */
    --color-secondary: #ff6b6b;           /* Red accent color */
    --color-accent: #ff6b6b;              /* Red accent - matching secondary */
    --color-text-dark: #ffffff;           /* Pure white text */
    --color-text-light: #e0e0e0;          /* Light gray text */
    --color-text-muted: #a0a0a0;          /* Muted gray text */
    --color-border: #333333;              /* Border color */
    --color-overlay: rgba(0, 0, 0, 0.3);  /* Video overlay - lighter for video visibility */
    
    /* Override old variables */
    --color-white: #ffffff !important;
    --color-black: #000000 !important;
    --bg-light: #000000 !important;
    --text-dark: #ffffff !important;
    --text-light: #e0e0e0 !important;
    --primary-color: #ff6b6b !important;
    --secondary-color: #4ecdc4 !important;
    --accent-color: #4ecdc4 !important;
}

/* Bootstrap Font Override - Force Montserrat on all Bootstrap components */
.navbar, .navbar-brand, .navbar-nav, .nav-link, .nav-item,
.btn, .card, .card-body, .card-header, .card-title,
.modal, .modal-header, .modal-body, .modal-footer,
.dropdown, .dropdown-menu, .dropdown-item,
.form-control, .form-label, .form-text,
.alert, .badge, .breadcrumb, .pagination,
.list-group, .list-group-item, .table,
.spinner-border, .tooltip, .popover,
.ms-1, .ms-2, .ms-3, .me-1, .me-2, .me-3,
.navbar-brand span, #nav-brand-text {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: inherit !important;
}

/* Bootstrap Background Override - Only html has forced background */
html {
    background-color: var(--color-background) !important;
    background: var(--color-background) !important;
    color: var(--color-text-dark) !important;
}

body {
    color: var(--color-text-dark) !important;
}

/* Content sections can have their own backgrounds */
.content-section {
    background: inherit;
}

/* Specific overrides for sections with special backgrounds */
#home.content-section {
    background: transparent !important;
}

/* Universal Dark Theme Override - Force all elements to dark theme */
*, *::before, *::after {
    color: var(--color-text-dark) !important;
}

/* Container and layout overrides */
.container, .container-fluid, .row, .col, [class*="col-"] {
    background-color: transparent !important;
    color: var(--color-text-dark) !important;
}

/* Bootstrap component overrides for dark theme */
.card {
    background-color: var(--color-background-light) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text-dark) !important;
}

.card-body, .card-header, .card-footer {
    background-color: transparent !important;
    color: var(--color-text-dark) !important;
}

/* Text color overrides */
h1, h2, h3, h4, h5, h6, p, span, div, a, li, label, .text-dark {
    color: var(--color-text-dark) !important;
}

.text-muted {
    color: var(--color-text-muted) !important;
}

.text-secondary {
    color: var(--color-text-light) !important;
}

/* Button overrides */
.btn {
    color: var(--color-text-dark) !important;
}

.btn-primary {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: var(--color-background) !important;
}

.btn-secondary {
    background-color: var(--color-background-light) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text-dark) !important;
}

/* Navigation overrides */
/* .navbar {
    background-color: var(--color-background) !important;
} */

.navbar-brand, .nav-link, .navbar-text {
    color: var(--color-text-dark) !important;
}

/* List and content overrides */
.list-group-item {
    background-color: var(--color-background-light) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text-dark) !important;
}

/* Section and content area overrides */
section, main, article, aside {
    background-color: transparent !important;
    color: var(--color-text-dark) !important;
}

/* Modal open state - prevent body scroll */
body.modal-open {
    overflow: hidden;
    padding-right: 15px; /* Compensate for scrollbar */
}

/* Video Background Hero Section */
.hero-section {
  min-height: 100vh;
  padding: 0;
  position: relative;
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important; /* Ensure no background override */
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: transparent !important; /* Ensure no background override */
}

/* Ensure video starts playing */
.hero-video-background {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* Fallback for when video doesn't load */
.hero-section.video-loading {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
}

.hero-section.video-loaded {
  background: none !important;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-overlay);
  z-index: 2;
}

.hero-content {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--color-text-dark);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  z-index: 5;
  position: relative;
}

.hero-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: var(--color-text-dark);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title span {
  color: var(--color-secondary);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  justify-content: center;
}

/* Countdown Styles */
.countdown-section {
  margin: 2rem 0;
  text-align: center;
}

.countdown-title {
  color: var(--color-secondary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.countdown-description {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.countdown-item {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--color-secondary);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  min-width: 100px;
  backdrop-filter: blur(10px);
}

.countdown-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
}

.countdown-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .countdown-timer {
    gap: 1rem;
  }
  
  .countdown-item {
    min-width: 70px;
    padding: 1rem 0.5rem;
  }
  
  .countdown-number {
    font-size: 1.8rem;
  }
  
  .countdown-label {
    font-size: 0.8rem;
  }
}

/* Hero Social Media Links */
.social-media-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.social-media-links .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px);
}

.social-media-links .social-link i {
  font-size: 1.6rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .social-media-links {
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .social-media-links .social-link {
    width: 50px;
    height: 50px;
  }
  
  .social-media-links .social-link i {
    font-size: 1.4rem;
  }
}

/* Hero Accent Image - Muko Teko */
.hero-accent-image {
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.muko-teko-image {
  width: 360px;
  height: auto;
  border-radius: 15px;
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: brightness(0.95) contrast(1.1);
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.muko-teko-image:hover {
  opacity: 1;
  transform: scale(1.02);
  filter: brightness(1) contrast(1.2);
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.2);
}

@media (max-width: 768px) {
  .muko-teko-image {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .muko-teko-image {
    width: 200px;
  }
}

/* Section Styles */
.section {
  min-height: 50vh;
  padding: 5rem 0;
  background: transparent; /* Allow sections to have custom backgrounds */
}

.section-title {
  color: var(--color-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  text-align: center;
}

/* News Section Styles */
.news-card {
  background: var(--color-background-light);
  border: 1px solid var(--color-border);
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
  border-color: var(--color-secondary);
}

.news-date {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.news-title {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.news-description {
  color: var(--color-text-light);
  line-height: 1.6;
}

.news-tag {
  background: var(--color-secondary);
  color: var(--color-background);
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  margin-right: 0.5rem;
}

/* Music Section Styles */
.music-platform-card {
  background: var(--color-background-light);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.music-platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.15);
}

.platform-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

/* EMBED CONTAINERS INSIDE MUSIC PLATFORM CARD */
.music-platform-card .spotify-embed,
.music-platform-card .youtube-embed {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 1rem 0 !important;
}

.music-platform-card .spotify-embed iframe,
.music-platform-card .youtube-embed iframe {
  margin: 0 auto !important;
  display: block !important;
}

.spotify-embed iframe,
.youtube-embed iframe {
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.spotify-embed iframe {
  min-height: 352px;
}

.youtube-embed iframe {
  aspect-ratio: 16/9;
  height: auto;
  max-height: 315px;
}

/* Embed container alignment for all screen sizes */
.spotify-embed,
.youtube-embed {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  margin: 1rem auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.spotify-embed iframe,
.youtube-embed iframe {
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  /* MUSIC PLATFORM CARD MOBILE OVERRIDE - EN YUKSEK ONCELIK */
  .music-platform-card {
    text-align: center !important;
    padding: 1.5rem !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* CARD ICINDEKI EMBED CONTAINER'LARI */
  .music-platform-card .spotify-embed,
  .music-platform-card .youtube-embed {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 1.5rem auto !important;
    padding: 0 !important;
    text-align: center !important;
  }
  
  /* CARD ICINDEKI IFRAME'LER */
  .music-platform-card .spotify-embed iframe,
  .music-platform-card .youtube-embed iframe {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
  }
  
  /* CARD ICINDEKI DIGER ELEMANLAR */
  .music-platform-card .platform-icon,
  .music-platform-card h4,
  .music-platform-card p {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* CARD ICINDEKI BUTONLAR */
  .music-platform-card .btn-spotify,
  .music-platform-card .btn-youtube {
    display: block !important;
    margin: 1rem auto !important;
    text-align: center !important;
    width: fit-content !important;
  }
  
  /* SPOTIFY VE YOUTUBE IFRAME BOYUTLARI */
  .music-platform-card .spotify-embed iframe {
    height: 280px !important;
  }
  
  .music-platform-card .youtube-embed iframe {
    height: 200px !important;
  }
}

.btn-spotify {
  background: #1DB954;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-spotify:hover {
  background: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 185, 84, 0.4);
}

.btn-youtube {
  background: #FF0000;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

/* Instagram Feed Styles */
.instagram-feed-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 2rem auto;
}

.instagram-embed-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.instagram-embed-wrapper .instagram-media {
  margin: 0 auto !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
  .instagram-embed-wrapper {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .instagram-embed-wrapper .instagram-media {
    min-width: 300px !important;
    max-width: 100% !important;
  }
}

.album-card {
  background: var(--color-background-light);
  border: 1px solid var(--color-border);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.2);
}

/* Album cover container - ensure square aspect ratio */
.album-cover {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Fallback for older browsers */
  aspect-ratio: 1 / 1; /* Modern browsers - force square aspect ratio */
  overflow: hidden;
}

.album-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.album-info {
  padding: 1.5rem;
}

.album-title {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.album-year {
  color: var(--color-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.album-description {
  color: var(--color-text-light);
  line-height: 1.6;
}

.scroll-down {
  color: var(--color-secondary);
  font-size: 1.5rem;
  text-decoration: none;
  animation: bounce 2s infinite;
  opacity: 0.7;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem; /* Reduced from original to provide better scaling */
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
  .hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    padding: 0 1rem;
  }
  .hero-content {
    padding: 2rem 0;
    text-align: center;
  }
  .hero-title {
    font-size: 3rem !important; /* Added !important to force override */
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
  }
  .hero-description {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .btn-hero.primary, .btn-hero.secondary {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 25px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .hero-buttons {
    gap: 1rem;
    margin-top: 2.5rem;
    flex-direction: column;
    align-items: center;
  }
  .scroll-indicator {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 1rem;
    padding-top: 100px; /* Add padding to avoid header overlap */
  }
  .hero-content {
    padding: 1.5rem 0;
    text-align: center;
  }
  .hero-title {
    font-size: 2.5rem !important; /* Added !important to force override */
    margin-bottom: 1rem;
    margin-top: 3rem !important; /* Increased top margin */
    line-height: 1.3;
    padding-top: 0.5rem; /* Additional padding */
  }
  .hero-title span {
    display: inline; /* Changed from block to inline for continuous text */
    margin-top: 0; /* Removed margin since it's now inline */
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
  }
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: justify;
  }
  .btn-hero.primary, .btn-hero.secondary {
    padding: 14px 28px;
    font-size: 0.95rem;
    border-radius: 22px;
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }
  .scroll-indicator {
    bottom: 15px;
  }
  .scroll-down {
    font-size: 1.3rem;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .hero-section {
    padding: 0 0.5rem;
    padding-top: 90px; /* Add padding to avoid header overlap */
  }
  .hero-title {
    font-size: 2.3rem !important; /* Reduced from 1.8rem to 1.2rem */
    padding-top: 0.5rem; /* Additional padding */
  }
  .hero-subtitle {
    font-size: 1rem; /* Increased from 0.9rem to 1rem */
  }
  .hero-description {
    font-size: 0.7rem; /* Increased from 0.6rem to 0.7rem */
  }
  .btn-hero.primary, .btn-hero.secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
    max-width: 220px;
  }
}

/* Landscape mode for mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 0 1rem;
  }
  .hero-content {
    padding: 1rem 0;
  }
  .hero-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-buttons {
    margin-top: 1.5rem;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  .btn-hero.primary, .btn-hero.secondary {
    width: auto;
    max-width: 200px;
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  .scroll-indicator {
    bottom: 10px;
  }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
  .btn-hero.primary, .btn-hero.secondary {
    min-height: 48px;
    min-width: 48px;
  }
  .btn-hero:active {
    transform: scale(0.95) !important;
  }
}

/* Improved mobile viewport handling */
@media screen and (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    min-height: 100svh; /* Use small viewport height for mobile browsers */
  }
}

/* Prevent text overflow on small screens */
@media (max-width: 576px) {
  .hero-title {
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-description {
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Ensure buttons don't break on very small screens */
@media (max-width: 320px) {
  .hero-section {
    padding-top: 85px; /* Add padding to avoid header overlap */
  }
  .hero-title {
    font-size: 1.1rem; /* Reduced from 1.6rem to 1.1rem */
    padding-top: 0.5rem; /* Additional padding */
  }
  .hero-subtitle {
    font-size: 1rem; /* Increased from 0.95rem */
  }
  .btn-hero.primary, .btn-hero.secondary {
    font-size: 0.85rem;
    padding: 10px 20px;
    max-width: 200px;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
/* Main CSS for Mecra Website */

/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
}

.loading-spinner {
    border: 4px solid var(--color-background);
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Loading Spinner Custom Color */
.spinner-border {
    color: var(--color-primary) !important;
    border-color: currentColor transparent currentColor transparent !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth content transitions */
.content-section {
    width: 100% !important;
    opacity: 1 !important;
    transition: all 0.3s ease-in-out;
    display: block !important;
    clear: both;
}

/* Only apply transform reset to the section container, not child elements */
.content-section > .section {
    transform: translateY(0) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background: var(--color-background) !important; /* Hafif lavanta arka plan */
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    padding-top: 0px; /* Account for fixed navbar */
    background: var(--color-background) !important; /* Hafif lavanta arka plan */
}

/* Single-page section layout - removed duplicate */

/* Hero section should be full height */
#home.content-section {
    min-height: 100vh !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Other sections have normal padding */
#about.content-section {
    min-height: 100vh !important;
    padding: 120px 0 80px 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/renk-headshots.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Ensure about section and its children maintain the background */
div#about.content-section,
section#about.content-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/renk-headshots.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}

/* About section styling - background image added */
#about.content-section .section {
    position: relative;
    background: transparent !important;
}

#about.content-section .container {
    position: relative;
    background: transparent !important;
}

/* Ensure about content doesn't override background */
#about-content {
    background: transparent !important;
}

/* About section text styling for better readability over background image */
#about.content-section h2,
#about.content-section h3,
#about.content-section h4,
#about.content-section h5,
#about.content-section p,
#about.content-section .section-title,
#about.content-section .section-subtitle {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#about.content-section .section-subtitle {
    color: #cccccc !important;
}

#about.content-section,
#services.content-section,
#projects.content-section,
#team.content-section,
#contact.content-section {
    min-height: auto !important;
    padding: 60px 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Add black backgrounds to sections that need them */
#services.content-section .section,
#projects.content-section .section,
#team.content-section .section,
#contact.content-section .section,
#news.content-section .section,
#music.content-section .section {
    background: var(--color-background) !important;
}

/* Ensure content containers are visible */
#about-content,
#services-content,
#projects-content,
#team-content,
#contact-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
}

/* Force Bootstrap grid to work */
.container {
    display: block !important;
    width: 100% !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

/* Ensure all Bootstrap grid columns work properly */
.row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
    margin-bottom: 2rem !important;
}

.row:last-child {
    margin-bottom: 0 !important;
}

.col-12, .col-md-4, .col-md-6, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8 {
    position: relative !important;
    width: 100% !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    flex: 0 0 auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 1.5rem !important;
}

/* Force specific column widths */
@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        display: block !important;
        visibility: visible !important;
    }

    .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        display: block !important;
        visibility: visible !important;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        display: block !important;
        visibility: visible !important;
    }

    .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        display: block !important;
        visibility: visible !important;
    }

    .col-lg-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        display: block !important;
        visibility: visible !important;
    }

    .col-lg-8 {
        flex: 0 0 66.666667% !important;
        max-width: 66.666667% !important;
        display: block !important;
        visibility: visible !important;
    }
    
    /* Special override for team section columns */
    #team-content .col-lg-5,
    #team-content .col-md-6 {
        flex: 0 0 45% !important;
        max-width: 45% !important;
        display: block !important;
        visibility: visible !important;
    }
}

/* Mobile-first: All columns full width on small screens */
@media (max-width: 767px) {
    .row {
        margin-bottom: 1.5rem !important;
    }
    
    .col-12, .col-md-4, .col-md-6, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        margin-bottom: 1rem !important;
    }
}

/* Add spacing adjustments for tablet screens */
@media (min-width: 768px) and (max-width: 991px) {
    .row {
        margin-bottom: 1.8rem !important;
    }
    
    .col-12, .col-md-4, .col-md-6, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8 {
        margin-bottom: 1.2rem !important;
    }
}


.navbar {
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    min-height: 76px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    z-index: 1050 !important;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 4px 25px rgba(0,0,0,0.4);
}

.navbar .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.navbar-brand {
    font-weight: 400 !important;
    font-size: 1.8rem;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    color: var(--color-primary) !important;
    text-decoration: none !important;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.navbar-brand:hover {
    color: var(--color-secondary) !important;
    text-decoration: none !important;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    filter: brightness(1.2);
}

.navbar-brand span {
    margin-left: 0.8rem;
    font-size: 1.6rem;
    color: var(--color-primary) !important;
    font-weight: 500 !important;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Extra strong override for nav brand text */
#nav-brand-text {
    font-weight: 500 !important;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    margin-left: 0.8rem !important;
}

.navbar-collapse {
    flex-grow: 0 !important;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin: 0 !important;
}

.navbar-nav .nav-item {
    margin: 0 5px !important;
}

.navbar-nav .nav-link {
    font-weight: 400;
    margin: 0 10px;
    transition: all 0.3s ease;
    color: var(--color-text-light) !important;
    padding: 8px 16px !important;
    border-radius: 4px;
    white-space: nowrap !important;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.navbar-nav .nav-link:hover {
    color: var(--color-secondary) !important;
    background: rgba(255, 107, 107, 0.1) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--color-secondary) !important;
    background: rgba(255, 107, 107, 0.15) !important;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 2px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}

/* Navbar responsive styles */
@media (max-width: 991px) {
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 5px;
        padding: 6px 12px !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        background: var(--color-background) !important;
        margin-top: 1rem !important;
        padding: 1rem !important;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-item {
        margin: 0 !important;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        margin: 0 !important;
        padding: 12px 16px !important;
        text-align: center;
        border-radius: 4px;
    }
}

/* Navbar Toggler Styling */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 4px 8px !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.hero-section {
    background: var(--color-background) !important; /* Hero section da lavanta arka plan */
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-left: calc(-10vw + 10%);
    margin-right: calc(-10vw + 10%);
    z-index: 1;
    padding: 0 2rem;
}

.hero-content {
    text-align: left;
    padding: 3rem 0;
    color: var(--color-text-dark);
    max-width: 1500px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    margin-top: 1rem;
    line-height: 1.1;
    color: var(--color-text-dark);
}

.hero-title-highlight {
    color: var(--color-secondary);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: 1.5;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-hero.primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff8e8e 100%);
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-background);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-hero.secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    padding: 16px 38px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.05) !important;
    transition: all 0.3s ease !important;
}

.btn-hero.primary:hover {
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6) !important;
    background: linear-gradient(135deg, #ff8e8e 0%, var(--color-secondary) 100%);
}

.btn-hero.secondary:hover {
    background: var(--color-primary);
    color: var(--color-background);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2) !important;
}

.btn-hero-icon {
    font-size: 0.9rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    color: var(--color-secondary);
    font-size: 1rem;
    text-decoration: none;
    animation: bounce 2s infinite;
    opacity: 0.6;
}

/* Section Styles - Strong overrides */


/* Section Styles - Strong overrides */
.section {
    padding: 60px 0 !important;
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Remove automatic animation - will be triggered by scroll */
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Remove automatic animation - will be triggered by scroll */
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* Section subtitles */
.text-center.mb-5 {
    padding: 15px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99 !important;
}

/* Also target any p elements that might be subtitles */
.section p.text-center,
.section p.mb-5 {
    padding: 10px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99 !important;
}

/* Subsection styling for projects */
.subsection-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text-dark) !important;
    margin-bottom: 1rem;
}

.subsection-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light) !important;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive section spacing */
@media (max-width: 768px) {
    .section {
        padding: 40px 0 !important;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 30px 0 !important;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card-header {
    background: var(--bg-gradient);
    color: var(--color-white);
    border: none;
    padding: 20px;
}

.card-body {
    padding: 30px;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 30px 20px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background: var(--color-white);
    display: block !important;
    margin-bottom: 2rem;
    position: relative !important;
    cursor: pointer;
    overflow: hidden;
    transform: translateY(0);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Remove automatic animation - will be triggered by scroll */
}

/* Background image overlay for text readability */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Overlay'i kaldırdık */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none; /* Mouse events'ları geçirsin */
}

.service-card:hover::after {
    background: transparent; /* Hover'da da overlay yok */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.service-card:hover::before {
    left: 100%;
}

.service-card-clickable {
    cursor: pointer;
    user-select: none;
}

.service-card-clickable:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card:active {
    transform: translateY(-4px) scale(1.01);
    transition: all 0.1s ease;
}

.service-details-btn {
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.service-details-btn:hover::before {
    left: 100%;
}

.service-details-btn:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.service-card:hover .service-details-btn {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Service card background images - Direct CSS approach */
.service-card[data-service-index="0"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/services-1.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-service-index="1"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/services-2.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-service-index="2"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/services-3.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-service-index="3"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/services-4.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-service-index="4"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/services-5.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-service-index="5"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/services-6.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

/* Background overlay for better text readability */
.service-card .card-body {
    background: transparent; /* Normal durumda da transparan olmalı */
    backdrop-filter: none;
    border-radius: 12px;
    margin: 8px;
    transition: all 0.3s ease;
}

.service-card:hover .card-body {
    background: transparent !important; /* Hover'da tamamen transparan */
    /*backdrop-filter: blur(2px);*/
    border-radius: 12px;
    margin: 8px;
    transition: all 0.3s ease;
}

.service-card:hover .service-title,
.service-card:hover .service-icon i {
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.service-card:hover .service-details-btn {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Fallback gradient when images are not available - DISABLED */
/*.service-card[data-service-index]:not([style*="background-image"]):hover::after {
    background: linear-gradient(135deg, 
        rgba(6, 50, 60, 0.8), 
        rgba(116, 206, 190, 0.8)
    );
}*/

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.service-card:hover .service-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

/* Card content positioning */
.service-card .card-body {
    position: relative;
    z-index: 5; /* En üstte olsun */
    transition: all 0.3s ease;
}

/* Background image support for dynamic loading */
.service-card.has-background-image {
    position: relative;
    color: var(--color-white);
}

.service-card.has-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    border-radius: 12px;
    z-index: 1;
}

.service-card.has-background-image .card-body {
    position: relative;
    z-index: 2;
    background: transparent !important;
}

.service-card.has-background-image .service-title,
.service-card.has-background-image .service-icon i,
.service-card.has-background-image .service-description {
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.service-card.has-background-image .service-details-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.service-card.has-background-image .service-details-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Projects section inherits all service card styles - no special overrides needed */

/* Project card background images - Hover effect for flagship projects */
.service-card[data-project-type="flagship"][data-project-index="0"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/flagship-1.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="flagship"][data-project-index="1"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/flagship-2.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

/* Project card background images - Hover effect for reference projects */
.service-card[data-project-type="reference"][data-project-index="0"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-1.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="reference"][data-project-index="1"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-2.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="reference"][data-project-index="2"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-3.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="reference"][data-project-index="3"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-4.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="reference"][data-project-index="4"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-5.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="reference"][data-project-index="5"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-6.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="reference"][data-project-index="6"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-7.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="reference"][data-project-index="7"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-8.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="reference"][data-project-index="8"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-9.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-card[data-project-type="reference"][data-project-index="9"]:hover {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('../img/reference-10.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease;
}

.service-icon {
    font-size: 2.8rem;
    color: var(--color-accent);
    margin-bottom: 1.2rem;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.service-card:hover .service-icon {
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.service-title {
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.service-description {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-card:hover .service-description {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Projects Section Styles */
.projects-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.project-item {
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    display: block;
}

.project-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.project-card {
    position: relative !important;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: var(--color-white) !important;
    display: block !important;
    height: 100%;
    /* Remove automatic animation - will be triggered by scroll */
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(6, 50, 60, 0.9), rgba(8, 145, 178, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Desktop service cards - keep white background */
@media (min-width: 769px) {
    .service-card {
        background: var(--color-white) !important;
    }
}

/* Mobile card display - show images immediately on touch devices */
@media (max-width: 768px) {
    /* Remove white background from all service cards on mobile */
    .service-card[data-service-index] {
        background-color: transparent !important;
    }
    
    /* Mobile service cards with JavaScript-applied backgrounds */
    .service-card.mobile-hover {
        background-color: transparent !important;
        color: white !important;
    }
    
    /* Ensure pseudo-elements don't interfere on mobile */
    .service-card[data-service-index]::after,
    .service-card[data-service-index]::before,
    .service-card.mobile-hover::after,
    .service-card.mobile-hover::before {
        display: none !important;
    }
    
    /* Force all text to be white on mobile service cards */
    .service-card h3,
    .service-card p,
    .service-card .card-title,
    .service-card .card-text,
    .service-card .service-title,
    .service-card .service-description {
        color: white !important;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.9) !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .service-card .service-icon {
        color: white !important;
        filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.9)) !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .service-card .btn,
    .service-card .service-details-btn {
        background-color: rgba(255, 255, 255, 0.25) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        color: white !important;
        backdrop-filter: blur(10px) !important;
        text-shadow: none !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    /* Project cards - show overlay and scaled images immediately on mobile */
    .project-overlay {
        opacity: 1 !important;
    }
    
    .project-image img {
        transform: scale(1.1) !important;
    }
    
    /* Project cards - show background images immediately on mobile */
    .service-card[data-project-type="flagship"][data-project-index="0"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/flagship-1.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="flagship"][data-project-index="1"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/flagship-2.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="0"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-1.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="1"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-2.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="2"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-3.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="3"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-4.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="4"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-5.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="5"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-6.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="6"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-7.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="7"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-8.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="8"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-9.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }

    .service-card[data-project-type="reference"][data-project-index="9"] {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
            url('../img/reference-10.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        color: white !important;
    }
}

.project-info {
    text-align: center;
    color: var(--color-white);
    padding: 2rem;
}

.project-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-info p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.project-info .btn {
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

/* Subsection styling for projects */
.subsection-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text-dark) !important;
    margin-bottom: 1rem;
}

.subsection-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light) !important;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Team Section Styles */
.team-card {
    background: var(--color-background) !important;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative !important;
    display: block !important;
    margin-bottom: 2rem;
    height: 100%;
    /* Remove automatic animation - will be triggered by scroll */
}

@keyframes teamCardAppear {
    from {
        opacity: 0;
        transform: translateY(25px) rotate(2deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* This creates a 1:1 aspect ratio (square) */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-background);
}

.team-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(8, 145, 178, 0.9), rgba(6, 178, 212, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h4 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.team-description {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Team Icon Placeholder */
.team-icon-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-background), var(--color-background));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.team-card:hover .team-icon-placeholder {
    background: linear-gradient(135deg, var(--color-background), var(--color-background));
    color: var(--color-accent);
}

.team-icon-placeholder i {
    font-size: 4rem;
    opacity: 0.8;
}

/* Team section specific row styling */
.team-section-row {
    justify-content: center;
    gap: 2rem;
}

/* Center team cards on large screens */
@media (min-width: 992px) {
    .team-card {
        max-width: 500px;
        margin: 0 auto;
        min-height: 500px;
    }
    
    /* Add spacing between team cards */
    #team-content .row {
        gap: 2rem;
        justify-content: center;
        flex-direction: row !important;
    }
    
    /* Ensure team columns have proper spacing - using col-md-6 for perfect 50/50 split */
    #team-content .col-lg-5,
    #team-content .col-md-6 {
        margin-bottom: 2rem;
        flex: 0 0 45% !important;
        max-width: 45% !important;
        width: 45% !important;
    }
}

/* Medium screens (tablets) - side by side */
@media (min-width: 768px) and (max-width: 991px) {
    .team-card {
        max-width: 400px;
        margin: 0 auto;
        min-height: 450px;
    }
    
    #team-content .row {
        flex-direction: row !important;
        justify-content: center;
        gap: 1.5rem;
    }
    
    #team-content .col-lg-5,
    #team-content .col-md-6 {
        flex: 0 0 48% !important;
        max-width: 48% !important;
        width: 48% !important;
    }
}

/* Mobile screens - keep side by side with smaller cards */
@media (max-width: 767px) {
    .team-card {
        max-width: 280px;
        margin: 0 auto;
        min-height: 350px;
    }
    
    .team-image {
        height: 180px;
        max-height: 180px;
    }
    
    .team-icon-placeholder {
        height: 180px;
    }
    
    .team-icon-placeholder i {
        font-size: 2.5rem;
    }
    
    /* Keep team cards side by side even on mobile */
    #team-content .row {
        flex-direction: row !important;
        justify-content: center;
        gap: 1rem;
    }
    
    #team-content .col-lg-5,
    #team-content .col-md-6 {
        flex: 0 0 48% !important;
        max-width: 48% !important;
        width: 48% !important;
    }
    
    /* Adjust team info padding for mobile */
    .team-info {
        padding: 1.5rem;
    }
    
    .team-info h4 {
        font-size: 1.1rem;
    }
    
    .team-position {
        font-size: 0.9rem;
    }
    
    .team-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Social links styling - exclude hero social media links */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.social-links .social-link:hover {
    background: var(--color-primary);
    transform: translateY(-3px) scale(1.1);
    color: var(--color-white);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(6, 50, 60, 0.4);
    border-color: var(--color-primary);
}

.social-links .social-link i {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Enhanced social links for mobile */
@media (max-width: 768px) {
    .social-links {
        gap: 1.2rem;
    }
    
    .social-links .social-link {
        width: 50px;
        height: 50px;
    }
    
    .social-links .social-link i {
        font-size: 1.3rem;
    }
}

/* About Section Additional Styles */
.about-image img {
    width: 100%;
    height: auto;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--color-background), var(--color-background));
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--color-background);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-stats-visual {
    margin-top: 2rem;
}

.stat-circle {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stats-row {
    border-top: 1px solid var(--color-background);
    padding-top: 2rem;
}

.values-section {
    margin-top: 3rem;
}

.value-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* Loading Styles */
#loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Text Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Hero element animation classes */
.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 3s ease-out 0.3s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-description {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.3s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

.btn-hero.primary {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out 2.2s forwards;
}

.btn-hero.secondary {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease-out 2.6s forwards;
}

.scroll-indicator {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 3s forwards;
}


/* Responsive animations for mobile */
@media (max-width: 768px) {
    .hero-title {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease-out 0.2s forwards;
    }
    
    .hero-subtitle {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease-out 0.6s forwards;
    }
    
    .hero-description {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease-out 1s forwards;
    }
    
    .hero-buttons {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease-out 1.4s forwards;
    }
    
    .btn-hero.primary {
        opacity: 0;
        transform: scale(0.8);
        animation: scaleIn 0.6s ease-out 1.8s forwards;
    }
    
    .btn-hero.secondary {
        opacity: 0;
        transform: scale(0.8);
        animation: scaleIn 0.6s ease-out 2.2s forwards;
    }
    
    .scroll-indicator {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease-out 2.6s forwards;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex !important;
    gap: 5px;
    position: relative;
    z-index: 1000;
}

.language-btn {
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background: transparent !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    user-select: none !important;
    pointer-events: auto !important;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    vertical-align: middle !important;
    line-height: 1.4 !important;
    min-width: 45px !important;
    box-sizing: border-box !important;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--color-white) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
}

.language-btn.active {
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    border-color: var(--color-accent) !important;
}

.language-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.language-btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3) !important;
}

.language-btn:active {
    transform: translateY(1px) !important;
}

/* Language switcher responsive */
@media (max-width: 767px) {
    .language-switcher {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .language-btn {
        min-width: 50px !important;
        padding: 8px 16px !important;
    }
}

/* Scroll-based Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

.scroll-animate-fade {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.scroll-animate-fade.animate-in {
    opacity: 1;
}

/* Delayed animations for staggered effects */
.scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
    transition-delay: 0.3s;
}

.scroll-animate-delay-4 {
    transition-delay: 0.4s;
}

.scroll-animate-delay-5 {
    transition-delay: 0.5s;
}

/* Footer Styles */
footer {
    background: var(--color-primary) !important;
    color: var(--color-white);
    padding: 40px 0 20px;
    margin-top: auto;
}

footer h5 {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

footer .d-flex.align-items-center img {
    height: 25px;
    width: auto;
}

/* Footer address section */
.footer-address {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.footer-address h6 {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-address p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-address .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
}

.footer-address .contact-item i {
    color: var(--color-accent);
    font-size: 1rem;
    margin-top: 0.2rem;
    width: 20px;
    flex-shrink: 0;
}

.footer-address .contact-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer email link styling */
.footer-email-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-email-link:hover {
    color: var(--color-accent) !important;
    text-decoration: underline !important;
}

.footer-email-link span {
    color: inherit;
}

/* Footer address link styling */
.footer-address-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-address-link:hover {
    color: var(--color-accent) !important;
    text-decoration: underline !important;
}

.footer-address-link span {
    color: inherit;
}

/* Footer phone link styling */
.footer-phone-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-phone-link:hover {
    color: var(--color-accent) !important;
    text-decoration: underline !important;
}

.footer-phone-link span {
    color: inherit;
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

/* Responsive footer */
@media (max-width: 768px) {
    footer {
        padding: 30px 0 15px;
        text-align: center;
    }
    
    footer .d-flex.align-items-center {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-address {
        margin-top: 1.5rem;
        text-align: left;
    }
    
    .footer-address h6 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-address .contact-item {
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 1rem;
    }
}

/* Back to Top Button */
.btn-back-to-top {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
}

.btn-back-to-top:hover {
    background: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

.btn-back-to-top:focus {
    box-shadow: 0 0 0 0.25rem rgba(6, 50, 60, 0.25) !important;
}

/* Service Modal Styles */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modal.active {
    display: flex;
    opacity: 1;
}

.service-modal-content {
    background: var(--color-white);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-modal.active .service-modal-content {
    transform: scale(1);
}

.service-modal-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.service-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    padding: 8px;
    z-index: 10;
}

.service-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.service-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.service-modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.service-modal-body {
    padding: 2rem;
    max-height: 50vh;
    overflow-y: auto;
    flex: 1;
}

.service-modal-body::-webkit-scrollbar {
    width: 8px;
}

.service-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.service-modal-body::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

.service-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.service-modal-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
}

.service-modal-description h4 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-modal-description ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.service-modal-description li {
    margin-bottom: 0.5rem;
}

.service-modal-footer {
    padding: 1rem 2rem;
    background: var(--color-background);
    text-align: center;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.service-modal-close-btn {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-modal-close-btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive service modal */
@media (max-width: 768px) {
    .service-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
    }
    
    .service-modal-header {
        padding: 1.5rem;
    }
    
    .service-modal-title {
        font-size: 1.4rem;
    }
    
    .service-modal-icon {
        font-size: 3rem;
    }
    
    .service-modal-body {
        padding: 1.5rem;
        max-height: 45vh;
    }
    
    .service-modal-footer {
        padding: 0.8rem 1.5rem;
    }
    
    .service-modal-close-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Team Member Modal Styles */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 10000;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.team-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.team-modal-content {
    background: var(--color-white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.4s ease-out;
}

.team-modal-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 2rem;
    position: relative;
    text-align: center;
}

.team-modal-close-top {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    padding: 8px;
    z-index: 10;
}

.team-modal-close-top:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-modal-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.team-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-modal-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 3rem;
}

.team-modal-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-modal-position {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
}

.team-modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-background);
}

.team-modal-body::-webkit-scrollbar {
    width: 8px;
}

.team-modal-body::-webkit-scrollbar-track {
    background: var(--color-background);
    border-radius: 4px;
}

.team-modal-body::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

.team-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

.team-modal-bio {
    color: var(--color-text-dark);
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
    white-space: pre-line;
}

.team-modal-bio p {
    margin-bottom: 1.5rem;
}

.team-modal-contact {
    display: flex;
    gap: 1rem;
       justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-background);
}

.team-modal-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--color-background);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.team-modal-contact-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    text-decoration: none;
}

.team-modal-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--color-background);
    background: var(--color-background);
}

.team-modal-close-bottom {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-modal-close-bottom:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3);
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Team Card Click Effect */
.team-card {
    cursor: pointer;
    user-select: none;
}

.team-card:active {
    transform: scale(0.98);
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .team-modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .team-modal-header {
        padding: 1.5rem;
    }
    
    .team-modal-avatar {
        width: 100px;
        height: 100px;
    }
    
    .team-modal-name {
        font-size: 1.5rem;
    }
    
    .team-modal-position {
        font-size: 1rem;
    }
    
    .team-modal-body {
        padding: 1.5rem;
        max-height: 50vh;
    }
    
    .team-modal-bio {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .team-modal-content {
        width: 98%;
        border-radius: 15px;
    }
    
    .team-modal-header {
        padding: 1rem;
    }
    
    .team-modal-avatar {
        width: 80px;
        height: 80px;
    }
    
    .team-modal-name {
        font-size: 1.3rem;
    }
    
    .team-modal-body {
        padding: 1rem;
        max-height: 45vh;
    }
    
    .team-modal-bio {
        font-size: 0.85rem;
    }
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Patents Section Styles */
#patents {
    background: var(--color-background);
}

.patent-item {
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8 !important;
}

.patent-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.patent-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.patent-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.patent-description {
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive adjustments for patents */
@media (max-width: 768px) {
    .patent-item {
        margin-bottom: 2rem;
    }
    
    .patent-image img {
        height: 180px;
    }
    
    .patent-title {
        font-size: 1.1rem;
    }
    
    .patent-description {
        font-size: 0.9rem;
    }
}

/* Project Modal Styles */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.active {
    display: flex;
    opacity: 1;
}

.project-modal-content {
    background: var(--color-white);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-modal.active .project-modal-content {
    transform: scale(1);
}

.project-modal-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.project-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    padding: 8px;
    z-index: 10;
}

.project-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.project-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.project-modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.project-modal-body {
    padding: 2rem;
    max-height: 50vh;
    overflow-y: auto;
    flex: 1;
}

.project-modal-body::-webkit-scrollbar {
    width: 8px;
}

.project-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.project-modal-body::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

.project-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.project-modal-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.project-modal-details {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
}

.project-modal-details h4 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-modal-details ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.project-modal-details li {
    margin-bottom: 0.5rem;
}

.project-modal-details br + br {
    margin-bottom: 1rem;
}

.project-modal-footer {
    padding: 1rem 2rem;
    background: var(--color-background);
    text-align: center;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.project-modal-close-btn {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-modal-close-btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive project modal */
@media (max-width: 768px) {
    .project-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
    }
    
    .project-modal-header {
        padding: 1.5rem;
    }
    
    .project-modal-title {
        font-size: 1.4rem;
    }
    
    .project-modal-icon {
        font-size: 3rem;
    }
    
    .project-modal-body {
        padding: 1.5rem;
        max-height: 55vh;
    }
    
    .project-modal-description {
        font-size: 1rem;
    }
    
    .project-modal-details {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .project-modal-header {
        padding: 1rem;
    }
    
    .project-modal-body {
        padding: 1rem;
    }
    
    .project-modal-title {
        font-size: 1.2rem;
    }
    
    .project-modal-icon {
        font-size: 2.5rem;
    }
}

/* Global Text Color Overrides - Final safety net */
/* This section ensures ALL text elements are white/gray on black background */

/* Force all text elements to be white */
p, span, div:not(.btn), h1, h2, h3, h4, h5, h6, li, label, 
.lead, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.small, .text-sm, .text-lg, .text-xl {
    color: var(--color-text-dark) !important;
}

/* Content sections */
.content-section, .section, main, article {
    background-color: var(--color-background) !important;
    color: var(--color-text-dark) !important;
}

/* Cards and containers */
.card, .card-body, .modal-content, .modal-body, .modal-header {
    background-color: var(--color-background-light) !important;
    color: var(--color-text-dark) !important;
    border-color: var(--color-border) !important;
}

/* Lists */
ul, ol, li {
    color: var(--color-text-dark) !important;
}

/* Links that should remain visible */
a {
    color: var(--color-secondary) !important;
}

a:hover {
    color: var(--color-accent) !important;
}

/* Exception for social media links */
.social-media-links a,
.social-media-links a:hover {
    color: inherit !important;
}

/* Tables */
.table, .table th, .table td {
    color: var(--color-text-dark) !important;
    background-color: transparent !important;
    border-color: var(--color-border) !important;
}

/* Forms */
.form-control, .form-select, .form-check-label {
    background-color: var(--color-background-light) !important;
    color: var(--color-text-dark) !important;
    border-color: var(--color-border) !important;
}

.form-control:focus, .form-select:focus {
    background-color: var(--color-background-light) !important;
    color: var(--color-text-dark) !important;
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 107, 0.25) !important;
}

/* Breadcrumbs and navigation */
.breadcrumb {
    background-color: var(--color-background-light) !important;
}

.breadcrumb-item, .breadcrumb-item a {
    color: var(--color-text-light) !important;
}

/* Alerts */
.alert {
    background-color: var(--color-background-light) !important;
    color: var(--color-text-dark) !important;
    border-color: var(--color-border) !important;
}

/* Force any remaining elements to dark theme */
.bg-light, .bg-white, .bg-secondary {
    background-color: var(--color-background-light) !important;
}

.text-dark, .text-secondary {
    color: var(--color-text-dark) !important;
}

/* Dropdowns */
.dropdown-menu {
    background-color: var(--color-background-light) !important;
    border-color: var(--color-border) !important;
}

.dropdown-item {
    color: var(--color-text-dark) !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--color-background-lighter) !important;
    color: var(--color-text-dark) !important;
}

/* FINAL OVERRIDE: Social Media Hover Animations - HIGHEST PRIORITY */
.social-media-links .social-link:hover,
div.social-media-links a.social-link:hover {
    background: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    transform: translateY(-3px) scale(1.1) !important;
    color: var(--color-background) !important;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4) !important;
    transition: all 0.3s ease !important;
}

.social-media-links .social-link.instagram:hover,
div.social-media-links a.social-link.instagram:hover {
    background: #e1306c !important;
    border-color: #e1306c !important;
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4) !important;
    transform: translateY(-3px) scale(1.1) !important;
    transition: all 0.3s ease !important;
}

.social-media-links .social-link.facebook:hover,
div.social-media-links a.social-link.facebook:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4) !important;
    transform: translateY(-3px) scale(1.1) !important;
    transition: all 0.3s ease !important;
}

.social-media-links .social-link.spotify:hover,
div.social-media-links a.social-link.spotify:hover {
    background: #1db954 !important;
    border-color: #1db954 !important;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4) !important;
    transform: translateY(-3px) scale(1.1) !important;
    transition: all 0.3s ease !important;
}

.social-media-links .social-link.youtube:hover,
div.social-media-links a.social-link.youtube:hover {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4) !important;
    transform: translateY(-3px) scale(1.1) !important;
    transition: all 0.3s ease !important;
}

/* FINAL OVERRIDE: About Section Background - HIGHEST PRIORITY */
#about.content-section,
div#about.content-section,
section#about.content-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/renk-headshots.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    min-height: 100vh !important;
    padding: 120px 0 80px 0 !important;
}

/* Ensure child elements don't override the background */
#about.content-section * {
    background-color: transparent !important;
}

#about.content-section .section,
#about.content-section .container,
#about.content-section #about-content {
    background: transparent !important;
}

/* Mobile responsive rules for about section background */
@media (max-width: 768px) {
    #about.content-section,
    div#about.content-section,
    section#about.content-section {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/renk-headshots.png') !important;
        background-size: contain !important;
        background-position: center top !important;
        background-attachment: scroll !important;
        background-repeat: no-repeat !important;
        min-height: 100vh !important;
        padding: 120px 0 80px 0 !important;
    }
}

/* Instagram Feed Styles */
.instagram-feed-container {
    padding: 2rem 0;
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 15px;
}

.ig-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.ig-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.instagram-follow-link {
    text-align: center;
    margin-top: 2rem;
}

.ig-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ig-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .ig-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 1rem auto;
        padding: 0 10px;
    }
    
    .instagram-feed-container {
        padding: 1rem 0;
    }
}

/* Clickable Album Cards */
.album-card.clickable-album {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.album-card.clickable-album:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.album-cover {
    position: relative;
    overflow: hidden;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 215, 96, 0.9); /* Spotify green */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: bold;
}

.album-overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.album-overlay span {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clickable-album:hover .album-overlay {
    opacity: 1;
}

.album-card .btn-spotify {
    background: #1ed760;
    border-color: #1ed760;
    color: white;
    transition: all 0.3s ease;
}

.album-card .btn-spotify:hover {
    background: #1db954;
    border-color: #1db954;
    color: white;
    transform: translateY(-2px);
}
