* {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            text-decoration: none;
            box-sizing: border-box;
        }

        body {
            margin: 0;
            overflow-x: hidden;
            background-color: #f5f7fb;
        }

        .navbar {
            background-color: black;
            color: white;
            padding: 20px;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-sec-1 {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            margin-left: 20px;
            font-size: 1.5rem;
            font-weight: bold;
        }

        .nav-options ul {
            display: flex;
            flex-direction: row;
            gap: 20px;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-options a {
            color: white;
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        .nav-options a:hover {
            background-color: #333;
        }

        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .menu {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            height: 100vh;
            width: 70%;
            background-color: black;
            z-index: 200;
            padding: 80px 30px;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }

        .menu.active {
            transform: translateX(0);
        }

        .menu ul {
            list-style: none;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .menu a {
            color: white;
            font-size: 1.2rem;
            display: block;
            padding: 10px 0;
        }

        /* Main content styles */
        .container {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
        }

        .page-title {
            text-align: center;
            margin-bottom: 30px;
            color: #333;
        }

        /* Filter section */
        .filters {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }

        .filter-title {
            margin-top: 0;
            margin-bottom: 15px;
            color: #333;
        }

        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }

        .filter-group {
            flex: 1;
            min-width: 200px;
        }

        .filter-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
            color: #555;
        }

        .filter-group select, .filter-group input {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
        }

        /* Profile grid */
        .profiles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        .profile-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            word-wrap: break-word; /* Ensure text wraps */
            overflow-wrap: break-word; /* Modern version of word-wrap */
        }

        .profile-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        }

        .profile-header {
            padding: 20px;
            border-bottom: 1px solid #eee;
        }

        .profile-type {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .sponsor-badge {
            background-color: #4361ee;
            color: white;
        }

        .creator-badge {
            background-color: #ff9e00;
            color: white;
        }

        .profile-name {
            margin: 0 0 5px 0;
            font-size: 1.5rem;
            color: #333;
        }

        .profile-contact {
            color: #666;
            margin: 0 0 10px 0;
        }

        .profile-body {
            padding: 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .profile-detail {
            margin-bottom: 10px;
            display: flex;
            flex-direction: column; /* Change to column layout */
            align-items: flex-start;
        }

        .detail-label {
            font-weight: 600;
            color: #555;
            margin-bottom: 5px; /* Add spacing between label and value */
            width: 100%; /* Make label full width */
        }

        .detail-value {
            color: #333;
            width: 100%; /* Make value full width */
            word-break: break-word; /* Break long words if needed */
            overflow: hidden; /* Hide overflow */
        }

        .no-results {
            text-align: center;
            padding: 40px;
            color: #666;
            grid-column: 1 / -1;
        }

        /* Loading indicator */
        .loading {
            text-align: center;
            padding: 40px;
            grid-column: 1 / -1;
        }

        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #4361ee;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        
        /* For full-width items that span both columns */
        .profile-detail.full-width {
            grid-column: 1 / -1;
        }

        /* Make URLs wrap properly */
        .detail-value a {
            color: #4361ee;
            text-decoration: none;
            word-break: break-all; /* Break URLs if they're too long */
        }

        .detail-value a:hover {
            text-decoration: underline;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .profile-body {
                grid-template-columns: 1fr;
            }
            
            .profile-detail {
                flex-direction: column;
            }
            
            .detail-label {
                min-width: 100%; /* Remove min-width on mobile */
                margin-bottom: 5px;
            }
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 20px;
            background-color: black;
            color: white;
        }

        /* Responsive styles */
        @media (max-width: 768px) {
            .nav-options {
                display: none;
            }

            .mobile-menu {
                display: block;
            }

            .nav-sec-1 {
                gap: 0;
            }

            .filter-options {
                flex-direction: column;
            }
        }
                /* Footer Styles */
        .footer {
            background-color: black;
            color: white;
            padding: 40px 20px 20px;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
        }
        
        .footer-about {
            padding-right: 20px;
        }
        
        .footer-about h3 {
            color: #ffffff;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .footer-about p {
            line-height: 1.6;
            color: #ccc;
        }
        
        .footer-links h3 {
            color: #ffffff;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: #4cc9f0;
        }
        
        .footer-bottom {
            max-width: 1200px;
            margin: 30px auto 0;
            padding-top: 20px;
            border-top: 1px solid #333;
            text-align: center;
            color: #999;
        }
        
        .developer {
            margin-top: 10px;
            font-size: 0.9rem;
        }
        
        /* Responsive Styles */
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .footer-about {
                padding-right: 0;
                text-align: center;
            }
            
            .footer-links {
                text-align: center;
            }
        }