/* ========================
   Reset & Base Styles
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00AEFF;
    --secondary-color: #0B2B40;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================
   Navigation
   ======================== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: var(--white) !important;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link i {
    font-size: 1rem;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #0099e6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================
   Hero Section
   ======================== */
.hero-section {
    position: relative;
    min-height: 750px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 0 100px;
    margin-top: 76px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 174, 255, 0.85) 0%, rgba(11, 43, 64, 0.85) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Search Wrapper */
.search-wrapper {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.search-tabs .nav-link {
    color: var(--text-light);
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px 12px 0 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.search-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 174, 255, 0.1);
}

.search-tabs .nav-link.active {
    color: var(--primary-color);
    background: rgba(0, 174, 255, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.search-tabs .nav-link i {
    font-size: 1.25rem;
}

/* Search Box */
.search-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-field label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-field label i {
    color: var(--primary-color);
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 174, 255, 0.1);
}

.btn-search {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-search:hover {
    background: #0099e6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================
   Statistics Section
   ======================== */
.stats-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #0099e6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-number::after {
    content: '+';
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* ========================
   Section Headers
   ======================== */
.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================
   Property Types Section
   ======================== */
.property-types-section {
    padding: 5rem 0;
    background: var(--white);
}

.property-type-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.property-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.property-type-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-type-card:hover .property-type-img img {
    transform: scale(1.1);
}

.property-type-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 174, 255, 0.8), rgba(11, 43, 64, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.property-type-card:hover .property-type-overlay {
    opacity: 1;
}

.property-type-overlay i {
    font-size: 4rem;
    color: var(--white);
    transform: scale(0.5);
    transition: var(--transition);
}

.property-type-card:hover .property-type-overlay i {
    transform: scale(1);
}

.property-type-content {
    padding: 1.5rem;
    background: var(--white);
}

.property-type-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.property-type-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.btn-explore {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-explore:hover {
    gap: 1rem;
}

/* ========================
   Featured Properties Section
   ======================== */
.featured-properties-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.featured-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Property Card */
.property-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.property-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-featured {
    background: var(--warning-color);
    color: var(--white);
}

.badge-sale {
    background: var(--success-color);
    color: var(--white);
}

.badge-rent {
    background: var(--primary-color);
    color: var(--white);
}

.btn-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.btn-favorite:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.btn-favorite i {
    font-size: 1.25rem;
}

.property-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.property-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.property-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.property-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-location i {
    color: var(--primary-color);
}

.property-features {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.property-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 1rem;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.agent-info span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.btn-view-details {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-view-details:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================
   Why Choose Us Section
   ======================== */
.why-choose-section {
    padding: 5rem 0;
    background: var(--white);
}

.why-choose-img {
    position: relative;
}

.why-choose-img img {
    border-radius: 16px;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0;
}

.experience-badge p {
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.why-choose-content {
    padding-left: 2rem;
}

.features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 174, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-content h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
}

/* ========================
   Testimonials Section
   ======================== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.testimonial-rating {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

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

.testimonial-author h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================
   Blog Section
   ======================== */
.blog-section {
    padding: 5rem 0;
    background: var(--white);
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex: 1;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 1rem;
}

/* ========================
   CTA Section
   ======================== */
.cta-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--primary-color), #0099e6);
    padding: 4rem 3rem;
    border-radius: 24px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

.cta-wrapper .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition);
}

.cta-wrapper .btn-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ========================
   Footer
   ======================== */
.footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #0099e6;
}

.footer-bottom {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ========================
   Responsive Design
   ======================== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 650px;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .search-wrapper {
        padding: 1.5rem;
    }

    .search-tabs .nav-link {
        padding: 0.75rem 1.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .why-choose-content {
        padding-left: 0;
        margin-top: 2rem;
        text-align: center;
    }

    .why-choose-content .btn {
        margin-left: auto;
        margin-right: auto;
        display: block;
        width: fit-content;
    }

    .experience-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1.5rem;
    }

    .experience-badge h3 {
        font-size: 2.5rem;
    }

    .featured-tabs {
        margin-top: 1rem;
    }

    .cta-wrapper {
        padding: 3rem 2rem;
        text-align: center;
    }

    .cta-wrapper .col-lg-4 {
        margin-top: 1.5rem;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 550px;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .search-wrapper {
        padding: 1.25rem;
    }

    .search-tabs {
        margin-bottom: 1rem;
    }

    .search-tabs .nav-link {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .btn-search {
        width: 100%;
    }

    .stats-section {
        padding: 3rem 0;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .property-types-section,
    .featured-properties-section,
    .why-choose-section,
    .testimonials-section,
    .blog-section,
    .cta-section {
        padding: 3rem 0;
    }

    .property-type-img {
        height: 220px;
    }

    .featured-tabs {
        width: 100%;
    }

    .tab-btn {
        flex: 1;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .property-price {
        font-size: 1.5rem;
    }

    .property-title {
        font-size: 1.125rem;
    }

    .property-features {
        gap: 0.75rem;
    }

    .property-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-view-details {
        width: 100%;
    }

    .cta-wrapper {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Fix for property cards on mobile */
    .property-card {
        opacity: 1 !important;
        transform: none !important;
    }

    .featured-properties-section .row {
        display: flex;
        flex-wrap: wrap;
    }

    .featured-properties-section .col-lg-4,
    .featured-properties-section .col-md-6 {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Ensure property cards take full width on mobile */
    .featured-properties-section .property-card {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: 500px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .search-tabs .nav-link {
        padding: 0.5rem 0.75rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .property-type-img {
        height: 200px;
    }

    .property-img-wrapper {
        height: 220px;
    }

    .blog-img {
        height: 200px;
    }

    .experience-badge {
        position: static;
        margin-top: 1rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}

/* ========================
   AOS Fallback for Mobile
   ======================== */
@media (max-width: 767.98px) {
    /* Ensure all AOS elements are visible on mobile if AOS fails to load */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Loading animation for images */
img {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover animations */
.property-card,
.property-type-card,
.stat-card,
.testimonial-card,
.blog-card {
    will-change: transform;
}

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

/* Selection colors */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

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

/* ========================
   Page Header (About & Contact)
   ======================== */
.page-header {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920');
    background-size: cover;
    background-position: center;
    margin-top: 76px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 174, 255, 0.9) 0%, rgba(11, 43, 64, 0.9) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 1.125rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================
   About Us Page Styles
   ======================== */

/* Company Overview */
.company-overview-section {
    padding: 5rem 0;
    background: var(--white);
}

.overview-images {
    position: relative;
}

.overview-images .main-img {
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.overview-images .float-img {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 60%;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
}

.overview-content {
    padding-left: 2rem;
}

.overview-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

/* Mission & Vision */
.mission-vision-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.mv-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0099e6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.mv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Why Choose About Section */
.why-choose-about-section {
    padding: 5rem 0;
    background: var(--white);
}

.feature-box {
    text-align: center;
    padding: 2rem 1.5rem;
    height: 100%;
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 174, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-box:hover .feature-icon-box {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.feature-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.team-img-wrapper {
    position: relative;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    padding: 1rem;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.team-content {
    padding: 2rem 1.5rem;
    text-align: center;
}

.team-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-contact a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.team-contact a:hover {
    color: var(--primary-color);
}

/* Achievements */
.achievements-section {
    padding: 5rem 0;
    background: var(--white);
}

.achievement-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.achievement-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-8px);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.achievement-card:hover .achievement-icon {
    background: var(--white);
    color: var(--primary-color);
}

.achievement-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.achievement-card:hover h4 {
    color: var(--white);
}

.achievement-card p {
    font-size: 0.95rem;
    margin: 0;
    transition: var(--transition);
}

.achievement-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========================
   Contact Us Page Styles
   ======================== */

/* Contact Info Cards */
.contact-info-section {
    padding: 5rem 0;
    background: var(--white);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.contact-info-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #0099e6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.contact-info-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--text-dark);
    gap: 1rem;
}

/* Contact Form */
.contact-form-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 174, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
}

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

.form-check-label a {
    color: var(--primary-color);
}

/* Office Hours Card */
.office-hours-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.office-hours-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.office-hours-card h4 i {
    color: var(--primary-color);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-item .day {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-item .time {
    color: var(--text-light);
}

/* Map Container */
.map-container {
    margin-bottom: 2rem;
}

/* Social Media Card */
.social-media-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.social-media-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.social-media-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.social-btn {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.linkedin {
    background: #0077b5;
}

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

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--white);
}

.accordion-item {
    border: none;
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-size: 1.25rem;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Newsletter CTA */
.newsletter-cta-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.newsletter-cta-wrapper {
    background: linear-gradient(135deg, var(--primary-color), #0099e6);
    padding: 3rem;
    border-radius: 24px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.newsletter-cta-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.newsletter-cta-wrapper p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.newsletter-inline-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-inline-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
}

.newsletter-inline-form button {
    padding: 0.875rem 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-inline-form button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ========================
   Responsive for About & Contact Pages
   ======================== */
@media (max-width: 991.98px) {
    .page-title {
        font-size: 2.5rem;
    }

    .overview-images .float-img {
        position: static;
        margin-top: 2rem;
        width: 100%;
    }

    .overview-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .newsletter-cta-wrapper {
        padding: 2rem;
        text-align: center;
    }

    .newsletter-inline-form {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        min-height: 250px;
    }

    .page-title {
        font-size: 2rem;
    }

    .breadcrumb-item {
        font-size: 1rem;
    }

    .overview-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }

    .newsletter-cta-wrapper h2 {
        font-size: 1.5rem;
    }

    .newsletter-inline-form {
        flex-direction: column;
    }

    .newsletter-inline-form button {
        width: 100%;
    }
}

/* ========================
   Modern Team Section Styles
   ======================== */
.team-section-modern {
    padding: 5rem 0;
    background: var(--bg-light);
}

.team-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card-modern {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.team-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

/* Team Image Container */
.team-img-modern-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.team-img-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card-modern:hover .team-img-modern {
    transform: scale(1.1);
}

/* Properties Badge */
.team-badge-modern {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.badge-properties {
    background: linear-gradient(135deg, var(--primary-color), #0099e6);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 174, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.badge-properties i {
    font-size: 1rem;
}

/* Social Media Overlay */
.team-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.team-card-modern:hover .team-overlay-modern {
    opacity: 1;
}

.team-social-modern {
    display: flex;
    gap: 0.75rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.team-card-modern:hover .team-social-modern {
    transform: translateY(0);
}

.social-icon-modern {
    width: 42px;
    height: 42px;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.125rem;
}

.social-icon-modern:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
}

/* Team Content */
.team-content-modern {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-name-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
    transition: var(--transition);
}

.team-card-modern:hover .team-name-modern {
    color: var(--primary-color);
}

.team-designation-modern {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Team Info */
.team-info-modern {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item-modern {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.info-item-modern:hover {
    color: var(--primary-color);
}

.info-item-modern i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.info-item-modern span {
    word-break: break-word;
}

/* Languages */
.team-languages-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.language-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: var(--transition);
}

.team-card-modern:hover .language-tag {
    background: rgba(0, 174, 255, 0.1);
    color: var(--primary-color);
}

/* View Profile Button */
.btn-view-profile-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    margin-top: auto;
}

.btn-view-profile-modern:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 174, 255, 0.3);
}

.btn-view-profile-modern i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-view-profile-modern:hover i {
    transform: translateX(4px);
}

/* ========================
   Modern Team Section - Responsive
   ======================== */
@media (max-width: 1199.98px) {
    .team-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 991.98px) {
    .team-section-modern {
        padding: 4rem 0;
    }

    .team-img-modern-wrapper {
        height: 320px;
    }

    .team-grid-modern {
        gap: 1.5rem;
    }

    .team-content-modern {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .team-section-modern {
        padding: 3rem 0;
    }

    .team-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .team-img-modern-wrapper {
        height: 380px;
    }

    .team-card-modern {
        max-width: 500px;
        margin: 0 auto;
    }

    .team-content-modern {
        padding: 1.5rem;
    }

    .team-name-modern {
        font-size: 1.375rem;
    }

    /* Mobile: Show overlay on tap/touch */
    .team-overlay-modern {
        opacity: 0;
    }

    .team-card-modern:active .team-overlay-modern {
        opacity: 1;
    }

    /* Ensure social icons are accessible on mobile */
    .social-icon-modern {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .badge-properties {
        font-size: 0.8125rem;
        padding: 0.4rem 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .team-img-modern-wrapper {
        height: 320px;
    }

    .team-content-modern {
        padding: 1.25rem;
    }

    .team-name-modern {
        font-size: 1.25rem;
    }

    .team-designation-modern {
        font-size: 0.9375rem;
    }

    .info-item-modern {
        font-size: 0.875rem;
    }

    .btn-view-profile-modern {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

