:root {
  --primary-color: #34518F; /* Brand Navy */
  --primary-color-rgb: 26, 43, 60;
  --secondary-color: #d4af37; /* Champagne Gold */
  --secondary-color-rgb: 212, 175, 55;
  --accent-color: #d4af37;
  --text-dark: #1a2b3c;
  --text-light: #ffffff;
  --bg-dark: var(--primary-color);
  --bg-light: #f8f9fa;
  --body-font: 'Plus Jakarta Sans', sans-serif;
  --heading-font: 'Playfair Display', serif;
  --label-font: 'Lexend', sans-serif;
  
  /* Gold Gradient - Rich Gold Depth */
  --gold-gradient: linear-gradient(135deg, #c9a227 0%, #e8c547 25%, #d4af37 50%, #c9a227 75%, #d4af37 100%);
  --gold-gradient-hover: linear-gradient(135deg, #d4af37 0%, #e8c547 25%, #f0d68a 50%, #e8c547 75%, #d4af37 100%);
  
  /* Aliases for custom styles transition */
  --navy: var(--primary-color);
  --gold: var(--secondary-color);
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.text-gold {
  color: var(--secondary-color) !important;
}

.bg-navy {
  background-color: var(--primary-color) !important;
}

.btn-main {
  background: var(--gold-gradient);
  color: #1a2b3c;
  border: none;
  padding: 14px 36px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.2s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-main:hover {
  background: var(--gold-gradient-hover);
  color: #1a2b3c;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-main:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.btn-line {
  background: transparent;
  border: 1px solid #fff;
}

.btn-line:hover {
  background: #fff;
  color: var(--primary-color);
  border: 1px solid #fff;
}

header.header-light.scroll-light #mainmenu > li > a {
  color: var(--text-dark);
}

header.header-light.scroll-light #mainmenu > li > a:hover {
  color: var(--secondary-color);
}

.subtitle {
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
  display: inline-block;
  font-family: var(--label-font);
  font-size: 12px;
}

.subtitle.s2 {
  font-family: var(--label-font);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary-color);
}

/* Custom Luxe Classes */
.luxe-border {
  border: 1px solid var(--secondary-color);
}

.luxe-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

section.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* --- CUSTOM HERO & SECTION STYLES moved from index.html --- */
.luxe-hero {
    height: 100vh;
    background: var(--navy);
    position: relative;
}

.hero-overlay {
    background: linear-gradient(75deg, rgba(26, 43, 60, 0.95) 0%, rgba(26, 43, 60, 0.6) 50%, rgba(26, 43, 60, 0.1) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 40px !important;
}

.hero-content p.lead {
    opacity: 1 !important;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 650px;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 50px !important;
}

.video-bg-local {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.badge-luxe {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold);
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 40px;
    backdrop-filter: blur(15px);
    border-radius: 100px;
}

.service-card-new {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px;
    transition: 0.4s;
    height: 100%;
}

.service-card-new:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold) !important;
}

.service-icon-new {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 25px;
}

.map-section {
    background: #fdfdfd;
    padding: 100px 0;
    position: relative;
}

.india-map {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.pulse-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
}

.pulse-marker::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.label-marker {
    position: absolute;
    background: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: 0.3s;
    transform: translateY(-40px);
    left: -20px;
}

.pulse-marker:hover .label-marker {
    opacity: 1;
    transform: translateY(-50px);
}

.stat-box {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:last-child {
    border-right: none;
}

.tab-content {
    /* padding-top: 20px; */
}

.lead {
    font-size: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Tabs */
.portfolio-tabs .nav-pills {
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide for Firefox */
}

.portfolio-tabs .nav-pills::-webkit-scrollbar {
    display: none;
}

.portfolio-tabs .nav-pills .nav-item {
    flex: 0 0 auto;
}

.portfolio-tabs .nav-pills .nav-link {
    border-radius: 50px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid var(--navy);
    padding: 10px 22px; /* Smaller pills */
    font-weight: 700;
    font-size: 12px; /* Smaller text */
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.portfolio-tabs .nav-pills .nav-link:hover {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
}

.portfolio-tabs .nav-pills .nav-link.active {
    color: #fff;
    background: var(--gold);
    border-color: var(--gold);
    border-bottom: none !important; /* Completely remove the golden line from style.css */
    box-shadow: 0 4px 15px rgba(193, 160, 83, 0.3);
}

@media (max-width: 768px) {
    .portfolio-tabs .nav-pills {
        justify-content: flex-start !important;
        padding: 5px 15px 15px !important;
        margin: 0 -15px !important;
        width: auto !important;
    }
    
    .portfolio-tabs .nav-pills .nav-link {
        padding: 8px 18px !important;
        font-size: 11px !important;
    }
    
    .property-info-luxe {
        width: 94% !important;
        padding: 20px !important;
        margin-top: -30px !important;
        min-height: auto !important;
    }

    .portfolio-tabs .tab-content {
        padding: 0 10px;
    }
}

.property-card-luxe {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card-luxe:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.property-card-luxe .ribbon-upcoming {
    position: absolute;
    top: 25px;
    right: -40px;
    background: var(--gold);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 50px;
    transform: rotate(45deg);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.property-card-luxe img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: 0.5s;
}

.property-card-luxe:hover img {
    transform: scale(1.05);
}

.property-info-luxe {
    background: #fff;
    padding: 25px;
    margin-top: -40px;
    position: relative;
    z-index: 5;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* border-bottom removed as per request */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.property-info-luxe h4 {
    margin-bottom: 10px;
    font-size: 20px;
}

.property-info-luxe p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.property-info-luxe .btn-main {
    align-self: center;
}

.video-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.luxe-border {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.luxe-border:hover {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

footer {
    background: var(--navy);
    color: #fff;
    padding: 80px 0 20px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 25px;
}
/* map-pulse-marker and Intelligence Cards */
.map-pulse-marker {
    position: absolute;
    width: 20px; /* Increased for touch target */
    height: 20px; /* Increased for touch target */
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 3px solid rgba(255,255,255,0.3);
}

@media (min-width: 992px) {
    .map-pulse-marker {
        width: 14px;
        height: 14px;
    }
}

.map-pulse-marker:hover, .map-pulse-marker.active {
    transform: scale(1.4);
    background: #fff;
    border-color: var(--gold);
}

.marker-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a2b3c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    border: 1px solid var(--gold);
}

.map-pulse-marker:hover .marker-label, .map-pulse-marker.active .marker-label {
    opacity: 1;
    top: -40px;
}

.intel-cards-container {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .intel-cards-container {
        min-height: auto;
        display: block;
        margin-top: 30px;
    }
    .intel-card {
        position: relative !important;
        top: 0 !important;
        transform: none !important;
        display: none;
        margin-bottom: 20px;
    }
    .intel-card.active {
        display: block !important;
    }
}

.intel-card {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    transition: 0.4s ease-in-out;
    border: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 0;
    visibility: hidden;
    background: rgba(255,255,255,0.05);
    z-index: 1;
}

.intel-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
    z-index: 2;
}

.gold-text {
    color: var(--gold) !important;
}

.border-luxe {
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.marker-global {
    background: #D4AF37;
}
.footer-social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
    transition: 0.3s;
}

.hero-stats-bar {
    background: rgba(26, 43, 60, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.luxe-video-element {
    max-height: 600px;
    object-fit: cover;
}

/* Corporate Partners & Testimonials */
.logo-scroller {
    overflow: hidden;
    padding: 60px 0;
    background: #fff;
}

.logo-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 30s linear infinite;
}

.logo-item {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.logo-item img {
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 5)); }
}

.testimonial-card-luxe {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    transition: 0.4s;
}

.testimonial-card-luxe:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.testimonial-quote {
    font-size: 16px;
    color: #444;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    font-size: 16px;
    color: var(--navy);
}

.author-info span {
    font-size: 13px;
    color: #888;
}

.star-rating {
    color: #fbbc05;
    font-size: 14px;
    margin-bottom: 10px;
}

.google-review-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 20px;
    color: #4285F4;
}

/* Career & Partner Pages Styles */
.page-hero {
    padding: 150px 0 100px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    pointer-events: none;
}

.job-card, .partner-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.4s;
    height: 100%;
}

.job-card:hover, .partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.job-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.luxe-form-group {
    margin-bottom: 25px;
}

.luxe-form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.luxe-form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    background: #fcfcfc;
    border-radius: 6px;
    transition: 0.3s;
    font-family: var(--body-font);
}

.luxe-form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.form-container-luxe {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .form-container-luxe {
        padding: 30px;
    }
    .luxe-form-label {
        text-align: left !important;
    }
}

/* Accessibility - Focus States */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .btn-main:hover {
        transform: none;
    }
    
    .service-card-new:hover,
    .service-card:hover,
    .property-card-luxe:hover,
    .testimonial-card-luxe:hover,
    .job-card:hover,
    .partner-card:hover {
        transform: none;
    }
    
    .logo-track {
        animation: none;
    }
    
    .property-card-luxe:hover img {
        transform: none;
    }
}

/* Interactive Card Cursor */
.service-card-new,
.service-card,
.property-card-luxe,
.testimonial-card-luxe,
.job-card,
.partner-card,
.logo-item,
.pulse-marker,
.map-pulse-marker,
[id*="filter"] li a {
    cursor: pointer;
}

/* Grayscale Partner Logo Animation */
.partner-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-grid {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .logo-track {
        display: none;
    }
    .logo-grid {
        display: block;
    }
}

@media (max-width: 768px) {
    .logo-grid {
        display: block;
    }
}

/* Faster Scroll Animations - Applied to specific sections only */
#section-portfolio .wow,
#section-gallery .wow,
#section-presence .wow,
#section-testimonials .wow,
footer .wow {
    animation-duration: 0.4s !important;
    animation-timing-function: ease-out !important;
    animation-fill-mode: both !important;
}

/* Smoother Hover Transitions for specific cards */
.service-card-new,
.service-card,
.property-card-luxe,
.testimonial-card-luxe,
.feature-box-dark,
.job-card,
.partner-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

/* Image Zoom on Hover - Performance Optimized */
.property-card-luxe img {
    transition: transform 0.3s ease !important;
}

.property-card-luxe:hover img {
    transform: scale(1.03) !important;
}

/* Equal Height Testimonial Cards */
#section-testimonials .testimonial-card-luxe {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#section-testimonials .testimonial-card-luxe .testimonial-quote {
    flex-grow: 1;
}

#section-testimonials .testimonial-card-luxe .testimonial-author {
    margin-top: auto;
}

#section-testimonials .row.g-4 > div {
    display: flex;
}

#section-testimonials .row.g-4 > div > .testimonial-card-luxe {
    width: 100%;
}
/* Footer Contact Alignment */
.footer-contact-item h4 {
    font-family: 'Old Standard TT', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-contact-item p, 
.footer-contact-item a {
    font-size: 14px;
    line-height: 1.6;
    transition: 0.3s;
}

.footer-contact-icon i {
    display: block;
    line-height: 1;
}

.hover-gold:hover {
    color: var(--gold) !important;
    opacity: 1 !important;
}

@media (max-width: 991px) {
    .footer-contact-item {
        align-items: center !important;
        text-align: center !important;
        flex-direction: column;
    }
    .footer-contact-icon {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }
}

/* Luxe Subheader System */
.luxe-subheader {
    background: linear-gradient(135deg, #34518F 0%, #2a4070 100%);
    position: relative;
    overflow: hidden;
    padding: 150px 0 80px;
}

.luxe-subheader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../images/slider/1.jpg') center/cover;
    opacity: 0.2; /* Exactly as About Us */
    z-index: 1;
}

.luxe-subheader .de-overlay {
    background: linear-gradient(135deg, rgba(52, 81, 143, 0.9) 0%, rgba(42, 64, 112, 0.85) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.4; /* The 'op-4' effect from About Us */
}

.luxe-subheader .container {
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .luxe-subheader {
        padding: 120px 0 60px;
    }
}
