@import url('https://fonts.googleapis.com/css?family=Raleway:400,500,600,700');
/*----bootstrap css ----- */
@import url('../vendor/bootstrap/bootstrap.css');
/*----font awesome -------*/
@import url('../fonts/font-awesome/css/font-awesome.min.css');
/*----revolution-slider---*/
@import url('../vendor/revolution/settings.css');
@import url('../vendor/revolution/layers.css');
@import url('../vendor/revolution/navigation.css');
/*----owl-carousel css----*/
@import url('../vendor/owl-carousel/owl.carousel.css');
@import url('../vendor/owl-carousel/owl.theme.css');
/*-------- animated css ------*/
@import url('../vendor/WOW-master/css/libs/animate.css');
/*---- Progress bar css----*/
@import url('../vendor/skills-master/source/habilidades.css');
/*-------- hover css ------*/
@import url('../vendor/hover.css');
/*----calendar css--------*/
@import url('../vendor/monthly-master/css/monthly.css');

/* ------------------------------------------------------------------
   Color System
   ------------------------------------------------------------------ */
:root {
  --primary: #0066ff;
  --primary-dark: #0045b3;
  --primary-light: #e5f0ff;
  --accent: #ff9f1c;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --bg-page: #f5f7fb;
  --white: #ffffff;
  --border-soft: #e5e7eb;
}

/* Prevent zoom issues */
@media screen and (max-width: 991px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/*** 
====================================================================
  Loading Transition
====================================================================
***/
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: var(--white);
  overflow: hidden;
}
#preloader_1{
  position: absolute;
  left: 50%;
  margin-left: -25px;
  top: 50%;
  transform: translateY(-50%);
}
#preloader_1 span{
  display:block;
  bottom:0px;
  width: 6px;
  height: 5px;
  background: var(--primary); 
  position:absolute;
  animation: preloader_1 1.5s  infinite ease-in-out;
}
#preloader_1 span:nth-child(2){
  left:11px;
  animation-delay: .2s;
}
#preloader_1 span:nth-child(3){
  left:22px;
  animation-delay: .4s;
}
#preloader_1 span:nth-child(4){
  left:33px;
  animation-delay: .6s;
}
#preloader_1 span:nth-child(5){
  left:44px;
  animation-delay: .8s;
}
@keyframes preloader_1 {
  0%   {height:5px;transform:translateY(0px);background:var(--primary);}
  25%  {height:30px;transform:translateY(15px);background:var(--primary);}
  50%  {height:5px;transform:translateY(0px);background:var(--primary-dark);}
  100% {height:5px;transform:translateY(0px);background:var(--primary-dark);}
}

/*** 
====================================================================
  Click To Top
====================================================================
***/
.scroll-top {
  width:50px;
  height:50px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  text-align: center;
  color:var(--white);
  font-size: 20px;
  display: none;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(0,102,255,0.4);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,102,255,0.5);
}
.scroll-top i {
  line-height: 50px;
}

/*** 
====================================================================
  Global Settings
====================================================================
***/
body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 14px;
  position: relative;
  background: var(--bg-page);
}
.main-page-wrapper {
  overflow-x:hidden;
}
h1,h2,h3,h4,h5,h6,p,ul { margin:0;padding: 0;}
h1,h2,h3,h4,h5,h6 {
  color: var(--text-main);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .02em;
}
h1 {font-size: 48px;}
h2 {font-size: 36px;}
h3 {font-size: 28px;}
h4 {font-size: 24px;}
h5 {font-size: 22px;}
h6 {font-size: 18px;}
p {
  line-height: 1.7;
  color: var(--text-muted);
}
ul {list-style-type: none;}
a {
  text-decoration: none;
  display: inline-block;
  color: inherit;
}
a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}
img {max-width: 100%; display: block;}
button {
  border:none;
  outline: none;
  box-shadow: none;
  display: block;
  padding: 0;
  background: transparent;
}
input,textarea {
  outline: none;
  box-shadow: none;
  transition: all 0.25s ease-in-out;
}

/* Utility */
.clear-fix { clear:both;}
.clear-fix:after {
  display: table;
  content: '';
  clear: both;
}

/*** 
====================================================================
  Modern Logo Design - Always Left Aligned
====================================================================
***/
.logo-modern {
    text-decoration: none;
    display: inline-block;
    z-index: 10002;
    position: relative;
    padding-left: 5px;
}
.logo-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start !important;
}
.logo-text {
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo-jdr {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    font-family: 'Raleway', sans-serif;
}
.logo-and {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.5px;
}
.logo-associates {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}
.logo-tagline {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: left;
}
.logo-modern:hover .logo-jdr {
    color: var(--primary-dark);
}
.logo-modern:hover .logo-associates {
    color: var(--primary);
}

/*** 
====================================================================
  Theme Header - Z-INDEX FIX
====================================================================
***/
.theme-main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 18px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.theme-main-header .container {
    padding-left: 5px;
    padding-right: 20px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/*** 
====================================================================
  Mobile Menu Toggle - ULTIMATE FIX
====================================================================
***/
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 10002;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/*** Navigation ***/
.main-navigation {
    display: flex;
    align-items: center;
    z-index: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary);
    color: var(--white);
}

/*** 
====================================================================
  Sticky Header - FIXED Z-INDEX
====================================================================
***/
.theme-main-header.fixed {
    position: fixed;
    padding: 12px 0;
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    animation: slideDown 0.4s ease-out;
    z-index: 10000 !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.theme-main-header.fixed .logo-jdr,
.theme-main-header.fixed .logo-associates {
    font-size: 24px;
    color: var(--primary) !important;
}

.theme-main-header.fixed .logo-and {
    font-size: 14px;
    color: var(--accent) !important;
}

.theme-main-header.fixed .logo-tagline {
    font-size: 8px;
    color: var(--text-muted) !important;
}

.theme-main-header.fixed .nav-link {
    color: var(--text-main) !important;
}

.theme-main-header.fixed .nav-link:hover,
.theme-main-header.fixed .nav-link.active {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.theme-main-header.fixed .hamburger-line {
    background: var(--text-main) !important;
}

.theme-main-header.fixed .mobile-menu-toggle {
    z-index: 10002 !important;
}

.theme-main-header.fixed .main-navigation {
    z-index: 10001 !important;
}

/*** 
====================================================================
  Mobile Responsive - COMPLETE FIX
====================================================================
***/
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 10002 !important;
    }
    
    .theme-main-header .container {
        padding-left: 5px;
        padding-right: 15px;
    }
    
    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: var(--white) !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2) !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding-top: 80px !important;
        overflow-y: auto !important;
        z-index: 10001 !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .theme-main-header.fixed .main-navigation,
    .main-navigation {
        z-index: 10001 !important;
    }
    
    .main-navigation.active {
        right: 0 !important;
    }
    
    .nav-list {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    .nav-link {
        padding: 18px 24px !important;
        border-radius: 0 !important;
        border-bottom: 1px solid var(--border-soft) !important;
        color: var(--text-main) !important;
        font-size: 14px !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--bg-page) !important;
        color: var(--primary) !important;
        border-left: 4px solid var(--primary) !important;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
    
    body.menu-open::before {
        content: '' !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0,0,0,0.6) !important;
        z-index: 10000 !important;
        animation: fadeIn 0.3s ease !important;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

/*** Desktop - Force Normal Menu (>= 992px) ***/
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-navigation {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding-top: 0 !important;
        overflow: visible !important;
        right: auto !important;
        z-index: 1 !important;
    }
    
    .nav-list {
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        width: auto !important;
    }
    
    .nav-link {
        padding: 10px 16px !important;
        border-radius: 6px !important;
        border-bottom: none !important;
        font-size: 13px !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--primary) !important;
        color: var(--white) !important;
        border-left: none !important;
    }
}

/*** Tablet View ***/
@media (max-width: 767px) {
    .theme-main-header {
        padding: 14px 0;
    }
    
    .theme-main-header .container {
        padding-left: 5px;
        padding-right: 15px;
    }
    
    .logo-jdr,
    .logo-associates {
        font-size: 22px !important;
    }
    
    .logo-and {
        font-size: 13px !important;
    }
    
    .logo-tagline {
        font-size: 7px !important;
    }
    
    .main-navigation {
        width: 100%;
        max-width: 320px;
    }
}

/*** Small Mobile ***/
@media (max-width: 480px) {
    .logo-jdr,
    .logo-associates {
        font-size: 20px !important;
    }
    
    .logo-and {
        font-size: 12px !important;
    }
    
    .logo-tagline {
        font-size: 6px !important;
        letter-spacing: 1px;
    }
}

/* Section Header (modern style) */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px auto;
}
.section-badge {
  display: inline-block;
  background: rgba(0,102,255,0.1);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-title {
  font-size: 40px;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

/*** 
====================================================================
  Modern Hero Section
====================================================================
***/
.modern-hero {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  padding: 140px 0 100px 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}
.hero-bg-shape.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -150px;
  right: -100px;
}
.hero-bg-shape.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -100px;
  left: -50px;
}

.hero-content-wrapper {
  display: flex;
  align-items: center;
  z-index: 2;
}
.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,102,255,0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}
.hero-badge i {
  font-size: 14px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  animation: fadeInUp 0.8s ease-out;
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
  animation: fadeInUp 1s ease-out;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease-out;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(0,102,255,0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,102,255,0.35);
  color: var(--white);
}
.btn-primary i {
  transition: transform 0.3s ease;
}
.btn-primary:hover i {
  transform: translateX(4px);
}
.btn-secondary {
  background: var(--white);
  color: var(--text-main);
  border: 2px solid var(--border-soft);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  animation: fadeInUp 1.4s ease-out;
}
.stat-item h4 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.hero-visual-wrapper {
  position: relative;
  z-index: 1;
}
.hero-visual {
  position: relative;
  padding: 40px;
}

.visual-card {
  position: absolute;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatAnimation 3s ease-in-out infinite;
  z-index: 2;
}
.visual-card i {
  font-size: 24px;
  color: var(--primary);
}
.visual-card h5 {
  margin: 0;
  font-size: 14px;
  color: var(--text-main);
}
.visual-card.card-1 {
  top: 0;
  right: 60px;
  animation-delay: 0s;
}
.visual-card.card-2 {
  top: 50%;
  left: 0;
  animation-delay: 1s;
}
.visual-card.card-3 {
  bottom: 40px;
  right: 40px;
  animation-delay: 2s;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.1) 0%, rgba(255,159,28,0.1) 100%);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes floatAnimation {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/*** 
====================================================================
  About Section
====================================================================
***/
#about-us {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.about-services-grid {
  margin-bottom: 80px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0,102,255,0.12);
  transform: translateY(-8px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0,102,255,0.15) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--primary);
  transform: scale(1.05);
}
.service-icon i {
  font-size: 32px;
  color: var(--primary);
  transition: all 0.3s ease;
}
.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h5 {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 14px;
  font-weight: 700;
}
.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}
.service-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}
.service-link:hover {
  color: var(--primary-dark);
  gap: 12px;
}
.service-link:hover i {
  transform: translateX(4px);
}

.about-features {
  background: var(--bg-page);
  border-radius: 24px;
  padding: 60px 50px;
}
.features-content h3 {
  font-size: 32px;
  color: var(--text-main);
  margin-bottom: 16px;
}
.features-content > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.feature-icon i {
  font-size: 22px;
  color: var(--primary);
}
.feature-text h6 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 6px;
}
.feature-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.features-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat-box {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.stat-box h2 {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1;
}
.stat-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/*** 
====================================================================
  Services Section
====================================================================
***/
#service-section {
  background: var(--bg-page);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.services-grid {
  margin-top: 60px;
}

.modern-service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  margin-bottom: 30px;
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.modern-service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0,102,255,0.15);
  transform: translateY(-8px);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--border-soft);
  transition: all 0.3s ease;
}
.modern-service-card:hover .service-number {
  color: var(--primary);
}

.service-icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0,102,255,0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}
.modern-service-card:hover .service-icon-wrapper {
  background: var(--primary);
  transform: scale(1.1) rotate(5deg);
}
.service-icon-wrapper i {
  font-size: 32px;
  color: var(--primary);
  transition: all 0.3s ease;
}
.modern-service-card:hover .service-icon-wrapper i {
  color: var(--white);
}

.modern-service-card h4 {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 16px;
  font-weight: 700;
  transition: color 0.3s ease;
}
.modern-service-card:hover h4 {
  color: var(--primary);
}

.modern-service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-arrow {
  width: 40px;
  height: 40px;
  background: var(--bg-page);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  transition: all 0.3s ease;
}
.service-arrow i {
  font-size: 16px;
  color: var(--text-main);
  transition: all 0.3s ease;
}
.modern-service-card:hover .service-arrow {
  background: var(--primary);
  transform: scale(1.1);
}
.modern-service-card:hover .service-arrow i {
  color: var(--white);
  transform: translateX(2px);
}

/*** 
====================================================================
  Team Section - FIXED IMAGE CROPPING
====================================================================
***/
#team-section {
    background: var(--white);
    padding: 100px 0;
}

.team-grid {
    margin-top: 60px;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    height: 100%;
}
.team-card:hover {
    box-shadow: 0 12px 40px rgba(0,102,255,0.15);
    transform: translateY(-8px);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
}
.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transition: transform 0.5s ease;
}
.team-card:hover .team-image-wrapper img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,102,255,0.95) 0%, rgba(0,102,255,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.team-card:hover .team-overlay {
    opacity: 1;
}
.team-bio {
    color: var(--white);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

.team-info {
    padding: 28px 24px;
    text-align: center;
}
.team-info h4 {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 700;
}
.team-role {
    display: block;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-contact {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.contact-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-soft);
}
.contact-btn i {
    font-size: 18px;
    color: var(--text-main);
    transition: color 0.3s ease;
}
.contact-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}
.contact-btn.whatsapp:hover i {
    color: var(--white);
}
.contact-btn.phone:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.contact-btn.phone:hover i {
    color: var(--white);
}

/*** 
====================================================================
  Industry Expertise Section
====================================================================
***/
#skill-section {
    background: var(--bg-page);
    padding: 100px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.industry-item {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.industry-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,102,255,0.12);
    transform: translateY(-4px);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0,102,255,0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}
.industry-item:hover .industry-icon {
    background: var(--primary);
    transform: scale(1.1);
}
.industry-icon i {
    font-size: 32px;
    color: var(--primary);
    transition: color 0.3s ease;
}
.industry-item:hover .industry-icon i {
    color: var(--white);
}

.industry-item h5 {
    font-size: 16px;
    color: var(--text-main);
    margin: 0;
    font-weight: 700;
}

.industry-footer {
    text-align: center;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.industry-footer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

/*** 
====================================================================
  Contact Section - FIXED ALIGNMENT
====================================================================
***/
#contact-section {
    background: var(--bg-page);
    padding: 100px 0;
}

.contact-offices {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-card-modern {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.office-card-modern:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,102,255,0.12);
    transform: translateY(-2px);
}

.office-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0,102,255,0.15) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.office-card-modern:hover .office-icon {
    background: var(--primary);
}
.office-icon i {
    font-size: 22px;
    color: var(--primary);
    transition: color 0.3s ease;
}
.office-card-modern:hover .office-icon i {
    color: var(--white);
}

.office-details {
    flex: 1;
}
.office-details h5 {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 700;
}
.office-location {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ✅ FIXED - Properly aligned contact items */
.office-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.office-contact-item:last-child {
    margin-bottom: 0;
}
.office-contact-item i {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.office-contact-item a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
    word-break: break-word;
    line-height: 1.5;
}
.office-contact-item a:hover {
    color: var(--primary);
}

.modern-contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.modern-contact-form h3 {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: 700;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-main);
    background: var(--bg-page);
    transition: all 0.3s ease;
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,102,255,0.25);
}
.submit-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,102,255,0.35);
}
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.btn-loader {
    display: none;
    align-items: center;
    gap: 8px;
}

.form-message {
    display: none;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}
.form-message.show {
    display: block;
}
.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/*** 
====================================================================
  Footer Section
====================================================================
***/
#footer-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #cbd5e1;
    position: relative;
}

.footer-main {
    padding: 80px 0 40px 0;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-link i {
    font-size: 16px;
    color: #cbd5e1;
    transition: color 0.3s ease;
}
.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.social-link:hover i {
    color: var(--white);
}

.footer-title {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}
.footer-title:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li:last-child {
    margin-bottom: 0;
}
.footer-links a {
    font-size: 14px;
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-contact li:last-child {
    margin-bottom: 0;
}
.footer-contact i {
    font-size: 16px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contact span {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 28px 0;
}
.copyright-text {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}
.footer-bottom-links li {
    display: inline-block;
}
.footer-bottom-links a {
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.3s ease;
}
.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Footer Logo Styles */
.footer-logo .logo-modern .logo-jdr,
.footer-logo .logo-modern .logo-associates {
    color: var(--white);
}
.footer-logo .logo-modern .logo-and {
    color: var(--accent);
}
.footer-logo .logo-modern .logo-tagline {
    color: #94a3b8;
}

/*** 
====================================================================
  Responsive Styles
====================================================================
***/
@media (max-width: 991px) {
    .modern-hero {
        padding: 100px 0 60px 0;
        min-height: auto;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-visual-wrapper {
        margin-top: 60px;
    }
    .hero-stats {
        gap: 24px;
    }
    #about-us {
        padding: 80px 0;
    }
    .section-title {
        font-size: 32px;
    }
    .about-features {
        padding: 40px 30px;
    }
    .features-content {
        margin-bottom: 40px;
    }
    #service-section {
        padding: 80px 0;
    }
    .services-grid {
        margin-top: 50px;
    }
    #team-section {
        padding: 80px 0;
    }
    .team-image-wrapper {
        height: 350px;
    }
    #skill-section {
        padding: 80px 0;
    }
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    #contact-section {
        padding: 80px 0;
    }
    .contact-offices {
        margin-bottom: 40px;
    }
    .footer-main {
        padding: 60px 0 30px 0;
    }
    .footer-widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        gap: 20px;
    }
    .stat-item h4 {
        font-size: 24px;
    }
    .visual-card {
        padding: 12px;
    }
    .visual-card h5 {
        font-size: 12px;
    }
    .section-title {
        font-size: 28px;
    }
    .service-card {
        margin-bottom: 20px;
    }
    .about-features {
        padding: 32px 20px;
    }
    .features-content h3 {
        font-size: 24px;
    }
    .features-stats {
        grid-template-columns: 1fr;
    }
    .stat-box h2 {
        font-size: 36px;
    }
    #service-section {
        padding: 60px 0;
    }
    .modern-service-card {
        padding: 32px 24px;
        margin-bottom: 20px;
    }
    .modern-service-card h4 {
        font-size: 20px;
    }
    #team-section {
        padding: 60px 0;
    }
    .team-card {
        margin-bottom: 24px;
    }
    .team-image-wrapper {
        height: 320px;
    }
    #skill-section {
        padding: 60px 0;
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .industry-item {
        padding: 24px 16px;
    }
    .industry-icon {
        width: 60px;
        height: 60px;
    }
    .industry-icon i {
        font-size: 28px;
    }
    .industry-item h5 {
        font-size: 14px;
    }
    #contact-section {
        padding: 60px 0;
    }
    .modern-contact-form {
        padding: 32px 24px;
    }
    .modern-contact-form h3 {
        font-size: 20px;
    }
    .office-card-modern {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .office-details h5 {
        font-size: 16px;
    }
    .footer-main {
        padding: 50px 0 20px 0;
    }
    .footer-bottom {
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
        margin-top: 16px;
    }
    .copyright-text {
        text-align: center;
    }
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .scroll-top i {
        font-size: 18px;
        line-height: 45px;
    }
}
