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

:root {
    --primary-color: #e30613;
    --primary-dark: #c00;
    --secondary-color: #003168;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --bg-white: #fff;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #e30613;
    border: 1px solid #e30613;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #e30613;
    color: #fff;
}

.btn-primary {
    background-color: #e30613;
    color: #fff;
}

.btn-primary:hover {
    background-color: #c00;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    text-decoration: none;
}

.logo a::before {
    content: 'JLL';
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 5px;
}

.logo img {
    display: none; /* Hide the missing image */
}

.main-nav {
    flex-grow: 1;
    margin: 0 20px;
}

.nav-list {
    display: flex;
    justify-content: center;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-item a {
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.nav-item a:hover {
    color: #e30613;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    display: none;
    z-index: 1;
    padding: 20px;
    border-top: 3px solid #e30613;
}

.nav-item:hover .dropdown-content {
    display: block;
}

.dropdown-section h3 {
    margin-bottom: 10px;
    color: #e30613;
}

.dropdown-section p {
    margin-bottom: 15px;
    font-size: 14px;
}

.dropdown-section ul li {
    margin-bottom: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-icon {
    margin-right: 20px;
    font-size: 18px;
    cursor: pointer;
}

/* Mobile menu button */
.mobile-menu-button {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
}

@media (max-width: 1024px) {
    .mobile-menu-button {
        display: block;
    }
}

/* Hero Section with Gradient Background */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                      linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    padding: 150px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Featured Section */
.featured {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.featured .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.featured-card {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-10px);
}

.featured-card img {
    display: none; /* Hide the missing image */
}

.featured-card::before {
    content: '';
    display: block;
    width: 100%;
    height: 220px;
    background-color: #ddd;
    position: relative;
}

.featured-card:nth-child(2)::before {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.featured-card:nth-child(3)::before {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.featured-card:nth-child(4)::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-content {
    padding: 20px;
}

.card-content h2 {
    margin-bottom: 15px;
    font-size: 22px;
}

.card-content p {
    margin-bottom: 20px;
    color: #666;
}

/* Card Icons */
.featured-card::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 30px;
    color: var(--primary-color);
}

.featured-card:nth-child(2)::after {
    content: '\f0ac'; /* Globe icon */
}

.featured-card:nth-child(3)::after {
    content: '\f7fb'; /* Robot icon */
}

.featured-card:nth-child(4)::after {
    content: '\f0b1'; /* Briefcase icon */
}

/* News & Trends Section */
.news-trends {
    padding: 60px 0;
}

.news-trends h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.news-trends > .container > p {
    margin-bottom: 20px;
    max-width: 600px;
}

.view-all {
    display: inline-block;
    margin-bottom: 30px;
    color: #e30613;
    font-weight: bold;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-date {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.news-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.news-item p {
    color: #666;
}

/* Research Section */
.research {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.research h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.tab-btn.active {
    color: #e30613;
    border-bottom: 3px solid #e30613;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.research-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.research-meta {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.research-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.research-item p {
    color: #666;
}

.see-all {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: #e30613;
    font-weight: bold;
}

/* Your Needs Section */
.your-needs {
    padding: 60px 0;
}

.your-needs h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.need-item {
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.need-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.need-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.need-item p {
    margin-bottom: 20px;
    color: #666;
}

.learn-more {
    color: #e30613;
    font-weight: bold;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    display: none; /* Hide the missing image */
}

.footer-logo::before {
    content: 'JLL';
    font-size: 28px;
    font-weight: 700;
    color: white;
    background-color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-social h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid #555;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal li a {
    color: #ccc;
}

/* Animation classes */
.animate {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .featured .container {
        flex-direction: column;
    }
    
    .nav-list {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .news-grid, .research-grid, .needs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    position: relative;
    z-index: 1;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom left, transparent 49%, var(--secondary-color) 50%);
    z-index: -1;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--bg-white);
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Headers */
.section-header {
    margin-bottom: 40px;
    max-width: 800px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    text-align: center;
    position: relative;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom right, transparent 49%, var(--primary-color) 50%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-banner .btn {
    padding: 14px 30px;
    font-size: 16px;
    border: 2px solid var(--bg-white);
}

.cta-banner .btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
}

.cta-banner .btn-primary:hover {
    background-color: transparent;
    color: var(--bg-white);
}

.cta-banner .btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
}

.cta-banner .btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

/* Read More Links */
.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    position: relative;
    padding-right: 25px;
}

.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translate(5px, -50%);
}

/* Need Icons */
.need-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    background-color: rgba(227, 6, 19, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.need-item:hover .need-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: rotateY(180deg);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom left, transparent 49%, var(--bg-light) 50%);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 120px;
    color: rgba(227, 6, 19, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-color);
}

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

.author-image {
    position: relative;
    background-color: #ddd;
}

.author-image::after {
    content: '\f007'; /* User icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: var(--primary-color);
}

.author-image img {
    display: none; /* Hide the missing image */
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* Footer Newsletter */
.footer-newsletter {
    max-width: 350px;
}

.footer-newsletter h4 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: #aaa;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 1px solid #444;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    padding: 12px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

/* Mobile Menu Styles */
@media (max-width: 1024px) {
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 99;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        min-width: auto;
        display: none;
        opacity: 1;
        transform: none;
        padding: 15px;
        border-top: none;
        border-radius: 0;
        margin-top: 10px;
        background-color: var(--bg-light);
    }
    
    .nav-item:hover .dropdown-content {
        display: none;
    }
    
    .nav-item.active .dropdown-content {
        display: block;
    }
    
    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 100;
        border-radius: 50%;
        transition: var(--transition);
    }
    
    .mobile-menu-button:hover {
        background-color: var(--bg-light);
    }
    
    .mobile-menu-button.active {
        background-color: var(--primary-color);
        color: var(--bg-white);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .stats-grid {
        flex-direction: column;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .testimonial-content p {
        font-size: 16px;
    }
    
    .footer-newsletter {
        width: 100%;
    }
} 